-
Notifications
You must be signed in to change notification settings - Fork 120
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
when I use leak-tracer, my service received segmentation fault #9
Comments
@fredericgermain |
Each time there is an allocation, we use libgcc backtrace function to get the caller hierarchy in the runtime context. Can you check the Makefile and comment the part with -DUSE_BACKTRACE, maybe it works like that? |
Dear @fredericgermain,
I get a info from 3rd party and I make a sample program and I reproduce it.
And I hook segmentation fault signal by preloaded library(made by me). gdb show me below
And I comment the -DUSE_BACKTRACE but receive segfault and die too.
Any idea? |
I'm not sure what happens on ARM... I tested on older MIPS and many intel toolchains, it should work though. Can you try to define ALLOCATION_STACK_DEPTH to 1 and see if there is still a crash? |
I test with below combination.
I don't know that what's going on ARM. |
Error:(288, 5) error: '_Unwind_Word' was not declared in this scope ? |
Hello @fredericgermain,
First of all, thanks leaktracer.
This tool is a great help to me. simple and easy!
By the way,
Sometimes our 3rd party app with leaktracer received segmentation fault and die.
below is stack trace from our internal debugging daemon.
I never seen below functions, what's that?
When I run app without it, everything is ok.
Any idea?
The text was updated successfully, but these errors were encountered: