[Mono-osx] Abort trap on ProcessName

Geoff Norton gnorton at novell.com
Thu Apr 17 20:41:12 EDT 2008


Chuck,

   Please include the version you tested on, as I get different  
results on trunk (osx 10.5)

[0.24][20:40] plasma at mica:~$ mono t.exe

Unhandled Exception: System.SystemException: The process has exited
   at System.Diagnostics.Process.get_ProcessName () [0x00000]
   at (wrapper remoting-invoke-with-check)  
System.Diagnostics.Process:get_ProcessName ()
   at X.Main () [0x00000]


-g

On 17-Apr-08, at 8:37 PM, Miguel de Icaza wrote:

> Hello Chuck,
>
>    This looks like a bug;   Would you mind filing a bug report?
>
> 	www.mono-project.com/Bugs
>
> On Mon, 2008-04-14 at 19:34 -0700, Chuck Esterbrook wrote:
>> On Mon, Apr 14, 2008 at 1:43 AM, Chuck Esterbrook
>> <chuck.esterbrook at gmail.com> wrote:
>>> Anyone else having this problem?
>>>
>>> class X {
>>>        static public void Main() {
>>>                 
>>> System 
>>> .Console 
>>> .WriteLine 
>>> (System.Diagnostics.Process.GetCurrentProcess().ProcessName);
>>>        }
>>> }
>>>
>>> $ gmcs ProcessName.cs
>>> $ mono ProcessName.exe
>>> Stacktrace:
>>>
>>>  at (wrapper managed-to-native)
>>> System.Diagnostics.Process.ProcessName_internal (intptr) <0x00004>
>>>  at (wrapper managed-to-native)
>>> System.Diagnostics.Process.ProcessName_internal (intptr)  
>>> <0xffffffff>
>>>  at System.Diagnostics.Process.get_ProcessName () <0x00022>
>>>  at (wrapper remoting-invoke-with-check)
>>> System.Diagnostics.Process.get_ProcessName () <0xffffffff>
>>>  at X.Main () <0x00018>
>>>  at (wrapper runtime-invoke) X.runtime_invoke_void
>>> (object,intptr,intptr,intptr) <0xffffffff>
>>> Abort trap
>>> $ _
>>
>> I forgot to mention version numbers:
>>
>> Mac OS X 10.4.11
>> Mono 1.9_5
>>
>> -Chuck
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx



More information about the Mono-osx mailing list