On Dec 23, 2003, at 15:18, Nathaniel Talbott wrote:

> OK, I re-copied configure from the tar archive, and it found  
> ucontext.h now. I'm rebuilding and will try running my application  
> again.

Done, and it no longer seems to segfault... now it hangs again. I've  
got a backtrace:

   #0  0x400235d4 in __pthread_sigsuspend () from /lib/libpthread.so.0
   #1  0xbffe8808 in ?? ()
   #2  0x40023398 in __pthread_wait_for_restart_signal () from  
/lib/libpthread.so.0
   #3  0x40024a3b in __pthread_lock () from /lib/libpthread.so.0
   #4  0x40021b9d in pthread_mutex_lock () from /lib/libpthread.so.0
   #5  0x40024084 in flockfile () from /lib/libpthread.so.0
   #6  0x4011f838 in fwrite () from /lib/libc.so.6
   #7  0x08078763 in rb_io_fwrite (
       ptr=0x8319128 "I, [2003-12-23T16:12:16.963975 #6879]  INFO -- SE  
Hijacker: SE::Server::Hijacker::HijackServlet: Received request:  
rurl=&lgn=jpten&qid=1&vurl=http%3A%2F%2Fseek4freetoolbar%2Emygeek%2Ecom% 
2Fsomatictb02"..., len=271, f=0x401e7ca0) at io.c:395
   #8  0x080788e3 in io_write (io=1075933704, str=1083360352) at io.c:430
   #9  0x0806b92f in call_cfunc (func=0x80787f4 <io_write>,  
recv=1075933704, len=1, argc=1,
       argv=0xbffe8bd0) at eval.c:4938
   #10 0x0805e405 in rb_call0 (klass=1075936204, recv=1075933704,  
id=7241, oid=7241, argc=1,
       argv=0xbffe8bd0, body=0x40217654, nosuper=0) at eval.c:5066
   #11 0x0805ef58 in rb_call (klass=1075936204, recv=1075933704,  
mid=7241, argc=1,
       argv=0xbffe8bd0, scope=0) at eval.c:5287
   #12 0x08058b0a in rb_eval (self=1076996312, n=0x403108ec) at  
eval.c:3076
   #13 0x0805ea0f in rb_call0 (klass=1076933632, recv=1076996312,  
id=7241, oid=7241, argc=0,
       argv=0xbffe9844, body=0x403108ec, nosuper=0) at eval.c:5194
   #14 0x0805ef58 in rb_call (klass=1076933632, recv=1076996312,  
mid=7241, argc=1,
       argv=0xbffe9840, scope=0) at eval.c:5287
   #15 0x08058b0a in rb_eval (self=1077000552, n=0x40314258) at  
eval.c:3076
   #16 0x0805ea0f in rb_call0 (klass=1076935352, recv=1077000552,  
id=5225, oid=5225, argc=0,
       argv=0xbffea4c8, body=0x40314258, nosuper=0) at eval.c:5194
   #17 0x0805ef58 in rb_call (klass=1076935352, recv=1077000552,  
mid=5225, argc=2,
       argv=0xbffea4c0, scope=0) at eval.c:5287
   #18 0x08058b0a in rb_eval (self=1084036932, n=0x4022571c) at  
eval.c:3076
   #19 0x0805ea0f in rb_call0 (klass=1076932552, recv=1084036932,  
id=9793, oid=9793, argc=0,
       argv=0xbffeb148, body=0x4022571c, nosuper=0) at eval.c:5194
   #20 0x0805ef58 in rb_call (klass=1076932552, recv=1084036932,  
mid=9793, argc=2,
       argv=0xbffeb140, scope=1) at eval.c:5287
   #21 0x08058dc4 in rb_eval (self=1084036932, n=0x40223da4) at  
eval.c:3091
   #22 0x0805ea0f in rb_call0 (klass=1076932552, recv=1084036932,  
id=15777, oid=15777, argc=0,
       argv=0xbffebdb4, body=0x40223da4, nosuper=0) at eval.c:5194
   #23 0x0805ef58 in rb_call (klass=1076932552, recv=1084036932,  
