From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23200 invoked by alias); 4 Jun 2013 13:30:21 -0000 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 Received: (qmail 23166 invoked by uid 89); 4 Jun 2013 13:30:19 -0000 X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO,TW_YM autolearn=ham version=3.3.1 Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 04 Jun 2013 13:30:19 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id A2ED02ED89; Tue, 4 Jun 2013 09:30:17 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5cwkzKIi3n+K; Tue, 4 Jun 2013 09:30:17 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 3F5822ED7F; Tue, 4 Jun 2013 09:30:17 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 4BA31C1AA3; Tue, 4 Jun 2013 17:30:06 +0400 (RET) Date: Tue, 04 Jun 2013 13:30:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 13/40] fix cleanup handling in macho_symfile_read Message-ID: <20130604133005.GE12363@adacore.com> References: <668178b2c763a59e4651dabd10ee38fdddc37d2a.1368124285.git.tromey@redhat.com> <20130603133214.GA23924@adacore.com> <87zjv7mb00.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87zjv7mb00.fsf@fleche.redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2013-06/txt/msg00044.txt.bz2 > Joel> This is what I checked in: > Joel> gdb/Changelog: > Joel> Revert: > Joel> * machoread.c (macho_symfile_read): Assign first cleanup to > Joel> 'back_to'. > > I'm sorry about that. > I'll file a bug for it. You really shouldn't be. I just spend half a day not making any progress on this, because the problem does not reproduce outside of the testing environment, and I cannot debug outside of using printf statements :-(. It looks like either a double-free, or a memory corruption, with a slight hunch towards a memory corruption, because I do not see where the memory at this address got allocated. If you already opend a PR, you can assign it to me. I think this one is going to hurt :-(. -- Joel