Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

profiler plugin: crash with current SVN-HEAD

(1/2) > >>

MortenMacFly:
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:

--- Code: ---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...)

--- End code ---

Any ideas? Is somebody experiencing the same issue?
By the way: How do I convert the addresses back to Methods?

Morten.

Zlika:
Hi!
Did you try the latest SVN version of the profiler plugin with the current RC2 version of Code::Block?
Because I didn't have time to check it with the latest build of C::B, but with my RC2 version it works.

So first check it with the RC2 version of C::B. If it works, I will try to see where is the problem.

Zlika

MortenMacFly:

--- Quote from: Zlika on December 11, 2005, 05:54:44 pm ---So first check it with the RC2 version of C::B. If it works, I will try to see where is the problem.

--- End quote ---
I tried with RC2 (really the setup from the webpage, no lib conflicts etc. with the SVN version), it's the same:

--- Code: ---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

--- End code ---
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.

Zlika:
Yes I'm interested in the log. This must be a parsing error somewhere.

Zlika

MortenMacFly:

--- Quote from: Zlika on December 13, 2005, 08:41:09 pm ---Yes I'm interested in the log.

--- End quote ---
...I sent you a personal message about that.

Morten.

Navigation

[0] Message Index

[#] Next page

Go to full version