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.

classification
Title: Python 2.x breaks with address sanitizer
Type: enhancement Stage: resolved
Components: Versions: Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, hanno, python-dev
Priority: normal Keywords: patch

Created on 2015-04-26 13:17 by hanno, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-2.7.9-workaround-asan.diff hanno, 2015-04-26 13:17 patch / address sanitizer workaround
Messages (2)
msg242055 - (view) Author: Hanno Boeck (hanno) * Date: 2015-04-26 13:17
Right now it is not possible to build python 2.7.9 with address sanitizer. This issue has been worked around for python 3 in bug #18596 by marking some functions with attributes to tell address sanitizer to ignore them.

I have attached a patch that will apply the same workaround to python 2.7. I'd apprechiate if this could be applied before the next python 2 release. Although it's the "old" python 2 version I think this is important enough to be backported.
msg242088 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-04-27 00:35
New changeset 4234b0dd2a54 by Benjamin Peterson in branch '2.7':
allow 2.7 to be built with asan (closes #24061)
https://hg.python.org/cpython/rev/4234b0dd2a54
History
Date User Action Args
2022-04-11 14:58:16adminsetgithub: 68249
2015-04-27 00:35:05python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg242088

resolution: fixed
stage: resolved
2015-04-26 21:42:52ned.deilysetnosy: + benjamin.peterson
2015-04-26 13:17:44hannosettype: enhancement
2015-04-26 13:17:30hannocreate