Re: GDB cannot access memory after Emacs abort

Eli Zaretskii
2007-11-12T04:18:11Z

> 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.