From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USoVR-0004QE-Rw for qemu-devel@nongnu.org; Thu, 18 Apr 2013 09:04:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USoVP-0000Gs-Ld for qemu-devel@nongnu.org; Thu, 18 Apr 2013 09:04:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USo6o-0007cV-TS for qemu-devel@nongnu.org; Thu, 18 Apr 2013 08:38:39 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3ICccMF004241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 18 Apr 2013 08:38:38 -0400 Message-ID: <516FE943.1010106@redhat.com> Date: Thu, 18 Apr 2013 14:38:27 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1366110642-22095-1-git-send-email-pbonzini@redhat.com> <516D3483.8080804@redhat.com> <516E49E7.9040901@redhat.com> <516E76A5.7020406@redhat.com> <516F8F50.3040301@redhat.com> In-Reply-To: <516F8F50.3040301@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/3] another round of qemu-char fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Amit Shah , qemu-devel Il 18/04/2013 08:14, Gerd Hoffmann ha scritto: > Thread 1 (Thread 0x7f9038188980 (LWP 27849)): > ---Type to continue, or q to quit--- > #0 __lll_lock_wait () at > ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136 > #1 0x00007f90366a9388 in _L_lock_854 () from /lib64/libpthread.so.0 > #2 0x00007f90366a9257 in __pthread_mutex_lock (mutex=0x7f903abb1538) at > pthread_mutex_lock.c:61 > #3 0x00007f9037903c37 in ?? () from /lib64/libglib-2.0.so.0 > #4 0x00007f90383c5d96 in io_watch_poll_finalize (source= optimized out>) > at /home/kraxel/projects/qemu/qemu-char.c:648 Hmm, this seems to be recursive locking. It sounded unlikely, but then googling for "glib gsource finalize unlock" led to this: https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/887946 and this: https://mail.gnome.org/archives/commits-list/2010-November/msg01816.html and this: https://bugzilla.gnome.org/show_bug.cgi?id=586432 https://bugzilla.gnome.org/show_bug.cgi?id=626702 Comment 6 of the latter bug says that finalize-inside-finalize is in fact broken without this fix. If this is RHEL6, you or Amit should file a bug. Paolo