[Mono-bugs] [Bug 348445] New: Winforms Execution on Mac OS X
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Dec 13 11:12:21 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=348445
Summary: Winforms Execution on Mac OS X
Product: Mono: Runtime
Version: 1.2.6
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: Major
Priority: P5 - None
Component: misc
AssignedTo: mono-bugs at ximian.com
ReportedBy: bronxbomber92 at yahoo.com
QAContact: mono-bugs at ximian.com
Found By: Other
Description of Problem: Everytime I try to run a .exe file that uses Winforms
I've compiled, I get an Unhandled Exception. I'm using the WinForms hello world
from here http://mono-project.com/Mono_Basics#Winforms_Hello_World.
Steps to reproduce the problem:
1. Create a file called 'hello.cs' just like the one in Winforms Hello World
link above
2. in the terminal:
export MONO_MWF_USE_QUARTZ_BACKEND=1
I also tried using Geoff Norton's Carbon implemention, so I did this instead
export MONO_MWF_USE_CARBON_BACKEND=1
3. Compile the source file using
gmcs hello.cs -pkg:dotnet
or, using
gmcs hello.cs -r:System.Windows.Forms.dll
4. Execute the program
mono hello.exe
Actual Results:
jedd-haberstros-computer:~/desktop jeddhaberstro$ mono hello.exe
Unhandled Exception: System.ExecutionEngineException: SIGILL
at <0x00000> <unknown method>
at (wrapper managed-to-native) System.Diagnostics.StackTrace:get_trace
(System.Exception,int,bool)
at System.Diagnostics.StackTrace..ctor (System.Exception e, Int32 skipFrames,
Boolean needFileInfo, Boolean returnNativeFrames) [0x00000]
at System.Exception.get_StackTrace () [0x00000]
at System.Exception.ToString () [0x00000]
at System.Exception.ToString () [0x00000]
at System.Exception.ToString () [0x00000]
at System.Exception.ToString () [0x00000]
at <0x00000> <unknown method>
at HelloWorld..ctor () [0x00000]
at (wrapper remoting-invoke-with-check) HelloWorld:.ctor ()
at HelloWorld.Main () [0x00000]
Expected Results:
A form windows using either the Quartz or Carbon backend.
How often does this happen?
Everytime I execute a winforms application I have compiled (haven't tested
other winform application, except Reflector - see Addition information)
Additional Information:
When trying to execute the newest Reflector.exe I get this output:
jedd-haberstros-computer:~/desktop/reflector jeddhaberstro$ mono reflector.exe
** (reflector.exe:1210): WARNING **: exception inside UnhandledException
handler: Object reference not set to an instance of an object
--
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