emacs-devel
[Top][All Lists]
Advanced

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

Re: cvs head crash in GC


From: Richard Stallman
Subject: Re: cvs head crash in GC
Date: Sun, 13 Apr 2003 07:24:03 -0400

    Program received signal SIGSEGV, Segmentation fault.
    0x4207a8d5 in bcopy () from /lib/tls/libc.so.6
    (gdb) where
    #0  0x4207a8d5 in bcopy () from /lib/tls/libc.so.6
    #1  0x0804feee in safe_bcopy (from=0x99390cc "\2649o\b", 
        to=0x99b4458 "\324y\316\bnnimap+mail.podval.org:.imap/lisp/misc", 
        size=504716) at dispnew.c:484
    #2  0x0811c7e1 in compact_small_strings () at alloc.c:1641

It is clear that the size argument to safe_bcopy is nonsense.
A string 504716 bytes long would not be stored in "small string"
fashion.

The next step is to figure out the chain of events that occurred
in compact_small_strings.  The value that you got for FROM seems
impossible--it does not match the FROM arg in safe_bcopy.
I think that the variable FROM is not live at that point,
and its register is in use for something else or was not saved.
You can assume FROM was actually 0x99390cc.  It would be interesting
to cross-check that  against the value of FROM_END.

Please look at FROM->string; that is the Lisp_String structure.
What is in that?





reply via email to

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