Karthikeyan Singaravelan <tir.kar...@gmail.com> 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/7822f151b68e40376af657d267ff774439d9adb9#commitcomment-21880815 Python 3.5.1 works fine but Python 3.5.2rc1 will crash. # Python 3.5.2rc1 crash $ git checkout v3.5.2rc1 && git clean -xdf && time ./configure --with-pydebug && make -s -j4 && PYTHONDUMPREFS=1 ./python -c pass (...) 0x7f8915f0b258 [1] <slot wrapper '__getattribute__' of '_thread._local' objects> 0x7f8915f0d3d8 [1] {'__setattr__': <slot wrapper '__setattr__' of '_thread._local' objects>, '__doc__': 'Thread-local data', '__delattr__': <slot wrapper '__delattr__' of '_thread._local' objects>, '__getattribute__': <slot wrapper '__getattribute__' of '_thread._local' objects>, '__new__': <built-in method __new__ of type object at 0x8ad8e0>} 0x7f8915f09260 [1] (<class 'object'>,) 0x8ad8e0 [6] <class '_thread._local'> 0x7f8915f0b1d8 [1] <weakref at 0x7f8915f0b1d8; to 'type' at 0x8ada80 (_localdummy)> 0x7f8915f05270 [1] 9099904 0x7f8915f00298 [1] 'Thread-local dummy' 0x7f8915f06d78 [1] (<class '_thread._localdummy'>, <class 'object'>) 0x7f8915f0d368 [1] {'__doc__': 'Thread-local dummy'} 0x7f8915f091f8 [1] (<class 'object'>,) 0x8ada80 [2] <class '_thread._localdummy'> 0x7f8915f0d218 [1] {'_filters_mutated': None, 'warn': None, 'warn_explicit': None, '__spec__': None, '_defaultaction': None, '__loader__': None, 'filters': None, '__package__': None, '__doc__': None, '_onceregistry': None, '__name__': None} 0x7f8915f0b158 [1] 0x7f8915f0d190 [1] '_warnings' 0x7f8915f65e28 [1] [1] 8258 segmentation fault (core dumped) PYTHONDUMPREFS=1 ./python -c pass # Python 3.5.1 works fine $ git checkout v3.5.1 && git clean -xdf && time ./configure --with-pydebug && make -s -j4 && PYTHONDUMPREFS=1 ./python -c pass (...) 0x7f60ba2e51e0 [58] str 0x7f60ba2e5178 [67] str 0x7f60ba2e5110 [58] str 0x7f60ba2e50a8 [58] str 0x7f60ba2e5040 [38] str 0x7f60ba2e3350 [22] str 0x7f60ba2e32e0 [51] str 0x7f60ba2e3270 [156] str 0x7f60ba2e3200 [22] str 0x7f60ba2e3190 [22] str 0x7f60ba2e3120 [6] str 0x7f60ba2e30c8 [1] dict 0x7f60ba2e4040 [142] str 0x7f60ba2e3058 [1] dict 0x7f60ba2e2058 [352] tuple 0x8986e0 [423] type Thanks ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34223> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com