[Mono-bugs] [Bug 573596] SIGABRT on mono_class_from_mono_type in test application

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Feb 2 16:02:00 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=573596

http://bugzilla.novell.com/show_bug.cgi?id=573596#c1


--- Comment #1 from Brian Kesecker <bkesecker at augustasystems.com> 2010-02-02 21:01:59 UTC ---
Scratch the KDE desktop.  I finally found a tower around my office that
wouldn't bomb-out installing GNOME.  This error still persists.

Basically, I can't use Mono 2.4.2.3 and Mono-Basic 2.4.x or Mono 2.6.1 and
Mono-Basic 2.6 on openSuSE 11.2 with GNOME, KDE, or Ubuntu to run a simple test
application.  I figure I'm just missing something that I, as a not so savvy
Linux user, am unaware that needs to be installed, because it works fine on the
VM.

Mono 2.4.2.3 and Mono-Basic 2.4.x gives this error output (test app or
EdgeFrontierEngine):

Unhandled Exception: System.InvalidOperationException:
WinForms_SeeInnerException ---> System.TypeInitializationException: An
exception was thrown by the type initializer for
System.Windows.Forms.WindowsFormsSynchronizationContext --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Windows.Forms.XplatUI ---> System.ArgumentNullException:
Could not open display (X-Server required. Check you DISPLAY environment
variable)
Parameter name: Display
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle)
[0x00000] 
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000] 
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] 
  at System.Windows.Forms.XplatUI..cctor () [0x00000] 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] 
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined ()
[0x00000] 
  at System.Windows.Forms.Control..ctor () [0x00000] 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor ()
[0x00000] 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Control..ctor () [0x00000] 
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] 
  at System.Windows.Forms.ContainerControl..ctor () [0x00000] 
  at System.Windows.Forms.Form..ctor () [0x00000] 
  at NetworkChange.Form1..ctor () [0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke
(object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] 
  --- End of inner exception stack trace ---
  at NetworkChange.My.MyProject+MyForms.Create__Instance__[Form1]
(NetworkChange.Form1 Instance) [0x00000] 
  at NetworkChange.My.MyProject+MyForms.get_Form1 () [0x00000] 
  at NetworkChange.My.MyApplication.OnCreateMainForm () [0x00000] 
  at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun ()
[0x00000] 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run
(System.String[] commandLine) [0x00000] 
  at NetworkChange.My.MyApplication.Main (System.String[] Args) [0x00000] 

Mono 2.6.1 and Mono-Basic 2.6 gives this error output (EdgeFrontierEngine, but
not test app [same as above]:

Unhandled Exception: System.InvalidOperationException:
WinForms_SeeInnerException ---> System.TypeLoadException: A type load exception
has occurred.
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke
(object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] 
  --- End of inner exception stack trace ---
  at EdgeFrontierEngine.My.MyProject+MyForms.Create__Instance__[Main]
(EdgeFrontierEngine.Main Instance) [0x00000] 
  at EdgeFrontierEngine.My.MyProject+MyForms.get_Main () [0x00000] 
  at EdgeFrontierEngine.My.MyApplication.OnCreateMainForm () [0x00000] 
  at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun ()
[0x00000] 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run
(System.String[] commandLine) [0x00000] 
  at EdgeFrontierEngine.My.MyApplication.Main (System.String[] Args) [0x00000]

-- 
Configure bugmail: http://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