[Mono-bugs] [Bug 411454] New: Iterating through a multilayer tif throws exception

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jul 23 01:24:34 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=411454


           Summary: Iterating through a multilayer tif throws exception
           Product: Mono: Class Libraries
           Version: 1.9
          Platform: i386
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Drawing.
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rhowell at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=229431)
 --> (https://bugzilla.novell.com/attachment.cgi?id=229431)
standalone test case with multilayer tif file

Steps to reproduce:
 - tar -xf <attached test case.tar>
 - make
 - mono test.exe

 - The test case will iterate through the frames in a tif file. Close to the
end, it will crash.  This test case works perfectly on Win XP w/ VS 2008
Express.

Unhandled Exception: System.ArgumentException: A null reference or invalid
value was found [GDI+ status: InvalidParameter]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] 
  at System.Drawing.Image.SelectActiveFrame
(System.Drawing.Imaging.FrameDimension dimension, Int32 frameIndex) [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Drawing.Image:SelectActiveFrame
(System.Drawing.Imaging.FrameDimension,int)
  at mclass.Main () [0x00000]


-- 
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