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 for sigsegv stack overflow behavior #753

Closed
wants to merge 2 commits into from
Closed

Fix for sigsegv stack overflow behavior #753

wants to merge 2 commits into from

Conversation

horenmar
Copy link
Member

Also stops Catch from assuming its the only signal user in the binary,
and makes it restore the signal handlers it has replaced. Same goes for
the signal stack.

The signal stack itself probably shouldn't be always reallocated for
fragmentation reasons, but that can be fixed later on.

Also stops Catch from assuming its the only signal user in the binary,
and makes it restore the signal handlers it has replaced. Same goes for
the signal stack.

The signal stack itself probably shouldn't be always reallocated for
fragmentation reasons, but that can be fixed later on.
@horenmar
Copy link
Member Author

This takes unconditional dependency on C++11 (in the form of including <array> and <memory>), while catch tries for C++03 conformance. Going to fix this later tonight.

@krvajal
Copy link

krvajal commented Jan 12, 2017

@philsquared any updates on this??

@philsquared
Copy link
Collaborator

@krvajalmiguelangel - I started work on my own signals fixes before I saw @horenmar's PR - and have now covered half of it - will look at the stack overflow part soon.

@horenmar
Copy link
Member Author

I cherry picked this into dev-signals branch, so the PR is obsolete.

@horenmar horenmar closed this Jan 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants