From: Manolis Ragkousis <manolis837@gmail.com>
To: rennes@openmailbox.org
Cc: guix-devel@gnu.org, bug-hurd@gnu.org,
Samuel Thibault <samuel.thibault@gnu.org>
Subject: Re: Porting with Guix
Date: Sat, 7 Jan 2017 19:23:56 +0200 [thread overview]
Message-ID: <201cd52d-3901-7000-0f16-35195fe02ded@gmail.com> (raw)
In-Reply-To: <151e0e43-e0f3-81c7-e8e3-22e878a77e51@gmail.com>
Hello everyone,
Continuing my last email the deadlock in "gctest" originates from file
phtread_support.c:2007
#ifndef NO_PTHREAD_TRYLOCK
if (1 == GC_nprocs || GC_collecting) {
pthread_mutex_lock(&GC_allocate_ml)
} else {
GC_generic_lock(&GC_allocate_ml);
}
When it tries to lock GC_allocate_ml, it's already used and so
pthread_mutex_lock locks the whole program.
(gdb) p GC_allocate_ml
$2 = {__held = 1, __lock = 0, __cthreadscompat1 = 0x0, __queue = 0x0,
__attr = 0x0, __data = 0x0, __owner = 0x0, __locks = 0}
This appears to happen after a thread switch.
I will report back when I have more.
Manolis
next prev parent reply other threads:[~2017-01-07 17:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <049ec993f9462be2688767ef4f5b1ca5@openmailbox.org>
[not found] ` <27b0f619-c04e-aa37-f203-e1f4e4dbeffe@gmail.com>
[not found] ` <bf5e18f459da57ab90365b1b2cebce7c@openmailbox.org>
[not found] ` <87d1gbkg1x.fsf@elephly.net>
[not found] ` <818f301bbe2fefb975dab8a945fc02a7@openmailbox.org>
[not found] ` <e33281da-7f13-d430-949e-c4f0d785a4d4@gmail.com>
[not found] ` <e5411bd3465d64c9f9679813a1ffe233@openmailbox.org>
[not found] ` <c5252308cf2ec8607e2e5751faa31fd7@openmailbox.org>
[not found] ` <1c48fb9f2b59cd614b39141c8098493c@openmailbox.org>
[not found] ` <b794f381-168c-a3e0-5bcb-24b50a2e1c80@gmail.com>
[not found] ` <cd3732d7-75c1-26a9-5e88-28599449db78@gmail.com>
2017-01-05 0:23 ` Porting with Guix rennes
2017-01-05 15:30 ` Samuel Thibault
2017-01-05 16:21 ` Ricardo Wurmus
2017-01-05 23:07 ` Ludovic Courtès
2017-01-06 20:15 ` Manolis Ragkousis
2017-01-07 17:23 ` Manolis Ragkousis [this message]
2017-01-10 13:47 ` rennes
2017-01-10 21:54 ` Ludovic Courtès
2017-02-06 5:06 ` rennes
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201cd52d-3901-7000-0f16-35195fe02ded@gmail.com \
--to=manolis837@gmail.com \
--cc=bug-hurd@gnu.org \
--cc=guix-devel@gnu.org \
--cc=rennes@openmailbox.org \
--cc=samuel.thibault@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.