From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USXQf-0004IH-7a for qemu-devel@nongnu.org; Wed, 17 Apr 2013 14:50:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USXQd-0003jX-C6 for qemu-devel@nongnu.org; Wed, 17 Apr 2013 14:50:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USXQd-0003jB-3t for qemu-devel@nongnu.org; Wed, 17 Apr 2013 14:49:59 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3HInvDB028045 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 17 Apr 2013 14:49:57 -0400 Message-ID: <1366224595.2041.16.camel@thinkpad-t420s> From: Lucas Meneghel Rodrigues Date: Wed, 17 Apr 2013 15:49:55 -0300 In-Reply-To: <516D0048.60703@redhat.com> References: <1366044563.3206.6.camel@thinkpad-t420s> <516D0048.60703@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [BUG latest master] - qemu segfaults when issuing screendump cmd List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Luiz Capitulino , "qemu-devel@nongnu.org" , Cleber Rosa On Tue, 2013-04-16 at 09:39 +0200, Gerd Hoffmann wrote: > On 04/15/13 18:49, Lucas Meneghel Rodrigues wrote: > > Latest qemu.git master is failing big time to pass sanity checks: > > > > https://bugs.launchpad.net/qemu/+bug/1169254 > > > > We've had some issues with the test jobs, and finally managed to > > stabilize the grid, so we don't have results for the last couple of > > weeks to bisect the problem. > > Can you try this? > git://git.kraxel.org/qemu rebase/pixman > > [ I'm about to prepare a pull req, was planning > to do it last week but got sick ... ] Yes, in your branch, the problem is solved. Anthony came up with an even simpler reproducer: $ (sleep 1; echo -e 'screendump abc.ppm\nquit') | MALLOC_PERTURB_=1 x86_64-softmmu/qemu-system-x86_64 -monitor stdio -vnc :0 QEMU 1.4.50 monitor - type 'help' for more information (qemu) screendump abc.ppm (qemu) quit With current master, qemu crashes. [lmr@thinkpad-t420s qemu-gerd]$ (sleep 1; echo -e 'screendump abc.ppm\nquit') | MALLOC_PERTURB_=1 x86_64-softmmu/qemu-system-x86_64 -monitor stdio -vnc :0 QEMU 1.4.50 monitor - type 'help' for more information (qemu) screendump abc.ppm Segmentation fault