Skip to content

add support for trapping sigabrt, sigill, sigsegv #184

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

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

zg
Copy link
Contributor

@zg zg commented Jun 2, 2024

  • sigabrt: usually generated by the abort() function. Useful for cleanup prior to termination.
  • sigill: issued if the user attempts to execute an illegal, malformed, or privileged instruction.
  • sigsegv: issued if the user makes an invalid memory reference, such as dereferencing a null or invalid pointer.

@zg zg force-pushed the support-more-signals branch from 0775153 to fe32362 Compare June 2, 2024 18:20
- sigabrt: usually generated by the abort() function. Useful for cleanup prior to termination.
- sigill: issued if the user attempts to execute an illegal, malformed, or privileged instruction.
- sigsegv: issued if the user makes an invalid memory reference, such as dereferencing a null or invalid pointer.
@zg zg force-pushed the support-more-signals branch from fe32362 to 1a018a3 Compare June 2, 2024 18:21
Copy link
Contributor

@FranzBusch FranzBusch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@FranzBusch
Copy link
Contributor

@swift-server-bot test this please

@FranzBusch FranzBusch enabled auto-merge (squash) June 3, 2024 14:10
@FranzBusch FranzBusch merged commit d58e6bf into swift-server:main Jun 3, 2024
4 of 5 checks passed
@zg zg deleted the support-more-signals branch June 3, 2024 16:13
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.

2 participants