[Mono-bugs] [Bug 533893] New: Process.GetCurrentProcess().Modules crashes on Mac OS X Snow Leopard (10.6)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Aug 24 18:13:00 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=533893


           Summary: Process.GetCurrentProcess().Modules crashes on Mac OS
                    X Snow Leopard (10.6)
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.4.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: tom.philpot at logos.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2

We just discovered this issue with Mono 2.4.2.3 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;
Stacktrace:

  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)
<0x00077>
  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$

Reproducible: Always

Steps to Reproduce:
1. Run csharp from the Terminal
2. Enter "System.Diagnostics.Process.GetCurrentProcess().Modules;"
3.


Expected Results:  
Should print out the modules in the current process.

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


More information about the mono-bugs mailing list