Message211049
Charles-François wrote:
> see issue #19466: I think that the change to clear the frame of daemon
> threads was a mistake
Good catch. If I reverted changes of #19466, threading_shutdown_interrupted.py doesn't crash anymore.
It doesn't explain how the GC header of a frame object becomes inconsistent.
IMO fixing #19466 was a good idea but because these changes, some bugs became more likley.
Maybe we can revert #19466, then try to understand and fix this GC inconstency, and later fix again #19466?
--
Oh by the way, threading_shutdown_interrupted.py shows also a deadlock. The main threads waits in threading._shutdown(), but this function is interrupted. Then it calls flush_std_files() which waits for a lock on stdout. The problem is that a thread was writing into stdout, but this thread is no more running and holds the lock. |
|
Date |
User |
Action |
Args |
2014-02-12 00:35:54 | vstinner | set | recipients:
+ vstinner, gvanrossum, pitrou, larry, neologix, serhiy.storchaka |
2014-02-12 00:35:54 | vstinner | set | messageid: <1392165354.73.0.337703874053.issue20526@psf.upfronthosting.co.za> |
2014-02-12 00:35:54 | vstinner | link | issue20526 messages |
2014-02-12 00:35:54 | vstinner | create | |
|