[Mono-list] Profiling is not working?
Rodrigo Kumpera
kumpera at gmail.com
Thu Aug 20 18:32:19 EDT 2009
On Thu, Aug 20, 2009 at 7:19 PM, fsmac <yves at mindset-media.com> wrote:
>
> Thanks Rodrigo.
>
> On Linux (CentOS 5.3, with mono-2.4.2.3 and mono-tools 2.4.2 compiled from
> sources), statistical profiling still does not seem to work. If I run
>
> % mono --profile=logging:s MyApp.exe ....
>
> I get totally random errors in MyApp.exe, from Directory.FileExists()
> saying
> files that are there do not exist, to crashing in FSharp type
> initialization
> code, to just SIGABRT. Is that a known issue?
>
I honestly don't know. I suppose the app runs fine without the profiler
enabled.
Can you try with mono trunk? The profiler has received a significant number
of fixes
since the 2.4 release.
>
> It seems like logging:c allows my app to run as intended and I am trying
> this right now, though this is much much slower.
>
I don't like logging:c as it's too heavy-weight to extract any decent
information
from it.
> YA
>
> PS: mono-tools didn't compile fully, with GDI errors compiling gendarme
> (adding a .png into a res file) and some other GLib exception (missing an
> exception type), but mprof-decoder did compile properly, and the profiler
> itself is in the main mono source tree, right?
>
>
mono-tools from SVN requires mono from SVN. Not sure if this is the cause of
the compilation problem, but this is our supported combination. Or did you
use the 2.4.2 mono tools tarball? On this case this has to be fixed.
Rodrigo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090820/fe454e7f/attachment.html
More information about the Mono-list
mailing list