From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15793 invoked by alias); 13 Jul 2008 23:42:25 -0000 Received: (qmail 15775 invoked by uid 22791); 13 Jul 2008 23:42:25 -0000 X-Spam-Check-By: sourceware.org Received: from ik-out-1112.google.com (HELO ik-out-1112.google.com) (66.249.90.182) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 13 Jul 2008 23:41:53 +0000 Received: by ik-out-1112.google.com with SMTP id b32so2111137ika.0 for ; Sun, 13 Jul 2008 16:41:50 -0700 (PDT) Received: by 10.210.16.1 with SMTP id 1mr8482289ebp.98.1215992510712; Sun, 13 Jul 2008 16:41:50 -0700 (PDT) Received: by 10.210.66.15 with HTTP; Sun, 13 Jul 2008 16:41:50 -0700 (PDT) Message-ID: <6dc9ffc80807131641n687a6c8gdffff95aa109751f@mail.gmail.com> Date: Sun, 13 Jul 2008 23:42:00 -0000 From: "H.J. Lu" To: "Craig Silverstein" Subject: Re: inflateInit? Cc: binutils@sourceware.org, dj@redhat.com, drow@false.org, gdb@sourceware.org, hp@bitrange.com In-Reply-To: <20080713225758.3B98D3F305E@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6dc9ffc80807131247y7a85d860ga3df0fb6fa23e977@mail.gmail.com> <20080713225758.3B98D3F305E@localhost> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00148.txt.bz2 On Sun, Jul 13, 2008 at 3:57 PM, Craig Silverstein wrote: > } ./addr2line -e ./addr2line `nm -n --defined-only ./addr2line |head > } -1 | awk '{print $1}'` > > Yes, it works on all the ones I've tested on. I'm still trying to > reproduce the problem you reported. > > craig > Some glibc, like the one in Fedora 9, will check invalid pointers passed to free by default. If you use Linux, you can try [hjl@gnu-26 binutils]$ MALLOC_CHECK_=1 ./addr2line -e ./addr2line `nm -n --defined-only ./addr2line |head -1 | awk '{print $1}'` malloc: using debugging hooks ??:0 *** glibc detected *** free(): invalid pointer: 0x0000002a95734d53 *** [hjl@gnu-26 binutils]$ -- H.J.