From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22112 invoked by alias); 13 Nov 2007 23:57:08 -0000 Received: (qmail 22103 invoked by uid 22791); 13 Nov 2007 23:57:08 -0000 X-Spam-Check-By: sourceware.org Received: from ns.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 13 Nov 2007 23:57:06 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id B0E931FD58; Wed, 14 Nov 2007 00:57:03 +0100 (CET) From: Andreas Schwab To: Stephen Berman Cc: gdb@sources.redhat.com Subject: Re: GDB cannot access memory after Emacs abort References: <87r6j6rvn3.fsf@escher.local.home> <87hcjtllau.fsf@escher.local.home> <1194763094.16917.278.camel@localhost.localdomain> <87ir48gzet.fsf@escher.local.home> <1194844555.16917.319.camel@localhost.localdomain> <87fxz9dbks.fsf@escher.local.home> X-Yow: Pardon me, but do you know what it means to be TRULY ONE with your BOOTH! Date: Tue, 13 Nov 2007 23:57:00 -0000 In-Reply-To: <87fxz9dbks.fsf@escher.local.home> (Stephen Berman's message of "Tue\, 13 Nov 2007 23\:28\:51 +0100") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes 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: 2007-11/txt/msg00119.txt.bz2 Stephen Berman writes: > After the abort occurs, the desktop locks up, I switch to a virtual tty > and kill -9 the emacs process, releasing the desktop, then type what you > said at the gdb prompt and get this: > > 0x80f9e56 : Cannot access memory at address 0x80f9e56 Of course, after forcefully killing the process it does not exist any more, so there is nothing the debugger can inspect. I'd suggest running the debugger inside screen, then you can attach to the screen instance from any other tty and inspect the still running emacs process. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."