The following recipe crashes 21.2.26 every time on my solaris 2.7 box,
built with gcc 2.7.2.2.
xemacs -vanilla
Use the menu bar Tools->Directory Search->Query with Form. When the
popup asks about configuring the search base (which is empty on my
setup), click Yes.
Xemacs crashes at this point.
Here's the Lisp backtrace:
# 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 nil nil binary)
# bind (path handler filename nosuffix nomessage noerror file)
load("eudc" nil nil nil)
# (unwind-protect ...)
command-execute(eudc-query-form 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 ...)
Here's the C backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x78d10 in execute_optimized_program (program=0xffbed080 "", stack_depth=0,
constants_data=0x748110) at lisp.h:1141
1141 DECLARE_LRECORD (symbol, Lisp_Symbol);
(gdb) bt
#0 0x78d10 in execute_optimized_program (program=0xffbed080 "", stack_depth=0,
constants_data=0x748110) at lisp.h:1141
#1 0x786bc in funcall_compiled_function (fun=7614352, nargs=3, args=0xffbed234) at
bytecode.c:519
#2 0xb1984 in Feval (form=7854828) at eval.c:3034
#3 0x1810d4 in readevalloop (readcharfun=7308800, sourcename=7809524, evalfun=0xb0dec
<Feval>,
printflag=0) at lread.c:1448
#4 0x17f944 in Fload_internal (file=7809524, no_error=2865472, nomessage=2946048,
nosuffix=3106820, codesys=3236588, used_codesys=3106820) at lread.c:736
#5 0xb1f40 in Ffuncall (nargs=-1, args=0xffbed7bc) at eval.c:3175
#6 0x78ef4 in execute_optimized_program (program=0xffbed7bc "", stack_depth=5,
constants_data=0x52af10) at bytecode.c:743
#7 0x786bc in funcall_compiled_function (fun=5335548, nargs=1, args=0xffbeda34) at
bytecode.c:519
#8 0xb20ac in Ffuncall (nargs=1, args=0xffbeda2c) at eval.c:3210
#9 0x78ef4 in execute_optimized_program (program=0xffbeda2c "", stack_depth=1,
constants_data=0x6af090) at bytecode.c:743
#10 0x7d3f4 in Fbyte_code (instructions=-4269264, constants=7008384, stack_depth=2)
at bytecode.c:2400
#11 0xb1684 in Feval (form=7808480) at eval.c:2975
#12 0x1810d4 in readevalloop (readcharfun=7428096, sourcename=5938900, evalfun=0xb0dec
<Feval>,
printflag=0) at lread.c:1448
#13 0x17f944 in Fload_internal (file=5938900, no_error=2865472, nomessage=2946048,
nosuffix=3106820, codesys=3232420, used_codesys=3106820) at lread.c:736
#14 0xb1f40 in Ffuncall (nargs=-1, args=0xffbee1c4) at eval.c:3175
#15 0x78ef4 in execute_optimized_program (program=0xffbee1c4 "", stack_depth=5,
constants_data=0x52af10) at bytecode.c:743
#16 0x786bc in funcall_compiled_function (fun=5335548, nargs=4, args=0xffbee444) at
bytecode.c:519
#17 0xb20ac in Ffuncall (nargs=4, args=0xffbee430) at eval.c:3210
#18 0xb3428 in call4 (fn=3245836, arg0=5938900, arg1=3106820, arg2=3106820, arg3=3106820)
at eval.c:3876
#19 0xb0c08 in do_autoload (fundef=5656188, funname=6226812) at eval.c:2789
#20 0x7dbec in Fcall_interactively (function=6226812, record_flag=3106820, keys=3106820)
at callint.c:309
#21 0xb1ee0 in Ffuncall (nargs=-1, args=0xffbee7d0) at eval.c:3175
---Type <return> to continue, or q <return> to quit---
#22 0xb3334 in call1 (fn=3181340, arg0=6226812) at eval.c:3824
#23 0x1080ac in execute_command_event (command_builder=0x640b00, event=6767408)
at event-stream.c:4328
#24 0x108dd0 in Fdispatch_event (event=6767408) at event-stream.c:4691
#25 0x89988 in Fcommand_loop_1 () at cmdloop.c:575
#26 0x896d4 in command_loop_1 (dummy=3106820) at cmdloop.c:490
#27 0xadb34 in condition_case_1 (handlers=2890752, bfun=0x89670 <command_loop_1>,
barg=3106820,
hfun=0x89b5c <cmd_error>, harg=3106820) at eval.c:1629
#28 0x89c6c in command_loop_2 (dummy=3106820) at cmdloop.c:252
#29 0xad680 in internal_catch (tag=3189076, func=0x89c20 <command_loop_2>,
arg=3106820, threw=0x0)
at eval.c:1304
#30 0x88ee8 in initial_command_loop (load_me=564256) at cmdloop.c:301
#31 0xa922c in xemacs_21_2_b26_sparc_sun_solaris2_7 (argc=2, argv=0xffbeeed4,
envp=0xffbeeee0,
restart=0) at emacs.c:1898
#32 0xa9a64 in main (argc=2, argv=0xffbeeed4, envp=0xffbeeee0) at emacs.c:2323
(gdb)
Hope this is helpful. Since it's repeatable, I can supply whatever
information anyone would want.
Ray