emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: SIGSEGV


From: Eli Zaretskii
Subject: Re: SIGSEGV
Date: Mon, 30 Dec 2002 20:42:16 +0300

> From: Alex Schroeder <address@hidden>
> Date: Sat, 28 Dec 2002 21:05:10 +0100
> 
>     Note: It is not a good idea to try `pr' if you know that Emacs is
>     in deep trouble: its stack smashed (e.g., if it encountered
>     SIGSEGV due to stack overflow), or crucial data structures, such
>     as `obarray', corrupted, etc.  In such cases, the Emacs subroutine
>     called by `pr' might make more damage, like overwrite some data
>     that is important for debugging the original problem.
> 
> Now, I did get a SIGSEGV, but I am not sure this means that I should
> refrain from using pr.  Am I in "deep" trouble?  :)

Yes. ;-)  Any Emacs session that got hit by a SIGSEGV is potentially
in trouble, and you should not use `pr'.

> (gdb) p area
> $1 = 4159400

That value looks _way_ too large.  You will see in enum glyph_row_area
(defined on dispextern.h) that `area' should have only a small number
of values.

> Ok, then I tried to find the value for LAST_AREA.  I did not find it
> with a grep through the sources

See dispextern.h, it's all there.



reply via email to

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