Jeff Miller <jmiller(a)smart.net> writes in xemacs-beta(a)xemacs.org:
just did a cvs update. starting xemacs give me this backtrace.
# (unwind-protect ...)
# (catch #<INTERNAL OBJECT (XEmacs bug?) (opaque, size=4) 0x82c21c0> ...)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (inhibit-quit frame-being-created)
make-frame(nil #<x-device on ":0.0" 0x1b19>)
frame-initialize()
# bind (debugger debug-on-error command-line-args-left)
command-line()
# (unwind-protect ...)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
Segmentation fault (core dumped)
not much looking at the core dump
(gdb) where
#0 0x403ce111 in __kill ()
#1 0x80874d5 in fatal_error_signal ()
#2 <signal handler called>
(gdb)
I see something similar on Solaris. Configuring with
--with-widgets=none makes the bomb go away.
The backtrace changes when XEmacs is run out of gdb:
(gdb) run -vanilla
Starting program: /usr/local/devel/miho-test/src/xemacs
warning: Lowest section in /usr/lib/libintl.so.1 is .dynamic at 0x74
Program received signal SIGSEGV, Segmentation fault.
0x24e210 in _free_internal (ptr=0x6b8c00)
at /usr/local/devel/xemacs-21.2/src/gmalloc.c:878
878 if (next != NULL)
(gdb) where
#0 0x24e2d0 in _free_internal (ptr=0x6bfc00)
at /usr/local/devel/xemacs-21.2/src/gmalloc.c:900
#1 0x24e8e0 in free (ptr=0x6b8c00)
at /usr/local/devel/xemacs-21.2/src/gmalloc.c:949
#2 0x22074 in xfree_1 (block=0x6b8c00)
at /usr/local/devel/xemacs-21.2/src/alloc.c:318
#3 0x6a368 in enlarge_hash_table (ht=0x68d4c0)
at /usr/local/devel/xemacs-21.2/src/elhash.c:902
#4 0x6a464 in Fputhash (key=4206980, value=6485148, hash_table=7048264)
at /usr/local/devel/xemacs-21.2/src/elhash.c:946
#5 0x16d7c8 in keymap_store_inverse_internal (inverse_table=6870208,
keysym=6485148, value=4206980)
at /usr/local/devel/xemacs-21.2/src/keymap.c:534
#6 0x16e1b4 in keymap_store (keymap=6870336, key=0x62f49c, value=4206980)
at /usr/local/devel/xemacs-21.2/src/keymap.c:609
#7 0x171e60 in Fdefine_key (keymap=6870336, keys=4206948, def=4206980)
at /usr/local/devel/xemacs-21.2/src/keymap.c:1947
#8 0x78a54 in Ffuncall (nargs=1513708, args=0xefffd664)
at /usr/local/devel/xemacs-21.2/src/eval.c:3189
#9 0x334b0 in execute_optimized_program (
program=0x733af4
"\210\0169A\211\0269¬ß*\0162A\211\0262ª²,ýþM\210ÿÜ016@\201A", stack_depth=3,
constants_data=0x605610)
at /usr/local/devel/xemacs-21.2/src/bytecode.c:747
#10 0x32ec8 in funcall_compiled_function (fun=33, nargs=0, args=0xefffd950)
at /usr/local/devel/xemacs-21.2/src/bytecode.c:523
#11 0x78c08 in Ffuncall (nargs=0, args=0xefffd94c)
at /usr/local/devel/xemacs-21.2/src/eval.c:3221
#12 0x334b0 in execute_optimized_program (
program=0x72a2ad "ªÜtÂÇ\t\"Ü003È )\207", stack_depth=0,
constants_data=0x5b5bd0) at /usr/local/devel/xemacs-21.2/src/bytecode.c:747
#13 0x32ec8 in funcall_compiled_function (fun=3, nargs=0, args=0xefffdbc0)
at /usr/local/devel/xemacs-21.2/src/bytecode.c:523
#14 0x78c08 in Ffuncall (nargs=0, args=0xefffdbbc)
at /usr/local/devel/xemacs-21.2/src/eval.c:3221
#15 0x334b0 in execute_optimized_program (program=0x72a26d "\210É *\207",
stack_depth=0, constants_data=0x5b5b50)
at /usr/local/devel/xemacs-21.2/src/bytecode.c:747
#16 0x32ec8 in funcall_compiled_function (fun=2, nargs=1, args=0xefffdf6c)
at /usr/local/devel/xemacs-21.2/src/bytecode.c:523
#17 0x78c08 in Ffuncall (nargs=1, args=0xefffdf68)
at /usr/local/devel/xemacs-21.2/src/eval.c:3221
#18 0x79fcc in run_hook_with_args_in_buffer (buf=0x3cc804, nargs=2,
args=0xefffdf68, cond=RUN_HOOKS_TO_COMPLETION)
at /usr/local/devel/xemacs-21.2/src/eval.c:3672
#19 0x7a12c in va_run_hook_with_args (hook_var=3517440, nargs=1)
at /usr/local/devel/xemacs-21.2/src/eval.c:3685
#20 0x129b94 in Fmake_frame (props=3983364, device=7047936)
at /usr/local/devel/xemacs-21.2/src/frame.c:508
#21 0x78a3c in Ffuncall (nargs=1216880, args=0xefffe294)
at /usr/local/devel/xemacs-21.2/src/eval.c:3189
#22 0x334b0 in execute_optimized_program (
program=0x70cb3a
"\211\026\f\026\rÎÜ016\006!\026\006ÏÜ016\020!\210ÑÜ211\023\207", stack_depth=2,
constants_data=0x4c9910)
at /usr/local/devel/xemacs-21.2/src/bytecode.c:747
#23 0x32ec8 in funcall_compiled_function (fun=5, nargs=0, args=0xefffe510)
at /usr/local/devel/xemacs-21.2/src/bytecode.c:523
#24 0x78c08 in Ffuncall (nargs=0, args=0xefffe50c)
at /usr/local/devel/xemacs-21.2/src/eval.c:3221
#25 0x334b0 in execute_optimized_program (
program=0x6bbec0 "\210*Ñ \210rÒÓ!q\210Ô \210ÕÖ!\210\016\027Øá«Ü005\016\031
\210)Ú Ûá«ÜbË ¬Ü004Ü \210Ý \210ÖÜ026\036Ë Ü004ßÃ!)\207n which\t\016¸¢,
stack_depth=0, constants_data=0x525010)
at /usr/local/devel/xemacs-21.2/src/bytecode.c:747
#26 0x32ec8 in funcall_compiled_function (fun=4, nargs=0, args=0xefffe788)
at /usr/local/devel/xemacs-21.2/src/bytecode.c:523
#27 0x78c08 in Ffuncall (nargs=0, args=0xefffe784)
at /usr/local/devel/xemacs-21.2/src/eval.c:3221
#28 0x334b0 in execute_optimized_program (
program=0x62deb4 ")\207ar-external \"xterm\" \"-e\"
\"slrn\") (pine toolbar-external \"xterm\" \"-e\"
\"pine\004\002Þ¢, stack_depth=0,
constants_data=0x53f310) at /usr/local/devel/xemacs-21.2/src/bytecode.c:747
#29 0x32ec8 in funcall_compiled_function (fun=6, nargs=0, args=0xefffe910)
at /usr/local/devel/xemacs-21.2/src/bytecode.c:523
#30 0x78450 in Feval (form=5010324)
at /usr/local/devel/xemacs-21.2/src/eval.c:3045
#31 0x73f00 in condition_case_1 (handlers=3983460, bfun=0x7753c <Feval>,
barg=5010324, hfun=0x49164 <cmd_error>, harg=3983364)
at /usr/local/devel/xemacs-21.2/src/eval.c:1640
#32 0x491f4 in top_level_1 (dummy=3520512)
at /usr/local/devel/xemacs-21.2/src/cmdloop.c:205
#33 0x7dcec in internal_catch (tag=4065716, func=0x491b8 <top_level_1>,
arg=3983364, threw=0x0) at /usr/local/devel/xemacs-21.2/src/eval.c:1315
#34 0x47adc in initial_command_loop (load_me=3983364)
at /usr/local/devel/xemacs-21.2/src/cmdloop.c:284
#35 0x6db44 in sort_args (argc=2924544, argv=0xeffff08c)
at /usr/local/devel/xemacs-21.2/src/emacs.c:1763
uname -a: SunOS miho 5.6 Generic_105181-05 sun4u sparc
../xemacs-21.2/configure '--with-mule' '--debug=yes'
'--error-checking=all' '--extra-verbose=no'
'--site-prefixes=/usr/local' '--compiler=gcc'
'--mail-locking=file' '--srcdir=../xemacs-21.2' '--cflags=-g -O3'
'--site-includes=/usr/lib/locale/ja/wnn/demo/include'
'--site-libraries=/usr/lib/locale/ja/wnn/lib' '--with-scrollbars=athena3d'
'--with-dialogs=athena3d' '--with-xim=none'
'--with-widgets=athena3d'
XEmacs 21.2-b19 "Shinjuku" configured for `sparc-sun-solaris2.6'.
Where should the build process find the source code? /usr/local/devel/xemacs-21.2
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/sol2.h' and `m/sparc.h'
What compiler should XEmacs be built with? gcc -g -O3
Should XEmacs use the GNU version of malloc? yes
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/dt/include
/usr/local/X11R6/include
Where do we find X Windows libraries? /usr/dt/lib
/usr/local/X11R6/lib
Additional header files:
/usr/lib/locale/ja/wnn/demo/include
Additional libraries: /usr/lib/locale/ja/wnn/lib
Additional prefixes: /usr/local
Runtime library search path:
/usr/lib/locale/ja/wnn/lib:/usr/local/lib:/usr/dt/lib:/usr/local/X11R6/lib:/usr/local/qt/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in support for X-Face message headers.
Compiling in support for Berkeley DB.
Compiling in support for GNU DBM.
Compiling in support for ncurses.
Compiling in Mule (multi-lingual) support.
Compiling in support for Canna on Mule.
Compiling in support for the WNN input method on Mule.
Using WNN version 6.
Compiling in support for CDE.
Compiling in support for ToolTalk.
Compiling in EXPERIMENTAL support for Drag'n'Drop ( CDE ).
Compiling in support for proper WM_COMMAND handling.
Using Lucid menubars.
Using Athena-3d scrollbars.
Using Athena-3d native widgets.
Using Athena-3d dialog boxes.
Compiling in DSO module support.
movemail will use "dot-locking" for locking mail spool files.
Compiling in extra code for debugging.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------