Public bug reported: Here is the log in /var/log/libvirt/qemu/centos_heavy.log
qemu-kvm: /builddir/build/BUILD/qemu-kvm-0.12.1.2/qemu-char.c:630: io_watch_poll_finalize: Assertion `iwp->src == ((void *)0)' failed. 2014-01-13 16:50:31.576+0000: shutting down The code it's failing the assertion on has an interesting comment: static void io_watch_poll_finalize(GSource *source) { /* Due to a glib bug, removing the last reference to a source * inside a finalize callback causes recursive locking (and a * deadlock). This is not a problem inside other callbacks, * including dispatch callbacks, so we call io_remove_watch_poll * to remove this source. A t this point, iwp->src must * be NULL, or we would leak it. * * This would be solved much more elegantly by child sources, * but we support older glib versions that do not have them. */ IOWatchPoll *iwp = io_watch_poll_from_source(source); assert(iwp->src == NULL); } ------ CPU Info: http://pastebin.com/U7MrzFxK -------- Relevant RPM versions: qemu-kvm-0.12.1.2-2.415.el6_5.3.x86_64 libvirt-0.10.2-29.el6_5.2.x86_64 -------- Domain config: http://pastebin.com/Nf2VsER8 (Note the use of the vmchannels; I believe this is playing a part in this crash) --------- uname -a: Linux blizzard 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux --------- CLI to start guest (included in attached dump): http://pastebin.com/W01Xzyb0 --------- ** Affects: qemu Importance: Undecided Status: New ** Attachment added: "kvm_assert.tgz" https://bugs.launchpad.net/bugs/1268671/+attachment/3947851/+files/kvm_assert.tgz ** Description changed: Here is the log in /var/log/libvirt/qemu/centos_heavy.log qemu-kvm: /builddir/build/BUILD/qemu-kvm-0.12.1.2/qemu-char.c:630: io_watch_poll_finalize: Assertion `iwp->src == ((void *)0)' failed. 2014-01-13 16:50:31.576+0000: shutting down The code it's failing the assertion on has an interesting comment: - static void io_watch_poll_finalize(GSource *source) - { - /* Due to a glib bug, removing the last reference to a source - * inside a finalize callback causes recursive locking (and a - * deadlock). This is not a problem inside other callbacks, - * including dispatch callbacks, so we call io_remove_watch_poll - * to remove this source. A t this point, iwp->src must - * be NULL, or we would leak it. - * - * This would be solved much more elegantly by child sources, - * but we support older glib versions that do not have them. - */ - IOWatchPoll *iwp = io_watch_poll_from_source(source); - assert(iwp->src == NULL); - } + static void io_watch_poll_finalize(GSource *source) + { + /* Due to a glib bug, removing the last reference to a source + * inside a finalize callback causes recursive locking (and a + * deadlock). This is not a problem inside other callbacks, + * including dispatch callbacks, so we call io_remove_watch_poll + * to remove this source. A t this point, iwp->src must + * be NULL, or we would leak it. + * + * This would be solved much more elegantly by child sources, + * but we support older glib versions that do not have them. + */ + IOWatchPoll *iwp = io_watch_poll_from_source(source); + assert(iwp->src == NULL); + } ------ CPU Info: http://pastebin.com/U7MrzFxK -------- Relevant RPM versions: qemu-kvm-0.12.1.2-2.415.el6_5.3.x86_64 libvirt-0.10.2-29.el6_5.2.x86_64 -------- Domain config: http://pastebin.com/Nf2VsER8 (Note the use of the vmchannels; I believe this is playing a part in this crash) + + + --------- + + uname -a: + + Linux blizzard 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC + 2014 x86_64 x86_64 x86_64 GNU/Linux + + --------- + + CLI to start guest (included in attached dump): + + http://pastebin.com/W01Xzyb0 + + --------- -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1268671 Title: CentOS guest crashing due to assertion failure in qemu-char.c Status in QEMU: New Bug description: Here is the log in /var/log/libvirt/qemu/centos_heavy.log qemu-kvm: /builddir/build/BUILD/qemu-kvm-0.12.1.2/qemu-char.c:630: io_watch_poll_finalize: Assertion `iwp->src == ((void *)0)' failed. 2014-01-13 16:50:31.576+0000: shutting down The code it's failing the assertion on has an interesting comment: static void io_watch_poll_finalize(GSource *source) { /* Due to a glib bug, removing the last reference to a source * inside a finalize callback causes recursive locking (and a * deadlock). This is not a problem inside other callbacks, * including dispatch callbacks, so we call io_remove_watch_poll * to remove this source. A t this point, iwp->src must * be NULL, or we would leak it. * * This would be solved much more elegantly by child sources, * but we support older glib versions that do not have them. */ IOWatchPoll *iwp = io_watch_poll_from_source(source); assert(iwp->src == NULL); } ------ CPU Info: http://pastebin.com/U7MrzFxK -------- Relevant RPM versions: qemu-kvm-0.12.1.2-2.415.el6_5.3.x86_64 libvirt-0.10.2-29.el6_5.2.x86_64 -------- Domain config: http://pastebin.com/Nf2VsER8 (Note the use of the vmchannels; I believe this is playing a part in this crash) --------- uname -a: Linux blizzard 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux --------- CLI to start guest (included in attached dump): http://pastebin.com/W01Xzyb0 --------- To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1268671/+subscriptions