qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Wesley Holevinski <wesley@adaptiveapps.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 1268671] Re: CentOS guest crashing due to assertion failure in	qemu-char.c
Date: Mon, 13 Jan 2014 18:06:56 -0000	[thread overview]
Message-ID: <20140113180656.7362.75243.launchpad@soybean.canonical.com> (raw)
In-Reply-To: 20140113174654.7725.99941.malonedeb@soybean.canonical.com

** 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);
      }
  
  ------
  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

-- 
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

  ---------

  thread apply all bt:

  http://pastebin.com/FTpUDU7A

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1268671/+subscriptions

  reply	other threads:[~2014-01-13 18:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-13 17:46 [Qemu-devel] [Bug 1268671] [NEW] CentOS guest crashing due to assertion failure in qemu-char.c Wesley Holevinski
2014-01-13 18:06 ` Wesley Holevinski [this message]
2017-01-11 20:13 ` [Qemu-devel] [Bug 1268671] " Thomas Huth
2017-01-12  8:56 ` Paolo Bonzini
2017-01-12  8:56 ` Paolo Bonzini

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=20140113180656.7362.75243.launchpad@soybean.canonical.com \
    --to=wesley@adaptiveapps.com \
    --cc=1268671@bugs.launchpad.net \
    --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).