Ticket #419 (closed defect: fixed)

Opened 10 months ago

Last modified 9 months ago

Memory overlap when decoding several animated images

Reported by: on Assigned to: decoder
Priority: critical Milestone: Development Release Version 3.5
Component: Image Analysis Version: 3.5.1
Keywords: Cc:

Description

For some messages, containing more than one animated images, there is some time a problem that causes error message like:

[41798] warn: FuzzyOcr: Trouble parsing 'gifsicle --info' output.
[41798] warn: FuzzyOcr: Expected 'image #5', found 'image #6', skipping...

The message contains a first animated gif with 20 frames and a second one with only 5 frames. When it comes to gifsicle --info the second image, it seems the gifsicle command is trying to analyze a 20 frames image.

Also the giftext on single frame images will return a list of 20 frames.

This bug could be of the same type as the one causing the pamthreshold problem: some confusion in memory usgae by several processes.

In the attached log, you can look for images with name 160x60 SAT-GE 10.gif, Miteq-1.gif and AAE-1.gif.

I have added a separator line and the printout of stdout_data around the line 425 of FuzzyOcr?.pm.

Attachments

res (76.7 kB) - added by on on 09.11.2007 08:20:04.

Change History

09.11.2007 08:20:04 changed by on

  • attachment res added.

09.11.2007 08:35:00 changed by on

  • version set to 3.5.1.
  • milestone set to Development Release Version 3.5.

(in reply to: ↑ description ) 15.11.2007 07:37:23 changed by on

  • status changed from new to closed.
  • resolution set to fixed.

Corrected, see patch proposed on ticket #421


Add/Change #419 (Memory overlap when decoding several animated images)




Action