On Monday, 25 January 2021 at 15:32:40 UTC, Vitalii wrote: > Can anybody explain why this code crash (memory allocation in > shared library)? Try to run test_dll_exe.exe several times: I ran it once, successfully. Maybe a hardware issue? I will give it a few more tries later. -- Bastiaan.