[WHL] Re: [Bug: 21.5-b18] xemacs dump core on S-space
giacomo boffi
giacomo.boffi at polimi.it
Thu Nov 4 05:03:38 EST 2004
Ben Wing writes:
> Giacomo, unfortunately it looks like your C backtrace is corrupted.
> Could you recompile without -O3 and try again?
oh yes, i recompiled like this, in a configured source tree (look at
my original bug report for configuration details) i issued
% make CFLAGS='-Wall -Wno-switch -Winline -Wmissing-prototypes \
-Wsign-compare -Wundef -Wstrict-prototypes \
-Wpacked -Wshadow -Wmissing-declarations -g' beta
then i run src/xemacs under gdb, the typescript is below
i have a suspicion against builder_find_menu_accelerator, as i
frequently had problems with the meta key activating my
menubar... wait a minute...
ok, that's it! i commented the following line in my
~/.xemacs/custom.el
;'(menu-accelerator-enabled (quote menu-force) t)
and now xemacs-beta doesn't dumps core anymore on S-space!
note that xemacs-stable doesn't dump core, even when it sees the same
customization (see my own followup to my original bug report)
hth, ciao
gb
Script started on Thu Nov 4 10:40:54 2004
boffi95/../xemacs-21.5 Thu Nov 04 10:40:54: gdb src/xemacs
GNU gdb 6.1-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run
Starting program: /home/boffi/src/xemacs-21.5/src/xemacs
Warning: No type converter registered for 'String' to 'Pixmap' conversion.
Warning: No type converter registered for 'String' to 'Pixmap' conversion.
Fatal error: assertion failed, file menubar-x.c, line 1218, RECORD_TYPEP (obj, lrecord_type_console)
Program received signal SIGABRT, Aborted.
0x4034fed9 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0 0x4034fed9 in raise () from /lib/tls/libc.so.6
#1 0x4045dfcc in ?? () from /lib/tls/libc.so.6
#2 0xbffff9a0 in ?? ()
#3 0x40351771 in abort () from /lib/tls/libc.so.6
#4 0x00000000 in ?? ()
#5 0x00000020 in ?? ()
#6 0x00000000 in ?? ()
#7 0x00000000 in ?? ()
#8 0x00000000 in ?? ()
#9 0x00000000 in ?? ()
#10 0x00000000 in ?? ()
#11 0x00000000 in ?? ()
#12 0x00000000 in ?? ()
#13 0x00000000 in ?? ()
#14 0x00000000 in ?? ()
#15 0x00000000 in ?? ()
#16 0x00000000 in ?? ()
#17 0x00000000 in ?? ()
#18 0x00000000 in ?? ()
#19 0x00000000 in ?? ()
#20 0x00000000 in ?? ()
#21 0x00000000 in ?? ()
#22 0x00000000 in ?? ()
#23 0x00000000 in ?? ()
#24 0x00000000 in ?? ()
#25 0x00000000 in ?? ()
#26 0x00000000 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000000 in ?? ()
#29 0x00000000 in ?? ()
#30 0x00000000 in ?? ()
#31 0x00000000 in ?? ()
#32 0x00000000 in ?? ()
#33 0x00000000 in ?? ()
#34 0x00000000 in ?? ()
#35 0x00000000 in ?? ()
#36 0x00000000 in ?? ()
#37 0x08274620 in I_hate_C.13 ()
#38 0x00000443 in ?? ()
#39 0x4019c6b0 in ?? () from /usr/X11R6/lib/libXt.so.6
#40 0x4045dfcc in ?? () from /lib/tls/libc.so.6
#41 0x0858a744 in XtShellStrings ()
#42 0xbffff3a8 in ?? ()
#43 0x0817fb26 in lookup_events (event_head=136784160, nmaps=136936608, keymaps=0x4c2,
accept_default=136803680) at keymap.c:2223
#44 0x080d195d in assert_failed (file=0x8297ca0 "menubar-x.c", line=1218,
expr=0x8277560 "RECORD_TYPEP (obj, lrecord_type_console)") at emacs.c:3734
#45 0x080f8ce9 in error_check_console (obj=137238840, file=0x8297ca0 "menubar-x.c",
line=1218) at console.h:77
#46 0x0823bef5 in command_builder_find_menu_accelerator (builder=0x895c698)
at menubar-x.c:1218
#47 0x080ef807 in command_builder_find_leaf_no_mule_processing (builder=0x895c698,
allow_misc_user_events_p=1, did_munge=0xbffff4d4) at event-stream.c:3432
#48 0x080ef99f in command_builder_find_leaf_no_mule_processing (builder=0x884b080,
allow_misc_user_events_p=1, did_munge=0xbffff4d4) at event-stream.c:3476
#49 0x080efa50 in command_builder_find_leaf (builder=0x884b080,
allow_misc_user_events_p=1, did_munge=0xbffff4d4) at event-stream.c:3529
#50 0x080efaaa in command_builder_find_leaf_and_update_global_state (builder=0x884b080,
allow_misc_user_events_p=1) at event-stream.c:3563
#51 0x080f06f6 in lookup_command_event (command_builder=0x884b080, event=141348608,
allow_misc_user_events_p=1) at event-stream.c:3992
#52 0x080f1284 in Fdispatch_event (event=141348608) at event-stream.c:4382
#53 0x080a92de in Fcommand_loop_1 () at cmdloop.c:601
#54 0x080a90ad in command_loop_1 (unused_dummy=137238840) at cmdloop.c:506
#55 0x080d6c9e in condition_case_1 (handlers=137236800, bfun=0x80a907b <command_loop_1>,
barg=137238840, hfun=0x80a8ca7 <cmd_error>, harg=137238840) at eval.c:1918
#56 0x080a8dc3 in command_loop_3 () at cmdloop.c:262
#57 0x080a8de5 in command_loop_2 (unused_dummy=137238840) at cmdloop.c:275
#58 0x080d6754 in internal_catch (tag=137021040, func=0x80a8dda <command_loop_2>,
arg=137238840, threw=0x0, thrown_tag=0x0) at eval.c:1527
#59 0x080a8eec in initial_command_loop (load_me=137238840) at cmdloop.c:313
#60 0x080d02dc in xemacs_21_5_b18_i686_pc_linux (argc=1, argv=0xbffffa14,
unused_envp=0xbffffa1c, restart=0) at emacs.c:2407
#61 0x080d107d in main (argc=1, argv=0xbffffa14, envp=0xbffffa1c) at emacs.c:2837
(gdb) quit
The program is running. Exit anyway? (y or n) y
boffi95/../xemacs-21.5 Thu Nov 04 10:41:26:
Script done on Thu Nov 4 10:41:28 2004
More information about the XEmacs-Beta
mailing list