I haven't used the profiler plugin quite for a while. But if I use it with the current SVN version it crashes if I try to profile a project. The profiler seems to be launched OK but then while analysing the report the plugin (and Code::Blocks) crashes. Here is the top of the generated RPT-file:
100619A1 C:\WINDOWS\system32\wxmsw26_gcc_cb.dll:100619A1 _ZNK12wxStringBase4findERKS_j
10061A9C C:\WINDOWS\system32\wxmsw26_gcc_cb.dll:10061A9C _ZNK12wxStringBase4findEPKcjj
10061AF7 C:\WINDOWS\system32\wxmsw26_gcc_cb.dll:10061AF7 _ZNK8wxString4FindEPKc
012A3C35 D:\Devel\CodeBlocks\share\codeblocks\plugins\CBProfiler.dll:012A3C35
012A36AF D:\Devel\CodeBlocks\share\codeblocks\plugins\CBProfiler.dll:012A36AF
012AA74F D:\Devel\CodeBlocks\share\codeblocks\plugins\CBProfiler.dll:012AA74F PluginSDKVersion
60569ED2 D:\Devel\CodeBlocks\codeblocks.dll:60569ED2 _ZN13PluginManager13ExecutePluginERK8wxString
00414329 D:\Devel\CodeBlocks\codeblocks.exe:00414329
(...more follows...)
Any ideas? Is somebody experiencing the same issue?
By the way: How do I convert the addresses back to Methods?
Morten.
So first check it with the RC2 version of C::B. If it works, I will try to see where is the problem.
I tried with RC2 (really the setup from the webpage, no lib conflicts etc. with the SVN version), it's the same:
Call stack:
100619C9 D:\Devel\CodeBlocks\wxmsw26_gcc_cb.dll:100619C9 _ZNK12wxStringBase4findERKS_j
10061ABC D:\Devel\CodeBlocks\wxmsw26_gcc_cb.dll:10061ABC _ZNK12wxStringBase4findEPKcjj
10061B17 D:\Devel\CodeBlocks\wxmsw26_gcc_cb.dll:10061B17 _ZNK8wxString4FindEPKc
01633AE5 D:\Devel\CodeBlocks\share\codeblocks\plugins\cbprofiler.dll:01633AE5
0163355F D:\Devel\CodeBlocks\share\codeblocks\plugins\cbprofiler.dll:0163355F
0163A8CA D:\Devel\CodeBlocks\share\codeblocks\plugins\cbprofiler.dll:0163A8CA GetSDKVersionMinor
605495F4 D:\Devel\CodeBlocks\codeblocks.dll:605495F4 _ZN13PluginManager13ExecutePluginERK8wxString
0041ABAB D:\Devel\CodeBlocks\codeblocks.RC2.exe:0041ABAB
100A77E8 D:\Devel\CodeBlocks\wxmsw26_gcc_cb.dll:100A77E8 _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
But: I figured out some additional information: It seems this crash depends on the project (souce-code) size. CBProfiler does not crash if I use e.g. the "Hello World" template. Furthermore the parsing is done but when the crash appears CBProfiler seems to do the next step (whatever that is... :)). My program is fairly large and does a lot of calls (mathematical calculations) so I expect the profiler log to be fairly large, too. I could send you the "log" (the one you get from "gprof.exe myapp.exe gmon.out > gprof.txt") it this is of any help?!
With best regards,
Morten.