Zdenek Pavlas added the comment:
> for example, if you call malloc() from within a signal handler, you can get a
> deadlock or a crash if the signal was received while the process was in the
> middle of an malloc() call.
Thanks, I see the problem. malloc() implements locking (when threads are
enabled), but does not mask signals. When re-entered, this deadlocks.
status: open -> closed
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list