mimalloc icon indicating copy to clipboard operation
mimalloc copied to clipboard

Crash on application startup on Win7 but normal on Win10

Open Sdalin1 opened this issue 1 year ago • 2 comments

Sdalin1 avatar Feb 02 '24 11:02 Sdalin1

When I use mimalloc by static linking, my program runs normally. However, when I use dynamic linking (mimalloc-override.dll + mimalloc-redirect.dll), my program crashes before the main function starts, indicating an error related to ntdll.dll. The stack shows ntdll.dll*4 then mimalloc-redirect.dll*3 then ntdll.dll*1 then mimalloc-redirect.dll*3 then ntdll.dll*3. It only crashes on Win7, but runs OK on Win10. I've tested version 1.7.6 and 2.1.2, and the results are the same.

Sdalin1 avatar Feb 02 '24 11:02 Sdalin1

I am also seeing this Win7 crash on 2.1.7.

nickdademo avatar Jul 02 '24 14:07 nickdademo