Mail Archives: djgpp-workers/2002/05/14/17:47:26
> Date: Tue, 14 May 2002 23:01:56 +0100
> From: Laurynas Biveinis <lauras AT softhome DOT net>
>
> Below is the backtrace at the entry point of map_char_table where it
> causes abort later somewhere in that function. I've dumped Lisp_Objects
> there too, but I don't understand anything there. Maybe that says
> something to you?
It says a lot (keymaps are large data structures, since they bind
many keys), but it doesn't say the most important part: where does it
crash, exactly?
AFAICS, map_char_table is a straightforward code, albeit slightly
recursive one (but the recursion depth seems to be limited at 3, so
it shouldn't be a problem). Sorry, I still don't see the light.
> Where should I look now?
Try to establish what instruction causes Emacs to be killed.
Once you find the source line that crashes, it might be a good idea to
put a call to abort() before and after it, and run the same sequence
of command outside GDB. That way, you will know that the crashes you
see under GDB are the same ones you experience in normal usage.
Tracking such bugs could get tricky, so it's good to know up front we
aren't chasing a wild goose...
> I wish I could understand what's going on, but I'm not even an average
> Emacs user, and now I feel something like debugging an OS kernel :)
Well, I see that you've studied etc/DEBUG and use its techniques
successfully, so you have nothing to be ashamed of. Thanks for
working on this.
- Raw text -