From: "Hervé Poussineau" <hpoussin@reactos.org>
To: Bug 1684239 <1684239@bugs.launchpad.net>, qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>
Subject: Re: [Qemu-devel] [Bug 1684239] [NEW] vvfat core dump when enabling RW
Date: Wed, 19 Apr 2017 22:08:09 +0200 [thread overview]
Message-ID: <60156451-98ac-9c28-a19f-f46275bb1b5a@reactos.org> (raw)
In-Reply-To: <20170419174535.1860.64403.malonedeb@wampee.canonical.com>
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é
next prev parent reply other threads:[~2017-04-19 20:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2017-04-24 8:57 ` [Qemu-devel] [Bug 1684239] " Thomas Huth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=60156451-98ac-9c28-a19f-f46275bb1b5a@reactos.org \
--to=hpoussin@reactos.org \
--cc=1684239@bugs.launchpad.net \
--cc=kwolf@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).