From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10325 invoked by alias); 12 Nov 2007 04:18:11 -0000 Received: (qmail 10315 invoked by uid 22791); 12 Nov 2007 04:18:11 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (213.8.233.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 12 Nov 2007 04:18:08 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-229-254-163.inter.net.il [84.229.254.163]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id JJI28822 (AUTH halo1); Mon, 12 Nov 2007 06:17:50 +0200 (IST) Date: Mon, 12 Nov 2007 04:18:00 -0000 Message-Id: From: Eli Zaretskii To: Stephen Berman CC: gdb@sources.redhat.com In-reply-to: <87ir48gzet.fsf@escher.local.home> (message from Stephen Berman on Mon, 12 Nov 2007 00:01:14 +0100) Subject: Re: GDB cannot access memory after Emacs abort Reply-to: Eli Zaretskii References: <87r6j6rvn3.fsf@escher.local.home> <87hcjtllau.fsf@escher.local.home> <1194763094.16917.278.camel@localhost.localdomain> <87ir48gzet.fsf@escher.local.home> 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/msg00090.txt.bz2 > From: Stephen Berman > Date: Mon, 12 Nov 2007 00:01:14 +0100 > > >> > > (gdb) bt > >> > > #0 abort () at emacs.c:431 > >> > > Cannot access memory at address 0xbfd6836c > >> > > Cannot access memory at address 0x8321b6c > > > > Stack overflow, maybe? > > Due to an infinite loop in Emacs? Due to infinite recursion, or some complex regexp, who knows? Perhaps the Linux folks here can suggest how to check for a stack overflow: it has to do with comparing the value of $sp with some platform-dependent symbol that holds the top of the stack. > If it was due to a stack overflow, does that mean GDB is above > suspicion in this case? Yes, if we prove that it's a stack overflow.