[Mono-dev] Process.GetCurrentProcess().Modules crashes on Mac OS X Snow Leopard

Tom Philpot tom.philpot at logos.com
Mon Aug 24 17:27:10 EDT 2009

We just discovered this issue with Mono on Mac OS X under the most
recent Snow Leopard build.

System.Diagnostics.Process.GetCurrentProcess().Modules fails with a crash.

Snow:MacOS dev$ csharp
Mono C# Shell, type "help;" for help

Enter statements below.
csharp> System.Diagnostics.Process.GetCurrentProcess().Modules;

  at (wrapper managed-to-native)
System.Diagnostics.Process.GetModules_internal (intptr) <0x00004>
  at (wrapper managed-to-native)
System.Diagnostics.Process.GetModules_internal (intptr) <0xffffffff>
  at System.Diagnostics.Process.get_Modules () <0x0001d>
  at (wrapper remoting-invoke-with-check)
System.Diagnostics.Process.get_Modules () <0xffffffff>
  at Class0.Host (object&) <0x00015>
  at Mono.CSharp.Evaluator.Evaluate (string,object&,bool&) <0x00086>
  at Mono.CSharpShell.Evaluate (string) <0x00031>
  at Mono.CSharpShell.ReadEvalPrintLoopWith (Mono.CSharpShell/ReadLiner)
  at Mono.CSharpShell.ReadEvalPrintLoop () <0x0008a>
  at Mono.CSharpShell.Run (string[]) <0x00017>
  at Mono.Driver.Main (string[]) <0x0016d>
  at (wrapper runtime-invoke) Mono.Driver.runtime_invoke_int_object
(object,intptr,intptr,intptr) <0xffffffff>
Abort trap
Snow:MacOS dev$ 

More information about the Mono-devel-list mailing list