[Mono-winforms-list] WinForms regression with Mono 3.2.3

Stifu stifu at free.fr
Fri Oct 4 06:31:37 UTC 2013


This is on Windows. The WinForms app worked with Mono 2.10, but no longer
with 3.2.3.
I guess this affects pretty much all WinForms apps, but if not, I'm trying
to run this app: https://code.google.com/p/epicedit/

Is this a known issue?

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type
initiali
zer for System.Windows.Forms.WindowsFormsSynchronizationContext --->
System.Type
InitializationException: An exception was thrown by the type initializer for
Sys
tem.Windows.Forms.ThemeEngine ---> System.TypeInitializationException: An
except
ion was thrown by the type initializer for
System.Windows.Forms.ThemeWin32Classi
c ---> System.TypeInitializationException: An exception was thrown by the
type i
nitializer for System.Drawing.KnownColors --->
System.TypeInitializationExceptio
n: An exception was thrown by the type initializer for
System.Drawing.GDIPlus --
-> System.DllNotFoundException: /tmp/install/lib/libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
(ulong&,S
ystem.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x000cc] in
C:\cygwin\sources\mono\mcs\cl
ass\System.Drawing\System.Drawing\gdipFunctions.cs:127
  --- End of inner exception stack trace ---
  at System.Drawing.KnownColors..cctor () [0x0001a] in
C:\cygwin\sources\mono\mc
s\class\System.Drawing\System.Drawing\KnownColors.cs:225
  --- End of inner exception stack trace ---
  at System.Drawing.Color.get_Black () [0x00000] in
C:\cygwin\sources\mono\mcs\c
lass\System.Drawing\System.Drawing\Color.cs:483
  at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in
C:\cygwin\sou
rces\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ThemeWin32Classic
.cs:52
  --- End of inner exception stack trace ---
  at System.Windows.Forms.ThemeVisualStyles..ctor () [0x00000] in
C:\cygwin\sour
ces\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ThemeVisualStyles.
cs:45
  at System.Windows.Forms.ThemeEngine..cctor () [0x0002d] in
C:\cygwin\sources\m
ono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ThemeEngine.cs:49
  --- End of inner exception stack trace ---
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined ()
[0x0
0000] in
C:\cygwin\sources\mono\mcs\class\Managed.Windows.Forms\System.Windows.F
orms\SystemInformation.cs:317
  at System.Windows.Forms.Control..ctor () [0x000e3] in
C:\cygwin\sources\mono\m
cs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:900
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor
()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor ()
[0x00000]
 in
C:\cygwin\sources\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\
WindowsFormsSynchronizationContext.cs:45
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Control..ctor () [0x00014] in
C:\cygwin\sources\mono\m
cs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:871
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in
C:\cygwin\sour
ces\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ScrollableControl.
cs:157
  at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in
C:\cygwin\sourc
es\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ContainerControl.cs
:54
  at System.Windows.Forms.Form..ctor () [0x00012] in
C:\cygwin\sources\mono\mcs\
class\Managed.Windows.Forms\System.Windows.Forms\Form.cs:387
  at EpicEdit.UI.MainForm..ctor (System.String[] args) [0x00000] in
<filename un
known>:0
  at (wrapper remoting-invoke-with-check) EpicEdit.UI.MainForm:.ctor
(string[])
  at EpicEdit.UI.MainForm.Main (System.String[] args) [0x00000] in <filename
unk
nown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An
except
ion was thrown by the type initializer for
System.Windows.Forms.WindowsFormsSync
hronizationContext ---> System.TypeInitializationException: An exception was
thr
own by the type initializer for System.Windows.Forms.ThemeEngine --->
System.Typ
eInitializationException: An exception was thrown by the type initializer
for Sy
stem.Windows.Forms.ThemeWin32Classic --->
System.TypeInitializationException: An
 exception was thrown by the type initializer for System.Drawing.KnownColors
---
> System.TypeInitializationException: An exception was thrown by the type
> initia
lizer for System.Drawing.GDIPlus ---> System.DllNotFoundException:
/tmp/install/
lib/libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
(ulong&,S
ystem.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x000cc] in
C:\cygwin\sources\mono\mcs\cl
ass\System.Drawing\System.Drawing\gdipFunctions.cs:127
  --- End of inner exception stack trace ---
  at System.Drawing.KnownColors..cctor () [0x0001a] in
C:\cygwin\sources\mono\mc
s\class\System.Drawing\System.Drawing\KnownColors.cs:225
  --- End of inner exception stack trace ---
  at System.Drawing.Color.get_Black () [0x00000] in
C:\cygwin\sources\mono\mcs\c
lass\System.Drawing\System.Drawing\Color.cs:483
  at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in
C:\cygwin\sou
rces\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ThemeWin32Classic
.cs:52
  --- End of inner exception stack trace ---
  at System.Windows.Forms.ThemeVisualStyles..ctor () [0x00000] in
C:\cygwin\sour
ces\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ThemeVisualStyles.
cs:45
  at System.Windows.Forms.ThemeEngine..cctor () [0x0002d] in
C:\cygwin\sources\m
ono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ThemeEngine.cs:49
  --- End of inner exception stack trace ---
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined ()
[0x0
0000] in
C:\cygwin\sources\mono\mcs\class\Managed.Windows.Forms\System.Windows.F
orms\SystemInformation.cs:317
  at System.Windows.Forms.Control..ctor () [0x000e3] in
C:\cygwin\sources\mono\m
cs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:900
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor
()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor ()
[0x00000]
 in
C:\cygwin\sources\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\
WindowsFormsSynchronizationContext.cs:45
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Control..ctor () [0x00014] in
C:\cygwin\sources\mono\m
cs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:871
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in
C:\cygwin\sour
ces\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ScrollableControl.
cs:157
  at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in
C:\cygwin\sourc
es\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ContainerControl.cs
:54
  at System.Windows.Forms.Form..ctor () [0x00012] in
C:\cygwin\sources\mono\mcs\
class\Managed.Windows.Forms\System.Windows.Forms\Form.cs:387
  at EpicEdit.UI.MainForm..ctor (System.String[] args) [0x00000] in
<filename un
known>:0
  at (wrapper remoting-invoke-with-check) EpicEdit.UI.MainForm:.ctor
(string[])
  at EpicEdit.UI.MainForm.Main (System.String[] args) [0x00000] in <filename
unk
nown>:0



--
View this message in context: http://mono.1490590.n4.nabble.com/WinForms-regression-with-Mono-3-2-3-tp4661029.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.


More information about the Mono-winforms-list mailing list