Message226388
I reproduced the crash with pyfailmalloc. The problem is that _posixsubprocess.fork_exec() calls gc.enable() on error when preexec_fn is set and the garbage collector was disabled (by fork_exec). Calling a function with an exception set is forbidden.
Attached patch fixes this issue, but fix also error handling in fork_exec() and add some unit tests. |
|
Date |
User |
Action |
Args |
2014-09-04 23:11:36 | vstinner | set | recipients:
+ vstinner |
2014-09-04 23:11:36 | vstinner | set | messageid: <1409872296.75.0.697798580744.issue22290@psf.upfronthosting.co.za> |
2014-09-04 23:11:36 | vstinner | link | issue22290 messages |
2014-09-04 23:11:36 | vstinner | create | |
|