Bug 247907
Summary: | [cvs] Lockup on exit_group() by the non-leader of 3 threads | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Kratochvil <jan.kratochvil> | ||||||||
Component: | strace | Assignee: | Roland McGrath <roland> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | low | ||||||||||
Version: | rawhide | ||||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | 4.5.16-1.fc7 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2007-08-06 17:59:36 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 222053 | ||||||||||
Attachments: |
|
Description
Jan Kratochvil
2007-07-11 22:22:33 UTC
Created attachment 159013 [details]
Testcase (`leaderkill2.c').
Created attachment 159827 [details]
patch does not work
Please follow up on the mailing list about this.
I tried the obvious patch and it did not make a happy strace for this test.
Created attachment 160505 [details] patch does work Compared to the Attachment 159827 [details] there is missing the last part - leader->flags |= TCB_GROUP_EXITING; but I do not see much reasons to do it there, I expect you did just a cleanup of the code. committed upstream Fixed in Rawhide strace-4.5.16-1.fc8: * Fri Aug 3 2007 Roland McGrath <roland> - 4.5.16-1 - fix multithread issues ([...], #247907) and upstream: 2007-08-02 Jan Kratochvil <jan.kratochvil> * strace.c (detach): Moved the resume notification code to ... (resume_from_tcp): ... a new function here. (handle_group_exit): No longer detach also the thread group leader. (trace): Fixed panic on exit of the TCB_GROUP_EXITING leader itself. Fixes RH#247907. * test/leaderkill.c (start): Renamed to ... (start0): ... here. (start1): New function. (main): Created a new spare thread. strace-4.5.16-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. |