[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segmentation fault for large values of max-lisp-eval-depth

From: Jesper Harder
Subject: Re: Segmentation fault for large values of max-lisp-eval-depth
Date: Thu, 29 Apr 2004 03:56:59 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

"Eli Zaretskii" <address@hidden> writes:

>> > But the first question is IMHO whether this is indeed the case here.
>> > That is, can you check that the stack is overrun in your case?
>> How do I check that?
> Assuming this is an Intel processor, print the value of the ESP
> register, and compare that with the stack limit.

esp            0xbf7ffff4

> The stack limit is stored in a global variable whose name is
> specific to the C library used to link Emacs.  I don't know the name
> of that variable for your library, but asking some guru for your OS
> would probably produce the answer.

I have no idea how to figure out that name (why doesn't the glibc
documentation tell?).

But increasing the stack with 'ulimit -s' stops Emacs from crashing
for this particular value of `max-lisp-eval-depth'.  I suppose that
means that the stack _did_ overrun?

Jesper Harder                                <http://purl.org/harder/>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]