-
Notifications
You must be signed in to change notification settings - Fork 44
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
sigaltstack? #12
Comments
Thanks, |
I don't see how can backtrace() use an alternative stack if sigaltstack wasn't called, but I may be wrong.
|
And the bad news is, sigaltstack() screws backtrace() with glibc, after all. I left the support, but it is disabled by default, since nobody usually wants an empty trace. I'd like to know if there is a way to run backtrace() on a different stack... |
Thanks. I actually agree with you on 4. |
This is great work.
I see you use SA_ONSTACK so I assume you intended to provide an alternate stack (which is better for this case) but I don't see anywhere an initialization with sigaltstack - or maybe I missed something?
Per sigaction man page, in such case the default stack is used (which I assume is as if SA_ONSTACK has not been given)
The text was updated successfully, but these errors were encountered: