[Mono-osx] Abort trap on ProcessName

Chuck Esterbrook chuck.esterbrook at gmail.com
Mon Apr 14 22:34:30 EDT 2008


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
-- 
http://cobra-language.com/


More information about the Mono-osx mailing list