All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1684239] [NEW] vvfat core dump when enabling RW
@ 2017-04-19 17:45 Rolando Zappacosta
  2017-04-19 20:08 ` Hervé Poussineau
  2017-04-24  8:57 ` [Qemu-devel] [Bug 1684239] " Thomas Huth
  0 siblings, 2 replies; 3+ messages in thread
From: Rolando Zappacosta @ 2017-04-19 17:45 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Hi guys,

I'm getting this qemu crash message:
>>> qemu-system-x86_64: /build/qemu-TziMIO/qemu-2.5+dfsg/block/vvfat.c:2290: commit_direntries: Assertion `!strncmp(s->directory.pointer, "QEMU", 4)' failed.
>>> Aborted (core dumped)
when launching qemu with this options for a VVFAT drive:
>>> -drive file=fat:rw:./ROOT,if=virtio
(same happens when using cache=none and/or if=ide)

"uname -a" system info is:
>>> Linux RJZ-WRK-LNX 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
and "qemu --version" is:
>>> QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.10), Copyright (c) 2003-2008 Fabrice Bellard

Not sure what logs to attach but I'll be glad to upload whatever needed.

Thanks in advance for you help,
Rolando

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: directory.pointer direntries vvfat

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1684239

Title:
  vvfat core dump when enabling RW

Status in QEMU:
  New

Bug description:
  Hi guys,

  I'm getting this qemu crash message:
  >>> qemu-system-x86_64: /build/qemu-TziMIO/qemu-2.5+dfsg/block/vvfat.c:2290: commit_direntries: Assertion `!strncmp(s->directory.pointer, "QEMU", 4)' failed.
  >>> Aborted (core dumped)
  when launching qemu with this options for a VVFAT drive:
  >>> -drive file=fat:rw:./ROOT,if=virtio
  (same happens when using cache=none and/or if=ide)

  "uname -a" system info is:
  >>> Linux RJZ-WRK-LNX 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
  and "qemu --version" is:
  >>> QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.10), Copyright (c) 2003-2008 Fabrice Bellard

  Not sure what logs to attach but I'll be glad to upload whatever
  needed.

  Thanks in advance for you help,
  Rolando

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1684239/+subscriptions

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [Bug 1684239] [NEW] vvfat core dump when enabling RW
  2017-04-19 17:45 [Qemu-devel] [Bug 1684239] [NEW] vvfat core dump when enabling RW Rolando Zappacosta
@ 2017-04-19 20:08 ` Hervé Poussineau
  2017-04-24  8:57 ` [Qemu-devel] [Bug 1684239] " Thomas Huth
  1 sibling, 0 replies; 3+ messages in thread
From: Hervé Poussineau @ 2017-04-19 20:08 UTC (permalink / raw)
  To: Bug 1684239, qemu-devel; +Cc: Kevin Wolf

Hi Rolando,

Le 19/04/2017 à 19:45, Rolando Zappacosta a écrit :
> Public bug reported:
>
> Hi guys,
>
> I'm getting this qemu crash message:
>>>> qemu-system-x86_64: /build/qemu-TziMIO/qemu-2.5+dfsg/block/vvfat.c:2290: commit_direntries: Assertion `!strncmp(s->directory.pointer, "QEMU", 4)' failed.
>>>> Aborted (core dumped)
> when launching qemu with this options for a VVFAT drive:
>>>> -drive file=fat:rw:./ROOT,if=virtio
> (same happens when using cache=none and/or if=ide)
>
> "uname -a" system info is:
>>>> Linux RJZ-WRK-LNX 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
> and "qemu --version" is:
>>>> QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.10), Copyright (c) 2003-2008 Fabrice Bellard
>
> Not sure what logs to attach but I'll be glad to upload whatever needed.
>
> Thanks in advance for you help,
> Rolando
>

This bug has been fixed in following commit:

commit ebb72c9f066e5f85259e1541a6d3fb5bfd6e73ff
Author: Kevin Wolf <kwolf@redhat.com>
Date:   Wed Apr 27 14:11:38 2016 +0200

     vvfat: Fix volume name assertion

     Commit d5941dd made the volume name configurable, but it didn't consider
     that the rw code compares the volume name string to assert that the
     first directory entry is the volume name. This made vvfat crash in rw
     mode.

     This fixes the assertion to compare with the configured volume name
     instead of a literal string.

     Cc: qemu-stable@nongnu.org
     Signed-off-by: Kevin Wolf <kwolf@redhat.com>
     Reviewed-by: Markus Armbruster <armbru@redhat.com>
     Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

The fix is present since v2.6.0
As you're using v2.5.0, can you try with a newer QEMU version?

Regards,

Hervé

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] [Bug 1684239] Re: vvfat core dump when enabling RW
  2017-04-19 17:45 [Qemu-devel] [Bug 1684239] [NEW] vvfat core dump when enabling RW Rolando Zappacosta
  2017-04-19 20:08 ` Hervé Poussineau
@ 2017-04-24  8:57 ` Thomas Huth
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Huth @ 2017-04-24  8:57 UTC (permalink / raw)
  To: qemu-devel

Moving to QEMU-Ubuntu since you're not using upstream QEMU (and the bug
should have been fixed there as pointed out by Hervé on the qemu-devel
mailing list).

** Project changed: qemu => qemu (Ubuntu)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1684239

Title:
  vvfat core dump when enabling RW

Status in qemu package in Ubuntu:
  New

Bug description:
  Hi guys,

  I'm getting this qemu crash message:
  >>> qemu-system-x86_64: /build/qemu-TziMIO/qemu-2.5+dfsg/block/vvfat.c:2290: commit_direntries: Assertion `!strncmp(s->directory.pointer, "QEMU", 4)' failed.
  >>> Aborted (core dumped)
  when launching qemu with this options for a VVFAT drive:
  >>> -drive file=fat:rw:./ROOT,if=virtio
  (same happens when using cache=none and/or if=ide)

  "uname -a" system info is:
  >>> Linux RJZ-WRK-LNX 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
  and "qemu --version" is:
  >>> QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.10), Copyright (c) 2003-2008 Fabrice Bellard

  Not sure what logs to attach but I'll be glad to upload whatever
  needed.

  Thanks in advance for you help,
  Rolando

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1684239/+subscriptions

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-24  9:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-19 17:45 [Qemu-devel] [Bug 1684239] [NEW] vvfat core dump when enabling RW Rolando Zappacosta
2017-04-19 20:08 ` Hervé Poussineau
2017-04-24  8:57 ` [Qemu-devel] [Bug 1684239] " Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.