[Mono-bugs] [Bug 381129] New: Abort trap on ProcessName
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Apr 17 20:51:41 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=381129
Summary: Abort trap on ProcessName
Product: Mono: Class Libraries
Version: 1.9.0
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: Major
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: Chuck.Esterbrook at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: Third Party Developer/Partner
* Mono 1.9_5 package for Mac OS X
* Mac OS X 10.4.11
Invoking ProcessName causes the current process to abort. An exception is not
even thrown.
Code:
class X {
static public void Main() {
System.Console.WriteLine(System.Diagnostics.Process.GetCurrentProcess().ProcessName);
}
}
Compile and run:
$ 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
$ _
Also, my previous version of Mono on my Mac was 1.2.6 and there it worked fine.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list