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

Interaction between MEMPROF_PRINT_AT_EXIT and signals #3

Open
HertzDevil opened this issue Sep 18, 2023 · 0 comments
Open

Interaction between MEMPROF_PRINT_AT_EXIT and signals #3

HertzDevil opened this issue Sep 18, 2023 · 0 comments

Comments

@HertzDevil
Copy link
Collaborator

Since MEMPROF_PRINT_AT_EXIT is realized as an at_exit handler, signals like SIGINT will not trigger the log. See crystal-lang/crystal#8687

Also MemProf used to crash if running? is true inside a signal handler, including the SIGSEGV one. I could not reproduce this anymore.

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

No branches or pull requests

1 participant