LibreOffice crashes when interacting with Danish and Swedish thesauri

Bug #1495097 reported by Gunnar Hjalmarsson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hunspell (Ubuntu)
Fix Released
High
Unassigned
Trusty
Fix Released
High
Gunnar Hjalmarsson

Bug Description

[Impact]

When running in Danish or Swedish, and when both the hunspell dictionary and the thesaurus are installed, LibreOffice crashes when right-clicking highlighted text. The issue has been fixed in hunspell 1.3.3:

https://github.com/hunspell/hunspell/commit/d660d4b1b4ecb341fe7d9966e5e593ae11396e2d

The proposed upload cherry picks that commit, another related commit, and the changes in git to affixmgr.cxx and affixmgr.hxx up to the time for those commits.

[Test Case]

The issue seems to be limited to 32 bits installs. Users of Ubuntu, Xubuntu and Linux Mint with 32 bits architecture have reported the issue, and when present, it's obvious from the description above how to reproduce the bug.

[Regression Potential]

Since the code has been present in hunspell 1.3.3 for quite a while, the regression risk should be low.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

This is the patch which is proposed for trusty-proposed:
https://launchpad.net/~gunnarhj/+archive/ubuntu/hunspell-thesaurus

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Problem:
The PPA version 1.3.2-6ubuntu2.1~ppa4 improves the situation slightly, but it's not sufficient to prevent these crashes. At the same time we have found that hunspell 1.3.3-3 from the vivid repository can be installed in trusty without any dependency complaints, and doing so fixes the issue completely.

So would uploading hunspell 1.3.3-3 to trusty as an SRU, in order to fix this bug, be an acceptable option?

Changed in hunspell (Ubuntu):
importance: Undecided → High
status: New → Fix Released
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Finally we figured out what to include in the patch, without upgrading the whole package to 1.3.3. Even if there is a PPA, I attach a patch, so the changes are shown more clearly.

description: updated
tags: added: patch
Changed in hunspell (Ubuntu Trusty):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
importance: Undecided → Medium
status: New → In Progress
importance: Medium → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

SRU upload sponsored, thanks

Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Gunnar, or anyone else affected,

Accepted hunspell into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/hunspell/1.3.2-6ubuntu2.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in hunspell (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

I have successfully installed libhunspell-1.3-0 1.3.2-6ubuntu2.1 from trusty-proposed onto my Ubuntu trusty i386 installation. The reported type of crash, when using LibreOffice Writer, does not happen any longer.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hunspell - 1.3.2-6ubuntu2.1

---------------
hunspell (1.3.2-6ubuntu2.1) trusty-proposed; urgency=medium

  * debian/patches/15_thesaurus.dpatch:
    Prevent that LibreOffice crashes when interacting with Danish and
    Swedish thesauri (LP: #1495097).

 -- Gunnar Hjalmarsson <email address hidden> Fri, 18 Sep 2015 13:52:00 +0200

Changed in hunspell (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for hunspell has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.