[issue22653] Crash in insertdict
Antoine Pitrou
report at bugs.python.org
Thu Oct 16 14:31:22 CEST 2014
Antoine Pitrou added the comment:
Ok, here is how to reproduce deterministically:
1) apply randomsecret.patch to hardcode the siphash initialization values
2) run "cat dictcrash.py | ./python -i":
Python 3.5.0a0 (default:030fda7b1de8+, Oct 16 2014, 14:27:32)
[GCC 4.8.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> >>> >>> >>> __main__:1: ResourceWarning: unclosed file <_io.BufferedWriter name='x'>
python: Objects/dictobject.c:855: insertdict: Assertion `ep->me_key != ((void *)0) && ep->me_key != (&_dummy_struct)' failed.
Abandon
----------
keywords: +patch
Added file: http://bugs.python.org/file36947/randomsecret.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22653>
_______________________________________
More information about the Python-bugs-list
mailing list