Inkscape crashes when I use LaTeX formula extension

Bug #1134250 reported by fabio.hipolito
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

When I introduce LaTeX formulas (Extensions/Render/LaTeX formula) in in some files, such as the file attached, inkscape crashes.

Below follows the terminal output when I run inkscape normally and with dgb (please let me know if you need anything else)

:~$ inkscape -V
Inkscape 0.48.3.1 r9886 (Jan 29 2013)
:~$ uname -a
Linux incognito 3.5.0-25-generic #39-Ubuntu SMP Mon Feb 25 18:26:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
:~$ inkscape

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
Segmentation fault (core dumped)
:~$ gdb /usr/bin/inkscape
GNU gdb (GDB) 7.5-ubuntu
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://www.gnu.org/software/gdb/bugs/>...
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 0x7fffe7656700 (LWP 3549)]
[New Thread 0x7fffe6e55700 (LWP 3550)]
[New Thread 0x7fffdeef5700 (LWP 3551)]
[Thread 0x7fffdeef5700 (LWP 3551) exited]
[New Thread 0x7fffdeef5700 (LWP 3556)]
[Thread 0x7fffdeef5700 (LWP 3556) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00000000007e3365 in Inkscape::Extension::Implementation::Script::effect(Inkscape::Extension::Effect*, Inkscape::UI::View::View*, Inkscape::Extension::Implementation::ImplementationDocumentCache*) ()
(gdb) bt
#0 0x00000000007e3365 in Inkscape::Extension::Implementation::Script::effect(Inkscape::Extension::Effect*, Inkscape::UI::View::View*, Inkscape::Extension::Implementation::ImplementationDocumentCache*) ()
#1 0x0000000000b424fd in Inkscape::Extension::ExecutionEnv::run() ()
#2 0x00000000007defbc in Inkscape::Extension::Effect::effect(Inkscape::UI::View::View*) ()
#3 0x0000000000b42b68 in Inkscape::Extension::PrefDialog::on_response(int) ()
#4 0x00007ffff7a1c523 in Gtk::Dialog_Class::response_callback(_GtkDialog*, int) () from /usr/lib/x86_64-linux-gnu/libgtkmm-2.4.so.1
#5 0x00007ffff46f3140 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007ffff47042d0 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007ffff470c4af in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8 0x00007ffff470c642 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007ffff46f3407 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff470bdf6 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff470c642 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ffff5ce0a65 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#13 0x00007ffff46f3140 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff4703e73 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff470c4af in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff470c642 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff5cdf869 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#18 0x00007ffff5d88599 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#19 0x00007ffff46f3140 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffff47042d0 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff470c0cb in g_signal_emit_valist ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff470c642 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff5ea195e in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#24 0x00007ffff5d86934 in gtk_propagate_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#25 0x00007ffff5d86c8b in gtk_main_do_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#26 0x00007ffff59fbd7c in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#27 0x00007ffff4433ab5 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007ffff4433de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff44341e2 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ffff5d85c77 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#31 0x00000000006825db in sp_main_gui(int, char const**) ()
#32 0x00000000006666cf in main ()
(gdb) kill
Kill the program being debugged? (y or n) y
(gdb) quit
:~$

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

Based on the Inkscape version
> Inkscape 0.48.3.1 r9886 (Jan 29 2013)
and the id of <sodipodi:namedview> of the provided sample file:
> id="namedview3777"
this is another duplicate of the known regression in Inkscape 0.48.3.1:

Bug #944077 “inkscape crashed with SIGSEGV in Inkscape::Extension::Implementation::Script::effect()”
<https://bugs.launchpad.net/inkscape/+bug/944077>

Workaround for affected files:
<https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/944077/comments/11>

tags: added: crash extensions-plugins
Revision history for this message
fabio.hipolito (fabio-hipolito) wrote :

Hello and thank you for your quick reply.

I followed the work around proposed in the other bug

https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/944077/comments/11

but the problem persists and inkscape continues to crash every time I run the

Is this the same bug? Should write the gdb output again?

Revision history for this message
fabio.hipolito (fabio-hipolito) wrote :

Sorry, I did not follow correctly the work around. It solves the problem.
Thank you.

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.