Problem:
1) xemacs cores upon startup on Solaris 8 x86
2) does not core when the "-nw" option is given
Preamble
uname -a:
SunOS <hostname> 5.8 Generic_108529-16 i86pc i386
gcc -version:
gcc (GCC) 3.2
- not using binutils
- using native tools such as ld, ar from /usr/ccs/bin
XFree86 4.2
gdb backtrace:
#0 0xdf40848c in _libc_kill () from /usr/lib/libc.so.1
#1 0xdf407e4c in kill () from /usr/lib/libc.so.1
#2 0x080b63e5 in fatal_error_signal (sig=11) at emacs.c:539
#3 0xdf3ba619 in sigacthandler () from /usr/lib/libc.so.1
#4 <signal handler called>
#5 0xdf671ded in XrmStringToQuark () from
/usr/local/X11/lib/libX11.so.6.2
#6 0xdf77eab5 in ComputeArgs () from /usr/local/X11/lib/libXt.so.6.0
#7 0xdf77f5ac in _XtConvert () from /usr/local/X11/lib/libXt.so.6.0
#8 0xdf79bbe8 in GetResources () from /usr/local/X11/lib/libXt.so.6.0
#9 0xdf79c639 in _XtGetResources () from /usr/local/X11/lib/libXt.so.6.0
#10 0xdf784bba in xtCreate () from /usr/local/X11/lib/libXt.so.6.0
#11 0xdf7850c6 in _XtCreateWidget () from /usr/local/X11/lib/libXt.so.6.0
#12 0xdf7852fd in XtCreateWidget () from /usr/local/X11/lib/libXt.so.6.0
#13 0x081df314 in xlw_create_menubar (instance=0x852b7e0) at
lwlib-Xlw.c:133
#14 0x081d427d in instantiate_widget_instance (instance=0x852b7e0)
at lwlib.c:941
#15 0x081d33f5 in allocate_widget_instance (info=0x8520400,
parent=0x850df00,
pop_up_p=0 '\0') at lwlib.c:389
#16 0x081d43b2 in lw_make_widget (id=65537, parent=0x850df00, pop_up_p=0
'\0')
at lwlib.c:977
#17 0x081d444d in lw_create_widget (type=0x81f4f7a "menubar",
name=0x81f4f7a "menubar", id=65537, val=0x849e9c0, parent=0x850df00,
pop_up_p=0 '\0', pre_activate_cb=0x80d8044 <pre_activate_callback>,
selection_cb=0x80dd97e <popup_selection_callback>, post_activate_cb=0)
at lwlib.c:993
#18 0x080d8549 in set_frame_menubar (f=0x84aa600, deep_p=1,
first_time_p=1)
at menubar-x.c:607
#19 0x080d85d1 in x_initialize_frame_menubar (f=0x84aa600) at
menubar-x.c:633
#20 0x081aeea3 in x_create_widgets (f=0x84aa600, lisp_window_id=136718340,
parent=136718340) at frame-x.c:1997
#21 0x081af2d4 in x_init_frame_1 (f=0x84aa600, props=136718340)
at frame-x.c:2184
#22 0x08113e57 in Fmake_frame (props=136718340, device=139005696) at
frame.c:399
#23 0x080bec02 in Ffuncall (nargs=3, args=0x8046830) at eval.c:3536
#24 0x0809514b in execute_optimized_program (
program=0x8505750 " \210 ?&\f \"\027\r\v\"\022\r\t
\"@\"\211\020\026\020\r!\025\016\021!\210\211\024\207", stack_depth=5,
constants_data=0x830f490) at bytecode.c:748
#25 0x08094c95 in funcall_compiled_function (fun=137530524, nargs=0,
args=0x8046a74) at bytecode.c:516
#26 0x080beefb in Ffuncall (nargs=1, args=0x8046a70) at eval.c:3572
#27 0x0809514b in execute_optimized_program (
program=0x844d290 "\vA\035\032\031\r!\025\ba\004 \210!\004
\210\f\017\016\035\v\f!Q! \210 \210* \210 \210r!q\210
\210!\210\016!a\005\016\" \210) a\b \004 \210 \210\026# \004!)\207",
stack_depth=4,
constants_data=0x839d310) at bytecode.c:748
#28 0x08094c95 in funcall_compiled_function (fun=138001200, nargs=0,
args=0x8046c20) at bytecode.c:516
#29 0x080be7e0 in Feval (form=138027816) at eval.c:3392
#30 0x080bb352 in condition_case_1 (handlers=138027720, bfun=0x80bdd24
<Feval>,
barg=138027816, hfun=0x80bb3a8 <run_condition_case_handlers>,
harg=136842348) at eval.c:1652
#31 0x080bb6a4 in condition_case_3 (bodyform=138027816, var=136842348,
handlers=138027720) at eval.c:1730
#32 0x0809657e in execute_rare_opcode (stack_ptr=0x8047050,
program_ptr=0x843f6a1 "\210\r!\025\016.\016\016.
$!\0267!\210\016&\005!\210\026&
\210\016(\005!\210\026(\t\b\t@\tA\"\210)\0168\003
\207efault-instance-limit", opcode=Bcondition_case) at bytecode.c:1273
#33 0x08094e9b in execute_optimized_program (
program=0x843f610 "\b\005!\207\020
\211\034\025\fG\rGW\016\r!\f!k\005\f!\025)\r!\025 \210
\210\v\a!\002\e\016/\0160\"\022\v\t\n\"\"\210\n\004
\210\n\0161\016+\0162\v%\210
\210)\016,\022\016-\016\0163!\016-\"#\210\016,\024\016+\006\0164!\210\0165!\210\0166!\210\031\217\210\r!\025\016.\016\016.
$!\0267!\210\016&\005!\210\026& \210\016(\005!\210\026(\t\b"...,
stack_depth=7, constants_data=0x839d510)
at bytecode.c:658
#34 0x08094c95 in funcall_compiled_function (fun=138001144, nargs=0,
args=0x8047200) at bytecode.c:516
#35 0x080be7e0 in Feval (form=137971764) at eval.c:3392
#36 0x080bb352 in condition_case_1 (handlers=136718436, bfun=0x80bdd24
<Feval>,
barg=137971764, hfun=0x809ef24 <cmd_error>, harg=136718340) at
eval.c:1652
#37 0x0809efc2 in top_level_1 (dummy=136718340) at cmdloop.c:206
#38 0x080baf81 in internal_catch (tag=136798380, func=0x809ef80
<top_level_1>,
arg=136718340, threw=0x0) at eval.c:1318
#39 0x0809f0b2 in initial_command_loop (load_me=136718340) at
cmdloop.c:285
#40 0x080b7687 in xemacs_21_4_10_i686_pc_solaris2_8 () at emacs.c:2354
#41 0x080b80b7 in main () at emacs.c:2783
#42 0x080872cd in _start ()