[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mutex failure on NetBSD-current/amd64

From: Greg Troxel
Subject: mutex failure on NetBSD-current/amd64
Date: Thu, 04 Sep 2008 08:32:18 -0400
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (berkeley-unix)

See autobuild report at

The problem seems to be the heap mutex in scm_leave_guile.

(gdb) i thr
  4 process 89960  0x00007f7ffd73370a in _lwp_park () from /usr/lib/
  3 process 155496  0x00007f7ffd732c4a in read () from /usr/lib/
  2 process 221032  0x00007f7ffd732dea in kill () from /usr/lib/
* 1 process 286568  0x00007f7ffd73370a in _lwp_park () from /usr/lib/
(gdb) thr 2
[Switching to thread 2 (process 221032)]#0  0x00007f7ffd732dea in kill ()
   from /usr/lib/
(gdb) bt
#0  0x00007f7ffd732dea in kill () from /usr/lib/
#1  0x00007f7ffcd0a754 in pthread__errorfunc () from /usr/lib/
#2  0x00007f7ffcd08787 in pthread_mutex_init () from /usr/lib/
#3  0x00007f7ffdc953e5 in scm_leave_guile () at threads.c:418
#4  0x00007f7ffcd0ad76 in pthread_exit () from /usr/lib/
#5  0x00007f7ffcd0aebb in pthread__cancelled () from /usr/lib/
#6  0x00007f7ffcd096f0 in pthread_cond_wait () from /usr/lib/
#7  0x00007f7ffdc9548e in scm_pthread_cond_wait (cond=0x7f7ffbd073e0, 
    mutex=0x7f7ffbcbf680) at threads.c:1804
#8  0x00007f7ffdc9589c in block_self (queue=<value optimized out>, 
    sleep_object=<value optimized out>, mutex=0x7f7ffbcbf680, waittime=0x0)
    at threads.c:248
#9  0x00007f7ffdc965aa in fat_mutex_unlock (mutex=0x7f7ffc78d620, 
    cond=0x7f7ffc78d4f0, waittime=0x0, relock=1) at threads.c:1427
#10 0x00007f7ffdc9674e in scm_timed_wait_condition_variable (
    cv=0x7f7ffc78d4f0, mx=0x7f7ffc78d620, t=0x204) at threads.c:1626
#11 0x00007f7ffdc4322a in ceval (x=<value optimized out>, env=0x7f7ffc790df0)
    at eval.i.c:1360
#12 0x00007f7ffdc40c93 in scm_apply (proc=0x7f7ffc4fa760, 
    arg1=<value optimized out>, args=<value optimized out>) at eval.i.c:1854
#13 0x00007f7ffdc97cd9 in scm_c_catch (tag=0x104, 
    body=0x7f7ffdc977b0 <scm_body_thunk>, body_data=0x7f7ff7fffa60, 
    handler=0x7f7ffdc977a0 <scm_handle_by_proc>, handler_data=0x7f7ff7fffa58, 
    pre_unwind_handler=0, pre_unwind_handler_data=0x7f7ff7fffa50)
    at throw.c:204
#14 0x00007f7ffdc97de7 in scm_catch_with_pre_unwind_handler (key=0x5f68, 
    thunk=<value optimized out>, handler=0x7f7ffc4f44e0, 
    pre_unwind_handler=0x204) at throw.c:588
#15 0x00007f7ffdc96cfb in really_launch (d=<value optimized out>)
    at threads.c:853
#16 0x00007f7ffdc3651a in c_body (d=0x7f7ff7fffc30) at continuations.c:346
#17 0x00007f7ffdc97cd9 in scm_c_catch (tag=0x104, 
    body=0x7f7ffdc36510 <c_body>, body_data=0x7f7ff7fffc30, 
    handler=0x7f7ffdc36530 <c_handler>, handler_data=0x7f7ff7fffc30, 
    pre_unwind_handler=0x7f7ffdc976c0 <scm_handle_by_message_noexit>, 
    pre_unwind_handler_data=0x0) at throw.c:204
#18 0x00007f7ffdc368d1 in scm_i_with_continuation_barrier (
    body=0x7f7ffdc36510 <c_body>, body_data=0x7f7ff7fffc30, 
    handler=0x7f7ffdc36530 <c_handler>, handler_data=0x7f7ff7fffc30, 
    pre_unwind_handler=0x7f7ffdc976c0 <scm_handle_by_message_noexit>, 
    pre_unwind_handler_data=0x0) at continuations.c:322
#19 0x00007f7ffdc36970 in scm_c_with_continuation_barrier (
    func=<value optimized out>, data=<value optimized out>)
    at continuations.c:364
#20 0x00007f7ffdc96da0 in scm_i_with_guile_and_parent (
    func=0x7f7ffdc96c80 <really_launch>, data=0x7f7fffffcbb0, 
    parent=0x7f7ffcc55340) at threads.c:804
#21 0x00007f7ffdc96e93 in launch_thread (d=0x7f7fffffcbb0) at threads.c:863
#22 0x00007f7ffcd0b662 in pthread_create () from /usr/lib/
#23 0x00007f7ffd753a90 in swapcontext () from /usr/lib/
#24 0x00007f7ff8000000 in ?? ()
#25 0x0000000111110001 in ?? ()
#26 0x0000000033330003 in ?? ()
#27 0x0000000000000000 in ?? ()

reply via email to

[Prev in Thread] Current Thread [Next in Thread]