This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zdenek.pavlas
Recipients jcea, neologix, zdenek.pavlas
Date 2012-11-27.13:16:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354022185.46.0.299077793498.issue16560@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2012-11-27 13:16:25zdenek.pavlassetrecipients: + zdenek.pavlas, jcea, neologix
2012-11-27 13:16:25zdenek.pavlassetmessageid: <1354022185.46.0.299077793498.issue16560@psf.upfronthosting.co.za>
2012-11-27 13:16:25zdenek.pavlaslinkissue16560 messages
2012-11-27 13:16:25zdenek.pavlascreate