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 tim.peters
Recipients christian.heimes, ggardet, nascheme, tim.peters, vstinner
Date 2021-03-31.19:11:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617217889.92.0.163403571869.issue43593@roundup.psfhosted.org>
In-reply-to
Content
I'm skeptical ;-) If MTE is actually being used, system software assigns "random" values to 4 of the higher-order bits. When obmalloc punts to the system malloc, presumably those bits will be randomized in the addresses returned by malloc. Then it's just not possible that obmalloc's

    assert(HIGH_BITS(p) == HIGH_BITS(&arena_map_root));

can always succeed - we're insisting there that _all_ the high-order bits are exactly the same as in the `&arena_map_root` file static.  If `p` was actually obtained from the system `malloc()`, it should fail about 15 times out of 16 (and regardless of which of the 16 bit patterns the platform C assigns to &arena_map_root).

But, of course, that failure would only be seen in a debug build.
History
Date User Action Args
2021-03-31 19:11:29tim.peterssetrecipients: + tim.peters, nascheme, vstinner, christian.heimes, ggardet
2021-03-31 19:11:29tim.peterssetmessageid: <1617217889.92.0.163403571869.issue43593@roundup.psfhosted.org>
2021-03-31 19:11:29tim.peterslinkissue43593 messages
2021-03-31 19:11:29tim.peterscreate