>>>>> "Ben" == Ben Wing <ben(a)666.com> writes:
Ben> This looks to be a fix for all crashes involving
Ben> condition_case_unwind(), and the finger gets pointed at
At first I thought this patch worked for me, and indeed it did, when I
left the debug-on-entry in my .eudc-options. This used to crash
xemacs every time. However, when I took that out and tried it again,
xemacs crashed.
The lisp backtrace and C backtrace are appended. I guess I'll have to
turn always_gc on and see what happens.
Bummer.
Ray
Lisp backtrace:
Lisp backtrace follows:
# bind (no-save protocol server)
eudc-set-server("mbb1.ericsson.se" ldap t)
# bind (current-load-list)
# (unwind-protect ...)
# bind (load-file-name)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
load-internal("~/.eudc-options" nil nil nil undecided)
# bind (path handler filename nosuffix nomessage noerror file)
load("~/.eudc-options")
byte-code("..." [noninteractive locate-library eudc-options-file message "" featurep load infodock eudc-install-menu] 2)
# bind (current-load-list)
# (unwind-protect ...)
# bind (load-file-name)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
load-internal("eudc" nil t nil binary)
# bind (path handler filename nosuffix nomessage noerror file)
load("eudc" nil t nil)
# (unwind-protect ...)
require(eudc)
byte-code("..." [require eudc bbdb bbdb-com] 2)
# bind (current-load-list)
# (unwind-protect ...)
# bind (load-file-name)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
load-internal("eudc-export" nil nil nil binary)
# bind (path handler filename nosuffix nomessage noerror file)
load("eudc-export")
# bind (library)
#<compiled-function (library) "...(4)" [load library] 2 872567 (list (read-library "Load library: " load-path nil nil nil ...))>("eudc-export")
call-interactively(load-library)
command-execute(load-library t)
# bind (_execute_command_keys_ _execute_command_name_ prefix-arg)
execute-extended-command(nil)
# bind (command-debug-status)
call-interactively(execute-extended-command)
# (condition-case ... . error)
# (catch top-level ...)
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=0x2330d0 "lisp.h", line=1087,
expr=0x233180 "RECORD_TYPEP (obj, lrecord_type_symbol)") at emacs.c:2770
#6 0x785f8 in execute_optimized_program (program=0xffbebd50 "", stack_depth=17,
constants_data=0x76e190) at lisp.h:1087
#7 0x78048 in funcall_compiled_function (fun=7716444, nargs=3, args=0xffbebf04) at bytecode.c:519
#8 0xad0d8 in Feval (form=7924640) at eval.c:3034
#9 0x170df8 in readevalloop (readcharfun=7717376, sourcename=7875476, evalfun=0xac694 <Feval>,
printflag=0) at lread.c:1448
#10 0x16f8c4 in Fload_internal (file=7875476, no_error=3028996, nomessage=3028996,
nosuffix=3028996, codesys=3159004, used_codesys=3028996) at lread.c:736
#11 0xad62c in Ffuncall (nargs=-1, args=0xffbec48c) at eval.c:3175
#12 0x787e8 in execute_optimized_program (program=0xffbec48c "", stack_depth=5,
constants_data=0x51de10) at bytecode.c:747
#13 0x78048 in funcall_compiled_function (fun=5374628, nargs=1, args=0xffbec704) at bytecode.c:519
#14 0xad780 in Ffuncall (nargs=1, args=0xffbec6fc) at eval.c:3210
#15 0x787e8 in execute_optimized_program (program=0xffbec6fc "", stack_depth=1,
constants_data=0x75d1d0) at bytecode.c:747
#16 0x7c674 in Fbyte_code (instructions=1, constants=7721408, stack_depth=5) at bytecode.c:2406
#17 0xace28 in Feval (form=7433768) at eval.c:2975
#18 0x170df8 in readevalloop (readcharfun=7468032, sourcename=5801524, evalfun=0xac694 <Feval>,
printflag=0) at lread.c:1448
#19 0x16f8c4 in Fload_internal (file=5801524, no_error=3028996, nomessage=3029020,
nosuffix=3028996, codesys=3154500, used_codesys=3028996) at lread.c:736
#20 0xad62c in Ffuncall (nargs=-1, args=0xffbece94) at eval.c:3175
#21 0x787e8 in execute_optimized_program (program=0xffbece94 "", stack_depth=5,
constants_data=0x51de10) at bytecode.c:747
#22 0x78048 in funcall_compiled_function (fun=5374628, nargs=4, args=0xffbed114) at bytecode.c:519
#23 0xad780 in Ffuncall (nargs=4, args=0xffbed100) at eval.c:3210
#24 0xae8c0 in call4 (fn=3170308, arg0=5801524, arg1=3028996, arg2=3029020, arg3=3028996)
at eval.c:3876
#25 0x12c828 in Frequire (feature=6218332, file_name=3028996) at fns.c:3304
#26 0xad5b4 in Ffuncall (nargs=-1, args=0xffbed2bc) at eval.c:3175
#27 0x787e8 in execute_optimized_program (program=0xffbed2bc "", stack_depth=1,
constants_data=0x6f0eb0) at bytecode.c:747
#28 0x7c674 in Fbyte_code (instructions=1, constants=7278240, stack_depth=5) at bytecode.c:2406
#29 0xace28 in Feval (form=7432232) at eval.c:2975
#30 0x170df8 in readevalloop (readcharfun=7468544, sourcename=3682452, evalfun=0xac694 <Feval>,
printflag=0) at lread.c:1448
#31 0x16f8c4 in Fload_internal (file=3682452, no_error=3028996, nomessage=3028996,
nosuffix=3028996, codesys=3154500, used_codesys=3028996) at lread.c:736
#32 0xad62c in Ffuncall (nargs=-1, args=0xffbeda14) at eval.c:3175
#33 0x787e8 in execute_optimized_program (program=0xffbeda14 "", stack_depth=5,
constants_data=0x51de10) at bytecode.c:747
#34 0x78048 in funcall_compiled_function (fun=5374628, nargs=1, args=0xffbedc8c) at bytecode.c:519
#35 0xad780 in Ffuncall (nargs=1, args=0xffbedc84) at eval.c:3210
#36 0x787e8 in execute_optimized_program (program=0xffbedc84 "", stack_depth=1,
constants_data=0x4864d0) at bytecode.c:747
#37 0x78048 in funcall_compiled_function (fun=5041000, nargs=1, args=0xffbedf50) at bytecode.c:519
#38 0xad780 in Ffuncall (nargs=1, args=0xffbedf48) at eval.c:3210
#39 0xadcf8 in Fapply (nargs=2, args=0xffbedf48) at eval.c:3388
#40 0xae724 in apply1 (fn=5041000, arg=3929268) at eval.c:3798
#41 0x7d0e8 in Fcall_interactively (function=5051116, record_flag=3029020, keys=3028996)
at callint.c:394
#42 0xabfa8 in Fcommand_execute (cmd=5051116, record=3029020, keys=3028996) at eval.c:2613
#43 0xad5cc in Ffuncall (nargs=-1, args=0xffbee304) at eval.c:3175
#44 0x787e8 in execute_optimized_program (program=0xffbee304 "", stack_depth=2,
constants_data=0x3fa410) at bytecode.c:747
#45 0x78048 in funcall_compiled_function (fun=4230860, nargs=1, args=0xffbee568) at bytecode.c:519
#46 0xad780 in Ffuncall (nargs=1, args=0xffbee560) at eval.c:3210
#47 0x7e7d4 in Fcall_interactively (function=4249044, record_flag=3028996, keys=3028996)
at callint.c:946
#48 0xabfa8 in Fcommand_execute (cmd=4249044, record=3028996, keys=3028996) at eval.c:2613
#49 0x100418 in execute_command_event (command_builder=0x635a80, event=6862080)
at event-stream.c:4333
#50 0x100d5c in Fdispatch_event (event=6862080) at event-stream.c:4644
#51 0x87718 in Fcommand_loop_1 () at cmdloop.c:575
#52 0x874ac in command_loop_1 (dummy=3028996) at cmdloop.c:490
#53 0xa9764 in condition_case_1 (handlers=2807808, bfun=0x87460 <command_loop_1>, barg=3028996,
hfun=0x878f8 <cmd_error>, harg=3028996) at eval.c:1629
#54 0x87a08 in command_loop_2 (dummy=3028996) at cmdloop.c:252
#55 0xa9338 in internal_catch (tag=3111156, func=0x879bc <command_loop_2>, arg=3028996, threw=0x0)
at eval.c:1304
#56 0x86de0 in initial_command_loop (load_me=555452) at cmdloop.c:301
#57 0xa540c in xemacs_21_2_b31_sparc_sun_solaris2_7 (argc=2, argv=0xffbeeed4, envp=0xffbeeee0,
restart=0) at emacs.c:1879
#58 0xa5c28 in main (argc=2, argv=0xffbeeed4, envp=0xffbeeee0) at emacs.c:2305