Backtrace shared library

Hi I have my main program , which is using dlsym to load shared object and executing it but shared library has SIGSEGV but signal handler is in my main program but it is not giving backtrace of shared object
> How to get backtrace of my shared library (I have complete access to shared library source I can recompile )
> My task is to find which part or function of shared lib causing corruption of memory
Have you tried running under valgrind?
Running under gdb should work too.
Guys I don't have problem running ins test environment I can debug manually but I want to give to customer . So at that time I need backtrace to put it logs in file and later I can debug
Topic archived. No new replies allowed.