[Mono-bugs] [Bug 82143][Min] New - Mono crashes with 256x256 icon

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jul 19 17:35:02 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by evert.verhellen at advalvas.be.

http://bugzilla.ximian.com/show_bug.cgi?id=82143

--- shadow/82143	2007-07-19 17:35:02.000000000 -0400
+++ shadow/82143.tmp.5645	2007-07-19 17:35:02.000000000 -0400
@@ -0,0 +1,43 @@
+Bug#: 82143
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: Fedora 7
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: evert.verhellen at advalvas.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono crashes with 256x256 icon
+
+Description of Problem:
+Using an icon for a form with the Windows Vista standard sizes (16x16,
+32x32, 48,48 and 256x256) consistently crashes at runtime:
+
+Unhandled Exception: System.OutOfMemoryException: Out of memory
+  at <0x00000> <unknown method>
+  at (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_array_new_specific (intptr,int)
+  at System.Drawing.Icon.InitFromStreamWithSize (System.IO.Stream stream,
+Int32 width, Int32 height) [0x00000] 
+  at System.Drawing.Icon..ctor (System.IO.Stream stream, Int32 width, Int32
+height) [0x00000] 
+  at System.Drawing.Icon..ctor (System.IO.Stream stream) [0x00000] 
+  at (wrapper remoting-invoke-with-check) System.Drawing.Icon:.ctor
+(System.IO.Stream)
+  at Test.Main (System.String[] args) [0x00000] 
+
+Additional Information:
+The .exe file that was compiled with the Mono C# compiler 1.2.3.0 does work
+properly on Windows XP, so I think this is a bug.
+
+Dropping the 256x256 icon from the .ico file works around the problem with
+Mono.
+
+The .ico file was created with GIMP 2.3.18.


More information about the mono-bugs mailing list