[Mono-dev] Process.GetCurrentProcess().Modules crashes on Mac OS X Snow Leopard
Tom Philpot
tom.philpot at logos.com
Mon Aug 31 20:01:15 EDT 2009
https://bugzilla.novell.com/show_bug.cgi?id=533893
Romain Tartière has suggested a fix in the comments that would probably work
for MacOSX.
Any chance of getting this merged into SVN?
Thanks,
Tom
On 8/24/09 3:00 PM, "Rodrigo Kumpera" <kumpera at gmail.com> wrote:
> Please file a bug about this.
>
> On Mon, Aug 24, 2009 at 6:27 PM, Tom Philpot <tom.philpot at logos.com> wrote:
>> 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$
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090831/4901366c/attachment.html
More information about the Mono-devel-list
mailing list