This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB cannot access memory after Emacs abort


> From:  Stephen Berman <Stephen.Berman@gmx.net>
> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]