Last modified: 2014-11-17 09:21:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 24871 - Some broken animated gifs not recognized as animated
Some broken animated gifs not recognized as animated
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
All All
: Low normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: testme
Depends on:
Blocks: gif
  Show dependency treegraph
Reported: 2010-08-19 15:05 UTC by Derk-Jan Hartman
Modified: 2014-11-17 09:21 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

stacktrace (1.89 KB, text/plain)
2010-08-19 15:05 UTC, Derk-Jan Hartman
broken animated gif (895.03 KB, image/gif)
2010-08-25 15:38 UTC, Derk-Jan Hartman

Description Derk-Jan Hartman 2010-08-19 15:05:19 UTC
Created attachment 7638 [details]

stuck convert jobs were killing the rendering server on august 19. Tim killall'ed the convert jobs.

Stacktrace attached. was temporarily deleted as the instigator of this problem.
Comment 2 Derk-Jan Hartman 2010-08-22 10:29:40 UTC
Seems to indicate problems with a specific set of images. Have temporary deleted these. Some indications that it is only the old filerevisions that are causing this, not their last file revision...

Still shouldn't deadlock ImagaMagick of course...
Comment 3 Platonides 2010-08-22 23:50:19 UTC
Those are all animated gifs.

From looking at the backtrace, it may be trying to throw the "Error creating thumbnail: convert: UnableToAcquireString `' @ fatal/string.c/AcquireString/126." message, which is what I get with a large $wgMaxAnimatedGifArea (not with the standard 1.25e7 which WMF seem to be using...).
Comment 4 Derk-Jan Hartman 2010-08-25 15:32:03 UTC
These processes shouldn't deadlock anymore, with Tim's latest changes. I have restored the first image (for debug purposes) and restored the other images as well, but have left their 'old versions' deleted, because they are apparently causing the problems with imagemagick.
Comment 5 Derk-Jan Hartman 2010-08-25 15:38:30 UTC
Created attachment 7654 [details]
broken animated gif

This is the animated gif that isn't being recognized as animated by mediawiki, and was causing the convert problems, probably because the maxarea setting wasn't triggered.
Comment 6 Derk-Jan Hartman 2010-08-25 15:42:18 UTC
I have now also deleted the old revisions of the first image and uploaded one of these revisions to this bug. The error report on the image was: Error retrieving thumbnail from scaling server: Operation timed out after 53000 milliseconds with 0 bytes received

I'll see what I can reproduce on my local test server
Comment 7 Platonides 2010-08-25 21:19:57 UTC
It was locally recognised for me. I wonder if the detection failed because the metadata in the db is old, from a time (or bug) where we didn't properly detect that.

Note You need to log in before you can comment on or make changes to this bug.