Bug 1429258 - hunspell fails with floating point exception when using custom user spelling dictionary
Summary: hunspell fails with floating point exception when using custom user spelling ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hunspell
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-05 23:47 UTC by Audrey Yeena Toskin
Modified: 2017-03-08 13:55 UTC (History)
1 user (show)

Fixed In Version: hunspell-1.4.1-2.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-08 13:55:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Audrey Yeena Toskin 2017-03-05 23:47:38 UTC
I'm using hunspell "@(#) International Ispell Version 3.2.06 (but really Hunspell 1.4.0)" on Fedora 25 Workstation x86_64.

Running hunspell on a test plain text file normally works as it should.

However, I created a user dictionary in ~/.hunspell_en_US containing some common computer jargon and uncommon names of people. Each word appears by itself (no /flags or anything) on its own line.

Now, hunspell always fails. When called from fish, it says:

  “hunspell test.txt” terminated by signal SIGFPE (Floating point exception)

When called from bash, it says:

  Floating point exception (core dumped)

In either case it exits with status code 136.

Comment 1 Audrey Yeena Toskin 2017-03-06 08:19:41 UTC
...Actually, the problem is caused by creating ~/en_US.dic. When trying to figure out how to get few different applications to recognize my user spelling dictionary, I'd copied ~/.hunspell_en_US to ~/en_US.dic -- deleting the latter lets the hunspell command line tool work again as usual.

Throwing an error when a .dic file exists in the home directory may or may not still be a problem.

Comment 2 Caolan McNamara 2017-03-06 10:58:27 UTC
looks like this is https://github.com/hunspell/hunspell/issues/245

Comment 3 Fedora Update System 2017-03-06 11:33:14 UTC
hunspell-1.4.1-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-da63982ed2

Comment 4 Fedora Update System 2017-03-07 01:50:32 UTC
hunspell-1.4.1-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-da63982ed2

Comment 5 Fedora Update System 2017-03-08 13:55:39 UTC
hunspell-1.4.1-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.