Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using longjmp causes 0xc0000374 #2520

Open
dk opened this issue Oct 2, 2024 · 0 comments
Open

using longjmp causes 0xc0000374 #2520

dk opened this issue Oct 2, 2024 · 0 comments

Comments

@dk
Copy link

dk commented Oct 2, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant