[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SIGSEGV on recursive pthread_join
From: |
Jeroen Dekkers |
Subject: |
Re: SIGSEGV on recursive pthread_join |
Date: |
Mon, 5 Jan 2004 18:54:24 +0100 |
User-agent: |
Mutt/1.5.4i |
On Mon, Jan 05, 2004 at 05:17:47PM +0100, Richard Guenther wrote:
> I'm experiencing a weird behavior with the NPTL threads, as that my
> application (sf.net/projects/glame) segfaults upon invocation of a
> pthread_join while the main process is currently joining the thread that
> tries to do the join. I.e.
>
> main:
> pthread_join(thread1)
>
> thread1:
> pthread_join(thread2)
> ...
> pthread_join(threadN)
>
> thread2..N:
> maybe completed
>
> and now as soon as thread1 joins thread2, the pthread_join() in main
> segfaults! The backtrace is not very helpful, it just shows pthread_join
> from /lib/tls/libpthread.so.0. If using a libc with debugging symbols,
> the failure does _not_ occour!? All threads were launched by main
> initially.
You can't join a thread more than once.
Jeroen Dekkers
- SIGSEGV on recursive pthread_join, Richard Guenther, 2004/01/05
- Re: SIGSEGV on recursive pthread_join,
Jeroen Dekkers <=
- Re: SIGSEGV on recursive pthread_join, Richard Guenther, 2004/01/05
- Re: SIGSEGV on recursive pthread_join, Jeroen Dekkers, 2004/01/05
- Re: SIGSEGV on recursive pthread_join, Richard Guenther, 2004/01/06
- Re: SIGSEGV on recursive pthread_join, Jeroen Dekkers, 2004/01/07
- Re: SIGSEGV on recursive pthread_join, Richard Guenther, 2004/01/08
- Re: SIGSEGV on recursive pthread_join, Andreas Schwab, 2004/01/09
- Re: SIGSEGV on recursive pthread_join, Richard Guenther, 2004/01/08
- Re: SIGSEGV on recursive pthread_join, Jeroen Dekkers, 2004/01/08
- Re: SIGSEGV on recursive pthread_join, Richard Guenther, 2004/01/08