Author audric
Recipients audric
Date 2017-02-04.00:52:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486169576.7.0.502230969893.issue29438@psf.upfronthosting.co.za>
In-reply-to
Content
I've managed to create a minimal test file that causes python to crashe when run with python 3.6.0 (packaged in my distribution or from hg repository), 3.6 branch from hg repository and 3.7 branch from hg repository, but works fine on 3.5.3 and 3.5 branch.

It also does not crash when python is compiled with '--with-pydebug' option (3.6/3.7)

$ uname -a
Linux 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:24:34 CET 2016 x86_64 GNU/Linux

$ python --version
Python 3.6.0

$ pip freeze
appdirs==1.4.0
packaging==16.8
pyparsing==2.1.10
python-dateutil==2.6.0
six==1.10.0
SQLAlchemy==1.1.5

To reproduce, use the attached file (minimal_crash.py):

$ virtualenv3  venv
$ source venv/bin/activate
$ pip install sqlalchemy

Run once to create DB and insert some stuff into it (no crash):
$ ./minimal_crash.py -d sqlite:///crash.db -v -c

Then re-run same thing WITHOUT re-creating the base:
$ ./minimal_crash.py -d sqlite:///crash.db -v
INFO:__main__:Connecting to DB 'sqlite:///crash.db'
Segmentation fault (core dumped)


Runing with GDB: https://gist.github.com/audricschiltknecht/5564034c5aac78d881e03f29e069a8f5
History
Date User Action Args
2017-02-04 00:52:56audricsetrecipients: + audric
2017-02-04 00:52:56audricsetmessageid: <1486169576.7.0.502230969893.issue29438@psf.upfronthosting.co.za>
2017-02-04 00:52:56audriclinkissue29438 messages
2017-02-04 00:52:56audriccreate