[Top][All Lists]

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

Re: Emacs crashes

From: Nick Roberts
Subject: Re: Emacs crashes
Date: Thu, 16 Mar 2006 10:40:47 +1300

 > > Here are some values below but I can't see a connection between them.
 > A simple list of values recorded in last_marked[] won't do.  You need
 > to correlate it with the innermost frames you see in the backtrace,
 > and from that correlation figure out the name of the Lisp data
 > structure that is being marked.  The connection between the values
 > recorded in last_marked[] will be revealed if you look at the code,
 > because, e.g., when GC finds a cons, it recursively marks its car and
 > its cdr.  By looking at the code, you should be able to find this and
 > other similar connections between the values, like A being a property
 > of B etc.

OK, this tells me more than I could find in DEBUG. 

 > > I guess I should try to work out what created (struct Lisp_String *)
 > > 0xa0024e8.
 > Not who created it, but what higher-level Lisp data is it part of.
 > Btw, looking at the value of that string, namely
 > > (gdb) p* (struct Lisp_String *) 0xa0024e8
 > > $15 = {
 > >   size = 4, 
 > >   size_byte = -1, 
 > >   intervals = 0x10, 
 > >   data = 0xa66c79c "\301\b!\207"
 > > }
 > It sounds like its data is some bytecode.

I've rebuilt Emacs now but this information will be useful for later.

Nick                                           http://www.inet.net.nz/~nickrob

reply via email to

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