mid=15777, argc=1,
       argv=0xbffebdb0, scope=1) at eval.c:5287
   #24 0x08058dc4 in rb_eval (self=1084036932, n=0x4026cfcc) at  
eval.c:3091
   #25 0x0805ea0f in rb_call0 (klass=1080136084, recv=1084036932,  
id=24817, oid=24817, argc=0,
       argv=0xbffecd2c, body=0x4026cfcc, nosuper=0) at eval.c:5194
   #26 0x0805ef58 in rb_call (klass=1080136084, recv=1084036932,  
mid=24817, argc=2,
       argv=0xbffecd24, scope=1) at eval.c:5287
   #27 0x0805f083 in rb_f_send (argc=2, argv=0xbffecd24,  
recv=1084036932) at eval.c:5317
   #28 0x0806b8f3 in call_cfunc (func=0x805eff4 <rb_f_send>,  
recv=1084036932, len=-1, argc=3,
       argv=0xbffecd20) at eval.c:4932
   #29 0x0805e405 in rb_call0 (klass=1075977384, recv=1084036932,  
id=3881, oid=3881, argc=3,
       argv=0xbffecd20, body=0x4021fdb8, nosuper=0) at eval.c:5066
   #30 0x0805ef58 in rb_call (klass=1075977384, recv=1084036932,  
mid=3881, argc=3,
       argv=0xbffecd20, scope=1) at eval.c:5287
   #31 0x08058dc4 in rb_eval (self=1084036932, n=0x4063f6a0) at  
eval.c:3091
   #32 0x0805ea0f in rb_call0 (klass=1080288864, recv=1084036932,  
id=30937, oid=30937, argc=0,
       argv=0xbffed9a8, body=0x4063f6a0, nosuper=0) at eval.c:5194
   #33 0x0805ef58 in rb_call (klass=1080288864, recv=1084036932,  
mid=30937, argc=2,
       argv=0xbffed9a0, scope=0) at eval.c:5287
   #34 0x08058b0a in rb_eval (self=1083721352, n=0x406438f4) at  
eval.c:3076
   #35 0x0805ea0f in rb_call0 (klass=1080114624, recv=1083721352,  
id=30937, oid=30937, argc=0,
       argv=0xbffee668, body=0x406438f4, nosuper=0) at eval.c:5194
   #36 0x0805ef58 in rb_call (klass=1080114624, recv=1083721352,  
mid=30937, argc=2,
       argv=0xbffee660, scope=1) at eval.c:5287
   #37 0x08058dc4 in rb_eval (self=1083721352, n=0x40644de4) at  
eval.c:3091
   #38 0x08057def in rb_eval (self=1083721352, n=0x406441dc) at  
eval.c:2883
   #39 0x08058031 in rb_eval (self=1083721352, n=0x40644f24) at  
eval.c:2932
   #40 0x08057413 in rb_eval (self=1083721352, n=0x40643f34) at  
eval.c:2720
   #41 0x0805ea0f in rb_call0 (klass=1080114624, recv=1083721352,  
id=5081, oid=5081, argc=0,
       argv=0xbfff10a4, body=0x40643f34, nosuper=0) at eval.c:5194
   #42 0x0805ef58 in rb_call (klass=1080114624, recv=1083721352,  
mid=5081, argc=1,
       argv=0xbfff10a0, scope=1) at eval.c:5287
   #43 0x08058dc4 in rb_eval (self=1083721352, n=0x40319924) at  
eval.c:3091
   #44 0x08057def in rb_eval (self=1083721352, n=0x40317c14) at  
eval.c:2883
   #45 0x08058031 in rb_eval (self=1083721352, n=0x40317a0c) at  
eval.c:2932
   #46 0x0805c5d4 in rb_yield_0 (val=1083335352, self=1083721352,  
klass=0, flags=2, avalue=2)
       at eval.c:4293
   #47 0x080698c0 in rb_thread_yield (arg=1083335352, th=0x8655150) at  
