From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10738 invoked by alias); 2 Aug 2012 23:09:55 -0000 Received: (qmail 10723 invoked by uid 22791); 2 Aug 2012 23:09:53 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,TW_VG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Aug 2012 23:09:35 +0000 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 q72N97Wc017032 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 2 Aug 2012 19:09:07 -0400 Received: from psique (ovpn-113-52.phx2.redhat.com [10.3.113.52]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q72N91no014096; Thu, 2 Aug 2012 19:09:02 -0400 From: Sergio Durigan Junior To: Edjunior Barbosa Machado Cc: Jan Kratochvil , Philippe Waroquiers , Pedro Alves , Joel Brobecker , gdb-patches@sourceware.org, "Maciej W. Rozycki" , Tom Tromey Subject: Re: [commit+7.5] [patchv2] Write bpt at the ON_STACK bpt address References: <5012B1B6.1030003@redhat.com> <1343339398.2258.119.camel@soleil> <20120727184633.GA14182@host2.jankratochvil.net> <20120731073643.GA18696@host2.jankratochvil.net> <501B03E4.1020209@linux.vnet.ibm.com> X-URL: http://www.redhat.com Date: Thu, 02 Aug 2012 23:09:00 -0000 In-Reply-To: <501B03E4.1020209@linux.vnet.ibm.com> (Edjunior Barbosa Machado's message of "Thu, 02 Aug 2012 19:49:08 -0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00089.txt.bz2 On Thursday, August 02 2012, Edjunior Barbosa Machado wrote: > On 07/31/2012 04:36 AM, Jan Kratochvil wrote: >>> gdb/testsuite/ >>> 2012-07-27 Jan Kratochvil >>> >>> * gdb.base/valgrind-infcall.c: New file. >>> * gdb.base/valgrind-infcall.exp: New file. > > I've faced this internal-error when running this testcase on Fedora17 (which has valgrind-3.7.0) on ppc64: > > ... > (gdb) PASS: gdb.base/valgrind-infcall.exp: continue #1 (false warning) > continue > Continuing. > ==7541== Invalid free() / delete / delete[] / realloc() > ==7541== at 0x40458BC: free (vg_replace_malloc.c:427) > ==7541== by 0x10000763: main (valgrind-infcall.c:38) > ==7541== Address 0x4070040 is 0 bytes inside a block of size 1 free'd > ==7541== at 0x40458BC: free (vg_replace_malloc.c:427) > ==7541== by 0x10000757: main (valgrind-infcall.c:37) > ==7541== > ==7541== (action on error) vgdb me ... > > Program received signal SIGTRAP, Trace/breakpoint trap. > ../../gdb.git/gdb/frame.c:2396: internal-error: frame_cleanup_after_sniffer: Assertion `frame->prologue_cache == NULL' failed. > A problem internal to GDB has been detected, > FAIL: gdb.base/valgrind-infcall.exp: continue (GDB internal error) > further debugging may prove unreliable. > Quit this debugging session? (y or n) n > > With this error, gdb connection is closed and the testsuite gets stuck > at this point. (Adding Tom to CC list). Thanks for the report. Just as an FYI (or For Our Information, rather), http://sourceware.org/ml/gdb-patches/2012-08/msg00075.html clearly fixes the bug. I will keep an eye on this since I am interested as well. Thanks, -- Sergio