Message282745
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? |
|
Date |
User |
Action |
Args |
2016-12-08 23:47:17 | Richard Eames | set | recipients:
+ Richard Eames |
2016-12-08 23:47:17 | Richard Eames | set | messageid: <1481240837.05.0.510119516433.issue28913@psf.upfronthosting.co.za> |
2016-12-08 23:47:16 | Richard Eames | link | issue28913 messages |
2016-12-08 23:47:16 | Richard Eames | create | |
|