mimalloc icon indicating copy to clipboard operation
mimalloc copied to clipboard

Crash on Win7 startup due to BCryptGenRandom exception

Open DuShijun opened this issue 6 months ago • 1 comments

Call stack:

  • With MIMALLOC_DISABLE_REDIRECT=1:

Image

  • With MIMALLOC_DISABLE_REDIRECT=0:

Image

DuShijun avatar Jun 24 '25 03:06 DuShijun

:-( One workaround is to define MI_USE_RTLGENRANDOM at build time; like cmake ../.. -DMI_EXTRA_CPPDEFS="MI_USE_RTLGENRANDOM=1". (see src/prim/windows/prim.c:607)

daanx avatar Jun 25 '25 03:06 daanx