Hi Milian,

On Thursday 15 April 2010, Milian Wolff wrote:
> When I try to profile the whole startup of KDevelop using callgrind, I and at 
> least one of the other developers, get a reproducible segfault. This does not 
> occur in memcheck or massif, so I fear it shows a bug in callgrind itself.

Best is to file a bug report.
 
> How does one debug that? gdb -> valgrind -> app?

In Valgrind sources, there is info about this in README_DEVELOPERS in the
toplevel directory. In addition to the info there, when starting the
tool executable in the debugger directly, one still also should provide
the "--tool=..." parameter in my experience. Hmm... should be added there.
 
> That segfaults even earlier and gives a totally useless backtrace without any 
> debug info...

With callgrind, it could help to have the debug output produced by
--ct-verbose=... before the segfault.

Josef

> 
> Hints?



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to