[Mono-osx] Abort trap on ProcessName

Chuck Esterbrook chuck.esterbrook at gmail.com
Thu Apr 17 20:53:20 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=381129

On Thu, Apr 17, 2008 at 5:37 PM, Miguel de Icaza <miguel at novell.com> 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


More information about the Mono-osx mailing list