This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/4509] pthread_kill() Segmentation Fault when TID is invalid
- From: "elciofried at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 15 May 2007 20:37:19 -0000
- Subject: [Bug nptl/4509] pthread_kill() Segmentation Fault when TID is invalid
- References: <20070515135203.4509.elciofried@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From elciofried at gmail dot com 2007-05-15 21:37 -------
(In reply to comment #2)
> The thread library has no obligation to catch invalid thread IDs. It cannot.
> Your code is wrong.
What is the purpose of the error code ESRCH if the thread library has no
obligation to catch invalid thread ID ??
How can i verify if a thread is dead or alive if when i send a signal to ask, my
application is going down. Is it difficult to implement an error message of an
invalid id ?
Let say POSIX do not say anything about it, but we could not allow a
Segmentation Fault ERROR. Don't you think ?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4509
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.