Bug 798499
Summary: | Guest aborted sometimes when quit it after a savevm | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Qunfang Zhang <qzhang> |
Component: | qemu-kvm | Assignee: | Kevin Wolf <kwolf> |
Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.3 | CC: | acathrow, areis, bsarathy, juzhang, kwolf, michen, mkenneth, pbonzini, shu, sluo, tburke, virt-maint, wdai |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-22 15:15:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Qunfang Zhang
2012-02-29 03:46:32 UTC
savevm is not supported. I'm leaving the bug open to see if the abort is rlevant to other scenarios. Looks like we're forgetting to call qcow2_cache_put() in some error path. Reproducing this only with qemu-io/qemu-img, so that we have a fully deteministic scriptable test case would be good. From bug 807894 comment 9, this was seen also with external snapshots: (qemu) snapshot_blkdev drive-virtio-disk0 /root/sn1 qcow2 (qemu) block_stream drive-virtio-disk0 (qemu) quit qemu-kvm core dump: Program terminated with signal 6, Aborted. #0 0x00007f5400ae1885 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig); (gdb) bt #0 0x00007f5400ae1885 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007f5400ae3065 in abort () at abort.c:92 #2 0x00007f5400ada9fe in __assert_fail_base (fmt=<value optimized out>, assertion=0x7f540330b286 "c->entries[i].ref == 0", file=0x7f540330b25b "block/qcow2-cache.c", line=<value optimized out>, function=<value optimized out>) at assert.c:96 #3 0x00007f5400adaac0 in __assert_fail (assertion=0x7f540330b286 "c->entries[i].ref == 0", file=0x7f540330b25b "block/qcow2-cache.c", line=69, function=0x7f540330b2b0 "qcow2_cache_destroy") at assert.c:105 #4 0x00007f54031b4324 in qcow2_cache_destroy (bs=<value optimized out>, c=0x7f54049dcd70) at block/qcow2-cache.c:69 #5 0x00007f54031ae34a in qcow2_close (bs=0x7f54047e4010) at block/qcow2.c:628 #6 0x00007f5403197f21 in bdrv_close (bs=0x7f54047e4010) at block.c:693 #7 0x00007f5403198068 in bdrv_close_all () at block.c:717 #8 0x00007f5403184985 in kvm_main_loop () at /usr/src/debug/qemu-kvm-0.12.1.2/qemu-kvm.c:2270 #9 0x00007f5403165cec in main_loop (argc=20, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:4202 #10 main (argc=20, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:6427 Hm, this seems to be related to quitting while streaming. Better open a separate bug. (In reply to comment #6) > Hm, this seems to be related to quitting while streaming. Better open a > separate bug. Discussed this with Kevin, I'm moving it to 6.4 (savevm is not supported, but it's still worth some investigation in the near future). Paolo, I assume you'll take care of the streaming case, even though this bug currently blocks the blk_mirror bug. Yes, the streaming case is bug 807898. Mirror+streaming is broken beyond possibility of saving it, so I removed bug 806432 from the blocks list of this one. savevm is not supported and the streaming case has been investigated by Paolo. Closing as WONTFIX. |