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

Fix test-init-local-signal for FreeBSD. #525

Merged
merged 3 commits into from
May 31, 2023
Merged

Conversation

lemul
Copy link
Contributor

@lemul lemul commented May 30, 2023

FreeBSD libc thr_sigaction installs its own sighandler which adds two calls before our handler.

While here fix indentation of printf to match common style.

lemul added 3 commits May 31, 2023 00:06
FreeBSD libc thr_sigaction installs its own sighandler
which adds two calls before our handler.

While here fix indentation of printf to match common style.
On FreeBSD test fails due to clang inline foo() functions.
Mark foo() noinline so that all expected frames are present.
On Aarch64 (in qemu) test-bt fails due to the kernel raises SIGBUS
(illegal instruction). To avoid this, replace bad function call by
null pointer dereference to emulate SIGSEGV.
@bregma
Copy link
Member

bregma commented May 31, 2023

s390x test-async-sig fails but I think that's am unrelated race condition that happens occasionally so not new.

@bregma bregma merged commit 4da3242 into libunwind:master May 31, 2023
8 of 23 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants