[Mono-bugs] [Bug 666427] Mono profiler fails to load on OS X (10.6.6)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jan 23 12:38:10 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=666427

https://bugzilla.novell.com/show_bug.cgi?id=666427#c2


--- Comment #2 from Johannes Roith <johannes at jroith.de> 2011-01-23 17:38:10 UTC ---
Ok, that almost worked.

I had to add /Library/Frameworks/Mono.framework/Versions/Current/bin to my path
or it would complain that "mprof-report" could not be found.

This did in fact get the profiler to work properly, but when running mono with
the --profile switch fsc.exe does now crash. (It runs fine if the switch is not
used.)

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
  at Microsoft.FSharp.Core.PrintfImpl.capturePrecisionArg at 334 (System.String
fmt, Microsoft.FSharp.Core.FSharpFunc`2 go,
Microsoft.FSharp.Core.FSharpOption`1 precision, Int32 i, Char intFormatChar,
Microsoft.FSharp.Collections.FSharpList`1 args, System.Type ty) [0x00000] in
\Users\jroith\git\fsharp\src\fsharp\FSharp.Core\printf.fs:337 
  at Microsoft.FSharp.Core.PrintfImpl.capture at 537[Unit,String,String]
(Microsoft.FSharp.Core.FSharpFunc`2 initialize, System.String fmt, Int32 len,
Microsoft.FSharp.Collections.FSharpList`1 args, System.Type ty, Int32 i)
[0x00092] in \Users\jroith\git\fsharp\src\fsharp\FSharp.Core\printf.fs:546 
  at Microsoft.FSharp.Core.PrintfImpl.gprintf[Unit,String,String,FSharpFunc`2]
(Microsoft.FSharp.Core.FSharpFunc`2 initialize,
Microsoft.FSharp.Core.PrintfFormat`4 fmt) [0x0002e] in
\Users\jroith\git\fsharp\src\fsharp\FSharp.Core\printf.fs:537 
  at
Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThen[String,FSharpFunc`2]
(Microsoft.FSharp.Core.FSharpFunc`2 continutation,
Microsoft.FSharp.Core.PrintfFormat`4 format) [0x00000] in
\Users\jroith\git\fsharp\src\fsharp\FSharp.Core\printf.fs:574 
  at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThen[FSharpFunc`2]
(Microsoft.FSharp.Core.PrintfFormat`4 format) [0x00000] in
\Users\jroith\git\fsharp\src\fsharp\FSharp.Core\printf.fs:592 
  at Microsoft.FSharp.Compiler.ErrorLogger+PhasedError.Create (System.Exception
exn, Microsoft.FSharp.Compiler.BuildPhase phase) [0x00000] in
\Users\jroith\git\fsharp\src\fsharp\ErrorLogger.fs:147 
  at
Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ErrorLogger.ErrorR
(ErrorLogger x, System.Exception exn) [0x00019] in
\Users\jroith\git\fsharp\src\fsharp\ErrorLogger.fs:277 
  at
Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ErrorLogger.ErrorRecovery
(ErrorLogger x, System.Exception exn, range m) [0x00079] in
\Users\jroith\git\fsharp\src\fsharp\ErrorLogger.fs:293

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list