[issue34223] PYTHONDUMPREFS=1 ./python -c pass does crash

2018-09-24 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of 30156. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> PYTHONDUMPREFS segfaults on exit ___ Python tracker

[issue34223] PYTHONDUMPREFS=1 ./python -c pass does crash

2018-07-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems like this is the same as https://bugs.python.org/issue30156. Relevant commit : https://github.com/python/cpython/commit/7822f151b68e40376af657d267ff774439d9adb9 . Comment on the commit : https://github.com/python/cpython/commit/7822f151b68

[issue34223] PYTHONDUMPREFS=1 ./python -c pass does crash

2018-07-25 Thread STINNER Victor
New submission from STINNER Victor : It seems like Python has an invalid object somewhere. PYTHONDUMPREFS=1 makes Python crash at exit. $ PYTHONDUMPREFS=1 ./python -c pass (...) 0x7f1992292448 [1] (, ) 0x7f1992241aa8 [1] {'__doc__': 'Thread-local dummy'} 0x7f199222c740 [1] (,) 0x9c98a0 [2] 0x

[issue34223] PYTHONDUMPREFS=1 ./python -c pass does crash

2018-07-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Python 3.4 seems fine ➜ cpython git:(57b85d3) ./python Python 3.4.9rc1+ (default, Jul 25 2018, 14:39:07) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> ➜ cpython git:(57b85d3) time PYTHONDUM

[issue34223] PYTHONDUMPREFS=1 ./python -c pass does crash

2018-07-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can reproduce this on Python 3.5 and 3.6 too # Python 3.5 ➜ cpython git:(f497e74) $ ./python Python 3.5.6rc1+ (remotes/upstream/3.5:f497e74, Jul 25 2018, 14:32:33) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for mo