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 Richard Eames
Recipients Richard Eames
Date 2016-12-08.23:47:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481240837.05.0.510119516433.issue28913@psf.upfronthosting.co.za>
In-reply-to
Content
I've been porting a project to the latest version of Django, and due to one of the changes in the Django, caused a recursion error in my code. However, the error (under certain conditions) then causes the python interpreter to core dump. I'm not 100% sure what causes this to happen, but it does seem to be similar to https://bugs.python.org/issue6028

I've created a minimal django project: 
https://github.com/Naddiseo/python-core-dump

However, it does rely on some interaction between mysql, pymysql, and django to be reproduced, the latter two being 100% python code. I'm sorry that I could not reduce the test case further.

One of the interesting/weird things about this bug is that (on my machine at least) it requires exactly 15 entries in the `MIDDLEWARE` variable in "coredump/settings.py" in my test project, any more, or any less will cause the interpreter to issue a `RecursionError` as expected, but not to core dump. 

This appears to happen in 3.5, and not in 3.6 so perhaps whatever fix was applied to 3.6 can be backported to 3.5 so that it doesn't core dump?
History
Date User Action Args
2016-12-08 23:47:17Richard Eamessetrecipients: + Richard Eames
2016-12-08 23:47:17Richard Eamessetmessageid: <1481240837.05.0.510119516433.issue28913@psf.upfronthosting.co.za>
2016-12-08 23:47:16Richard Eameslinkissue28913 messages
2016-12-08 23:47:16Richard Eamescreate