[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1349972] Re: qcow2-refcount: qemu-io crashes on 'disca
[Qemu-devel] [Bug 1349972] Re: qcow2-refcount: qemu-io crashes on 'discard' command
Tue, 05 May 2015 17:47:04 -0000
While trying to restore (apply) a snapshot on a Windows VM (ie: qemu-img
snapshot -a snapshotname windows.qcow2 where the image file is 150gb in
size,) I got the above error:
update_refcount_discard: Assertion `d->bytes + length == new_end -
(My VM is now broken.)
This is the only reference that I found using Google.
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
qcow2-refcount: qemu-io crashes on 'discard' command
Status in QEMU:
qemu-io is killed by SIGIOT at the 'discard' command on the image
having no refcount information.
1. Unpack test.img and backing_img.qed in the same directory (see the
attached archives for images)
2. Make a copy of test.img to copy.img (qemu-io modifies the image before
being kill, therefore the image backup is necessary)
3. Run the command
qemu-io copy.img -c 'discard 2210816 2856448'
Result: qemu-io is killed by SIGIOT with the reason:
qemu-io: block/qcow2-refcount.c:468: update_refcount_discard:
Assertion `d->bytes + length == new_end - new_start' failed.
The image was generated by the image fuzzer.
qemu.git HEAD: 1d80eb7a680d
To manage notifications about this bug go to:
- [Qemu-devel] [Bug 1349972] Re: qcow2-refcount: qemu-io crashes on 'discard' command,
Sam Azer <=