gtkspell/enchant error crashes inkscape

Bug #759795 reported by Kyle Skrinak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Re: Inkscape 0.48.1 r9760 (Apr 13 2011) (installed via MacPorts)
If I can reproduce this crash I'll append the steps. As for now, after a period of inactivity (± 5 mins) I returned to computer where inkscape had crashed and left this error:

gtkspell error: enchant error for language: en_US.UTF-8

Emergency save activated!

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

Do you have aspell and at least one dict for aspell installed? (Inkscape uses aspell for the built-in spell checker).

(Never saw this error with Inkscape 0.48.0 and 0.48.1 installed via MacPorts on Mac OS X Leopard 1.5.8 (i386))

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

See also the notes from the dependencies of enchant (in MacPorts):
$ port notes aspell hunspell

Revision history for this message
Kyle Skrinak (kyle-skrinakcreative) wrote :

Yes, installing aspell + dictionary enabled my ability to select a dictionary from the Preferences > Spellcheck menu. (Before, no drop down options were available.) Thanks!

Perhaps I should report this to MacPorts? But why does the error fault gtkspell?

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

As far as I can tell, the error from enchant (when initialization fails) is handled in Inkscape [1] and should not have been the cause of the crash. Did you not receive any other error messages? Bug #672111 and bug #629363 for example are known issues on 64bit macs, and there are many other not-platform related causes that could trigger a crash - though I'm not aware of one that happens after leaving Inkscape running idle in the background for several minutes.

Could you check if a crash report for inkscape was created in '~/Library/Logs/DiagnosticReports' (on Snow Leopard) or '~/Library/Logs/CrashReporter' (on Leopard), and if there is one with a current date and time stamp, attach it here to this report?

> Perhaps I should report this to MacPorts?

MacPorts already tells you to install at least one dictionary. The notes are displayed when installing gtkspell2 (which is a dependency of inkscape, and itself depends on enchant, which again pulls in hunspell and aspell).

[1] <http://bazaar.launchpad.net/~inkscape.dev/inkscape/RELEASE_0_48_BRANCH/view/head:/src/dialogs/text-edit.cpp#L390>

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

I could be wrong about Inkscape catching the error from enchant/gtkspell though, needs further investigation…

Revision history for this message
Kyle Skrinak (kyle-skrinakcreative) wrote :

My install continued to crash more. I did a ports list and found two inkscape installations (I wrongly presumed that I had the mac binary installed, wrongly, both were a ports-installed binary) Removing the "second" install and solved all erratic behavior so far.

Much thanks!

Revision history for this message
Kyle Skrinak (kyle-skrinakcreative) wrote :

Crash report from second IS crash

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

> sp_stroke_style_line_update(Gtk::Container*, Inkscape::Selection*)

That's the same as previously mentioned bug #672111 and bug #629363 (no fix or workaround know so far). The problem seems related to building & running Inkscape on 64bit systems (not limited to Mac OS X).

Linking as duplicate to bug #629363 - please add a comment here and revert the duplicate state if you don't agree and think these are different issues.

Revision history for this message
Pander (pander) wrote :

See also https://bugs.launchpad.net/inkscape/+bug/1049548

When that is fixed, this might be fixed too.

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.