Last modified: 2014-10-31 17:31:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43374, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41374 - [Regression] Error creating thumbnail: convert: Too many IDAT's found
[Regression] Error creating thumbnail: convert: Too many IDAT's found
Status: NEW
Product: Wikimedia
Classification: Unclassified
Media storage (Other open bugs)
unspecified
All All
: Low major (vote)
: ---
Assigned To: Nobody - You can work on this!
https://upload.wikimedia.org/wikipedi...
: upstream
Depends on:
Blocks: 41371
  Show dependency treegraph
 
Reported: 2012-10-25 08:52 UTC by Nemo
Modified: 2014-10-31 17:31 UTC (History)
5 users (show)

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


Attachments

Description Nemo 2012-10-25 08:52:06 UTC
Error creating thumbnail: convert: Too many IDAT's found `/tmp/localcopy_33a1fcdb2046-1.png' @ error/png.c/MagickPNGErrorHandler/1309.
convert: corrupt image `/tmp/localcopy_33a1fcdb2046-1.png' @ error/png.c/ReadPNGImage/3294.
convert: missing an image filename `/tmp/transform_a6e2fcd7c404-1.png' @ error/convert.c/ConvertImageCommand/3011.
----
Works on my local machine (fedora 17) with ImageMagick 6.7.5-6 2012-08-11 Q16 but not on Toolserver's nightshade with ImageMagick 6.6.0-4 2012-05-02 Q16; the original PNG also renders fine for me within Firefox.

https://toolserver.org/~dispenser/temp/logs/cache_thumbs_errors.log gives 34 more examples, currently.
Comment 1 Derk-Jan Hartman 2012-10-25 09:10:27 UTC
This depends on the libpng version used to compile imagemagick. I think we have another report about this somewhere in bugzilla.
Comment 2 Andre Klapper 2012-10-25 23:55:30 UTC
libpng version info welcome.

Pardon my stupid question, but where does the user interface on https://commons.wikimedia.org/wiki/File:1khz_dither.png provide a 180px version?

Clicking on "Download" and under "Download image file:", clicking on any of the options "16px | 32px | 64px | 128px | 256px | Full resolution" always provides the same size and file URL in Firefox 16.0.1.

Using https://upload.wikimedia.org/wikipedia/commons/e/e0/1khz_dither.png itself (probably not very useful), I get:

$:andre\> pngcheck -vv 1khz_dither.png 
File: 1khz_dither.png (8834 bytes)
  chunk IHDR at offset 0x0000c, length 13
    502 x 429 image, 24-bit RGB, interlaced
  chunk pHYs at offset 0x00025, length 9: 3779x3779 pixels/meter (96 dpi)
  chunk IDAT at offset 0x0003a, length 7696
    zlib: deflated, 32K window, default compression
    rows per pass: 54, 54, 54, 108, 107, 215, 214
    row filters (0 none, 1 sub, 2 up, 3 avg, 4 paeth):
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 | 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 | 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 | 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 | 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 | 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 | 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
      4 4 4 4 4 4 4 4 4 4 4 4 (806 out of 806)
  chunk IDAT at offset 0x01e56, length 1048
    row filters (0 none, 1 sub, 2 up, 3 avg, 4 paeth):
     physical_value = p0 + p1 * original_sample / (x1-x0) (806 out of 806)
  chunk IEND at offset 0x0227a, length 0
No errors detected in 1khz_dither.png (5 chunks, 98.6% compression).
Comment 3 Nemo 2012-10-26 06:41:46 UTC
(In reply to comment #2)
> libpng version info welcome.

2:1.5.10-1.fc17 here

> Pardon my stupid question, but where does the user interface on
> https://commons.wikimedia.org/wiki/File:1khz_dither.png provide a 180px
> version?

Nowhere. :-)
180px has been the standard thumb size for many years, which is why it's used on https://de.wikipedia.org/wiki/Dithering_%28Audiotechnik%29#Anwendung (but there was no cached thumb and purging didn't help).
Comment 4 Andre Klapper 2013-01-25 11:56:02 UTC
> https://toolserver.org/~dispenser/temp/logs/cache_thumbs_errors.log gives 34
> more examples, currently.

Right now that log only shows one example for a picture uploaded in 2006, without thumbnails as the original is small already.
Comment 5 Jamie Thingelstad 2013-05-23 14:38:35 UTC
I'm seeing this same issue on one of my wikis at

http://wikiapiary.com/wiki/File:IndianerWiki_Logo.png

I'm on Ubuntu 12.04, ImageMagick libpng12-0 installed:

% aptitude show libpng12-0
Package: libpng12-0
State: installed
Automatically installed: no
Multi-Arch: same
Version: 1.2.46-3ubuntu4

% aptitude show imagemagick
Package: imagemagick
New: yes
State: installed
Automatically installed: no
Version: 8:6.6.9.7-5ubuntu3.2
Comment 6 Marco 2013-10-20 12:39:55 UTC
Just use GIMP (open, save) to create a "proper" PNG
Comment 7 Mark A. Hershberger 2014-10-31 16:25:47 UTC
Filed upstream: http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=26471

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


Navigation
Links