The quest for emacs 23 on openbsd is not dead yet. 

I've updated the ports to support latest LIB_DEPENDS standard. On a
fresh i386 -current build, I've built this port : the startup lock is
still here. I've killed the process and here's the backtrace:

--8<---------------cut here---------------start------------->8---
(gdb) bt
#0  0x53699119 in read () from /usr/lib/libc.so.58.0
#1  0x53dc63a0 in read (fd=5, buf=0x887b018, nbytes=4096) at 
/usr/src/lib/libpthread/uthread/uthread_read.c:72
#2  0x52a0eac3 in _xcb_in_read (c=0x887b000) at 
/usr/xenocara/lib/libxcb/libxcb/../../../dist/libxcb/src/xcb_in.c:666
#3  0x52a0f354 in xcb_poll_for_event (c=0x887b000) at 
/usr/xenocara/lib/libxcb/libxcb/../../../dist/libxcb/src/xcb_in.c:551
#4  0x4a125694 in poll_for_event () from /usr/X11R6/lib/libX11.so.14.0
#5  0x4a125f24 in _XReply () from /usr/X11R6/lib/libX11.so.14.0
#6  0x4a1199aa in XSync () from /usr/X11R6/lib/libX11.so.14.0
#7  0x080e7d7b in x_sync (f=0x8539600) at xfns.c:4265
#8  0x080e07f5 in x_make_frame_visible (f=0x8539600) at xterm.c:9346
#9  0x080623f4 in Fmake_frame_visible (frame=139695621) at frame.c:1848
#10 0x0817b6a5 in Ffuncall (nargs=2, args=0xcfbbfff0) at eval.c:3024
#11 0x081b1a7a in Fbyte_code (bytestr=136536569, vector=136536589, 
maxdepth=Variable "maxdepth" is not available.
) at bytecode.c:680
#12 0x0817afc4 in funcall_lambda (fun=136536525, nargs=1, 
arg_vector=0xcfbc0134) at eval.c:3211
#13 0x0817b40b in Ffuncall (nargs=2, args=0xcfbc0130) at eval.c:3081
#14 0x081b1a7a in Fbyte_code (bytestr=136983993, vector=136984013, 
maxdepth=Variable "maxdepth" is not available.
) at bytecode.c:680
#15 0x0817afc4 in funcall_lambda (fun=136983949, nargs=1, 
arg_vector=0xcfbc0274) at eval.c:3211
#16 0x0817b40b in Ffuncall (nargs=2, args=0xcfbc0270) at eval.c:3081
#17 0x081b1a7a in Fbyte_code (bytestr=136981257, vector=136981277, 
maxdepth=Variable "maxdepth" is not available.
) at bytecode.c:680
#18 0x0817afc4 in funcall_lambda (fun=136981229, nargs=0, 
arg_vector=0xcfbc03b4) at eval.c:3211
#19 0x0817b40b in Ffuncall (nargs=1, args=0xcfbc03b0) at eval.c:3081
#20 0x081b1a7a in Fbyte_code (bytestr=136584897, vector=136584917, 
maxdepth=Variable "maxdepth" is not available.
) at bytecode.c:680
#21 0x0817afc4 in funcall_lambda (fun=136584877, nargs=0, 
arg_vector=0xcfbc04f4) at eval.c:3211
#22 0x0817b40b in Ffuncall (nargs=1, args=0xcfbc04f0) at eval.c:3081
#23 0x081b1a7a in Fbyte_code (bytestr=136581841, vector=136581861, 
maxdepth=Variable "maxdepth" is not available.
) at bytecode.c:680
#24 0x0817afc4 in funcall_lambda (fun=136581821, nargs=0, 
arg_vector=0xcfbc05c0) at eval.c:3211
#25 0x0817b1da in apply_lambda (fun=136581821, args=138212354, eval_flag=1) at 
eval.c:3135
#26 0x0817a872 in Feval (form=138744462) at eval.c:2406
#27 0x08115813 in top_level_2 () at keyboard.c:1369
#28 0x08179eab in internal_condition_case (bfun=0x8115800 <top_level_2>, 
handlers=138485930, hfun=0x8119a10 <cmd_error>) at eval.c:1490
#29 0x081197a0 in top_level_1 () at keyboard.c:1377
#30 0x08179f65 in internal_catch (tag=138481026, func=0x8119770 <top_level_1>, 
arg=138212354) at eval.c:1226
#31 0x08119849 in command_loop () at keyboard.c:1332
#32 0x08119beb in recursive_edit_1 () at keyboard.c:954
#33 0x08119d21 in Frecursive_edit () at keyboard.c:1016
#34 0x0810efac in main (argc=1, argv=0xcfbc08c8) at emacs.c:1833

Lisp Backtrace:
"make-frame-visible" (0xcfbbfff4)
"x-create-frame-with-faces" (0xcfbc0134)
"make-frame" (0xcfbc0274)
"frame-initialize" (0xcfbc03b4)
"command-line" (0xcfbc04f4)
"normal-top-level" (0xcfbc05c0)
(gdb)
--8<---------------cut here---------------end--------------->8---

Also a fstat -s on this process shows that it never stops reading on
fd=5. Is there any other tests I could do to resolve this issue?

Attachment: emacs.tgz
Description: Unix tar archive

-- 
Manuel Giraud

Reply via email to