From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: pthreads broken (freeradius testcase)
Date: Thu, 15 Jan 2015 19:23:31 -0500 [thread overview]
Message-ID: <20150116002331.GV4574@brightrain.aerifal.cx> (raw)
In-Reply-To: <54B85738.1040503@dd-wrt.com>
On Fri, Jan 16, 2015 at 01:11:36AM +0100, Sebastian Gottschall wrote:
> sorry i forgot the full content. of the message. the first attemt
> failed due a too big attachment
>
>
> i can help you more. because i found the deadlocking function.
> its setresuid which hangs forever. (i know that you submitted a
> patch recently which is related to that function, but i dont know if
> this will help here)
> debugging is more complicated with gdb here. its a embedded system
> without any remote debugging support
>
> its exact the same problem which is described here, but without any
> further solution or problem cause
>
> http://freeradius.1045715.n5.nabble.com/Hack-way-to-compile-freeradius-causing-freeradius-to-hang-under-multithread-mode-td2794760.html
Interesting. If the deadlock happens in setresuid, this may actually
be a very timely bug report. The mailing list threads about
multithreaded set*id/synccall, and my new blog post based on them,
http://ewontfix.com/17, are about fixing longstanding problems in this
area. I'll look into how it's being used in freeradius and see if I
can tell what's going on. I'm also going to be committing new code for
this soon (probably in the next 24 hrs) so you could give it a try
with that too and see if the problem goes away.
Rich
next prev parent reply other threads:[~2015-01-16 0:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-15 22:52 Sebastian Gottschall
2015-01-15 23:10 ` Rich Felker
2015-01-15 23:42 ` Rich Felker
2015-01-15 23:53 ` Sebastian Gottschall
2015-01-16 0:11 ` Sebastian Gottschall
2015-01-16 0:23 ` Rich Felker [this message]
2015-01-16 1:53 ` Sebastian Gottschall
2015-01-16 7:20 ` Natanael Copa
2015-01-16 8:07 ` Sebastian Gottschall
2015-01-16 11:44 ` Sebastian Gottschall
2015-01-16 16:25 ` Rich Felker
2015-01-16 17:57 ` Sebastian Gottschall
2015-01-16 18:09 ` Rich Felker
2015-01-16 21:59 ` Sebastian Gottschall
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=20150116002331.GV4574@brightrain.aerifal.cx \
--to=dalias@libc.org \
--cc=musl@lists.openwall.com \
/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 public inbox
https://git.vuxu.org/mirror/musl/
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 NNTP newsgroup(s).