DynamoRIO / DynamoRIO/drmemory

using longjmp causes 0xc0000374

Open
#2,520 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

```
#include
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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.