SVG to PNG fails with: "You forgot to call g_type_init()"
Posted: 2013-03-25T00:12:40-07:00
It looks like the call to g_type_init() was recently removed from the svg coder [1]. (Reverting this change fixes the issue for me.)
The above appears to cause the following error when converting an SVG image to PNG (i.e. 'convert image.svg image.png'):
The process hangs at this point and needs to be terminated with ^C.
Software versions used:
This issue was originally reported on the Arch Linux bug tracker [2].
[1] http://trac.imagemagick.org/changeset/1 ... ders/svg.c
[2] https://bugs.archlinux.org/task/34448
The above appears to cause the following error when converting an SVG image to PNG (i.e. 'convert image.svg image.png'):
Code: Select all
(process:14556): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()
(process:14556): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
Software versions used:
Code: Select all
imagemagick: 6.8.3.10
libpng: 1.5.14
librsvg: 2.36.4
glib2: 2.34.3
libxext: 1.3.1
[1] http://trac.imagemagick.org/changeset/1 ... ders/svg.c
[2] https://bugs.archlinux.org/task/34448