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

Use signal.h for handling SIGSEGV #263

Open
numere-bot opened this issue Oct 22, 2024 · 0 comments
Open

Use signal.h for handling SIGSEGV #263

numere-bot opened this issue Oct 22, 2024 · 0 comments
Assignees
Labels
change Change something in an existing feature

Comments

@numere-bot
Copy link
Collaborator

DESCRIPTION

Describe, what you observe or want to be changed:
It is possible to register a signal handler with <signal.h> for SIGSEGV. It would be helpful, if this handler could be used to get more diagnostic information in case of a segmentation fault.

Describe, what you expect to happen:
Evaluate the possibilities, which this signal handler offers and whether it can be used with the DetachedLogger instance (probably via a dedicated method using std::flush at the end). Figure out, which diagnostic information can be obtained and add that to the log right before calling std::terminate.


DEVS' SECTION

ANALYSIS

(Describe, what's the issue and which changes have to be made)

IMPLEMENTATION STEPS

(see also our Wiki for implementation guidelines)

  • Implement the necessary changes in a new branch created here on GitHub
  • Test your implementation

DOCUMENTATION STEPS

(see also our Wiki for further information)

  • Update the changes log
  • Add comments to your implementation
  • Add Doxygen documentation comments- Create or update the documentation articles (*.NHLP and *.NDB files, if needed)
  • Update the language strings (*.NLNG files, if needed)

PULL REQUEST

  • Create a pull request for your changes
  • Fill out the template
  • Assign @numere-org/maintainers as reviewers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change Change something in an existing feature
Projects
Status: New
Development

No branches or pull requests

2 participants