help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: SEGV in Garbage collection during build


From: Stefan Monnier
Subject: Re: SEGV in Garbage collection during build
Date: Wed, 20 Oct 2004 13:56:27 GMT
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Please take this to gnu.emacs.bug rather than gnu.emacs.help.
You'll hopefully get more info over there.

> CC-513 cc: WARNING File = frame.c, Line = 2118
>    A value of type "unsigned char *" cannot be assigned to an entity of type
>            "char *".

>                        color_name = XSTRING (value)->data;

> But I don't believe these are significant.

I don't know about the "indicated argument is incompatible with the
corresponding formal parameter", but the char-vs-unsigned-char should be
harmless (tho pesky abnd surprisingly difficult to fix).

> The problem occurs in the build when Emacs tries to load lisp.  This problem
> is reproducable by running

> ./temacs -batch

> There is a failure in mark_object after it is recutsivly called about for
> the 31,000th time.  It makes stack tracing a bit difficult.

How far through the dump process is it when it crashes?
Is that the first garbage collection?

> So any suggestions for getting to the bottom of this SEGV?

I suggest you take a look at the files in emacs/src/m/* and emacs/src/s/*.
If you can find there a machine or OS that you expect to be somewhat similar
to the X1, it might contain useful hints.  See also emacs/etc/PROBLEMS.

Also, could it be that the SEGV is just a stack overflow (i.e. the stack
limit is too low)?  Seems unlikely on a Cray, tho :-)

Your binary dos not seem to contain debugging info (at least your backtrae
shows no info about arguments, which is a pretty good sign that the debug
info is missing), so you should rebuild with debug info.


        Stefan


reply via email to

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