Bugzilla – Bug 686543
Profiler loads on Mac OS X but does not produce any sensible report
Last modified: 2011-06-24 18:01:06 UTC
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 With the DYLD_FALLBACK_LIBRARY_PATH set to mono's lib directory, I can get the profiler to load with: mono --profiler Test.exe where Test is a HelloWorld application or another, more complex exe. The output I get is always almost empty: Loaded images is always reported 0, no calls nor thread info show up in the report. When I try the same under Linux, the profiler works as described on the Mono website and produces the expected output. Reproducible: Always Steps to Reproduce: 1. mono --profiler HelloWorld.exe 2. 3. Actual Results: Mono log profiler data Profiler version: 0.4 Data version: 4 Mean timer overhead: 292 nanoseconds Program startup: Mon Apr 11 09:38:26 2011 Program ID: 21728 JIT summary Compiled methods: 0 Generated code size: 0 GC summary GC resizes: 0 Max heap size: 0 Object moves: 0 Metadata summary Loaded images: 0 Exception summary Throws: 0 Thread summary Expected Results: A profiler output
Paolo, could you look at this profiler failure on OSX?
This looks like the symptoms of a miscompiled mono/profiler module: where is your mono and profiler coming from? Is it really the last 2.10.x? Because this issue has been fixed in december...
(In reply to comment #2) > This looks like the symptoms of a miscompiled mono/profiler module: where is > your mono and profiler coming from? Is it really the last 2.10.x? Because this > issue has been fixed in december... It is the 2.10.x from the mono-project web site. I have never compiled mono myself. mono --version reports the following: Mono JIT compiler version 2.10.1 (tarball Fri Feb 25 15:56:49 MST 2011) Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com TLS: normal SIGSEGV: normal Notification: Thread + polling Architecture: x86 Disabled: none Misc: debugger softdebug LLVM: yes(2.9svn-mono) GC: Included Boehm (with typed GC)