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 Claudio.Freire
Recipients Claudio.Freire, arigo, devurandom, erik.bray, fbissey, jdemeyer, pitrou, scoder, serhiy.storchaka
Date 2016-12-27.23:05:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I cannot be 100% sure, but we have ample evidence suggesting we're experiencing this same crash in production.

We have a big system that mixes Cython and pure-python coroutines, and in one version we started seeing segfaults that strongly hint at this root cause.

Adding pure-python indirections (that keep the arguments alive, I'd wager), fixes those segfaults.

I cannot share the codebase (and in any case it's too big, and the crash is too difficult to reproduce in isolation, without real traffic), but I'd add my +1 on applying this fix.

We're currently testing to try and reproduce the segfaults on 2.7.13, after that I'll try jdemeyer's patch and report the results.
Date User Action Args
2016-12-27 23:05:39Claudio.Freiresetrecipients: + Claudio.Freire, arigo, pitrou, scoder, devurandom, fbissey, erik.bray, serhiy.storchaka, jdemeyer
2016-12-27 23:05:39Claudio.Freiresetmessageid: <>
2016-12-27 23:05:39Claudio.Freirelinkissue25750 messages
2016-12-27 23:05:39Claudio.Freirecreate