Open evanj opened 6 years ago
Seems Python 2-specific. The same script works on Debian 9 with Python 3.5.3 (after replacing print
and xrange
with their Python 3 counterpart, of course).
Hehehe I can wait til the end of the year to close this lol
At this point, that is probably a reasonable strategy :)
The following program crashes Python with various memory corruption related errors on Debian 9 and Ubuntu 17.10. The program works fine on my Mac.
forbiddenfruit
version 0.1.2 installed withpip install forbiddenfruit
Working system
Failing systems
2.7.13-2+deb9u2
2.7.12-1ubuntu0~16.04.2
2.7.14-2ubuntu2
Reproducing the errors
On a new virtual machine, run the following:
sudo apt-get install gcc libpython2.7-dev virtualenv virtualenv bugvenv bugvenv/bin/pip install forbiddenfruit bugvenv/bin/python bug.py
Example failing output
Correct output
Script