From: Greg Troxel <gdt@ir.bbn.com>
To: guile-devel@gnu.org
Subject: pthread crash on master
Date: Thu, 15 Jan 2009 12:20:53 -0500 [thread overview]
Message-ID: <rmi4p00wkne.fsf@fnord.ir.bbn.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3884 bytes --]
(Thansk - now I can build master and branch-release_18.)
1.8 passes make check. master fails with a core dump due to mutex abuse
in the socket test:
http://autobuild.josefsson.org/guile/log-200901151131125464000.txt
here is a backtrace of the thread that crashed
(gdb) i thr
4 process 69671 0x00007f7ffd7337ba in _lwp_park () from /usr/lib/libc.so.12
3 process 135207 0x00007f7ffd732cfa in read () from /usr/lib/libc.so.12
2 process 200743 0x00007f7ffd732e9a in kill () from /usr/lib/libc.so.12
* 1 process 266279 0x00007f7ffd7337ba in _lwp_park () from /usr/lib/libc.so.12
(gdb) thr 2
[Switching to thread 2 (process 200743)]#0 0x00007f7ffd732e9a in kill () from /usr/lib/libc.so.12
(gdb) bt
#0 0x00007f7ffd732e9a in kill () from /usr/lib/libc.so.12
#1 0x00007f7ffcd0a754 in pthread__errorfunc () from /usr/lib/libpthread.so.0
#2 0x00007f7ffcd08787 in pthread_mutex_init () from /usr/lib/libpthread.so.0
#3 0x00007f7ffdc928b5 in scm_leave_guile () at threads.c:433
#4 0x00007f7ffcd0ad76 in pthread_exit () from /usr/lib/libpthread.so.0
#5 0x00007f7ffcd0aebb in pthread__cancelled () from /usr/lib/libpthread.so.0
#6 0x00007f7ffcd096f0 in pthread_cond_wait () from /usr/lib/libpthread.so.0
#7 0x00007f7ffdc92962 in scm_pthread_cond_wait (cond=0x7f7ffcc01568, mutex=0x7f7ffbce8430) at threads.c:1832
#8 0x00007f7ffdc92e82 in block_self (queue=<value optimized out>, sleep_object=<value optimized out>, mutex=0x7f7ffbce8430,
waittime=0x0) at threads.c:264
#9 0x00007f7ffdc93c12 in fat_mutex_unlock (mutex=0x7f7ffc823ee0, cond=0x7f7ffc823bc0, waittime=0x0, relock=1)
at threads.c:1462
#10 0x00007f7ffdc93d9e in scm_timed_wait_condition_variable (cv=0x7f7ffc823bc0, mx=0x7f7ffc823ee0, t=0x204) at threads.c:1656
#11 0x00007f7ffdc41d7e in ceval (x=<value optimized out>, env=0x7f7ffc82cf30) at eval.i.c:1360
#12 0x00007f7ffdc3f7f3 in scm_apply (proc=0x7f7ffc77e980, arg1=<value optimized out>, args=<value optimized out>)
at eval.i.c:1854
#13 0x00007f7ffdc95339 in scm_c_catch (tag=0x104, body=0x7f7ffdc94e10 <scm_body_thunk>, body_data=0x7f7ff7fffa60,
handler=0x7f7ffdc94e00 <scm_handle_by_proc>, handler_data=0x7f7ff7fffa58, pre_unwind_handler=0,
pre_unwind_handler_data=0x7f7ff7fffa50) at throw.c:207
#14 0x00007f7ffdc95447 in scm_catch_with_pre_unwind_handler (key=0x1027, thunk=<value optimized out>, handler=0x7f7ffc77c8a0,
pre_unwind_handler=0x204) at throw.c:591
#15 0x00007f7ffdc9433b in really_launch (d=<value optimized out>) at threads.c:891
#16 0x00007f7ffdc3507a in c_body (d=0x7f7ff7fffc30) at continuations.c:349
#17 0x00007f7ffdc95339 in scm_c_catch (tag=0x104, body=0x7f7ffdc35070 <c_body>, body_data=0x7f7ff7fffc30,
handler=0x7f7ffdc35090 <c_handler>, handler_data=0x7f7ff7fffc30,
pre_unwind_handler=0x7f7ffdc94d20 <scm_handle_by_message_noexit>, pre_unwind_handler_data=0x0) at throw.c:207
#18 0x00007f7ffdc35431 in scm_i_with_continuation_barrier (body=0x7f7ffdc35070 <c_body>, body_data=0x7f7ff7fffc30,
handler=0x7f7ffdc35090 <c_handler>, handler_data=0x7f7ff7fffc30,
pre_unwind_handler=0x7f7ffdc94d20 <scm_handle_by_message_noexit>, pre_unwind_handler_data=0x0) at continuations.c:325
#19 0x00007f7ffdc354d0 in scm_c_with_continuation_barrier (func=<value optimized out>, data=<value optimized out>)
at continuations.c:367
#20 0x00007f7ffdc943f2 in scm_i_with_guile_and_parent (func=0x7f7ffdc942c0 <really_launch>, data=0x7f7fffffc6a0,
parent=0x7f7ffcc55340) at threads.c:842
#21 0x00007f7ffdc944e3 in launch_thread (d=0x7f7fffffc6a0) at threads.c:901
#22 0x00007f7ffcd0b662 in pthread_create () from /usr/lib/libpthread.so.0
#23 0x00007f7ffd753bd0 in swapcontext () from /usr/lib/libc.so.12
#24 0x00007f7ff8000000 in ?? ()
#25 0x0000000111110001 in ?? ()
#26 0x0000000033330003 in ?? ()
#27 0x0000000000000000 in ?? ()
[-- Attachment #2: Type: application/pgp-signature, Size: 193 bytes --]
next reply other threads:[~2009-01-15 17:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-15 17:20 Greg Troxel [this message]
2009-01-15 21:54 ` pthread crash on master Neil Jerram
2009-01-15 23:03 ` Neil Jerram
2009-01-16 16:41 ` Greg Troxel
2009-01-17 22:28 ` Neil Jerram
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rmi4p00wkne.fsf@fnord.ir.bbn.com \
--to=gdt@ir.bbn.com \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).