Page MenuHomePhabricator

OOM when generating thumbnail from SVG
Closed, DeclinedPublic

Description

Author: claus.colloseus

Description:
Above URL gave me the following output:

Error creating thumbnail:
(rsvg-convert:2474): Pango-WARNING **: Error loading GPOS table 57005

(rsvg-convert:2474): Pango-CRITICAL **: No fonts found:
This probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org

(rsvg-convert:2474): Pango-WARNING **: failed to find shape engine, expect ugly output. engine-type='PangoRenderFc', script='latin'

(rsvg-convert:2474): Pango-CRITICAL **: No fonts found:
This probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org

GLib-ERROR **: /build/buildd/glib2.0-2.16.4/glib/gmem.c:156: failed to allocate 1414000 bytes
aborting...


Version: unspecified
Severity: normal
URL: http://upload.wikimedia.org/wikipedia/commons/thumb/6/69/SvgFeatureTest.svg/500px-SvgFeatureTest.svg.png

Details

Reference
bz15994

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:19 PM
bzimport set Reference to bz15994.

The font errors are probably not important, it's the allocation failure which would have stopped it. Note that we're currently running with a reduced maximum memory usage, to stop the image scaling servers from crashing when they try to swap.

  • Bug 16185 has been marked as a duplicate of this bug. ***

Assigning SVG bugs to Ariel -- need a cleanup pass to see what's fixed up by a librsvg upgrade, what can be resolved with fixes to our font configuration, what can be fixed on our end, and what still needs to be pushed upstream.

if memory runs out, images stop rendering. i don't see why we need to keep this open. Doesn't happen that often anymore. image renders now.