Anonymous | Login | Signup for a new account | 2025-05-14 07:10 EDT | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000268 | JANA | Bug | public | 2012-07-09 10:10 | 2012-08-16 09:41 | ||||
Reporter | davidl | ||||||||
Assigned To | davidl | ||||||||
Priority | normal | Severity | minor | Reproducibility | sometimes | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Summary | 0000268: Ctl-C causes program to hang | ||||||||
Description | Sometimes a program hangs (or appears to) and the user hits Ctl-C several times to kill it. Eventually, it tries to do a more serious kill, but the program is hopelessly hung until the user kills it externally. This may be due to the main thread being held up in pthread_join while the thread it's waiting on has been otherwise destroyed. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
(0000430) davidl (administrator) 2012-08-16 09:41 |
Added a call to JApplication::Fini(...) and then the JApplication destructor when 3 SIGINTs are received. An optional argument allows the locking of the app mutex to be skipped in Fini, hopefully minimizing the chances that it gets stuck. Program exits when 3 SIGINTs are received afterwards. If 6 SIGINTs are received, then the program just tries to exit immediately. This could be useful if the program gets stuck in the Fini or ~JApplication methods while handling the 3rd SIGINT. I did not have a working system that exhibited the problem so this really couldn't be tested. |
![]() |
|||
Date Modified | Username | Field | Change |
2012-07-09 10:10 | davidl | New Issue | |
2012-08-16 09:41 | davidl | Note Added: 0000430 | |
2012-08-16 09:41 | davidl | Status | new => resolved |
2012-08-16 09:41 | davidl | Resolution | open => fixed |
2012-08-16 09:41 | davidl | Assigned To | => davidl |
Copyright © 2000 - 2025 MantisBT Team |