eval.c:9759
   #48 0x0806955f in rb_thread_start_0 (fn=0x80697f4 <rb_thread_yield>,  
arg=0x409262b8,
       th=0x8655150) at eval.c:9673
   #49 0x08069a13 in rb_thread_start (klass=1075962144, args=1083335352)  
at eval.c:9798
   #50 0x0806b8d4 in call_cfunc (func=0x80699c4 <rb_thread_start>,  
recv=1075962144, len=-2,
       argc=0, argv=0x0) at eval.c:4929
   #51 0x0805e405 in rb_call0 (klass=1075962124, recv=1075962144,  
id=5001, oid=5001, argc=0,
       argv=0x0, body=0x4021e094, nosuper=0) at eval.c:5066
   #52 0x0805ef58 in rb_call (klass=1075962124, recv=1075962144,  
mid=5001, argc=0, argv=0x0,
       scope=0) at eval.c:5287
   #53 0x08058b0a in rb_eval (self=1083721352, n=0x40319a8c) at  
eval.c:3076
   #54 0x0805788c in rb_eval (self=1083721352, n=0x40319ac8) at  
eval.c:2796
   #55 0x0805ea0f in rb_call0 (klass=1080806804, recv=1083721352,  
id=23873, oid=23873, argc=0,
       argv=0xbfff4c14, body=0x40319ac8, nosuper=1) at eval.c:5194
   #56 0x0805ef58 in rb_call (klass=1080806804, recv=1083721352,  
mid=23873, argc=1,
       argv=0xbfff4c10, scope=1) at eval.c:5287
   #57 0x08058dc4 in rb_eval (self=1083721352, n=0x403144c4) at  
eval.c:3091
   #58 0x08064189 in block_pass (self=1083721352, node=0x40314500) at  
eval.c:7362
   #59 0x080576e4 in rb_eval (self=1083721352, n=0x40314500) at  
eval.c:2782
   #60 0x08059b49 in rb_eval (self=1083721352, n=0x40313d80) at  
eval.c:3269
   #61 0x0805c5d4 in rb_yield_0 (val=1083720552, self=1083721352,  
klass=0, flags=0, avalue=0)
       at eval.c:4293
   #62 0x0805c886 in rb_yield (val=1083720552) at eval.c:4346
   #63 0x080d48ef in rb_ary_each (ary=1083371992) at array.c:1106
   #64 0x0806b90d in call_cfunc (func=0x80d48b8 <rb_ary_each>,  
recv=1083371992, len=0, argc=0,
       argv=0x0) at eval.c:4935
   #65 0x0805e405 in rb_call0 (klass=1075947264, recv=1083371992,  
id=3825, oid=3825, argc=0,
       argv=0x0, body=0x4021a2dc, nosuper=0) at eval.c:5066
   #66 0x0805ef58 in rb_call (klass=1075947264, recv=1083371992,  
mid=3825, argc=0, argv=0x0,
       scope=0) at eval.c:5287
   #67 0x08058b0a in rb_eval (self=1083721352, n=0x40315194) at  
eval.c:3076
   #68 0x0805788c in rb_eval (self=1083721352, n=0x40313a9c) at  
eval.c:2796
   #69 0x08057def in rb_eval (self=1083721352, n=0x403116e8) at  
eval.c:2883
   #70 0x08057413 in rb_eval (self=1083721352, n=0x4030f348) at  
eval.c:2720
   #71 0x0805c5d4 in rb_yield_0 (val=6, self=1083721352, klass=0,  
flags=0, avalue=0)
       at eval.c:4293
   #72 0x08057d30 in rb_eval (self=1080807004, n=0x406c3658) at  
eval.c:2872
   #73 0x0805ea0f in rb_call0 (klass=1080806964, recv=1080807004,  
id=5001, oid=5001, argc=0,
       argv=0x0, body=0x406c3658, nosuper=0) at eval.c:5194
   #74 0x0805ef58 in rb_call (klass=1080806964, recv=1080807004,  
