LibreOffice Writer instantly crashes when wanting to export a document to PDF, leaving multiple recovery information (.~lock.*#) behind. When wanting to open the same document again, LibreOffice asks if the file shall be recovered. System: OpenSUSE Tumbleweed Tested: LibreOffice 5.1.0.3 release and current LibreOffice Fresh Since I am using the rolling release Tumbleweed, I suspected this to be a bug caused by an incompatibility, but even a fresh reinstall of LibreOffice did not resolve the bug. Please tell me the best way to grab the stacktrace for fixing.
Please follow the instructions provided at this link < https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux >. and submit a backtrace. Please attach test file for reproduce the bug. Thanks.
Created attachment 123734 [details] First gdbtrace of crash Seems like not all necessary debugging symbols have been installed. Please let me know the appropriate source of the debugging symbols for openSUSE is needed. Thanks.
This bug appears to be still present in LibreOffice 5.1.1.3 10m0(Build:3). Please tell me how to further proceed in order to find the real cause!
Created attachment 123981 [details] Second gbtrace of crash
(In reply to SecUpwN from comment #4) > Created attachment 123981 [details] > Second gbtrace of crash Note this error message: Missing separate debuginfos, use: zypper install libreoffice-debuginfo-5.1.1.3-2.1.x86_64
(In reply to Buovjaga from comment #5) > (In reply to SecUpwN from comment #4) > > Created attachment 123981 [details] > > Second gbtrace of crash > > Note this error message: > Missing separate debuginfos, use: zypper install > libreoffice-debuginfo-5.1.1.3-2.1.x86_64 Zypper cannot find that package. Which repo to add for Tumbleweed?
(In reply to SecUpwN from comment #6) > Zypper cannot find that package. Which repo to add for Tumbleweed? It seems there is only a debuginfo repo for Leap: https://en.opensuse.org/Package_repositories Debuginfo packages. Advanced users only. Version: Leap 42.1 http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/
Created attachment 124277 [details] Third gbtrace of crash Installed http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/suse/x86_64/libreoffice-writer-debuginfo-5.0.2.2-1.2.x86_64.rpm but as it seems, the debugging info is still not getting found as I am on Tumbleweed. What to do now?
(In reply to SecUpwN from comment #8) > Created attachment 124277 [details] > Third gbtrace of crash > > Installed > http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/suse/ > x86_64/libreoffice-writer-debuginfo-5.0.2.2-1.2.x86_64.rpm but as it seems, > the debugging info is still not getting found as I am on Tumbleweed. What to > do now? Perhaps best move would be to contact the person(s) responsible for packaging the debug stuff in openSUSE.
Recently did another upgrade and this bug seems to be resolved with LibreOffice 5.1.2.2.0 10m0(Build:2). Thank you to everyone who helped me here!
Re-opening this bug after having identified the real cause of the crashes: It seems to be the package libreoffice-kde4. If it is NOT installed, I can finally save PDFs and other documents. If it IS installed, LibreOffice crashes on saving. Unfortunately, I cannot further investigate this Issue without the necessary debug packages installed. Please have a specific look at the libreoffice-kde4 package which causes the crashes and see if you can enhance it. Thank you.
Please contact the openSUSE LibreOffice packager to find out how to get the debug packages.
I have found this in 5.2.4-rc2 (Ubuntu PPA). I believe this has been fixed before, but has now regressed. Actually the problem is not related to installing libreoffice-kde, but to using native file dialogs (i.e. in settings <General><Libreoffice dialogs> turned off with libreoffice-kde installed. Unfortunately the problem does not happen with every document, making more difficult to reproduce.
Ferry: you are on Ubuntu, so you should be able to install the debug packages and get a backtrace of the crash https://wiki.documentfoundation.org/QA/BugReport/Debug_Information
I had disabled native dialogs because of this. Now reenabled. I'll first try to find a doc that hit's this bug reproducibly hits this bug.
Does it still happen with last stable LO version 5.4.4? If yes, we need a step by step process to reproduce this. Of course, a stacktrace would be useful.
Reverting status change as Xisco's automation would find it anyway.
*** Bug 115927 has been marked as a duplicate of this bug. ***
No way I can reproduce this, export to PDF and every other filepicker WFM. I mean, I see where it is crashing but w/o hands-on debugging I can only guess why. Is it specific to openSUSE, perhaps? KDE4 possibly? (I'm on KDE5)
Nope. Kubuntu Artful (17.10) here. With LibO 5.4.5 (now in Artful) it seems to be even worse, just clicking file open button is enough.
I got no proof but I'm not sure it's a dup. There are more and more bugs related to kde (see brand new tdf#115985 and tdf#115978)
Sorry I hadn't finished.. What I meant is it's quite weird to see these kde-related bugs appearing all of the sudden.
(In reply to Ferry Toth from comment #20) > Nope. Kubuntu Artful (17.10) here. With LibO 5.4.5 (now in Artful) it seems > to be even worse, just clicking file open button is enough. Please try to get a backtrace with the debug packages like I asked in comment 14. Otherwise it looks like this cannot be solved.
It seems all the crashes are happening on Kubuntu 17.10 ... Downloading Kubuntu...
I've downloaded Kubuntu 17.10 and LibreOffice crashes just trying to save the document. Version: 5.4.5.1 Build ID: 1:5.4.5-0ubuntu0.17.10.1 CPU threads: 1; OS: unknown; UI render: default; VCL: kde4; Locale: en-US (en_US.UTF-8); Calc: group However, it doesn't crash with a debug build Version: 6.1.0.0.alpha0+ Build ID: 4469c1d4061e8cb463469e60e5d87af5f9bf9636 CPU threads: 1; OS: Linux 4.13; UI render: default; VCL: kde4; TinderBox: Linux-rpm_deb-x86_64@70-TDF-dbg, Branch:master, Time: 2018-02-12_22:52:26 Locale: en-US (en_US.UTF-8); Calc: group nor in a daily build from today Version: 6.1.0.0.alpha0+ Build ID: 0a46237093c1750ee69ddb6a365098dc1d06b758 CPU threads: 1; OS: Linux 4.13; UI render: default; VCL: kde4; TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-02-21_21:56:55 Locale: en-US (en_US.UTF-8); Calc: group Maybe the kubuntu packages are damaged ?
*** Bug 115971 has been marked as a duplicate of this bug. ***
*** Bug 115978 has been marked as a duplicate of this bug. ***
With Kubuntu 17.10, LibreOffice 5.4.4 was ok, with the same ppa. Using the LibreOffice file dialog boxes is a workaround.
I deleted LibreOffice completely using sudo apt-get remove --purge libreoffice* then, I downloaded and installed the latest version of LibreOffice from https://www.libreoffice.org/download/download/ using sudo dpkg -i *.deb and it no longer crashes Version: 6.0.1.1 Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6 CPU threads: 1; OS: Linux 4.13; UI render: default; VCL: kde4; Locale: en-US (en_US.UTF-8); Calc: group Could someone verify this ?
The problem is definitely related to libreoffice-kde and the file dialog. Clicking on Open or Save dialog crashes libreoffice. OTOH, if the LibreOffice dialog are used ( Tools - Options - General - Use LibreOffice Dialogs ), it doesn't crash
Error in console: Couldn't open /usr/share/kde4/config/kdebug.areas LibreOffice(2968)/KSharedDataCache KSharedDataCache::Private::mapSharedMemory: Failed to establish shared memory mapping, will fallback to private memory -- memory usage will increase Couldn't open /usr/share/kde4/config/kdebug.areas LibreOffice(2974)/KSharedDataCache KSharedDataCache::Private::mapSharedMemory: Failed to establish shared memory mapping, will fallback to private memory -- memory usage will increase X Error: BadMatch (invalid parameter attributes) 8 Major opcode: 42 (X_SetInputFocus) Resource id: 0x4a01f2a X Error: BadMatch (invalid parameter attributes) 8 Major opcode: 42 (X_SetInputFocus) Resource id: 0x4a01f2a LibreOffice(2974): Couldn't open "/home/xisco/.kde/cache-xisco-VirtualBox/ksycoca4" even though it is readable? Impossible. QFile::seek: IODevice is not open LibreOffice(2974) KSycocaPrivate::checkVersion: Found version 0 , expecting version 243 or higher. QFile::seek: IODevice is not open LibreOffice(2974) KSycocaPrivate::checkVersion: Found version 0 , expecting version 243 or higher. ERROR: Running KSycoca failed. LibreOffice(2974): Couldn't open "/home/xisco/.kde/cache-xisco-VirtualBox/ksycoca4" even though it is readable? Impossible. QFile::seek: IODevice is not open LibreOffice(2974) KSycocaPrivate::checkVersion: Found version 0 , expecting version 243 or higher. QFile::seek: IODevice is not open LibreOffice(2974) KSycocaPrivate::checkVersion: Found version 0 , expecting version 243 or higher. X Error: BadMatch (invalid parameter attributes) 8 Major opcode: 42 (X_SetInputFocus) Resource id: 0x4a03bdf X Error: BadMatch (invalid parameter attributes) 8 Major opcode: 42 (X_SetInputFocus) Resource id: 0x4a03bdf Couldn't open /usr/share/kde4/config/kdebug.areas LibreOffice(3006)/KSharedDataCache KSharedDataCache::Private::mapSharedMemory: Failed to establish shared memory mapping, will fallback to private memory -- memory usage will increase
WORKAROUND: Go to Tools - Options - General and select enable 'LibreOffice Dialogs' In LibreOffice 6.0, you need to be in experimental mode to see the option ( Tools - Options- Advanced - Enable experimental feature
@Olivier, I thought you might be interested in this one...
Created attachment 140137 [details] crash backtrace on kubuntu 17.10 This happens on the notebook of my wife. Fully updated, with clean profile, workaround confirmed and libreoffice-kde installed. Hope it helps
*** Bug 116064 has been marked as a duplicate of this bug. ***
For me the latest update of the ppa (yesterday) fixes the crash with the kde files dialog box. Kubuntu 17.10 Version: 5.4.5.1 Build ID: 1:5.4.5-0ubuntu0.17.10.4 Threads CPU : 4; OS : Linux 4.13; UI Render : par défaut; VCL : kde4; Locale : fr-FR (fr_FR.UTF-8); Calc: single Thanks !
I updated yesterday and the issue I originally reported[1] appears to have been fixed. Version information is below: Version: 5.4.5.1 Build ID: 1:5.4.5-0ubuntu0.17.10.4 CPU threads: 8; OS: Linux 4.13; UI render: default; VCL: kde4; Locale: en-US (en_US.UTF-8); Calc: group Hope future testing is able to catch things like these before they get released. Thanks a lot, everyone! [1] https://bugs.documentfoundation.org/show_bug.cgi?id=115927
Great to hear! Closing.
Confirm it's fixed in Version: 5.4.5.1 Build ID: 1:5.4.5-0ubuntu0.17.10.4 CPU threads: 1; OS: Linux 4.13; UI render: default; VCL: kde4; Locale: en-US (en_US.UTF-8); Calc: group Looking at the changelog ( https://wiki.documentfoundation.org/Releases/5.4.5/RC1 ) nothing is related to KDE at first glance. I believe the issue was on KDE's side rather than on our side... anyway, happy to hear it's fixed.
The issue was not in KDE, but in the apparmor profiles blocking the opening of the KDE file dialog box. Those profiles were accidentally enabled in 1:5.4.5-0ubuntu0.17.10.1, and were disabled again in 1:5.4.5-0ubuntu0.17.10.4. See https://launchpad.net/bugs/1750087 for details.
And I suspect https://cgit.freedesktop.org/libreoffice/core/commit/sysui/desktop/apparmor?id=b13678b1e1d6f4cac548ae7e088b6030c31cf081 fixes that properly.
Thanks, Olivier. Tweaking status accordingly.
*** Bug 116151 has been marked as a duplicate of this bug. ***
*** Bug 116276 has been marked as a duplicate of this bug. ***
*** Bug 116508 has been marked as a duplicate of this bug. ***