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 btharper
Recipients btharper, matrixise, ned.deily, vstinner
Date 2019-03-25.01:52:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1553478762.31.0.30552671157.issue36356@roundup.psfhosted.org>
In-reply-to
Content
I'm not sure about the change from 3.7 to master, but that assertion may be more likely to happen while instrumented with ASAN due to the extra space reserved between heap objects. As far as I can tell it's just expecting that the offset of two pointers will fit within an int instead of a intptr_t (4 bytes versus 8 bytes on my system).

For me running the test_pydoc from the test suite fails reliably with the parsetok.c assertion failure, but can be made to pass with a smaller ASAN redzone. The redzone must be a power of 2 and at least 16, default of 2048.

Fails:
ASAN_OPTIONS="max_redzone=256" ./python Tools/scripts/run_tests.py test_pydoc

Passes:
ASAN_OPTIONS="max_redzone=128" ./python Tools/scripts/run_tests.py test_pydoc

Values of 16, 32, and 64 also pass.
History
Date User Action Args
2019-03-25 01:52:42btharpersetrecipients: + btharper, vstinner, ned.deily, matrixise
2019-03-25 01:52:42btharpersetmessageid: <1553478762.31.0.30552671157.issue36356@roundup.psfhosted.org>
2019-03-25 01:52:42btharperlinkissue36356 messages
2019-03-25 01:52:42btharpercreate