>>>> "Gunnar" == Gunnar Evermann
<ge204(a)eng.cam.ac.uk> writes:
Gunnar> Yes that's my best guess at the moment as well, especially since
Gunnar> Raymond's backtraces seem to indicate that one element in the
Gunnar> catchlist is corrupted and involve Fthrow (and just about every other
Gunnar> non-trivial function in XEmacs).
Gunnar> Maybe we (and especially Raymond) can try running with the following
Gunnar> (untested) patch. Any backtraces might give new hints.
I tried this patch. With ./xemacs -vanilla, when I try M-x load-lib
RET, xemacs crashes exactly in the assert statement you added.
Note that this test still has the debug-on-entry in my .eudc-options
file. Also note that the elc files for eudc were compiled using
21.1.9 because I wasn't sure if 21.1.9 could use files compiled by
21.2.31.
No lisp backtrace, but the C backtrace appended.
Ray
#0 0xfec16870 in _libc_kill () from /usr/lib/libc.so.1
#1 0xfebb92e0 in abort () from /usr/lib/libc.so.1
#2 0xa6598 in assert_failed (file=0x241058 "eval.c", line=4640, expr=0x241298
"0") at emacs.c:2770
#3 0xb05d0 in unbind_to_hairy (count=41) at eval.c:4640
#4 0xb0468 in unbind_to (count=41, value=3028996) at eval.c:4590
#5 0x7339c in dfc_convert_to_external_format (source_type=4290691745, source=0xffbec2a1,
coding_system=32, sink_type=DFC_TYPE_DATA, sink=0xffbec220) at buffer.c:2000
#6 0x180fb8 in write_string_to_stdio_stream (stream=0x2bb9b8, con=0x0, str=0xffbec2a0
" <¬V",
offset=0, len=1, coding_system=3158764) at print.c:117
#7 0x184908 in Fexternal_debugging_output (char_or_string=130, stdout_p=3028996,
device=2865592)
at print.c:1472
#8 0xad5cc in Ffuncall (nargs=-1, args=0xffbec3c8) at eval.c:3175
#9 0xae7cc in call1 (fn=3172380, arg0=130) at eval.c:3824
#10 0x18161c in output_string (function=3172380, nonreloc=0x241348 " ",
reloc=3028996, offset=0,
len=2) at print.c:251
#11 0x1818ec in write_c_string (str=0x241348 " ", stream=3172380) at
print.c:369
#12 0xb0a88 in Fbacktrace (stream=3172380, detailed=3029020) at eval.c:4819
#13 0xa3860 in fatal_error_signal (sig=6) at emacs.c:255
#14 <signal handler called>
#15 0xfec16870 in _libc_kill () from /usr/lib/libc.so.1
#16 0xfebb92a4 in abort () from /usr/lib/libc.so.1
#17 0xa6598 in assert_failed (file=0x241058 "eval.c", line=4640, expr=0x241298
"0") at emacs.c:2770
#18 0xb05d0 in unbind_to_hairy (count=41) at eval.c:4640
#19 0xb0468 in unbind_to (count=41, value=3028996) at eval.c:4590
#20 0xa93b0 in Fthrow (tag=3125276, val=3028996) at eval.c:1367
#21 0xad5b4 in Ffuncall (nargs=2, args=0xffbecd14) at eval.c:3175
#22 0x787e8 in execute_optimized_program (program=0xffbecd14 "", stack_depth=2,
constants_data=0x492f90) at bytecode.c:747
#23 0x78048 in funcall_compiled_function (fun=4788620, nargs=0, args=0xffbecfd0) at
bytecode.c:519
#24 0xad780 in Ffuncall (nargs=0, args=0xffbecfcc) at eval.c:3210
#25 0xae740 in apply1 (fn=4788620, arg=3028996) at eval.c:3793
#26 0x7d0e8 in Fcall_interactively (function=4758108, record_flag=3028996, keys=3028996)
at callint.c:394
#27 0xabfa8 in Fcommand_execute (cmd=4758108, record=3028996, keys=3028996) at
eval.c:2613
#28 0x10045c in execute_command_event (command_builder=0x635a80, event=6861732)
at event-stream.c:4333
#29 0x100da0 in Fdispatch_event (event=6861732) at event-stream.c:4644
#30 0x87718 in Fcommand_loop_1 () at cmdloop.c:575
#31 0x874ac in command_loop_1 (dummy=3028996) at cmdloop.c:490
#32 0xa9764 in condition_case_1 (handlers=2807808, bfun=0x87460 <command_loop_1>,
barg=3028996,
hfun=0x878f8 <cmd_error>, harg=3028996) at eval.c:1629
#33 0x86e68 in call_command_loop (catch_errors=3029020) at cmdloop.c:252
#34 0x17b3f8 in Fread_minibuffer_internal (prompt=3907332) at minibuf.c:188
#35 0xad5a0 in Ffuncall (nargs=1, args=0xffbed714) at eval.c:3175
#36 0x787e8 in execute_optimized_program (program=0xffbed714 "", stack_depth=1,
constants_data=0x48d990) at bytecode.c:747
#37 0x7c674 in Fbyte_code (instructions=1, constants=4774272, stack_depth=5) at
bytecode.c:2406
#38 0xace28 in Feval (form=4791080) at eval.c:2975
#39 0xa9338 in internal_catch (tag=3125276, func=0xac694 <Feval>, arg=4791080,
threw=0x0)
at eval.c:1304
#40 0x7948c in execute_rare_opcode (stack_ptr=0xffbedbdc, program_ptr=0x6e9986
"èa«\f\201J",
opcode=Bcatch) at bytecode.c:1253
#41 0x78598 in execute_optimized_program (program=0xffbedbe0 "",
stack_depth=141,
constants_data=0x42bc10) at bytecode.c:657
#42 0x78048 in funcall_compiled_function (fun=4788368, nargs=7, args=0xffbede54) at
bytecode.c:519
#43 0xad780 in Ffuncall (nargs=7, args=0xffbede34) at eval.c:3210
#44 0x787e8 in execute_optimized_program (program=0xffbede34 "", stack_depth=7,
constants_data=0x46e090) at bytecode.c:747
#45 0x78048 in funcall_compiled_function (fun=4788564, nargs=7, args=0xffbee0c0) at
bytecode.c:519
#46 0xad780 in Ffuncall (nargs=7, args=0xffbee0a0) at eval.c:3210
#47 0x787e8 in execute_optimized_program (program=0xffbee0a0 "", stack_depth=7,
constants_data=0x48d710) at bytecode.c:747
#48 0x78048 in funcall_compiled_function (fun=4789208, nargs=1, args=0xffbee30c) at
bytecode.c:519
#49 0xad780 in Ffuncall (nargs=1, args=0xffbee304) at eval.c:3210
#50 0x787e8 in execute_optimized_program (program=0xffbee304 "", stack_depth=1,
constants_data=0x3fa410) at bytecode.c:747
#51 0x78048 in funcall_compiled_function (fun=4230860, nargs=1, args=0xffbee568) at
bytecode.c:519
#52 0xad780 in Ffuncall (nargs=1, args=0xffbee560) at eval.c:3210
#53 0x7e7d4 in Fcall_interactively (function=4249044, record_flag=3028996, keys=3028996)
at callint.c:946
#54 0xabfa8 in Fcommand_execute (cmd=4249044, record=3028996, keys=3028996) at
eval.c:2613
#55 0x10045c in execute_command_event (command_builder=0x635a80, event=6861964)
at event-stream.c:4333
#56 0x100da0 in Fdispatch_event (event=6861964) at event-stream.c:4644
#57 0x87718 in Fcommand_loop_1 () at cmdloop.c:575
#58 0x874ac in command_loop_1 (dummy=3028996) at cmdloop.c:490
#59 0xa9764 in condition_case_1 (handlers=2807808, bfun=0x87460 <command_loop_1>,
barg=3028996,
hfun=0x878f8 <cmd_error>, harg=3028996) at eval.c:1629
#60 0x87a08 in command_loop_2 (dummy=3028996) at cmdloop.c:252
#61 0xa9338 in internal_catch (tag=3111156, func=0x879bc <command_loop_2>,
arg=3028996, threw=0x0)
at eval.c:1304
#62 0x86de0 in initial_command_loop (load_me=555452) at cmdloop.c:301
#63 0xa540c in xemacs_21_2_b31_sparc_sun_solaris2_7 (argc=2, argv=0xffbeeed4,
envp=0xffbeeee0,
restart=0) at emacs.c:1879
#64 0xa5c28 in main (argc=2, argv=0xffbeeed4, envp=0xffbeeee0) at emacs.c:2305