Spell check button in abiword crashes the program

Bug #5892 reported by leech
22
Affects Status Importance Assigned to Milestone
AbiWord
Fix Released
Undecided
Hubert Figuiere
abiword (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

As I was using Abiword (abiword-gnome_2.4.1-2.1ubuntu1) the word 'didn't' was underlined as a misspelled word, so I clicked the spell check button (which usually will correctly see that it's a conjuncti on, and remove the underlining) but instead the program just crashed, making me lose all that I had typed.

On further testing, it appears that it only crashes if there is a misspelled word and the dialog for words that it could be pops up. Sounds like a problem with aspell.

Terminal output is;

(AbiWord-2.4:4936): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `GTK_LIST_STORE (tree_model)->stamp == iter->stamp' failed

(AbiWord-2.4:4936): GLib-GObject-WARNING **: gtype.c:3312: type id `0' is invalid

(AbiWord-2.4:4936): GLib-GObject-WARNING **: can't peek value table for type `<invalid>' which is not currently referenced

As of today all packages are up to date, version of aspell is 0.60.4-1

This is on Dapper Drake. I have tested this on both my laptop install of Dapper and the one on my desktop.

Changed in abiword:
assignee: nobody → gnome
status: New → Accepted
Revision history for this message
Daniel Holbach (dholbach) wrote :

Does this still happen for you? For me it works with
abiword 2.4.1-2.1ubuntu1
aspell 0.60.4-1build1
on amd64

Revision history for this message
leech (leech) wrote :

Yes. I haven't seen updates to these packages in a while. I did try to remove .Abisuite to see if it was a setting that I had, but it still crashes. As I said, to reproduce this bug, you can simply open up Abiword, type any random garbage, and then click the spell check. It'll crash with the Restart Application, Close, Inform Developers dialog.

I just tested it on my i386 install and the amd64 install (both on the same computer, with same settings, so that may be causing it) but I had tested this on my laptop when I first reported the bug and it was the same thing.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Ok, which aspell dictionary do you have installed, which locale are you using. Could you attach the backtrace from "Inform Developers" as an attachment to the bug?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Does the same on my box. Hubert do you know about that issue?

Revision history for this message
leech (leech) wrote :

http://thefnords.org/abidbg.txt contains the backtrace from bug-buddy.

Revision history for this message
leech (leech) wrote :

Just using the english locale and aspell-en is the only dictionary I have installed.

Revision history for this message
Hubert Figuiere (hub) wrote :

There is a bug upstream for that. I have put a link to it.

Which english locale exactly do you use?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Hubert, my box has the issue too with a french locale, let me know if you know any debug information on it

Revision history for this message
leech (leech) wrote :

Locale;

LANG=en_US.UTF-8
LANGUAGE=en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Changed in abiword:
assignee: gnome → desktop-bugs
Revision history for this message
admarginem (admarginem) wrote :

Confirmed. I have the same bug.

1) I removed .AbiSuite (to make everything cleaR)
2) started abiword
3) type some trash
4) run spellchecker and it crashed abiword

I concluded that this behavior happens only when AbiWord's spellchecker has variants to incorrect word. When I typed som trash in russian and choosed language as english - I saw spellchecker window. But when I typed "onn" (instead of "one") and run spellcheker - it crashed.

Revision history for this message
Hubert Figuiere (hub) wrote :

2.4.3 has a fix for that.

If package maintainers want to put it into the current release as patch, I can extract a patch for that.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Hubert, that'd be great.

Revision history for this message
Hubert Figuiere (hub) wrote :

http://bugzilla.abisource.com/show_bug.cgi?id=9868 as the two patches required. Apply in order to the source and rebuild.

Changed in abiword:
assignee: nobody → hub
status: Unconfirmed → Fix Committed
Revision history for this message
Daniel Holbach (dholbach) wrote :

 abiword (2.4.2-0ubuntu3) dapper; urgency=low
 .
   * debian/patches/16_dont_explode_while_spellchecking.dpatch:
     - lifted patch from CVS to fix Malone #5892: "Spell check button in
       abiword crashes the program" - thanks Hubert Figuière <email address hidden>
       for pointing to the patch.

Changed in abiword:
status: Confirmed → Fix Released
Revision history for this message
Hubert Figuiere (hub) wrote :

2.4.4 upstream has the fix too

Changed in abiword:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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