I downloaded the U Mich ldap software and compiled it into xemacs for
the first time. While playing around with it (via -vanilla), xemacs
crashed.
I had set to be nil to get all matches, had eudc search for a first
name of "Raymond" from mbb1.ericsson.se. There are probably hundreds
of entries, and xemacs said is had processed up to 28 or so and then
crashed.
If it matters, this was compiled with gcc 2.8.1, using X11R6.1
The lisp traceback says:
Lisp backtrace follows:
# (unwind-protect ...)
ldap-search-internal(#<ldap "mbb1.ericsson.se" 0x7e1de0> "(&(givenname=raymond))" nil nil nil nil)
# bind (host-plist res ldap attrsonly attributes host filter)
ldap-search("(&(givenname=raymond))" "mbb1.ericsson.se" nil)
# bind (return-attrs query)
eudc-ldap-simple-query-internal(((givenname . "raymond")) nil)
# bind (no-translation return-attributes query)
eudc-query(((firstname . "raymond")))
# bind (query-alist value)
eudc-process-form()
# bind (ignore)
#<compiled-function (&rest ignore) "...(5)" [eudc-process-form] 1>((push-button :to #<marker in no buffer 0x7400c4> :from #<marker in no buffer 0x7400ac> :button-extent #<extent (detached) H keymap button-or-field button 0x809694 from Killed Buffer> :glyph-inactive #<glyph (buffer) #<image-specifier global=... fallback=... 0x11f4>0x11f3> :glyph-down #<glyph (buffer) #<image-specifier global=... fallback=... 0x11ed>0x11ec> :glyph-up #<glyph (buffer) #<image-specifier global=... fallback=... 0x11e6>0x11e5> :notify #<compiled-function (&rest ignore) "...(5)" [eudc-process-form] 1> :value "Query Server" :args nil) (push-button :to #<marker in no buffer 0x7400c4> :from #<marker in no buffer 0x7400ac> :button-extent #<extent (detached) H keymap button-or-field button 0x809694 from Killed Buffer> :glyph-inactive #<glyph (buffer) #<image-specifier global=... fallback=... 0x11f4>0x11f3> :glyph-down #<glyph (buffer) #<image-specifier global=... fallback=... 0x11ed>0x11ec> :glyph-up !
#<glyph (buffer) #<image-specifier global=... fallback=... 0x11e6>0x11e5> :notify #<compiled-function (&rest ignore) "...(5)" [eudc-process-form] 1> :value "Query Server" :args nil) #<buttonup-event button1up>)
widget-apply((push-button :to #<marker in no buffer 0x7400c4> :from #<marker in no buffer 0x7400ac> :button-extent #<extent (detached) H keymap button-or-field button 0x809694 from Killed Buffer> :glyph-inactive #<glyph (buffer) #<image-specifier global=... fallback=... 0x11f4>0x11f3> :glyph-down #<glyph (buffer) #<image-specifier global=... fallback=... 0x11ed>0x11ec> :glyph-up #<glyph (buffer) #<image-specifier global=... fallback=... 0x11e6>0x11e5> :notify #<compiled-function (&rest ignore) "...(5)" [eudc-process-form] 1> :value "Query Server" :args nil) :notify (push-button :to #<marker in no buffer 0x7400c4> :from #<marker in no buffer 0x7400ac> :button-extent #<extent (detached) H keymap button-or-field button 0x809694 from Killed Buffer> :glyph-inactive #<glyph (buffer) #<image-specifier global=... fallback=... 0x11f4>0x11f3> :glyph-down #<glyph (buffer) #<image-specifier global=... fallback=... 0x11ed>0x11ec> :glyph-up #<glyph (buffer) #<image-specifier global=... !
fallback=... 0x11e6>0x11e5> :notify #<compiled-function (&rest ignore) "...(5)" [eudc-process-form] 1> :value "Query Server" :args nil) #<buttonup-event button1up>)
# bind (event widget)
widget-item-action((push-button :to #<marker in no buffer 0x7400c4> :from #<marker in no buffer 0x7400ac> :button-extent #<extent (detached) H keymap button-or-field button 0x809694 from Killed Buffer> :glyph-inactive #<glyph (buffer) #<image-specifier global=... fallback=... 0x11f4>0x11f3> :glyph-down #<glyph (buffer) #<image-specifier global=... fallback=... 0x11ed>0x11ec> :glyph-up #<glyph (buffer) #<image-specifier global=... fallback=... 0x11e6>0x11e5> :notify #<compiled-function (&rest ignore) "...(5)" [eudc-process-form] 1> :value "Query Server" :args nil) #<buttonup-event button1up>)
widget-apply((push-button :to #<marker in no buffer 0x7400c4> :from #<marker in no buffer 0x7400ac> :button-extent #<extent (detached) H keymap button-or-field button 0x809694 from Killed Buffer> :glyph-inactive #<glyph (buffer) #<image-specifier global=... fallback=... 0x11f4>0x11f3> :glyph-down #<glyph (buffer) #<image-specifier global=... fallback=... 0x11ed>0x11ec> :glyph-up #<glyph (buffer) #<image-specifier global=... fallback=... 0x11e6>0x11e5> :notify #<compiled-function (&rest ignore) "...(5)" [eudc-process-form] 1> :value "Query Server" :args nil) :action #<buttonup-event button1up>)
# bind (event widget)
widget-apply-action((push-button :to #<marker in no buffer 0x7400c4> :from #<marker in no buffer 0x7400ac> :button-extent #<extent (detached) H keymap button-or-field button 0x809694 from Killed Buffer> :glyph-inactive #<glyph (buffer) #<image-specifier global=... fallback=... 0x11f4>0x11f3> :glyph-down #<glyph (buffer) #<image-specifier global=... fallback=... 0x11ed>0x11ec> :glyph-up #<glyph (buffer) #<image-specifier global=... fallback=... 0x11e6>0x11e5> :notify #<compiled-function (&rest ignore) "...(5)" [eudc-process-form] 1> :value "Query Server" :args nil) #<buttonup-event button1up>)
# bind (widget)
# (unwind-protect ...)
# bind (current-glyph last up-glyph down-glyph widget extent glyph event)
widget-glyph-click(#<buttonup-event button1up>)
# bind (event)
widget-button1-click(#<buttonup-event button1up>)
# bind (command-debug-status)
call-interactively(widget-button1-click)
# (condition-case ... . error)
# (catch top-level ...)
The C traceback says
#0 0xef07452c in kill ()
#1 0x95f9c in fatal_error_signal (sig=6) at emacs.c:262
#2 <signal handler called>
#3 0xef07452c in kill ()
#4 0xef03a5d4 in abort ()
#5 0x95ef4 in assert_failed (file=0x28a108 "insdel.c", line=364,
expr=0x28a118 "VALID_CHARPTR_P (ptr)") at emacs.c:2605
#6 0x158764 in bytecount_to_charcount (ptr=0x7e1a8f "Èom", len=18) at insdel.c:364
#7 0x51a98 in build_string (str=0x7e1a80 "Raymond MalmstrÈom") at alloc.c:2389
#8 0xb2ad0 in Fldap_search_internal (ldap=8320512, filter=3854336, base=-1606557692,
scope=-1606557692, attrs=-1606557692, attrsonly=-1606557692) at eldap.c:514
#9 0x9c210 in funcall_recording_as (recorded_as=-1606431828, nargs=6, args=0xefffba90)
at eval.c:3197
#10 0xa129c in Ffuncall (nargs=7, args=0xefffba90) at eval.c:3238
#11 0x61a80 in Fbyte_code (bytestr=1614314652, vector=-2143781600, maxdepth=3854336)
at bytecode.c:416
#12 0x9dab8 in funcall_lambda (fun=540573180, nargs=3, arg_vector=0xefffbe44) at eval.c:3597
#13 0x9c424 in funcall_recording_as (recorded_as=-1605287044, nargs=3, args=0xefffbe40)
at eval.c:3214
#14 0xa129c in Ffuncall (nargs=4, args=0xefffbe40) at eval.c:3238
#15 0x61a80 in Fbyte_code (bytestr=1617624544, vector=-2141209600, maxdepth=3854336)
at bytecode.c:416
#16 0x9dab8 in funcall_lambda (fun=544746204, nargs=2, arg_vector=0xefffc20c) at eval.c:3597
#17 0x9c424 in funcall_recording_as (recorded_as=-1602762508, nargs=2, args=0xefffc208)
at eval.c:3214
#18 0xa129c in Ffuncall (nargs=3, args=0xefffc208) at eval.c:3238
#19 0x61a80 in Fbyte_code (bytestr=1618178436, vector=-2139934656, maxdepth=3854336)
at bytecode.c:416
#20 0x9dab8 in funcall_lambda (fun=544096372, nargs=1, arg_vector=0xefffc600) at eval.c:3597
#21 0x9c424 in funcall_recording_as (recorded_as=-1603010804, nargs=1, args=0xefffc5fc)
at eval.c:3214
#22 0xa129c in Ffuncall (nargs=2, args=0xefffc5fc) at eval.c:3238
#23 0x61a80 in Fbyte_code (bytestr=1618176136, vector=-2140242048, maxdepth=3854336)
at bytecode.c:416
#24 0x9dab8 in funcall_lambda (fun=544096680, nargs=0, arg_vector=0xefffc964) at eval.c:3597
#25 0x9c424 in funcall_recording_as (recorded_as=-1603385316, nargs=0, args=0xefffc960)
at eval.c:3214
#26 0xa129c in Ffuncall (nargs=1, args=0xefffc960) at eval.c:3238
#27 0x61a80 in Fbyte_code (bytestr=1617988272, vector=-2141094976, maxdepth=3854336)
at bytecode.c:416
#28 0x9dab8 in funcall_lambda (fun=544097408, nargs=3, arg_vector=0xefffcbdc) at eval.c:3597
#29 0x9c424 in funcall_recording_as (recorded_as=544097408, nargs=3, args=0xefffcbd8)
at eval.c:3214
#30 0x9cf40 in Fapply (nargs=3, args=0xefffcce0) at eval.c:3463
#31 0x21bdd0 in Fwidget_apply (nargs=4, args=0xefffcf2c) at widget.c:107
#32 0x9bf6c in funcall_recording_as (recorded_as=-1606444020, nargs=4, args=0xefffcf28)
at eval.c:3178
#33 0xa129c in Ffuncall (nargs=5, args=0xefffcf28) at eval.c:3238
#34 0x61a80 in Fbyte_code (bytestr=1617943672, vector=-2140168640, maxdepth=3854336)
at bytecode.c:416
#35 0x9dab8 in funcall_lambda (fun=544141200, nargs=2, arg_vector=0xefffd244) at eval.c:3597
#36 0x9c424 in funcall_recording_as (recorded_as=-1603294148, nargs=2, args=0xefffd240)
at eval.c:3214
#37 0x9cd2c in Fapply (nargs=3, args=0xefffd240) at eval.c:3238
#38 0x21bdd0 in Fwidget_apply (nargs=3, args=0xefffd4ac) at widget.c:107
#39 0x9bf6c in funcall_recording_as (recorded_as=-1606444020, nargs=3, args=0xefffd4a8)
at eval.c:3178
#40 0xa129c in Ffuncall (nargs=4, args=0xefffd4a8) at eval.c:3238
#41 0x61a80 in Fbyte_code (bytestr=1617870196, vector=-2143130304, maxdepth=3854336)
at bytecode.c:416
#42 0x9dab8 in funcall_lambda (fun=543790908, nargs=2, arg_vector=0xefffdb3c) at eval.c:3597
#43 0x9c424 in funcall_recording_as (recorded_as=-1603361468, nargs=2, args=0xefffdb38)
at eval.c:3214
#44 0xa129c in Ffuncall (nargs=3, args=0xefffdb38) at eval.c:3238
#45 0x61a80 in Fbyte_code (bytestr=1617898556, vector=-2140494336, maxdepth=3854336)
at bytecode.c:416
#46 0x9dab8 in funcall_lambda (fun=544139688, nargs=1, arg_vector=0xefffdf0c) at eval.c:3597
#47 0x9c424 in funcall_recording_as (recorded_as=-1603331300, nargs=1, args=0xefffdf08)
at eval.c:3214
#48 0xa129c in Ffuncall (nargs=2, args=0xefffdf08) at eval.c:3238
#49 0x61a80 in Fbyte_code (bytestr=1617898388, vector=-2141258112, maxdepth=3854336)
at bytecode.c:416
#50 0x9dab8 in funcall_lambda (fun=544139660, nargs=1, arg_vector=0xefffe1fc) at eval.c:3597
#51 0x9c424 in funcall_recording_as (recorded_as=-1603331396, nargs=1, args=0xefffe1f8)
at eval.c:3214
#52 0xa129c in Ffuncall (nargs=2, args=0xefffe1f8) at eval.c:3238
#53 0x65470 in Fcall_interactively (function=-1603331396, record_flag=-1606557692,
keys=-1606557692) at callint.c:935
#54 0x9a634 in Fcommand_execute (cmd=-1603331396, record=-1606557692, keys=-1606557692)
at eval.c:2584
#55 0xffc7c in execute_command_event (command_builder=0x569dc0, event=544905568)
at event-stream.c:4343
#56 0x100e40 in Fdispatch_event (event=544905568) at event-stream.c:4634
#57 0x715d8 in Fcommand_loop_1 () at cmdloop.c:579
#58 0x71890 in command_loop_1 (dummy=-1606557692) at cmdloop.c:494
#59 0x98938 in condition_case_1 (handlers=3806208, bfun=0x717ec <command_loop_1>,
barg=-1606557692, hfun=0x718f4 <cmd_error>, harg=-1606557692) at eval.c:1653
#60 0x71a08 in command_loop_2 (dummy=-1606557692) at cmdloop.c:256
#61 0xa105c in internal_catch (tag=-1606479748, func=0x719bc <command_loop_2>, arg=-1606557692,
threw=0x0) at eval.c:1328
#62 0x709e0 in initial_command_loop (load_me=465340) at cmdloop.c:305
#63 0x94660 in xemacs_21_0_b42_sparc_sun_solaris2_5_1 (argc=2, argv=0xefffeabc, envp=0xefffeac8,
restart=0) at emacs.c:1702
#64 0x96190 in main (argc=0, argv=0xefffeabc, envp=0xefffeac8) at emacs.c:2119