drmemory
drmemory copied to clipboard
using longjmp causes 0xc0000374
#include <setjmp.h>
int main()
{
jmp_buf j;
if ( setjmp(j) == 0 )
longjmp(j,1);
return 0;
}
This simple program, if compiled with msvc cl v19.34.31933 for x64, causes error 0xc0000374 under dr.memory v2.6.0 build 0, under Windows 10. When compiled with mingw/gcc v13.2.0, the effect is the same, error 0xc0000374 as well.
( Also, ERROR: Failed to find "main" for limiting memory dump but that's not much of a problem)