Extensions crash

Bug #1099224 reported by John Franklin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Inkscape crashes whenever I run any extensions ( I have not tried every single one, but a few different ones ). Here is the gdb output.

GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/inkscape...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe8d4d700 (LWP 7784)]
[New Thread 0x7fffe3fff700 (LWP 7785)]
[New Thread 0x7fffd6b35700 (LWP 7786)]
[New Thread 0x7fffcbffe700 (LWP 7787)]

Program received signal SIGSEGV, Segmentation fault.
0x00000000007cecd7 in Inkscape::Extension::Implementation::Script::effect(Inkscape::Extension::Effect*, Inkscape::UI::View::View*, Inkscape::Extension::Implementation::ImplementationDocumentCache*) ()
(gdb) bt
#0 0x00000000007cecd7 in Inkscape::Extension::Implementation::Script::effect(Inkscape::Extension::Effect*, Inkscape::UI::View::View*, Inkscape::Extension::Implementation::ImplementationDocumentCache*) ()
#1 0x0000000000b555ad in Inkscape::Extension::ExecutionEnv::run() ()
#2 0x00000000007ca00c in Inkscape::Extension::Effect::effect(Inkscape::UI::View::View*) ()
#3 0x00000000007ca155 in Inkscape::Extension::Effect::prefs(Inkscape::UI::View::View*) ()
#4 0x000000000080ddf2 in sp_action_perform(SPAction*, void*) ()
#5 0x00007ffff4733ca2 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007ffff4744d71 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007ffff474d099 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8 0x00007ffff474d242 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007ffff5ea438e in gtk_widget_activate ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#10 0x00007ffff5d9f0fd in gtk_menu_shell_activate_item ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#11 0x00007ffff5d9f495 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007ffff5d8add8 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#13 0x00007ffff4733ca2 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff4745339 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff474cd7e in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff474d242 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff5ea5191 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#18 0x00007ffff5d88f63 in gtk_propagate_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#19 0x00007ffff5d892c3 in gtk_main_do_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007ffff59fdcac in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#21 0x00007ffff4476d53 in g_main_context_dispatch ()
---Type <return> to continue, or q <return> to quit---
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ffff44770a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff447749a in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff5d882f7 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#25 0x000000000065dfb0 in sp_main_gui(int, char const**) ()
#26 0x0000000000643408 in main ()

Revision history for this message
su_v (suv-lp) wrote :

Please provide information about your version of Inkscape, and whether the same crash also happens in a new document just created in Inkscape based on the default template.

Background: Inkscape 0.48.3.1 has a known regression (fixed in 0.48.4) when running any extension in a file which is not based on a default template from Inskcape, tracked in
- Bug #944077 “inkscape crashed with SIGSEGV in Inkscape::Extension::Implementation::Script::effect()”
  <https://bugs.launchpad.net/inkscape/+bug/944077>

For Inkscape 0.48.3.1, a workaround for affected files is described here:
<https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/944077/comments/11>

tags: added: crash extensions-plugins
Changed in inkscape:
status: New → Incomplete
Revision history for this message
John Franklin (hondaman-nc) wrote :

Inkscape 0.48.3.1 r9886 (Mar 29 2012)
I believe it is the same as the other Bug #944077 you mentioned. The workaround worked... unfortunately, I have several files which have been saved as svgz which need to be opened and fixed. Thanks!

Revision history for this message
su_v (suv-lp) wrote :

Thanks for reporting back (much appreciated!).

Linking as duplicate to Bug #944077 “inkscape crashed with SIGSEGV in Inkscape::Extension::Implementation::Script::effect()” - please add a comment here and revert the duplicate status if you don't agree or have additional information which indicates that the two reports are about different issues after all.

Changed in inkscape:
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.