Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 160326 - Inkscape segfault when called from command line for conversion
Inkscape segfault when called from command line for conversion
Product: Fedora
Classification: Fedora
Component: inkscape (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Phillip Compton
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2005-06-14 10:18 EDT by Nicu Buculei
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: 0.42-2.fc4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-29 14:33:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
test case (2.62 KB, image/svg+xml)
2005-06-14 10:21 EDT, Nicu Buculei
no flags Details

  None (edit)
Description Nicu Buculei 2005-06-14 10:18:11 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
Inkscape can be used from command line to perform various functions, like convert from SVG to PNG. In such case, the program segfault.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. create a SVG file, for example shape.svg
2. from a terminal use "inkscape -f shape.svg -e shape.png"


Actual Results:  at this point Inkscape crashes (segfault)

Expected Results:  the SVG should be exported as shape.png

Additional info:

run with gdb I got this:

(process:1757): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(process:1757): GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT (object)' failed

(process:1757): GLib-GObject-WARNING **: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'

(process:1757): GLib-GObject-CRITICAL **: g_object_set_qdata_full: assertion `quark > 0' failed

(process:1757): glibmm-CRITICAL **: Glib::ObjectBase*<unnamed>::create_new_wrapper(GObject*): assertion `wrap_func_table != 0' failed

(process:1757): glibmm-WARNING **: failed to wrap type of 'GtkVBox'

(process:1757): GLib-GObject-CRITICAL **: g_object_set_qdata_full: assertion `quark > 0' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2128384 (LWP 1757)]
0x0245bcae in Gtk::Box::pack_start () from /usr/lib/libgtkmm-2.4.so.1
(gdb) bt
#0  0x0245bcae in Gtk::Box::pack_start () from /usr/lib/libgtkmm-2.4.so.1
#1  0x0828f88f in Glib::PropertyProxy<Glib::ustring>::set_value ()
#2  0x0828c62b in Glib::PropertyProxy<Glib::ustring>::set_value ()
#3  0x08067c30 in ?? ()
#4  0x009d4de6 in __libc_start_main () from /lib/libc.so.6
#5  0x08067681 in ?? ()
Comment 1 Nicu Buculei 2005-06-14 10:21:00 EDT
Created attachment 115406 [details]
test case

sample file to reproduce the crash
Comment 2 VnPenguin 2005-06-15 06:36:20 EDT
I have the same bug here.
Comment 3 VnPenguin 2005-06-15 06:41:39 EDT
Just tried static rpm from http://inkscape.org/download.php.
The same bug when using command line above.
Comment 4 Nicu Buculei 2005-06-15 06:49:31 EDT
In order to escape the bug I switched to the autopackage version from
inkscape.org which appears to work fine
Comment 5 Michael Schwendt 2005-07-25 21:10:24 EDT
Inkscape 0.42 fixes this here when building it for FC4. Update prepared in CVS,
Fedora Extras development for now, however.

Phillip, what's the background of this comment in the spec?

#temporarily disabled until I can look into it further
#--with-gnome-print             \
Comment 6 Michael Schwendt 2005-07-29 14:33:03 EDT
Upstream doesn't build with gnome-print either, so 0.42-2.fc4 will fix this.

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