When playing with LDAP I got a crash. It is repeatable.
In the *scratch*-buffer eval:
(load-library "ldap")
(ldap-search-entries "torkel")
/torkel
In XEmacs 21.2 (beta45) "Thelxepeia" [Lucid] (i686-pc-linux) of Fri Feb 23 2001
on pip
configured using `configure --prefix=/lap/xemacs/21.2 --with-dialogs=athena
--with-widgets=athena --with-athena=3d --pdump'
xemacs: error.c:221: ldap_parse_result: Assertion `r != ((void *)0)' failed.
[...]
Lisp backtrace follows:
ldap-search-basic(#<ldap "ldap.umu.se" 0x86c0110> "torkel" nil
nil nil nil nil t)
apply(ldap-search-basic #<ldap "ldap.umu.se" 0x86c0110>
("torkel" nil nil nil nil nil t))
# bind (args arg1)
ldap-search(#<ldap "ldap.umu.se" 0x86c0110> "torkel" nil nil
nil nil nil t)
# bind (host-plist ldap result withdn attrsonly attributes host filter)
ldap-search-entries("torkel")
# bind (current-load-list)
# (unwind-protect ...)
# bind (standard-output)
eval-buffer("*scratch*")
# bind (command-debug-status)
call-interactively(eval-buffer)
# (condition-case ... . error)
# (catch top-level ...)
Aborted (core dumped)
#0 0x4037d841 in kill () from /lib/i686/libc.so.6
#1 0x80b6c23 in fatal_error_signal (sig=6) at emacs.c:535
#2 0x4037d768 in sigaction () from /lib/i686/libc.so.6
#3 0x80d45e1 in Fldap_search_basic (ldap=141295888, filter=140642964,
base=140789116, scope=1079490796, attrs=1079490796, attrsonly=1079490796,
withdn=1079490796, verbose=1079489692) at eldap.c:72
#4 0x80c0069 in Ffuncall (nargs=9, args=0xbfffec44) at eval.c:3528
#5 0x80c0c60 in Fapply (nargs=3, args=0xbfffed5c) at eval.c:3804
#6 0x80c00df in Ffuncall (nargs=4, args=0xbfffed58) at eval.c:3549
#7 0x8093b7e in execute_optimized_program (
program=0x86c0138 "ÂÃ\t!«\004Ī\002Å\t\b#\207F@a", stack_depth=4,
constants_data=0x86c5f58) at bytecode.c:746
#8 0x8093793 in funcall_compiled_function (fun=140808996, nargs=7,
args=0xbfffeeac) at bytecode.c:518
#9 0x80c01a7 in Ffuncall (nargs=9, args=0xbfffeea8) at eval.c:3563
#10 0x8093b7e in execute_optimized_program (
program=0x86bec00
"\r¬\n\b\211\025¬\005ÆÇ!\210È\r\016\025\"AÉ\211\034\e\032\t«\006ÊË\r\"\210Ì\r\n\"\023\t«\006ÊÍ\r\"\210Î\013\016\026Ï\nÐ\"Ï\nÑ\"\016\027\016\030\016\031\t&\b\024Ò\013!\210\016\032«\004\fª\005ÓÔ\f\"+\207",
stack_depth=9, constants_data=0x86c5f88) at bytecode.c:746
#11 0x8093793 in funcall_compiled_function (fun=140809024, nargs=1,
args=0xbfffef74) at bytecode.c:518
#12 0x80bf8ce in Feval (form=140433884) at eval.c:3388
#13 0x817472c in readevalloop (readcharfun=137866704, sourcename=1079490796,
evalfun=0x80bec94 <Feval>, printflag=0) at lread.c:1449
#14 0x817497f in Feval_buffer (buffer=137858596, printflag=1079490796)
at lread.c:1500
#15 0x80c000a in Ffuncall (nargs=2, args=0xbffff1c4) at eval.c:3528
#16 0x8098c1f in Fcall_interactively (function=1079410252,
record_flag=1079490796, keys=1079490796) at callint.c:940
#17 0x80be7bc in Fcommand_execute (cmd=1079410252, record_flag=1079490796,
keys=1079490796) at eval.c:2970
#18 0x81023d5 in execute_command_event (command_builder=0x83c3c18,
event=141213512) at event-stream.c:3834
#19 0x810303c in Fdispatch_event (event=141213512) at event-stream.c:4165
#20 0x809ef42 in Fcommand_loop_1 () at cmdloop.c:583
#21 0x809f1e2 in command_loop_1 (dummy=1079490796) at cmdloop.c:494
#22 0x80c6283 in condition_case_1 (handlers=1079490436,
bfun=0x809f1a4 <command_loop_1>, barg=1079490796,
hfun=0x809f254 <cmd_error>, harg=1079490796) at eval.c:1651
#23 0x809f347 in command_loop_2 (dummy=1079490796) at cmdloop.c:256
#24 0x80c614c in internal_catch (tag=1079316652,
func=0x809f30c <command_loop_2>, arg=1079490796, threw=0x0) at eval.c:1317
#25 0x809e7b6 in initial_command_loop (load_me=1079490796) at cmdloop.c:305
#26 0x80b7dbd in xemacs_21_2_b45_i686_pc_linux () at emacs.c:2253
#27 0x80b9ce7 in main (argc=1, argv=0xbffff7ec, envp=0xbffff7f4)
at emacs.c:2620
#28 0x4036bc14 in __libc_start_main () from /lib/i686/libc.so.6
uname -a: Linux pip 2.4.1 #12 tis feb 20 23:06:02 CET 2001 i686 unknown
./configure '--prefix=/lap/xemacs/21.2' '--with-dialogs=athena'
'--with-widgets=athena' '--with-athena=3d' '--pdump'
XEmacs 21.2-b45 "Thelxepeia" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /lap/xemacs/21.2/src/CVS
Installation prefix: /lap/xemacs/21.2
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wshadow
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw3d
- Athena library to link: Xaw3d
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Compiling in support for ESD (Enlightened Sound Daemon).
Databases:
Compiling in support for Berkeley database.
Compiling in support for LDAP.
Compiling in support for PostgreSQL.
- Using PostgreSQL header file: postgresql/libpq-fe.h
- Using PostgreSQL V7 bindings.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
Compiling in support for extra debugging code.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------