vvfat core dump when enabling RW
Public bug reported:
Hi guys,
I'm getting this qemu crash message:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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:
Quoted 1 line
Quoted 1 line
Quoted 1 line
-drive file=fat:rw:./ROOT,if=virtio
(same happens when using cache=none and/or if=ide)
"uname -a" system info is:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Linux RJZ-WRK-LNX 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017
x86_64x86_64x86_64GNU/Linux
and "qemu --version" is:
Quoted 1 line
Quoted 1 line
Quoted 1 line
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
Signature · 14 lines
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:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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:
Quoted 1 line
Quoted 1 line
Quoted 1 line
-drive file=fat:rw:./ROOT,if=virtio
(same happens when using cache=none and/or if=ide)
"uname -a" system info is:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Linux RJZ-WRK-LNX 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017
x86_64x86_64x86_64GNU/Linux
and "qemu --version" is:
Quoted 1 line
Quoted 1 line
Quoted 1 line
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
Hi Rolando,
Quoted 12 lines · Rolando Zappacosta
Public bug reported:
Hi guys,
I'm getting this qemu crash message:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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:
Quoted 1 line
Quoted 1 line
Quoted 1 line
-drive file=fat:rw:./ROOT,if=virtio
(same happens when using cache=none and/or if=ide)
"uname -a" system info is:
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Linux RJZ-WRK-LNX 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017
x86_64x86_64x86_64GNU/Linuxand "qemu --version" is:
Quoted 1 line
Quoted 1 line
Quoted 1 line
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 <[email protected]> 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.
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é
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)
Signature · 14 lines
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:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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:
Quoted 1 line
Quoted 1 line
Quoted 1 line
-drive file=fat:rw:./ROOT,if=virtio
(same happens when using cache=none and/or if=ide)
"uname -a" system info is:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Linux RJZ-WRK-LNX 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017
x86_64x86_64x86_64GNU/Linux
and "qemu --version" is:
Quoted 1 line
Quoted 1 line
Quoted 1 line
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