CentOS guest crashing due to assertion failure in qemu-char.c

Bug #1268671 reported by Wesley Holevinski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Invalid
Undecided
Unassigned

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

---------

thread apply all bt:

http://pastebin.com/FTpUDU7A

Revision history for this message
Wesley Holevinski (wesley-8) wrote :
description: updated
description: updated
Revision history for this message
Thomas Huth (th-huth) wrote :

QEMU 0.12 is completely outdated nowadays ... can you still reproduce this problem with the latest version of QEMU?

Changed in qemu:
status: New → Incomplete
Revision history for this message
Paolo Bonzini (bonzini) wrote :

It's a glib bug. It's fixed in RHEL 6.9 beta and in due time the fix will get to CentOS.

Changed in qemu:
status: Incomplete → Invalid
Revision history for this message
Paolo Bonzini (bonzini) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.