Backtrace shared library

Apr 1, 2016 at 5:06am
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
Apr 1, 2016 at 8:23am
Have you tried running under valgrind?
Apr 1, 2016 at 9:01am
Running under gdb should work too.
Apr 1, 2016 at 10:47am
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
Apr 1, 2016 at 4:09pm
Topic archived. No new replies allowed.