This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/14744] kill -32 $pid or kill -33 $pid on a process cancels a random thread
- From: "neleai at seznam dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 10 Jan 2014 22:07:33 +0000
- Subject: [Bug nptl/14744] kill -32 $pid or kill -33 $pid on a process cancels a random thread
- Auto-submitted: auto-generated
- References: <bug-14744-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=14744
Ondrej Bilka <neleai at seznam dot cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |neleai at seznam dot cz
--- Comment #1 from Ondrej Bilka <neleai at seznam dot cz> ---
> I am unsure whether the impact is limited to user error (issuing the kill
> command manually) or could arise in other ways. In any case, for robustness, I
> think the signal handler should be a no-op unless pthread_cancel was really
> called in the application.
That would make problem worse as with that kill would sometimes kill random
thread if a cancellation was called in meantime which is harder to detect as
offending code would be mostly nop.
If this needs handled then by aborting affected process.
--
You are receiving this mail because:
You are on the CC list for the bug.