mid=5001, argc=0, argv=0x0,
       scope=0) at eval.c:5287
   #75 0x08058b0a in rb_eval (self=1083721352, n=0x40317174) at  
eval.c:3076
   #76 0x0805788c in rb_eval (self=1083721352, n=0x40317750) at  
eval.c:2796
   #77 0x0805ea0f in rb_call0 (klass=1080806804, recv=1083721352,  
id=5001, oid=5001, argc=0,
       argv=0x0, body=0x40317750, nosuper=0) at eval.c:5194
   #78 0x0805ef58 in rb_call (klass=1080806804, recv=1083721352,  
mid=5001, argc=0, argv=0x0,
       scope=0) at eval.c:5287
   #79 0x08058b0a in rb_eval (self=1083722512, n=0x4030a08c) at  
eval.c:3076
   #80 0x0805ea0f in rb_call0 (klass=1077027892, recv=1083722512,  
id=5001, oid=5001, argc=0,
       argv=0x0, body=0x4030a08c, nosuper=0) at eval.c:5194
   #81 0x0805ef58 in rb_call (klass=1077027892, recv=1083722512,  
mid=5001, argc=0, argv=0x0,
       scope=0) at eval.c:5287
   #82 0x08058b0a in rb_eval (self=1076560692, n=0x40210818) at  
eval.c:3076
   #83 0x0805ea0f in rb_call0 (klass=1077021652, recv=1076560692,  
id=10313, oid=10313, argc=0,
       argv=0x0, body=0x40210818, nosuper=0) at eval.c:5194
   #84 0x0805ef58 in rb_call (klass=1077021652, recv=1076560692,  
mid=10313, argc=0, argv=0x0,
       scope=2) at eval.c:5287
   #85 0x08058dfc in rb_eval (self=1076560692, n=0x4020ddfc) at  
eval.c:3097
   #86 0x0805ea0f in rb_call0 (klass=1076564332, recv=1076560692,  
id=5001, oid=5001, argc=0,
       argv=0xbfffe594, body=0x4020ddfc, nosuper=0) at eval.c:5194
   #87 0x0805ef58 in rb_call (klass=1076564332, recv=1076560692,  
mid=5001, argc=0,
       argv=0xbfffe594, scope=1) at eval.c:5287
   #88 0x0805f083 in rb_f_send (argc=0, argv=0xbfffe594,  
recv=1076560692) at eval.c:5317
   #89 0x0806b8f3 in call_cfunc (func=0x805eff4 <rb_f_send>,  
recv=1076560692, len=-1, argc=1,
       argv=0xbfffe590) at eval.c:4932
   #90 0x0805e405 in rb_call0 (klass=1075977384, recv=1076560692,  
id=4025, oid=4025, argc=1,
       argv=0xbfffe590, body=0x4021fde0, nosuper=0) at eval.c:5066
   #91 0x0805ef58 in rb_call (klass=1075977384, recv=1076560692,  
mid=4025, argc=1,
       argv=0xbfffe590, scope=1) at eval.c:5287
   #92 0x08058dc4 in rb_eval (self=1076560692, n=0x4020e748) at  
eval.c:3091
   #93 0x0805ea0f in rb_call0 (klass=1076564332, recv=1076560692,  
id=5081, oid=5081, argc=0,
       argv=0x0, body=0x4020e748, nosuper=0) at eval.c:5194
   #94 0x0805ef58 in rb_call (klass=1076564332, recv=1076560692,  
mid=5081, argc=0, argv=0x0,
       scope=0) at eval.c:5287
   #95 0x08058b0a in rb_eval (self=1075972664, n=0x402111dc) at  
eval.c:3076
   #96 0x08053e00 in eval_node (self=1075972664, node=0x402111dc) at  
eval.c:1267
   #97 0x08054450 in ruby_exec () at eval.c:1436
   #98 0x080544cd in ruby_run () at eval.c:1457
   #99 0x08052233 in main (argc=3, argv=0xbffffe14, envp=0xbffffe24) at  
main.c:50

Any ideas?


Nathaniel

<:((><