Page MenuHomePhabricator

Specific thumbnail request for a SVG log image name throws: Error generating thumbnail
Closed, DuplicatePublic

Description

https://upload.wikimedia.org/wikipedia/commons/thumb/5/5c/Coat_of_arms_of_the_16th_Mechanized_Infantry_Regiment_Castilla.svg/140px-Coat_of_arms_of_the_16th_Mechanized_Infantry_Regiment_Castilla.svg.png

throws error:

Error creating thumbnail: Error reading SVG:Error domain 1 code 1 on line 141767 column 1 of file:///tmp/svg_ac065952747a8b84cfc82742/localcopy_357fde06706c-1.svg: internal error: Huge input lookup

Error came from mw1153

Event Timeline

santhosh created this task.Sep 23 2015, 8:57 AM
santhosh raised the priority of this task from to Needs Triage.
santhosh updated the task description. (Show Details)
santhosh added a project: MediaWiki-Uploading.
santhosh added a subscriber: santhosh.
Restricted Application added a project: Multimedia. · View Herald TranscriptSep 23 2015, 8:57 AM
Restricted Application added subscribers: Steinsplitter, Aklapper. · View Herald Transcript

https://commons.wikimedia.org/wiki/File:Coat_of_arms_of_the_16th_Mechanized_Infantry_Regiment_Castilla.svg is 11MB.
Interesting that larger versions work.

Cannot trigger an error locally with (a newer version of) libsrvg:

$:andre\> /usr/bin/rsvg-convert -w 140 -o Coat_of_arms_of_the_16th_Mechanized_Infantry_Regiment_Castilla.png Coat_of_arms_of_the_16th_Mechanized_Infantry_Regiment_Castilla.svg
$:andre\> /usr/bin/rsvg-convert -w 140 --unlimited -o Coat_of_arms_of_the_16th_Mechanized_Infantry_Regiment_Castilla.png Coat_of_arms_of_the_16th_Mechanized_Infantry_Regiment_Castilla.svg
$:andre\> /usr/bin/rsvg-convert --version
rsvg-convert version 2.40.10
Restricted Application added a subscriber: Matanya. · View Herald TranscriptSep 23 2015, 10:45 AM
Aklapper renamed this task from Thumbnail request for a log image name throws: Error generating thumbnail to Specific thumbnail request for a SVG log image name throws: Error generating thumbnail.Sep 23 2015, 10:45 AM
Aklapper set Security to None.