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" <[email protected]> wrote:

> Please file a bug about this.
> 
> On Mon, Aug 24, 2009 at 6:27 PM, Tom Philpot <[email protected]> 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
>> [email protected]
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 

_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to