This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug nptl/347] pthread_create hang after a failure
- From: "jakub at redhat dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 30 Aug 2004 11:25:35 -0000
- Subject: [Bug nptl/347] pthread_create hang after a failure
- References: <20040826155041.347.sebastien.decugis@ext.bull.net>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From jakub at redhat dot com 2004-08-30 11:25 -------
Can't reproduce, works just fine here (both pthread_create calls report EPERM).
But the strace listing you provided definitely looks very wrong:
sched_setscheduler(0, SCHED_FIFO, { 99 }) = -1 EPERM (Operation not permitted)
tgkill(17736, 0, SIGRTMIN) = -1 EINVAL (Invalid argument)
(instead of 0 there should be 17737). When I run it under strace I get
the right tid there.
To both calls, pd->tid is passed and pd->tid is supposed to be set by the kernel
in the clone syscall (&pd->tid is passed as both parent_tidptr and child_tidptr
argument).
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=347
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.