Mail Archives: djgpp-workers/2002/05/14/17:02:18
I've gone a little bit deeper, but now I've lost in a maze of pointers
to Lisp_Object :( The abort happens in map_char_table, but (only?) when
called from where_is_internal. I see another call during startup, this
one doesn't cause abort.
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? Where should I look now?
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 :)
(gdb) s
map_char_table (c_function=0x61e98 <where_is_internal_2>, function=270752772,
subtable=1076250624, arg=1347592892, depth=0, indices=0x4d9888)
at fns.c:2462
2462 if (depth == 0)
(gdb) p function
$2 = 270752772
(gdb) pr
nil
(gdb) p subtable
$4 = 1076250624
(gdb) pr
[... lots of self-insert-command, nil nil keymap in the end...]
(gdb) p arg
$5 = 1347592892
(gdb) pr
(((tetris)) ([] . -1) 1 . 0)
(gdb) p *indices
$6 = 270878396
(gdb) pr
eql
(gdb) bt
#0 map_char_table (c_function=0x61e98 <where_is_internal_2>,
function=270752772, subtable=1076250624, arg=1347592892, depth=0,
indices=0x4d9888) at fns.c:2462
#1 0x00061abe in where_is_internal (definition=271580860, keymaps=1347587988,
firstonly=270752820, noindirect=270752772) at keymap.c:2221
#2 0x00061daa in Fwhere_is_internal (definition=271580860, keymap=270752772,
firstonly=270752820, noindirect=270752772) at keymap.c:2348
#3 0x0005b3b6 in Fexecute_extended_command (prefixarg=270752772)
at keyboard.c:9320
#4 0x000aabbb in Ffuncall (nargs=2, args=0x4d9a78) at eval.c:2659
#5 0x000a743b in Fcall_interactively (function=270818980,
record_flag=270752772, keys=1076035072) at callint.c:797
#6 0x0005b107 in Fcommand_execute (cmd=270818980, record_flag=270752772,
keys=270752772, special=270752772) at keyboard.c:9221
#7 0x0005266c in command_loop_1 () at keyboard.c:1644
#8 0x000a8f25 in internal_condition_case (bfun=0x51b38 <command_loop_1>,
handlers=270857292, hfun=0x51660 <cmd_error>) at eval.c:1267
#9 0x00051908 in command_loop_2 () at keyboard.c:1245
#10 0x000a8a69 in internal_catch (tag=270818860,
func=0x518e4 <command_loop_2>, arg=270752772) at eval.c:1030
#11 0x000518b2 in command_loop () at keyboard.c:1224
#12 0x00051423 in recursive_edit_1 () at keyboard.c:950
#13 0x0005154e in Frecursive_edit () at keyboard.c:1006
#14 0x0004ff63 in main (argc=1, argv=0x233f50, envp=0x311800) at emacs.c:1547
---Type <return> to continue, or q <return> to quit---
#15 0x000f6658 in __crt1_startup ()
TIA,
Laurynas
- Raw text -