-
Notifications
You must be signed in to change notification settings - Fork 119
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
Crash in objc_end_catch when catching re-thrown exception on armeabi-v7a #161
Comments
Does this still fail? The C++ exception interop tests fail in CI on 32-bit Arm, but I don't think that's related? |
Cannot reproduce this on Debian Unstable armhf ( root@debian:~# clang-18 --version
Debian clang version 18.1.4 (1)
Target: arm-unknown-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/bin 2024-04-27 15:00:16.895 a.out[11050:11050] ObjC exception 1: <NSException: 0x1e809a4> NAME:NSInternalInconsistencyException REASON:Test ObjC Exception INFO:(null)
2024-04-27 15:00:16.921 a.out[11050:11050] ObjC exception 2: <NSException: 0x1e809a4> NAME:NSInternalInconsistencyException REASON:Test ObjC Exception INFO:(null) |
Was able to reproduce this on
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Calling the following
-test
method on armeabi-v7a crashes withSEGV_MAPERR
inobjc_end_catch()
(eh_personality.c:638) using the libc++ branch (#152) becausetd->caughtExceptions
is NULL. Other ABIs (arm64, i386) are unaffected.Unfortunately I’m not able to test this with the latest master as it doesn’t build for ARM. The latest EH changes seem to assume the Itanium ABI, as the private_1/private_2 fields don’t exist on ARM (please let me know if I should open a separate issue for this):
The text was updated successfully, but these errors were encountered: