mimalloc icon indicating copy to clipboard operation
mimalloc copied to clipboard

mimalloc MI_TRACK_ASAN option can not be used together with MI_USE_CXX

Open myk502 opened this issue 1 year ago • 1 comments

I am using mimalloc v2.1.7 and compile & running it on Ubuntu, Linux 5.15.0. When I turn on both two options, with MI_OVERRIDE turned on, compile my own program with asan options, the program can not run as expected, but failed in mimalloc instead.

myk502 avatar Dec 18 '24 02:12 myk502

I just tried:

$ cmake ../.. -DMI_TRACK_ASAN=ON -DMI_USE_CXX=ON
$ make -j
$ ./mimalloc-test-stress

and it seems to work. Can you provide more info?

daanx avatar Dec 31 '24 19:12 daanx