This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/347] pthread_create hang after a failure


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]