I'm developing in C++(g++) with a non-opensource lib. every time I run the program, the lib will crash (it double-free some memory).
it's ok for my program now. but it's bad for profiling. I use -pg to profiling the program. As a result of the crash, no 'gmon.out' is generated. so I cannot profile it at all.
Question: How to profiling a 'crashy' program (with gprof).
PS. valgrind is ok to analysis a crashy program.
regards!