>>>> "Jan" == Jan Vroonhof
<vroonhof(a)math.ethz.ch> writes:
Jan> Raymond Toy <toy(a)rtp.ericsson.se> writes:
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. :-(
Jan> good... :-)
> No lisp backtrace, but here is the C backtrace. Some kind of
garbage
> collection bug?
Jan> Yep. Next assigment:
Jan> Start XEmacs under gdb. Then set the global 'always_gc' variable to a
Jan> non-zero value using gdb and repeat the procedure. It should now crash
Jan> much earlier (and closer to the point where actual problem is).
Ok, I did that. Except that with always_gc on, single-stepping takes
forever. I just let it run until it crashed. No lisp backtrace, C
backtrace appended. It looks fairly similar to my previous message,
but it's a little bit shorter.
Do you really want me to single-step with always_gc set? This may
take a long time to debug.
Ray
#0 0xfec16870 in _libc_kill () from /usr/lib/libc.so.1
#1 0xfebb92a4 in abort () from /usr/lib/libc.so.1
#2 0xa6598 in assert_failed (file=0x22fad8 "alloc.c", line=2511,
expr=0x230518 "GCLI_lh->type <= last_lrecord_type_index_assigned") at
emacs.c:2770
#3 0x68558 in mark_object (obj=4073324) at alloc.c:2511
#4 0x6a114 in garbage_collect_1 () at alloc.c:3519
#5 0xad3d4 in Ffuncall (nargs=1, args=0xffbe9af8) at eval.c:3124
#6 0xae4c8 in run_hook_with_args_in_buffer (buf=0x2e3804, nargs=2, args=0xffbe9af8,
cond=RUN_HOOKS_TO_COMPLETION) at eval.c:3661
#7 0xae5e8 in va_run_hook_with_args (hook_var=3030364, nargs=1) at eval.c:3674
#8 0x71e8c in Frecord_buffer (buffer=3645440) at buffer.c:1416
#9 0x207c84 in Fselect_window (window=3670528, norecord=3028996) at window.c:3373
#10 0x20de1c in Fset_window_configuration (configuration=3006464) at window.c:5462
#11 0x20ea24 in save_window_excursion_unwind (window_config=3006464) at window.c:5705
#12 0xb0524 in unbind_to_hairy (count=53) at eval.c:4615
#13 0xb0468 in unbind_to (count=53, value=3028996) at eval.c:4590
#14 0xa93b0 in Fthrow (tag=3123124, val=3029020) at eval.c:1367
#15 0xad5b4 in Ffuncall (nargs=2, args=0xffbea034) at eval.c:3175
#16 0x787e8 in execute_optimized_program (program=0xffbea034 "", stack_depth=2,
constants_data=0x7c3090) at bytecode.c:747
#17 0x7c674 in Fbyte_code (instructions=2, constants=8138880, stack_depth=7) at
bytecode.c:2406
#18 0xace28 in Feval (form=7669348) at eval.c:2975
#19 0xa9764 in condition_case_1 (handlers=2807808, bfun=0xac694 <Feval>,
barg=7669348,
hfun=0xa97c8 <run_condition_case_handlers>, harg=3028996) at eval.c:1629
#20 0xa9b50 in condition_case_3 (bodyform=7669348, var=3028996, handlers=6975852) at
eval.c:1707
#21 0x794e4 in execute_rare_opcode (stack_ptr=0xffbea574, program_ptr=0x6c2d54
"\207l/",
opcode=Bcondition_case) at bytecode.c:1272
#22 0x78598 in execute_optimized_program (program=0xffbea57c "",
stack_depth=143,
constants_data=0x797490) at bytecode.c:657
#23 0x78048 in funcall_compiled_function (fun=7789444, nargs=0, args=0xffbea7c8) at
bytecode.c:519
#24 0xad780 in Ffuncall (nargs=0, args=0xffbea7c4) at eval.c:3210
#25 0x787e8 in execute_optimized_program (program=0xffbea7c4 "", stack_depth=0,
constants_data=0x7974b0) at bytecode.c:747
#26 0x78048 in funcall_compiled_function (fun=7789500, nargs=0, args=0xffbeaa78) at
bytecode.c:519
#27 0xad780 in Ffuncall (nargs=0, args=0xffbeaa74) at eval.c:3210
#28 0xae740 in apply1 (fn=7789500, arg=3028996) at eval.c:3793
#29 0x7d0e8 in Fcall_interactively (function=7793484, record_flag=3028996, keys=3028996)
at callint.c:394
#30 0xabfa8 in Fcommand_execute (cmd=7793484, record=3028996, keys=3028996) at
eval.c:2613
#31 0x100420 in execute_command_event (command_builder=0x62fa80, event=7923716)
at event-stream.c:4333
#32 0x100d64 in Fdispatch_event (event=7923716) at event-stream.c:4644
#33 0x87718 in Fcommand_loop_1 () at cmdloop.c:575
#34 0x874ac in command_loop_1 (dummy=3028996) at cmdloop.c:490
#35 0xa9764 in condition_case_1 (handlers=2807808, bfun=0x87460 <command_loop_1>,
barg=3028996,
hfun=0x878f8 <cmd_error>, harg=3028996) at eval.c:1629
#36 0x87a08 in command_loop_2 (dummy=3028996) at cmdloop.c:252
#37 0xa9338 in internal_catch (tag=3125276, func=0x879bc <command_loop_2>,
arg=3028996, threw=0x0)
at eval.c:1304
#38 0x8742c in Frecursive_edit () at cmdloop.c:364
#39 0xad590 in Ffuncall (nargs=0, args=0xffbeb2a4) at eval.c:3175
#40 0x787e8 in execute_optimized_program (program=0xffbeb2a4 "", stack_depth=0,
constants_data=0x77c210) at bytecode.c:747
#41 0x7c674 in Fbyte_code (instructions=0, constants=7848448, stack_depth=7) at
bytecode.c:2406
#42 0xace28 in Feval (form=7675564) at eval.c:2975
#43 0xa7eac in Fprogn (args=7668772) at eval.c:766
#44 0x79448 in execute_rare_opcode (stack_ptr=0xffbeb90c,
program_ptr=0x7adca5 "\210\0160.&\207packages/lisp/vm/",
opcode=Bsave_window_excursion)
at bytecode.c:1240
#45 0x78598 in execute_optimized_program (program=0xffbeb90c "",
stack_depth=139,
constants_data=0x7ad010) at bytecode.c:657
#46 0x78048 in funcall_compiled_function (fun=7789416, nargs=2, args=0xffbebbac) at
bytecode.c:519
#47 0xad780 in Ffuncall (nargs=2, args=0xffbebba8) at eval.c:3210
#48 0xade94 in Fapply (nargs=4, args=0xffbebc98) at eval.c:3445
#49 0xae724 in apply1 (fn=3650620, arg=7859068) at eval.c:3798
#50 0xb172c in call_debugger_259 (arg=7859068) at eval.c:336
#51 0xa9338 in internal_catch (tag=3123124, func=0xb1718 <call_debugger_259>,
arg=7859068,
threw=0xffbebe7c) at eval.c:1304
#52 0xa72d0 in call_debugger (arg=7859068) at eval.c:390
#53 0xad2b0 in Feval (form=8176076) at eval.c:3085
#54 0x170e00 in readevalloop (readcharfun=7627264, sourcename=7798676, evalfun=0xac694
<Feval>,
printflag=0) at lread.c:1448
#55 0x16f8cc in Fload_internal (file=7798676, no_error=3028996, nomessage=3028996,
nosuffix=3028996, codesys=3159004, used_codesys=3028996) at lread.c:736
#56 0xad62c in Ffuncall (nargs=-1, args=0xffbec48c) at eval.c:3175
#57 0x787e8 in execute_optimized_program (program=0xffbec48c "", stack_depth=5,
constants_data=0x51de10) at bytecode.c:747
#58 0x78048 in funcall_compiled_function (fun=5374628, nargs=1, args=0xffbec704) at
bytecode.c:519
#59 0xad780 in Ffuncall (nargs=1, args=0xffbec6fc) at eval.c:3210
#60 0x787e8 in execute_optimized_program (program=0xffbec6fc "", stack_depth=1,
constants_data=0x7c3190) at bytecode.c:747
#61 0x7c674 in Fbyte_code (instructions=1, constants=8139136, stack_depth=5) at
bytecode.c:2406
#62 0xace28 in Feval (form=7800072) at eval.c:2975
#63 0x170e00 in readevalloop (readcharfun=7390208, sourcename=5814628, evalfun=0xac694
<Feval>,
printflag=0) at lread.c:1448
#64 0x16f8cc in Fload_internal (file=5814628, no_error=3028996, nomessage=3029020,
nosuffix=3028996, codesys=3154500, used_codesys=3028996) at lread.c:736
#65 0xad62c in Ffuncall (nargs=-1, args=0xffbece94) at eval.c:3175
#66 0x787e8 in execute_optimized_program (program=0xffbece94 "", stack_depth=5,
constants_data=0x51de10) at bytecode.c:747
#67 0x78048 in funcall_compiled_function (fun=5374628, nargs=4, args=0xffbed114) at
bytecode.c:519
#68 0xad780 in Ffuncall (nargs=4, args=0xffbed100) at eval.c:3210
#69 0xae8c0 in call4 (fn=3170308, arg0=5814628, arg1=3028996, arg2=3029020, arg3=3028996)
at eval.c:3876
#70 0x12c830 in Frequire (feature=6214236, file_name=3028996) at fns.c:3304
#71 0xad5b4 in Ffuncall (nargs=-1, args=0xffbed2bc) at eval.c:3175
#72 0x787e8 in execute_optimized_program (program=0xffbed2bc "", stack_depth=1,
constants_data=0x6f0e10) at bytecode.c:747
#73 0x7c674 in Fbyte_code (instructions=1, constants=7278080, stack_depth=5) at
bytecode.c:2406
#74 0xace28 in Feval (form=4017932) at eval.c:2975
#75 0x170e00 in readevalloop (readcharfun=7390720, sourcename=6370580, evalfun=0xac694
<Feval>,
printflag=0) at lread.c:1448
#76 0x16f8cc in Fload_internal (file=6370580, no_error=3028996, nomessage=3028996,
nosuffix=3028996, codesys=3154500, used_codesys=3028996) at lread.c:736
#77 0xad62c in Ffuncall (nargs=-1, args=0xffbeda14) at eval.c:3175
#78 0x787e8 in execute_optimized_program (program=0xffbeda14 "", stack_depth=5,
constants_data=0x51de10) at bytecode.c:747
#79 0x78048 in funcall_compiled_function (fun=5374628, nargs=1, args=0xffbedc8c) at
bytecode.c:519
#80 0xad780 in Ffuncall (nargs=1, args=0xffbedc84) at eval.c:3210
#81 0x787e8 in execute_optimized_program (program=0xffbedc84 "", stack_depth=1,
constants_data=0x4864d0) at bytecode.c:747
#82 0x78048 in funcall_compiled_function (fun=5041000, nargs=1, args=0xffbedf50) at
bytecode.c:519
#83 0xad780 in Ffuncall (nargs=1, args=0xffbedf48) at eval.c:3210
#84 0xadcf8 in Fapply (nargs=2, args=0xffbedf48) at eval.c:3388
#85 0xae724 in apply1 (fn=5041000, arg=3989320) at eval.c:3798
#86 0x7d0e8 in Fcall_interactively (function=5051116, record_flag=3029020, keys=3028996)
at callint.c:394
#87 0xabfa8 in Fcommand_execute (cmd=5051116, record=3029020, keys=3028996) at
eval.c:2613
#88 0xad5cc in Ffuncall (nargs=-1, args=0xffbee304) at eval.c:3175
#89 0x787e8 in execute_optimized_program (program=0xffbee304 "", stack_depth=2,
constants_data=0x3fa410) at bytecode.c:747
#90 0x78048 in funcall_compiled_function (fun=4230860, nargs=1, args=0xffbee568) at
bytecode.c:519
#91 0xad780 in Ffuncall (nargs=1, args=0xffbee560) at eval.c:3210
#92 0x7e7d4 in Fcall_interactively (function=4249044, record_flag=3028996, keys=3028996)
at callint.c:946
#93 0xabfa8 in Fcommand_execute (cmd=4249044, record=3028996, keys=3028996) at
eval.c:2613
#94 0x100420 in execute_command_event (command_builder=0x62fa80, event=6739200)
at event-stream.c:4333
#95 0x100d64 in Fdispatch_event (event=6739200) at event-stream.c:4644
#96 0x87718 in Fcommand_loop_1 () at cmdloop.c:575
#97 0x874ac in command_loop_1 (dummy=3028996) at cmdloop.c:490
#98 0xa9764 in condition_case_1 (handlers=2807808, bfun=0x87460 <command_loop_1>,
barg=3028996,
hfun=0x878f8 <cmd_error>, harg=3028996) at eval.c:1629
#99 0x87a08 in command_loop_2 (dummy=3028996) at cmdloop.c:252
#100 0xa9338 in internal_catch (tag=3111156, func=0x879bc <command_loop_2>,
arg=3028996, threw=0x0)
at eval.c:1304
#101 0x86de0 in initial_command_loop (load_me=555452) at cmdloop.c:301
#102 0xa540c in xemacs_21_2_b31_sparc_sun_solaris2_7 (argc=2, argv=0xffbeeecc,
envp=0xffbeeed8,
restart=0) at emacs.c:1879
#103 0xa5c28 in main (argc=2, argv=0xffbeeecc, envp=0xffbeeed8) at emacs.c:2305