This bug has existed for a long time for me, and I'm finally tired of
it. :-(
This is 100% repeatable. Start with xemacs -vanilla. Then evaluate
(load-library "eudc-export")
xemacs crashes at this point. The lisp traceback and C backtrace are
appended below. My .eudc-options file contains just:
;; This file was automatically generated by eudc.el
(provide 'eudc-options-file)
(eudc-set-server "mbb1.ericsson.se" 'ldap t)
(setq eudc-server-hotlist '(("mbb1.ericsson.se" . ldap)
("exchange.ericsson.se" . ldap)))
Curiously, if I start up xemacs and use the menus to run eudc,
everything works as long as I say not to configure my search base.
If someone can provide some pointers, I'd really like to squash this
bug.
Ray
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)
load-library("eudc-export")
eval((load-library "eudc-export"))
# bind (expr)
eval-interactive((load-library "eudc-export"))
# bind (standard-output opoint ignore-quotes eval-last-sexp-arg-internal)
eval-last-sexp(nil)
# bind (command-debug-status)
call-interactively(eval-last-sexp)
# (condition-case ... . error)
# (catch top-level ...)
Abort (core dumped)
The C traceback is:
#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=0x2330d8 "lisp.h", line=1087,
expr=0x233188 "RECORD_TYPEP (obj, lrecord_type_symbol)") at emacs.c:2770
#6 0x785f8 in execute_optimized_program (program=0xffbeb9d0 "", stack_depth=17,
constants_data=0x7c1390) at lisp.h:1087
#7 0x78048 in funcall_compiled_function (fun=7447008, nargs=3, args=0xffbebb84) at
bytecode.c:519
#8 0xad0d8 in Feval (form=8279028) at eval.c:3034
#9 0x170e00 in readevalloop (readcharfun=7591424, sourcename=8228468, evalfun=0xac694
<Feval>,
printflag=0) at lread.c:1448
#10 0x16f8cc in Fload_internal (file=8228468, no_error=3028996, nomessage=3028996,
nosuffix=3028996, codesys=3159004, used_codesys=3028996) at lread.c:736
#11 0xad62c in Ffuncall (nargs=-1, args=0xffbec10c) at eval.c:3175
#12 0x787e8 in execute_optimized_program (program=0xffbec10c "", stack_depth=5,
constants_data=0x51de10) at bytecode.c:747
#13 0x78048 in funcall_compiled_function (fun=5374628, nargs=1, args=0xffbec384) at
bytecode.c:519
#14 0xad780 in Ffuncall (nargs=1, args=0xffbec37c) at eval.c:3210
#15 0x787e8 in execute_optimized_program (program=0xffbec37c "", stack_depth=1,
constants_data=0x7c6410) at bytecode.c:747
#16 0x7c674 in Fbyte_code (instructions=1, constants=8152064, stack_depth=5) at
bytecode.c:2406
#17 0xace28 in Feval (form=8229240) at eval.c:2975
#18 0x170e00 in readevalloop (readcharfun=7591936, sourcename=5801524, evalfun=0xac694
<Feval>,
printflag=0) at lread.c:1448
#19 0x16f8cc 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=0xffbecb14) at eval.c:3175
#21 0x787e8 in execute_optimized_program (program=0xffbecb14 "", stack_depth=5,
constants_data=0x51de10) at bytecode.c:747
#22 0x78048 in funcall_compiled_function (fun=5374628, nargs=4, args=0xffbecd94) at
bytecode.c:519
#23 0xad780 in Ffuncall (nargs=4, args=0xffbecd80) at eval.c:3210
#24 0xae8c0 in call4 (fn=3170308, arg0=5801524, arg1=3028996, arg2=3029020, arg3=3028996)
at eval.c:3876
#25 0x12c830 in Frequire (feature=3695196, file_name=3028996) at fns.c:3304
#26 0xad5b4 in Ffuncall (nargs=-1, args=0xffbecf3c) at eval.c:3175
#27 0x787e8 in execute_optimized_program (program=0xffbecf3c "", stack_depth=1,
constants_data=0x768ad0) at bytecode.c:747
#28 0x7c674 in Fbyte_code (instructions=1, constants=7768768, stack_depth=5) at
bytecode.c:2406
#29 0xace28 in Feval (form=7947780) at eval.c:2975
#30 0x170e00 in readevalloop (readcharfun=7590400, sourcename=7636900, evalfun=0xac694
<Feval>,
printflag=0) at lread.c:1448
#31 0x16f8cc in Fload_internal (file=7636900, no_error=3028996, nomessage=3028996,
nosuffix=3028996, codesys=3154500, used_codesys=3028996) at lread.c:736
#32 0xad62c in Ffuncall (nargs=-1, args=0xffbed694) at eval.c:3175
#33 0x787e8 in execute_optimized_program (program=0xffbed694 "", stack_depth=5,
constants_data=0x51de10) at bytecode.c:747
#34 0x78048 in funcall_compiled_function (fun=5374628, nargs=1, args=0xffbed90c) at
bytecode.c:519
#35 0xad780 in Ffuncall (nargs=1, args=0xffbed904) at eval.c:3210
#36 0x787e8 in execute_optimized_program (program=0xffbed904 "", stack_depth=1,
constants_data=0x4864d0) at bytecode.c:747
#37 0x78048 in funcall_compiled_function (fun=5041000, nargs=1, args=0xffbedaa4) at
bytecode.c:519
#38 0xad0d8 in Feval (form=7947204) at eval.c:3034
#39 0xad5a0 in Ffuncall (nargs=1, args=0xffbedd04) at eval.c:3175
#40 0x787e8 in execute_optimized_program (program=0xffbedd04 "", stack_depth=1,
constants_data=0x4ef590) at bytecode.c:747
#41 0x78048 in funcall_compiled_function (fun=5145532, nargs=1, args=0xffbedf68) at
bytecode.c:519
#42 0xad780 in Ffuncall (nargs=1, args=0xffbedf60) at eval.c:3210
#43 0x787e8 in execute_optimized_program (program=0xffbedf60 "", stack_depth=1,
constants_data=0x4ef510) at bytecode.c:747
#44 0x78048 in funcall_compiled_function (fun=5145560, nargs=1, args=0xffbee1c0) at
bytecode.c:519
#45 0xad780 in Ffuncall (nargs=1, args=0xffbee1b8) at eval.c:3210
#46 0x7e7d4 in Fcall_interactively (function=4128620, record_flag=3028996, keys=3028996)
at callint.c:946
#47 0xabfa8 in Fcommand_execute (cmd=4128620, record=3028996, keys=3028996) at
eval.c:2613
#48 0x100420 in execute_command_event (command_builder=0x62e980, event=7328096)
at event-stream.c:4333
#49 0x100d64 in Fdispatch_event (event=7328096) at event-stream.c:4644
#50 0x87718 in Fcommand_loop_1 () at cmdloop.c:575
#51 0x874ac in command_loop_1 (dummy=3028996) at cmdloop.c:490
#52 0xa9764 in condition_case_1 (handlers=2807808, bfun=0x87460 <command_loop_1>,
barg=3028996,
hfun=0x878f8 <cmd_error>, harg=3028996) at eval.c:1629
#53 0x87a08 in command_loop_2 (dummy=3028996) at cmdloop.c:252
#54 0xa9338 in internal_catch (tag=3111156, func=0x879bc <command_loop_2>,
arg=3028996, threw=0x0)
at eval.c:1304
#55 0x86de0 in initial_command_loop (load_me=555452) at cmdloop.c:301
#56 0xa540c in xemacs_21_2_b31_sparc_sun_solaris2_7 (argc=2, argv=0xffbeeb24,
envp=0xffbeeb30,
restart=0) at emacs.c:1879
#57 0xa5c28 in main (argc=2, argv=0xffbeeb24, envp=0xffbeeb30) at emacs.c:2305
(gdb)