From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ8vM-0006OD-AB for qemu-devel@nongnu.org; Fri, 22 Mar 2013 16:51:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJ8vE-0000Yl-1X for qemu-devel@nongnu.org; Fri, 22 Mar 2013 16:50:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ8vD-0000Y2-Fc for qemu-devel@nongnu.org; Fri, 22 Mar 2013 16:50:43 -0400 Date: Fri, 22 Mar 2013 16:50:39 -0400 From: Luiz Capitulino Message-ID: <20130322165039.32aae1fb@doriath> In-Reply-To: <514C21C6.3070800@greensocs.com> References: <514C21C6.3070800@greensocs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Abort in monitor_puts. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: KONRAD =?UTF-8?B?RnLDqWTDqXJpYw==?= Cc: Anthony Liguori , qemu-devel , kraxel@redhat.com On Fri, 22 Mar 2013 10:17:58 +0100 KONRAD Fr=C3=A9d=C3=A9ric wrote: > Hi, >=20 > Seems there is an issue with the current git (found by toddf on IRC). >=20 > To reproduce: >=20 > ./qemu-system-x86_64 --monitor stdio --nographic >=20 > and put "?" it should abort. >=20 > Here is the backtrace: >=20 > #0 0x00007f77cd347935 in raise () from /lib64/libc.so.6 > #1 0x00007f77cd3490e8 in abort () from /lib64/libc.so.6 > #2 0x00007f77cd3406a2 in __assert_fail_base () from /lib64/libc.so.6 > #3 0x00007f77cd340752 in __assert_fail () from /lib64/libc.so.6 > #4 0x00007f77d1c1f226 in monitor_puts (mon=3D, > str=3D) at=20 Yes, it's easy to reproduce. Bisect says: f628926bb423fa8a7e0b114511400ea9df38b76a is the first bad commit commit f628926bb423fa8a7e0b114511400ea9df38b76a Author: Gerd Hoffmann Date: Tue Mar 19 10:57:56 2013 +0100 fix monitor =20 chardev flow control broke monitor, fix it by adding watch support. =20 Signed-off-by: Anthony Liguori My impression is that monitor_puts() in being called in parallel.