From: Greg Troxel <gdt@ir.bbn.com>
To: guile-devel@gnu.org
Subject: thread assert with 1.8.2
Date: Thu, 19 Jul 2007 20:56:23 -0400 [thread overview]
Message-ID: <rmizm1r6gg8.fsf@fnord.ir.bbn.com> (raw)
I just updated pkgsrc to 1.8.2, and on NetBSD-current/i386 make check
fails in the thread test with:
Running threads.test
guile: Error detected by libpthread: Unlocking unlocked mutex.
Detected by file "/usr/home/gdt/NetBSD-current/src/lib/libpthread/pthread_mutex.c", line 357, function "pthread_mutex_unlock".
See pthread(3) for information.
[1] Abort trap (core dumped) ${dir}${tst}
The core has several threads, nad this is the one that hit the assert:
(gdb) bt
#0 0xbb9d6bdb in kill () from /usr/lib/libc.so.12
#1 0xbbaa3d9b in pthread__errorfunc () from /usr/lib/libpthread.so.0
#2 0xbbaa1d49 in pthread_mutex_unlock () from /usr/lib/libpthread.so.0
#3 0xbbb9875c in scm_leave_guile () from /usr/home/gdt/NetBSD-current/pkgsrc/lang/guile/work/guile-1.8.2/libguile/.libs/libguile.so.17
#4 0xbbb99c4e in on_thread_exit () from /usr/home/gdt/NetBSD-current/pkgsrc/lang/guile/work/guile-1.8.2/libguile/.libs/libguile.so.17
#5 0xbbaa0e1c in pthread__destroy_tsd () from /usr/lib/libpthread.so.0
#6 0xbbaa5119 in pthread_exit () from /usr/lib/libpthread.so.0
#7 0xbbaa5499 in pthread_setcancelstate () from /usr/lib/libpthread.so.0
#8 0xbb9f9370 in swapcontext () from /usr/lib/libc.so.12
Perhaps someone could try this on Linux with the right magic debug
variables to object to unlocking an unlocked mutex. (On NetBSD, the
default behavior is to abort on any operation which the standard says is
undefined.)
On NetBSD 4.0ish, which has a different thread implementation, I get the
same assert.
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
next reply other threads:[~2007-07-20 0:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-20 0:56 Greg Troxel [this message]
2007-08-16 0:35 ` thread assert with 1.8.2 Kevin Ryde
2007-08-22 22:36 ` Ludovic Courtès
2007-08-22 23:39 ` Greg Troxel
2007-08-22 23:48 ` Greg Troxel
2007-10-02 16:18 ` Ludovic Courtès
2007-10-04 16:22 ` Ludovic Courtès
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=rmizm1r6gg8.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).