[New-bugs-announce] [issue26811] segfault due to null pointer in tuple
report at bugs.python.org
Wed Apr 20 20:20:16 EDT 2016
New submission from random832:
I was writing something that iterates over all objects in gc.get_objects(). I don't know precisely where the offending tuple is coming from, but nearby objects in gc.get_objects() appear to be related to frozen_importlib.
A tuple exists somewhere with a null pointer in it. Attempting to iterate over it or access its item results in a segmentation fault.
I confirmed this on both Linux and OSX.
Python 3.6.0a0 (default:778ccbe3cf74, Apr 20 2016, 20:17:38)
components: Interpreter Core
title: segfault due to null pointer in tuple
versions: Python 3.6
Added file: http://bugs.python.org/file42545/fnt.py
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce