>>>> "Jan" == Jan Vroonhof
<vroonhof(a)math.ethz.ch> writes:
Jan> OK.. It seems like you are on to some race condition in the new
Jan> optimized byte code stuff. You need to go on hunting. Homework for
Jan> today
Jan> 1. Add a (debug-on-entry 'eudc-set-server) to the top your options
Jan> file. Single step until you get the crash (it might be you don't
Jan> get it anymore) :-(
Well it still crashes. :-(
There must be some race condition. If I single step slowly, I get
very far in the load. If I just hold down the d key and auto-repeat,
it crashes much earlier.
No lisp backtrace, but here is the C backtrace. Some kind of garbage
collection bug?
Jan> P.S. Are you compiling with any special options (pdump ?)
No. Just my usual options:
./configure --verbose --extra-verbose --with-mule --with-pop
--package-path=/apps/public/XEmacs/lib
--prefix=/apps/public/XEmacs/21.2
--bindir=/apps/public/XEmacs/21.2/bin/solaris2.7 --with-workshop
--with-dialogs=motif
'--site-includes=/apps/public/solaris2.7/usr/openwin/include
/apps/public/solaris2.7/include'
'--site-libraries=/apps/public/solaris2.7/usr/openwin/lib
/apps/public/solaris2.7/lib'
Ray
C backtrace:
#0 0xfec16870 in _libc_kill () from /usr/lib/libc.so.1
#1 0xa3870 in fatal_error_signal (sig=6) at emacs.c:272
#2 <signal handler called>
#3 0xfec16870 in _libc_kill () from /usr/lib/libc.so.1
#4 0xfebb92a4 in abort () from /usr/lib/libc.so.1
#5 0xa6598 in assert_failed (file=0x22fad8 "alloc.c", line=2511,
expr=0x230518 "GCLI_lh->type <= last_lrecord_type_index_assigned") at
emacs.c:2770
#6 0x68558 in mark_object (obj=7964128) at alloc.c:2511
#7 0x6a114 in garbage_collect_1 () at alloc.c:3519
#8 0xad3d4 in Ffuncall (nargs=0, args=0xffbe7aac) at eval.c:3124
#9 0xae4c8 in run_hook_with_args_in_buffer (buf=0x2e381c, nargs=1, args=0xffbe7aac,
cond=RUN_HOOKS_TO_COMPLETION) at eval.c:3661
#10 0xae548 in run_hook_with_args (nargs=1, args=0xffbe7aac,
cond=RUN_HOOKS_TO_COMPLETION)
at eval.c:3674
#11 0xae6b8 in run_hook (hook=4939196) at eval.c:3528
#12 0x7173c in Fkill_buffer (buffer=113) at buffer.c:1222
#13 0xad5a0 in Ffuncall (nargs=1, args=0xffbe7c14) at eval.c:3175
#14 0x787e8 in execute_optimized_program (program=0xffbe7c14 "", stack_depth=1,
constants_data=0x77d110) at bytecode.c:747
#15 0x7c674 in Fbyte_code (instructions=1, constants=7852288, stack_depth=7) at
bytecode.c:2406
#16 0xace28 in Feval (form=7867296) at eval.c:2975
#17 0xa7eac in Fprogn (args=7678340) at eval.c:766
#18 0xb0524 in unbind_to_hairy (count=89) at eval.c:4615
#19 0xb0468 in unbind_to (count=89, value=3028996) at eval.c:4590
#20 0xa93b0 in Fthrow (tag=3123124, val=3029020) at eval.c:1367
#21 0xad5b4 in Ffuncall (nargs=2, args=0xffbe82b4) at eval.c:3175
#22 0x787e8 in execute_optimized_program (program=0xffbe82b4 "", stack_depth=2,
constants_data=0x785f50) at bytecode.c:747
#23 0x7c674 in Fbyte_code (instructions=2, constants=7888704, stack_depth=7) at
bytecode.c:2406
#24 0xace28 in Feval (form=7663884) at eval.c:2975
#25 0xa9764 in condition_case_1 (handlers=2807808, bfun=0xac694 <Feval>,
barg=7663884,
hfun=0xa97c8 <run_condition_case_handlers>, harg=3028996) at eval.c:1629
#26 0xa9b50 in condition_case_3 (bodyform=7663884, var=3028996, handlers=7664568) at
eval.c:1707
#27 0x794e4 in execute_rare_opcode (stack_ptr=0xffbe87f4, program_ptr=0x7ebcb4
"\207",
opcode=Bcondition_case) at bytecode.c:1272
#28 0x78598 in execute_optimized_program (program=0xffbe87fc "",
stack_depth=143,
constants_data=0x79b490) at bytecode.c:657
#29 0x78048 in funcall_compiled_function (fun=7773060, nargs=0, args=0xffbe8a48) at
bytecode.c:519
#30 0xad780 in Ffuncall (nargs=0, args=0xffbe8a44) at eval.c:3210
#31 0x787e8 in execute_optimized_program (program=0xffbe8a44 "", stack_depth=0,
constants_data=0x785fd0) at bytecode.c:747
#32 0x78048 in funcall_compiled_function (fun=7773088, nargs=0, args=0xffbe8cf8) at
bytecode.c:519
#33 0xad780 in Ffuncall (nargs=0, args=0xffbe8cf4) at eval.c:3210
#34 0xae740 in apply1 (fn=7773088, arg=3028996) at eval.c:3793
#35 0x7d0e8 in Fcall_interactively (function=7818036, record_flag=3028996, keys=3028996)
at callint.c:394
#36 0xabfa8 in Fcommand_execute (cmd=7818036, record=3028996, keys=3028996) at
eval.c:2613
#37 0x100420 in execute_command_event (command_builder=0x62e9c0, event=9133660)
at event-stream.c:4333
#38 0x100d64 in Fdispatch_event (event=9133660) at event-stream.c:4644
#39 0x87718 in Fcommand_loop_1 () at cmdloop.c:575
#40 0x874ac in command_loop_1 (dummy=3028996) at cmdloop.c:490
#41 0xa9764 in condition_case_1 (handlers=2807808, bfun=0x87460 <command_loop_1>,
barg=3028996,
hfun=0x878f8 <cmd_error>, harg=3028996) at eval.c:1629
#42 0x87a08 in command_loop_2 (dummy=3028996) at cmdloop.c:252
#43 0xa9338 in internal_catch (tag=3125276, func=0x879bc <command_loop_2>,
arg=3028996, threw=0x0)
at eval.c:1304
#44 0x8742c in Frecursive_edit () at cmdloop.c:364
#45 0xad590 in Ffuncall (nargs=0, args=0xffbe9524) at eval.c:3175
#46 0x787e8 in execute_optimized_program (program=0xffbe9524 "", stack_depth=0,
constants_data=0x76a010) at bytecode.c:747
#47 0x7c674 in Fbyte_code (instructions=0, constants=7774208, stack_depth=7) at
bytecode.c:2406
#48 0xace28 in Feval (form=7678472) at eval.c:2975
#49 0xa7eac in Fprogn (args=7679456) at eval.c:766
#50 0x79448 in execute_rare_opcode (stack_ptr=0xffbe9b8c,
program_ptr=0x76aba5 "\210\0160.&\207debugger-outer-unread-command-events
debugger-outer-unread-command-event ble associat\026\226«",
opcode=Bsave_window_excursion) at bytecode.c:1240
#51 0x78598 in execute_optimized_program (program=0xffbe9b8c "",
stack_depth=139,
constants_data=0x76af10) at bytecode.c:657
#52 0x78048 in funcall_compiled_function (fun=7773032, nargs=1, args=0xffbe9eac) at
bytecode.c:519
#53 0xad780 in Ffuncall (nargs=1, args=0xffbe9ea8) at eval.c:3210
#54 0xadcf8 in Fapply (nargs=2, args=0xffbe9ea8) at eval.c:3388
#55 0xae724 in apply1 (fn=3650620, arg=7996656) at eval.c:3798
#56 0xb172c in call_debugger_259 (arg=7996656) at eval.c:336
#57 0xa9338 in internal_catch (tag=3123124, func=0xb1718 <call_debugger_259>,
arg=7996656,
threw=0xffbea08c) at eval.c:1304
#58 0xa72d0 in call_debugger (arg=7996656) at eval.c:390
#59 0xad488 in Ffuncall (nargs=3, args=0xffbea1b4) at eval.c:428
#60 0x787e8 in execute_optimized_program (program=0xffbea1b4 "", stack_depth=3,
constants_data=0x705190) at bytecode.c:747
#61 0x78048 in funcall_compiled_function (fun=7773816, nargs=2, args=0xffbea420) at
bytecode.c:519
#62 0xad780 in Ffuncall (nargs=2, args=0xffbea414) at eval.c:3210
#63 0x787e8 in execute_optimized_program (program=0xffbea414 "", stack_depth=2,
constants_data=0x705950) at bytecode.c:747
#64 0x7c674 in Fbyte_code (instructions=2, constants=7362880, stack_depth=7) at
bytecode.c:2406
#65 0xace28 in Feval (form=7860864) at eval.c:2975
#66 0x170e00 in readevalloop (readcharfun=8615424, sourcename=5800612, evalfun=0xac694
<Feval>,
printflag=0) at lread.c:1448
#67 0x16f8cc in Fload_internal (file=5800612, no_error=3028996, nomessage=3029020,
nosuffix=3028996, codesys=3154500, used_codesys=3028996) at lread.c:736
#68 0xad62c in Ffuncall (nargs=-1, args=0xffbeabd4) at eval.c:3175
#69 0x787e8 in execute_optimized_program (program=0xffbeabd4 "", stack_depth=5,
constants_data=0x51de10) at bytecode.c:747
#70 0x78048 in funcall_compiled_function (fun=5374628, nargs=4, args=0xffbeae54) at
bytecode.c:519
#71 0xad780 in Ffuncall (nargs=4, args=0xffbeae40) at eval.c:3210
#72 0xae8c0 in call4 (fn=3170308, arg0=5800612, arg1=3028996, arg2=3029020, arg3=3028996)
at eval.c:3876
#73 0x12c830 in Frequire (feature=6290012, file_name=3028996) at fns.c:3304
#74 0xad5b4 in Ffuncall (nargs=-1, args=0xffbeaffc) at eval.c:3175
#75 0x787e8 in execute_optimized_program (program=0xffbeaffc "", stack_depth=1,
constants_data=0x881090) at bytecode.c:747
#76 0x7c674 in Fbyte_code (instructions=1, constants=8917120, stack_depth=5) at
bytecode.c:2406
#77 0xace28 in Feval (form=8819640) at eval.c:2975
#78 0x170e00 in readevalloop (readcharfun=8614400, sourcename=7556452, evalfun=0xac694
<Feval>,
printflag=0) at lread.c:1448
#79 0x16f8cc in Fload_internal (file=7556452, no_error=3029020, nomessage=3028996,
nosuffix=3028996, codesys=3154500, used_codesys=3028996) at lread.c:736
#80 0xad62c in Ffuncall (nargs=-1, args=0xffbeb784) at eval.c:3175
#81 0x787e8 in execute_optimized_program (program=0xffbeb784 "", stack_depth=5,
constants_data=0x51de10) at bytecode.c:747
#82 0x78048 in funcall_compiled_function (fun=5374628, nargs=2, args=0xffbeba00) at
bytecode.c:519
#83 0xad780 in Ffuncall (nargs=2, args=0xffbeb9f4) at eval.c:3210
#84 0x787e8 in execute_optimized_program (program=0xffbeb9f4 "", stack_depth=2,
constants_data=0x760510) at bytecode.c:747
#85 0x7c674 in Fbyte_code (instructions=2, constants=7734528, stack_depth=9) at
bytecode.c:2406
#86 0xace28 in Feval (form=8180076) at eval.c:2975
#87 0xa7eac in Fprogn (args=8180220) at eval.c:766
#88 0xae09c in funcall_lambda (fun=8180244, nargs=3, args=0xffbebed8) at eval.c:3497
#89 0xad288 in Feval (form=8180412) at eval.c:3081
#90 0x170e00 in readevalloop (readcharfun=7586304, sourcename=7809492, evalfun=0xac694
<Feval>,
printflag=0) at lread.c:1448
#91 0x16f8cc in Fload_internal (file=7809492, no_error=3028996, nomessage=3028996,
nosuffix=3028996, codesys=3159004, used_codesys=3028996) at lread.c:736
#92 0xad62c in Ffuncall (nargs=-1, args=0xffbec46c) at eval.c:3175
#93 0x787e8 in execute_optimized_program (program=0xffbec46c "", stack_depth=5,
constants_data=0x51de10) at bytecode.c:747
#94 0x78048 in funcall_compiled_function (fun=5374628, nargs=1, args=0xffbec6e4) at
bytecode.c:519
#95 0xad780 in Ffuncall (nargs=1, args=0xffbec6dc) at eval.c:3210
#96 0x787e8 in execute_optimized_program (program=0xffbec6dc "", stack_depth=1,
constants_data=0x3e2050) at bytecode.c:747
#97 0x7c674 in Fbyte_code (instructions=1, constants=4071488, stack_depth=5) at
bytecode.c:2406
#98 0xace28 in Feval (form=7807136) at eval.c:2975
#99 0x170e00 in readevalloop (readcharfun=7393792, sourcename=5800612, evalfun=0xac694
<Feval>,
printflag=0) at lread.c:1448
#100 0x16f8cc in Fload_internal (file=5800612, no_error=3028996, nomessage=3029020,
nosuffix=3028996, codesys=3154500, used_codesys=3028996) at lread.c:736
#101 0xad62c in Ffuncall (nargs=-1, args=0xffbece74) at eval.c:3175
#102 0x787e8 in execute_optimized_program (program=0xffbece74 "", stack_depth=5,
constants_data=0x51de10) at bytecode.c:747
#103 0x78048 in funcall_compiled_function (fun=5374628, nargs=4, args=0xffbed0f4) at
bytecode.c:519
#104 0xad780 in Ffuncall (nargs=4, args=0xffbed0e0) at eval.c:3210
#105 0xae8c0 in call4 (fn=3170308, arg0=5800612, arg1=3028996, arg2=3029020,
arg3=3028996)
at eval.c:3876
#106 0x12c830 in Frequire (feature=6290012, file_name=3028996) at fns.c:3304
#107 0xad5b4 in Ffuncall (nargs=-1, args=0xffbed29c) at eval.c:3175
#108 0x787e8 in execute_optimized_program (program=0xffbed29c "", stack_depth=1,
constants_data=0x2e0eb0) at bytecode.c:747
#109 0x7c674 in Fbyte_code (instructions=1, constants=3018400, stack_depth=5) at
bytecode.c:2406
#110 0xace28 in Feval (form=4016816) at eval.c:2975
#111 0x170e00 in readevalloop (readcharfun=7394304, sourcename=6265380, evalfun=0xac694
<Feval>,
printflag=0) at lread.c:1448
#112 0x16f8cc in Fload_internal (file=6265380, no_error=3028996, nomessage=3028996,
nosuffix=3028996, codesys=3154500, used_codesys=3028996) at lread.c:736
#113 0xad62c in Ffuncall (nargs=-1, args=0xffbed9f4) at eval.c:3175
#114 0x787e8 in execute_optimized_program (program=0xffbed9f4 "", stack_depth=5,
constants_data=0x51de10) at bytecode.c:747
#115 0x78048 in funcall_compiled_function (fun=5374628, nargs=1, args=0xffbedc6c) at
bytecode.c:519
#116 0xad780 in Ffuncall (nargs=1, args=0xffbedc64) at eval.c:3210
#117 0x787e8 in execute_optimized_program (program=0xffbedc64 "", stack_depth=1,
constants_data=0x4864d0) at bytecode.c:747
#118 0x78048 in funcall_compiled_function (fun=5041000, nargs=1, args=0xffbedf30) at
bytecode.c:519
#119 0xad780 in Ffuncall (nargs=1, args=0xffbedf28) at eval.c:3210
#120 0xadcf8 in Fapply (nargs=2, args=0xffbedf28) at eval.c:3388
#121 0xae724 in apply1 (fn=5041000, arg=3987460) at eval.c:3798
#122 0x7d0e8 in Fcall_interactively (function=5051116, record_flag=3029020, keys=3028996)
at callint.c:394
#123 0xabfa8 in Fcommand_execute (cmd=5051116, record=3029020, keys=3028996) at
eval.c:2613
#124 0xad5cc in Ffuncall (nargs=-1, args=0xffbee2e4) at eval.c:3175
#125 0x787e8 in execute_optimized_program (program=0xffbee2e4 "", stack_depth=2,
constants_data=0x3fa410) at bytecode.c:747
#126 0x78048 in funcall_compiled_function (fun=4230860, nargs=1, args=0xffbee548) at
bytecode.c:519
#127 0xad780 in Ffuncall (nargs=1, args=0xffbee540) at eval.c:3210
#128 0x7e7d4 in Fcall_interactively (function=4249044, record_flag=3028996, keys=3028996)
at callint.c:946
#129 0xabfa8 in Fcommand_execute (cmd=4249044, record=3028996, keys=3028996) at
eval.c:2613
#130 0x100420 in execute_command_event (command_builder=0x62e9c0, event=6767176)
at event-stream.c:4333
#131 0x100d64 in Fdispatch_event (event=6767176) at event-stream.c:4644
#132 0x87718 in Fcommand_loop_1 () at cmdloop.c:575
#133 0x874ac in command_loop_1 (dummy=3028996) at cmdloop.c:490
#134 0xa9764 in condition_case_1 (handlers=2807808, bfun=0x87460 <command_loop_1>,
barg=3028996,
hfun=0x878f8 <cmd_error>, harg=3028996) at eval.c:1629
#135 0x87a08 in command_loop_2 (dummy=3028996) at cmdloop.c:252
#136 0xa9338 in internal_catch (tag=3111156, func=0x879bc <command_loop_2>,
arg=3028996, threw=0x0)
at eval.c:1304
#137 0x86de0 in initial_command_loop (load_me=555452) at cmdloop.c:301
#138 0xa540c in xemacs_21_2_b31_sparc_sun_solaris2_7 (argc=2, argv=0xffbeeeac,
envp=0xffbeeeb8,
restart=0) at emacs.c:1879
#139 0xa5c28 in main (argc=2, argv=0xffbeeeac, envp=0xffbeeeb8) at emacs.c:2305