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 FrancescElies
Recipients FrancescElies, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-11-25.08:16:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1637828171.92.0.728472074607.issue45842@roundup.psfhosted.org>
In-reply-to
Content
I tested the same script in ubuntu and got the following.

==1361==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.

While on windows he does not complain about ASan runtime not bein first in initial library list.

Once I use LD_PRELOAD in linux. Lsan detected memory leaks, after suppressing them with LSAN_OPTIONS=detect_leaks=0, the script ran fine.

So far I could not find an LD_PRELOAD equivalent in windows.

I am suspecting if one would compile python with asan and run the test on windows, I would get similar results as in linux. Sadly at the moment asan suppressions doesn't seem to work on windows.

I think this is not a real bug on python but the way we are loading asan-rt in windows. Once I am sure I will colse this bug.
History
Date User Action Args
2021-11-25 08:16:12FrancescEliessetrecipients: + FrancescElies, paul.moore, tim.golden, zach.ware, steve.dower
2021-11-25 08:16:11FrancescEliessetmessageid: <1637828171.92.0.728472074607.issue45842@roundup.psfhosted.org>
2021-11-25 08:16:11FrancescElieslinkissue45842 messages
2021-11-25 08:16:11FrancescEliescreate