emscripten-core / emscripten-core/emscripten

ubsan.test_longjmp_zero is failing

Open
#21,533 2 comments 0 reactions 0 assignees View on GitHub
C++ exceptions
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

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.

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.