Inkscape: A Vector Drawing Tool

Inkscape crash without aspell-en

Reported by RazrFalcon on 2012-02-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
High
Unassigned

Bug Description

1) Open Inkscape
2) Text -> Check Spelling
3) Presss "Stop" button
4) Crash

(gdb) run
Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".

** (inkscape:15789): WARNING **: Error: No word lists can be found for the language "en_US".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2df242b in aspell_speller_save_all_word_lists () from /usr/lib/libaspell.so.15
(gdb) bt
#0 0x00007ffff2df242b in aspell_speller_save_all_word_lists () from /usr/lib/libaspell.so.15
#1 0x0000000000751d02 in spellcheck_finished() ()
#2 0x00007ffff45050e4 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#3 0x00007ffff451706a in ?? () from /usr/lib/libgobject-2.0.so.0
#4 0x00007ffff45206f1 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#5 0x00007ffff4520892 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#6 0x00007ffff5ac0705 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#7 0x00007ffff45050e4 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#8 0x00007ffff451685a in ?? () from /usr/lib/libgobject-2.0.so.0
#9 0x00007ffff45206f1 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#10 0x00007ffff4520892 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#11 0x00007ffff5abf52d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00007ffff5b690f8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00007ffff45050e4 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0x00007ffff4516e9f in ?? () from /usr/lib/libgobject-2.0.so.0
#15 0x00007ffff45204c3 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0x00007ffff4520892 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0x00007ffff5c82171 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00007ffff5b67283 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x00007ffff5b675e3 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x00007ffff57dc84c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#21 0x00007ffff42458bd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x00007ffff42460b8 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x00007ffff42465f2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#24 0x00007ffff5b66637 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x0000000000653130 in sp_main_gui(int, char const**) ()
#26 0x00000000006385b8 in main ()

Fix: need to install aspell-en (not in depends)

Arch Linux x64
KDE
Inkscape 0.48.3 r9882

~suv (suv-lp) wrote :

Crash reproduced with
- Inkscape 0.48.2 and 0.48.3.1,
- Inkscape 0.48+devel r11005 (old spellcheck dialog)
- Inkscape 0.48+devel r11008 (new spellcheck dialog)
on OS X 10.7.2 (64bit) after un-installing all aspell dictionaries (intentionally, for testing purposes only)
(Note: when installing the aspell package, macports on osx for example warns that at least one language dictionary needs to be installed)

> Fix: need to install aspell-en (not in depends)

AFAIU this kind of fix (in depends) needs to occur with packaging (e.g. for Arch Linux), not in Inkscape itself.
In Inkscape, the error needs to be caught and a warning printed to console instead of crashing the application.

~suv (suv-lp) wrote :

Backtrace with current trunk (r11008)

tags: added: crash
Changed in inkscape:
importance: Undecided → High
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers