Bug 836937
Summary: | Libreoffice writer extremely slow with java-extension Zemberek installed | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Suleyman Kuran <suleyman.kuran> | ||||||
Component: | libreoffice | Assignee: | Caolan McNamara <caolanm> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 17 | CC: | caolanm, dtardon, erack, gokcen.eraslan, ltinkl, mstahl, sbergman | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | libreoffice-3.5.5.3-4.fc17 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-08-19 00:27:31 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Suleyman Kuran
2012-07-02 09:17:41 UTC
spellchecking is typically unrelated to java, in that spellchecking for most languages is done through hunspell So when you say "When I start writer with an old version of java (java-1.5.0-gcj.x86_64) the documents is ready in seconds" what did you do exactly. Select the FSF gcj runtime from tools->options->java ? Or something else. Did you manually install a java-based grammar checker extension ? I changed the option "Tools -> Options -> Libreoffice -> Java -> Oracle Coorporation 1.7.0_-03-icedtea" to FSF 1.5.0. No I didn't install grammar checker, only the Libreoffice defaults. (In reply to comment #1) > spellchecking is typically unrelated to java, in that spellchecking for most > languages is done through hunspell > > So when you say "When I start writer with an old version of java > (java-1.5.0-gcj.x86_64) the documents is ready in seconds" what did you do > exactly. Select the FSF gcj runtime from tools->options->java ? Or something > else. > > Did you manually install a java-based grammar checker extension ? Selecting FSF 1.5.0 java is not a solution. Now Libreoffice writer crashes at random intervals. When I disable Java completely the problem goes away but then some functionality lost. For you there is clearly something using java in writer, but there typically isn't anything in the normal out-of-the-box case, so can we get the output of... unopkg list && unopkg list --shared && unopkg list --bundled The output is as follows: $ sudo unopkg list && unopkg list --shared && unopkg list --bundled All deployed user extensions: <none> All deployed shared extensions: <none> All deployed bundled extensions: Identifier: com.sun.star.script.provider.ScriptProviderForPython Version: 3.3.0 URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/script-provider-for-python is registered: yes Media-Type: application/vnd.sun.star.package-bundle Description: Add support for Python via the Scripting Framework to enable Python scripts in the user and share directories of a LibreOffice installation, and also in loaded documents. bundled Packages: { URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/script-provider-for-python/components.rdb is registered: yes Media-Type: application/vnd.sun.star.uno-components Description: } Identifier: com.sun.PresenterScreen-linux_x86_64 Version: 1.1.0 URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/presenter-screen is registered: yes Media-Type: application/vnd.sun.star.package-bundle Description: The Presenter Console Extension provides more control over your slide show presentation, such as the ability to see the upcoming slide, the slide notes, and a presentation timer whereas the audience see only the current slide. To avoid confusions by displaying a large number of presentation elements, the Presenter Console displays the elements on three different easily changeable views. bundled Packages: { URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/presenter-screen/help is registered: yes Media-Type: application/vnd.sun.star.help Description: URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/presenter-screen/registry/schema/org/openoffice/Office/extension/PresenterScreen.xcs is registered: yes Media-Type: application/vnd.sun.star.configuration-schema Description: URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/presenter-screen/PresenterScreen.uno.so is registered: yes Media-Type: application/vnd.sun.star.uno-component;type=native;platform=Linux_X86_64 Description: URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/presenter-screen/registry/data/org/openoffice/Office/Jobs.xcu is registered: yes Media-Type: application/vnd.sun.star.configuration-data Description: URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/presenter-screen/registry/data/org/openoffice/Office/ProtocolHandler.xcu is registered: yes Media-Type: application/vnd.sun.star.configuration-data Description: URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/presenter-screen/registry/data/org/openoffice/Office/extension/PresenterScreen.xcu is registered: yes Media-Type: application/vnd.sun.star.configuration-data Description: } Identifier: com.sun.star.PDFImport-linux_x86_64 Version: 1.0.5 URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/pdfimport is registered: yes Media-Type: application/vnd.sun.star.package-bundle Description: The PDF Import Extension allows you to import and modify PDF documents. Best results with 100% layout accuracy can be achieved with the "PDF/ODF hybrid file" format, which this extension also enables. A hybrid PDF/ODF file is a PDF file that contains an embedded ODF source file. Hybrid PDF/ODF files will be opened in LibreOffice as an ODF file without any layout changes. bundled Packages: { URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/pdfimport/basic/ is registered: yes Media-Type: application/vnd.sun.star.basic-library Description: URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/pdfimport/xpdfimport is registered: yes Media-Type: application/vnd.sun.star.executable Description: URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/pdfimport/pdfimport.uno.so is registered: yes Media-Type: application/vnd.sun.star.uno-component;type=native;platform=Linux_X86_64 Description: URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/pdfimport/pdf_import_filter.xcu is registered: yes Media-Type: application/vnd.sun.star.configuration-data Description: URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/pdfimport/pdf_types.xcu is registered: yes Media-Type: application/vnd.sun.star.configuration-data Description: } Created attachment 596153 [details]
libreoffice requires java
And what were you doing when you got that dialog ? You have no java extensions installed apparently, so no java stuff should be used or required for opening up a few documents and scrolling through them. (Outside of any first-start auto-detect which java you have installed stuff anyway) Can it be "zemberek" that depends on Java? Turkish spell checker zemberek v1.0 rc2 extension is installed and when disabled no java is required but then no spell check can be done. hunspell seems to be only English and French can I get the output of unopkg list, but *not* as root, just as yourself $ unopkg list All deployed user extensions: Identifier: net.zemberek.ooo.spellchecker Version: 1.0_rc2 URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lurqwnsj.tmp_/zemberek-ooo-1.0_rc2.oxt is registered: no Media-Type: application/vnd.sun.star.package-bundle Description: bundled Packages: { URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lurqwnsj.tmp_/zemberek-ooo-1.0_rc2.oxt/ZemberekSpellChecker.xcs is registered: no Media-Type: application/vnd.sun.star.configuration-schema Description: URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lurqwnsj.tmp_/zemberek-ooo-1.0_rc2.oxt/ZemberekSpellChecker.xcu is registered: no Media-Type: application/vnd.sun.star.configuration-data Description: URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lurqwnsj.tmp_/zemberek-ooo-1.0_rc2.oxt/ZemberekHyphenator.uno.jar is registered: no Media-Type: application/vnd.sun.star.uno-component;type=Java Description: URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lurqwnsj.tmp_/zemberek-ooo-1.0_rc2.oxt/ZemberekSpellChecker.uno.jar is registered: no Media-Type: application/vnd.sun.star.uno-component;type=Java Description: } Yup, that's the mysterious java-using thing anyway that's different from me to you. Confirmed that zemberek triggers ultra-slow behaviour and various pieces of weirdness I can improve this I think in >= libreoffice-3.5.5.3-4.fc17 libreoffice-3.5.5.3-5.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/libreoffice-3.5.5.3-5.fc17 Package libreoffice-3.5.5.3-5.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libreoffice-3.5.5.3-5.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-11418/libreoffice-3.5.5.3-5.fc17 then log in and leave karma (feedback). $ yum list installed | grep libreoffice libreoffice-calc.x86_64 1:3.5.5.3-5.fc17 @updates-testing libreoffice-core.x86_64 1:3.5.5.3-5.fc17 @updates-testing libreoffice-draw.x86_64 1:3.5.5.3-5.fc17 @updates-testing libreoffice-graphicfilter.x86_64 1:3.5.5.3-5.fc17 @updates-testing libreoffice-impress.x86_64 1:3.5.5.3-5.fc17 @updates-testing libreoffice-langpack-en.x86_64 1:3.5.5.3-5.fc17 @updates-testing libreoffice-math.x86_64 1:3.5.5.3-5.fc17 @updates-testing libreoffice-ogltrans.x86_64 1:3.5.5.3-5.fc17 @updates-testing libreoffice-opensymbol-fonts.noarch 1:3.5.5.3-5.fc17 @updates-testing libreoffice-pdfimport.x86_64 1:3.5.5.3-5.fc17 @updates-testing libreoffice-presenter-screen.x86_64 1:3.5.5.3-5.fc17 @updates-testing libreoffice-pyuno.x86_64 1:3.5.5.3-5.fc17 @updates-testing libreoffice-ure.x86_64 1:3.5.5.3-5.fc17 @updates-testing libreoffice-writer.x86_64 1:3.5.5.3-5.fc17 @updates-testing libreoffice-xsltfilter.x86_64 1:3.5.5.3-5.fc17 @updates-testing I enabled Zemberek spell checker, opened any document with writer, libreoffice process uses cpu 100%, I waited a couple of mins, but still very high cpu utilization. See attached scr capture. Created attachment 602114 [details]
high cpu utilization
libreoffice-3.5.6.2-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/libreoffice-3.5.6.2-1.fc17 libreoffice-3.5.6.2-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. I can still reproduce the bug with libreoffice-core-3.5.7.2-6.fc17.x86_64. LibreOffice is still insanely slow with zemberek Turkish spellchecking extension and document language set to Turkish. It hogs the CPU, as well. It may be an incompatibility between new Java VM and the old zemberek extension that is no longer maintained. By the way, there is a new experimental zemberek project going on[1]. I request this bug to be reopened, please. [1] http://code.google.com/p/zemberek3/ |