This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients vstinner, xtreak
Date 2018-07-25.14:36:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1532529408.56.0.56676864532.issue34223@psf.upfronthosting.co.za>
In-reply-to
Content
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 more information.
>>>
➜  cpython git:(f497e74) $ PYTHONDUMPREFS=1 ./python -c pass
(...)
0x7f9bac534478 [1] 'Thread-local data'
0x7f9bac538d78 [1] (<class '_thread._local'>, <class 'object'>)
0x7f9bac5343a0 [1] <built-in method __new__ of type object at 0x8b1a00>
0x7f9bac53d358 [1] <slot wrapper '__delattr__' of '_thread._local' objects>
0x7f9bac53d2d8 [1] <slot wrapper '__setattr__' of '_thread._local' objects>
0x7f9bac53d258 [1] <slot wrapper '__getattribute__' of '_thread._local' objects>
0x7f9bac541288 [1] {'__getattribute__': <slot wrapper '__getattribute__' of '_thread._local' objects>, '__delattr__': <slot wrapper '__delattr__' of '_thread._local' objects>, '__new__': <built-in method __new__ of type object at 0x8b1a00>, '__setattr__': <slot wrapper '__setattr__' of '_thread._local' objects>, '__doc__': 'Thread-local data'}
0x7f9bac53b398 [1] (<class 'object'>,)
0x8b1a00 [6] <class '_thread._local'>
0x7f9bac53d1d8 [1] <weakref at 0x7f9bac53d1d8; to 'type' at 0x8b1ba0 (_localdummy)>
0x7f9bac537270 [1] 9116576
0x7f9bac534400 [1] 'Thread-local dummy'
0x7f9bac538c28 [1] (<class '_thread._localdummy'>, <class 'object'>)
0x7f9bac541218 [1] {'__doc__': 'Thread-local dummy'}
0x7f9bac53b330 [1] (<class 'object'>,)
0x8b1ba0 [2] <class '_thread._localdummy'>
0x7f9bac598ef8 [1] [1]    15208 segmentation fault (core dumped)  PYTHONDUMPREFS=1 ./python -c pass

# Python 3.6


cpython git:(a096cc6) $ ./python
Python 3.6.6+ (remotes/upstream/3.6:a096cc6, Jul 25 2018, 14:28:43)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

➜  cpython git:(a096cc6) $ PYTHONDUMPREFS=1 ./python -c pass
0x7fab5a968758 [1] <weakref at 0x7fab5a968758; to 'type' at 0x8b7f60 (_localdummy)>
0x7fab5a965310 [1] 9142112
0x7fab5a962568 [1] 'Thread-local dummy'
0x7fab5a960c28 [1] (<class '_thread._localdummy'>, <class 'object'>)
0x7fab5a962508 [1] {'__doc__': 'Thread-local dummy'}
0x7fab5a95f128 [1] (<class 'object'>,)
0x8b7f60 [2] <class '_thread._localdummy'>
0x7fab5a9622b0 [1] {'__name__': None, '__doc__': None, '__package__': None, '__loader__': None, '__spec__': None, 'warn': None, 'warn_explicit': None, '_filters_mutated': None, 'filters': None, '_onceregistry': None, '_defaultaction': None}
0x7fab5a9686d8 [1]
0x7fab5a966740 [1] '_warnings'
0x7fab5a9497a8 [1] [1]    2975 segmentation fault (core dumped)  PYTHONDUMPREFS=1 ./python -c pass



Thanks
History
Date User Action Args
2018-07-25 14:36:48xtreaksetrecipients: + xtreak, vstinner
2018-07-25 14:36:48xtreaksetmessageid: <1532529408.56.0.56676864532.issue34223@psf.upfronthosting.co.za>
2018-07-25 14:36:48xtreaklinkissue34223 messages
2018-07-25 14:36:48xtreakcreate