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

ubsan.test_longjmp_zero is failing #21533

Open
sbc100 opened this issue Mar 14, 2024 · 2 comments
Open

ubsan.test_longjmp_zero is failing #21533

sbc100 opened this issue Mar 14, 2024 · 2 comments

Comments

@sbc100
Copy link
Collaborator

sbc100 commented Mar 14, 2024

For some reason this test fails, but only under ubsan:

Output:
start
longjmp
/usr/local/google/home/sbc/dev/wasm/emscripten/test/core/test_longjmp_zero.c:25:3: runtime error: execution reached an unreachable program point

Its like ubsan is inserting the its "does not return" check incorrectly somehow, because this function clearly isn't returning in practice.

@sbc100
Copy link
Collaborator Author

sbc100 commented Mar 14, 2024

@aheejin not sure if this matters much?

@aheejin
Copy link
Member

aheejin commented Mar 14, 2024

At least the program doesn't seem to leak, so I'm not sure why this fails. I guess some bugs in the library. Will try to investigate later (not sure when)...

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

No branches or pull requests

2 participants