[Mono-bugs] [Bug 342733] New: ImageAnimator: CanAnimate crashes on PNGs
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Nov 19 10:40:26 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=342733
Summary: ImageAnimator: CanAnimate crashes on PNGs
Product: Mono: Class Libraries
Version: 1.2.6
Platform: Other
OS/Version: Windows
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Drawing.
AssignedTo: mono-bugs at ximian.com
ReportedBy: jpobst at novell.com
QAContact: mono-bugs at ximian.com
Found By: ---
Created an attachment (id=183932)
--> (https://bugzilla.novell.com/attachment.cgi?id=183932)
Test Case
Calling CanAnimate on a PNG on Mono/Windows crashes with:
Unhandled Exception: System.InvalidOperationException: The operation is invalid
[GDI+ status: Win32Error]
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00229] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\System.Drawing\System.Drawing\gdipFunctions.cs:236
at System.Drawing.Image.GetFrameCount (System.Drawing.Imaging.FrameDimension
dimension) [0x00017] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\System.Drawing\System.Drawing\Image.cs:342
at (wrapper remoting-invoke-with-check) System.Drawing.Image:GetFrameCount
(System.Drawing.Imaging.FrameDimension)
at System.Drawing.ImageAnimator.CanAnimate (System.Drawing.Image image)
[0x00008] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\System.Drawing\System.Drawing\ImageAnimator.cs:106
at System.Windows.Forms.ToolStripItem.BeginAnimation () [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ToolStripItem.cs:1759
at System.Windows.Forms.ToolStripItem.set_Image (System.Drawing.Image value)
[0x00037] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ToolStripItem.cs:466
at System.Windows.Forms.Samples.ConnectedClient.InitializeComponent ()
[0x00000]
at System.Windows.Forms.Samples.ConnectedClient..ctor () [0x00000]
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Samples.ConnectedClient:.ctor ()
at System.Windows.Forms.Samples.Program.Main () [0x00000]
I believe this is a regression from 1.2.5. Sample program and image attached.
--
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