-
Notifications
You must be signed in to change notification settings - Fork 816
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
Stack overflow in trap handlers #835
Comments
Can you reproduce the issue with unmodified async-profiler?
An obvious workaround is to check that |
We don't call setupSignalHandlers() more than async-profiler does. Can it be possibly called from |
The problem might be related to anything - even to the way how the libary is compiled/linked. So I kindly ask you to see if the issue occurs with the genuine async-profiler or provide more evidence that it's a bug in the original code.
|
I see |
Thank you for the update. DLLEXPORT functions from |
Thank you for your help! |
I refactored hooks and setupSignalHandlers in recent commits. |
Why do we need a call to
orig_trapHandler
hereasync-profiler/src/profiler.cpp
Line 838 in a237cad
As I can see
trapHandler
method is only called fromAllocTracer::trapHandler
which is installed asorig_trapHandler
. I think that it leads to a crash:crash2050223224811971188.txt.
We use a patched version of the async-profiler built from master d29cb86 (I can share dylib in DM)
The text was updated successfully, but these errors were encountered: