From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9455 invoked by alias); 10 Nov 2003 23:38:29 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 9446 invoked from network); 10 Nov 2003 23:38:29 -0000 Received: from unknown (HELO zenia.home) (12.223.225.216) by sources.redhat.com with SMTP; 10 Nov 2003 23:38:29 -0000 Received: by zenia.home (Postfix, from userid 5433) id A437720766; Mon, 10 Nov 2003 18:37:01 -0500 (EST) To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Subject: Re: Macro code crasher on re-run References: <20031103040751.GA30979@nevyn.them.org> <20031103045601.GA32557@nevyn.them.org> <20031103210453.GA17444@nevyn.them.org> <20031103213706.GA20445@nevyn.them.org> <20031107162932.GA29908@nevyn.them.org> From: Jim Blandy Date: Mon, 10 Nov 2003 23:38:00 -0000 In-Reply-To: <20031107162932.GA29908@nevyn.them.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-11/txt/msg00085.txt.bz2 Daniel Jacobowitz writes: > On Mon, Nov 03, 2003 at 06:50:38PM -0500, Jim Blandy wrote: > > > > Daniel Jacobowitz writes: > > > I was using the 6.0 branch when I found the problem, so that's not it. > > > It may be a related problem in a caller of free_objfile, though. Or > > > reread_objfile? > > > > You mean reread_symbols? It wouldn't be that, because that calls > > clear_symtab_users itself. It's certainly a caller of free_objfile. > > > > I think this is just going to take some debugging. Can you tell me > > how to reproduce it? > > Develop a habit for recompiling programs while you're debugging them, > and use dwarf2 information. I didn't even have -g3 macro debug > information at all. Eventually you'll crash, either in the macro or > frame code. I did see some crashes last week, doing what you suggest, but I was in a crunch and didn't have time to investigate. I'll see if I can do so now.