[Mono-bugs] [Bug 411454] Iterating through a multilayer tif throws exception
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Aug 4 16:43:24 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=411454
User spouliot at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=411454#c3
Sebastien Pouliot <spouliot at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
Info Provider| |rhowell at novell.com
--- Comment #3 from Sebastien Pouliot <spouliot at novell.com> 2008-08-04 14:43:23 MDT ---
Rusty, I could not duplicate your exception(*) but I completely lost my desktop
(I had to reset) after the selection of the 7th frame (clone).
Now I'm not sure I understand the code. The second loop is doing a clone on the
whole bitmap for each frame. That's a lot of memory (and it could be what
killed me earlier).
If I move the Clone outside the loop then I get:
Original bitmap
Frame count: 15
selecting frame 1 of 15
selecting frame 2 of 15
selecting frame 3 of 15
selecting frame 4 of 15
selecting frame 5 of 15
selecting frame 6 of 15
selecting frame 7 of 15
selecting frame 8 of 15
selecting frame 9 of 15
selecting frame 10 of 15
selecting frame 11 of 15
selecting frame 12 of 15
selecting frame 13 of 15
selecting frame 14 of 15
selecting frame 15 of 15
Cloning bitmap
selecting frame 1 of 15
selecting frame 2 of 15
selecting frame 3 of 15
selecting frame 4 of 15
selecting frame 5 of 15
selecting frame 6 of 15
selecting frame 7 of 15
selecting frame 8 of 15
selecting frame 9 of 15
selecting frame 10 of 15
selecting frame 11 of 15
selecting frame 12 of 15
selecting frame 13 of 15
selecting frame 14 of 15
selecting frame 15 of 15
which is (what I suppose) the normal behavior you expected.
(*) could you recompile with -debug and attach the exception (with line
numbers).
--
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