Actions
Bug #11166
closedthread becames broken after unsuccessful system() or Process.spawn() call
Bug #11166:
thread becames broken after unsuccessful system() or Process.spawn() call
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
2.2.0
Description
After calling system() or Process.spawn() with non-existing command the thread works incorrectly:
- doesn't response to thread kill
- hangs forever in condition wait or mutexes
The least leads to hanging in file write() or puts() calls due wrong mutex handling or to "No live threads left. Deadlock? (fatal)"
The minimal reproducible script which shows if the thread becames unkillable:
Files
Actions