Page MenuHomePhabricator

Wikimedia failed to generate a png thumbnail after upload
Closed, ResolvedPublic

Description

Author: valentin.saussois

Description:
Wikimedia failed to generate the thumbnails of an PNG file I uploaded via the " UploadWizard" web interface.
The uploaded PNG file check ok on pngcheck so I guess it's a server side malfunction.

The link to the commons.wikimedia page is :
http://commons.wikimedia.org/wiki/File:Yamanaka-lake-panoramic.png

And the error message when trying to desplay a thumbnail is :
Error generating thumbnail

Error creating thumbnail: convert: magick/splay-tree.c:883: GetValueFromSplayTree: Assertion `splay_tree != (SplayTreeInfo *) ((void *)0)' failed.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=26233

Details

Reference
bz31079
TitleReferenceAuthorSource BranchDest Branch
Remove unused "Differential" application from default settingsrepos/phabricator/deployment!33aklapperT330797rmDifferentialwmf/stable
Remove unused "Differential" application from default settingsrepos/phabricator/deployment!28aklapperT330797removeDifferentialwmf/stable
GitLabPatchesCustomField: limit searching to only the Tnnn formrepos/phabricator/extensions!3brennensearch-only-t-formatwmf/stable
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 11:47 PM
bzimport set Reference to bz31079.
bzimport added a subscriber: Unknown Object (MLST).

I can repro this on my x86_64 Ubuntu 11.04 box, with ImageMagick 6.6.2-6.

convert: magick/splay-tree.c:883: GetValueFromSplayTree: Assertion `splay_tree != (SplayTreeInfo *) ((void *)0)' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff47bbd05 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007ffff47bbd05 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff47bfab6 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff47b47c5 in assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007ffff7ada70f in GetValueFromSplayTree () from /usr/lib/libMagickCore.so.3
#4 0x00007ffff7a99dea in GetImageProperty () from /usr/lib/libMagickCore.so.3
#5 0x00007ffff79ea384 in ReadImage () from /usr/lib/libMagickCore.so.3
#6 0x00007ffff79eabeb in ReadImages () from /usr/lib/libMagickCore.so.3
#7 0x00007ffff76a51a6 in ConvertImageCommand () from /usr/lib/libMagickWand.so.3
#8 0x00007ffff7737503 in MagickCommandGenesis () from /usr/lib/libMagickWand.so.3
#9 0x00000000004009d5 in ?? ()
#10 0x00007ffff47a6eff in
libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x00000000004008b9 in ?? ()
#12 0x00007fffffffe1d8 in ?? ()
#13 0x000000000000001c in ?? ()
#14 0x0000000000000005 in ?? ()
#15 0x00007fffffffe4e8 in ?? ()
#16 0x00007fffffffe4f9 in ?? ()
#17 0x00007fffffffe515 in ?? ()
#18 0x00007fffffffe520 in ?? ()
#19 0x00007fffffffe529 in ?? ()
#20 0x0000000000000000 in ?? ()

Bug does not occur with ImageMagick 6.6.9 that I built a couple weeks ago as a test... Fix is in 6.6.7 and later.

Upstream bug: http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=18136

There's already a request in to update ImageMagick to 6.6.7 or later for bug 26233:

http://rt.wikimedia.org/Ticket/Display.html?id=1444

Duping since solution (upgrading) is the same.

  • This bug has been marked as a duplicate of bug 26233 ***