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 <1482879939.32.0.171391727334.issue25750@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
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: <1482879939.32.0.171391727334.issue25750@psf.upfronthosting.co.za>
2016-12-27 23:05:39Claudio.Freirelinkissue25750 messages
2016-12-27 23:05:39Claudio.Freirecreate