[Libreoffice-bugs] [Bug 122116] New: LibreOffice 6.1.* crashes by recovering file at start over and over on Linux

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Dec 15 00:55:58 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=122116

            Bug ID: 122116
           Summary: LibreOffice 6.1.* crashes by recovering file at start
                    over and over on Linux
           Product: LibreOffice
           Version: 6.1.3.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: andrasszerencses1 at gmail.com

Description:
System:
KDE neon 5.14
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.53.0
QT Version: 5.11.2
Kernel Version: 4.15.0-42-generic
OS Type: 64-bit

//////////////////////////////////////////
LibreOffice version in issue:
Version: 6.1.3.2
Build ID: 1:6.1.3~rc2-0ubuntu0.18.04.2
CPU threads: 2; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc: CL

//////////////////////////////////////////
Used source:
deb http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu bionic
main

/////////////////////////////////////////
Current java versions appearing in libreoffice:
10.0.2 - location: /usr/lib/jvm/java-11-openjdk-amd64
1.8.0_191 - location: /usr/lib/jvm/java-8-openjdk-amd64/jre


/////////////////////////////////////////
My notes
(First of all, there is an issue between AppArmor and LibreOffice on this
system, a LOT. First I tried allowing everything step by step without success
because a myriad profile appeared as denied awesomeness over and over so I just
disabled all the basic usr.lib.libreoffice.program.* profile for LibreOffice in
AppArmor at the end.)

--------
Obviously, first I tried to use the basic one implemented by given system above
what is the very same version seemingly, at least as I noticed. important that
this one what comes with the system by default behaves in the very same way.

--------
I hate to use PPAs, especially in neon what got a lot edgy sources in default
already. KDE5 VCL is the very only reason I tried to install LibreOffice 6.2
because I thought it'll solve KDE issues such as the above crash, Global
Application Menu, QT issues (right click menu appears on other monitor etc),
etc.
https://bugs.documentfoundation.org/show_bug.cgi?id=113397

--------
Why I use the PPA?
Prereleases Appimage won't work on this specific system and PC somehow, it
closes right after the start, I tried several solution without success and
there is not much or serious help for this particular Appimage.
Flatpak stuck with 6.1 and as they said it'll stick with it for a wile and
anyways KDE5 VCL will not be implemented even with Flatpak LO 6.2 version (what
I don't really understand):
https://github.com/flathub/org.libreoffice.LibreOffice/issues/63 .
I '!don't like!' snap and it's also got 6.1 version.
Despite the above PPA also contains only the 6.1 what I realized only later,
somehow as it appears it works with Global Menu when I successfully got it open
with the crash dialogue below and also it contains a promising package named
libreoffice-kde5.


/////////////////////////////////////////
The most important part, the issue itself with PPA above

On a clean start (~/.conf/libreoffice removed relogin) dialogue under
LibreOffice Writer for example:
---
"Due to an unexpected error, LibreOffice crashed. All the files you were
working on will now be saved. The next time LibreOffice is launched, your files
will be recovered automatically.
The following files will be recovered:"
---
(There is no file shown what will be recovered.)
I found several sources what says it can be solved depending how you close it,
with 'x' on main window or with 'ok' or 'x' or 'esc' on dialogue, well it
doesn't matter.
https://askubuntu.com/questions/244661/libreoffice-always-shows-recovery-process-at-startup-due-to-failing-recovery-ite



---------------------------
After this I try to reopen LibreOffice and TWO dialogues appears right away.
The first in background the typical recovery dialogue:
---
"LibreOffice will attempt to recover the stat of the files you were working on
before it crashed. Click 'Start' to begin the process, or click 'Discard' to
cancel the recovery."
---

The most interesting is that I don't even have time to click anything on the
dialogue above, the below dialogue appears at the same time with it:
---
"Due to an unexpected error, LibreOffice crashed. All the files you were
working on will now be saved. The next time LibreOffice is launched, your files
will be recovered automatically.
The following files will be recovered:
Untitled 1"
---
It's the very same dialogue when LibreOffice crashes so it's just crashing
right after it attempts to recovering given file and now an Untitled 1 file
appears on the dialogue. Basically above quote simple a paradox, it's simple
crashing by recovering the file and it says it will recover the file at the
very same time.
After this it's happening over and over when I try to open LibreOffice.


/////////////////////////////////////////
I tried a LOT possible solutions, removing and modifying java, hardware info,
OpenCL and Recovery related stuff in these files for example:
~/.config/libreoffice/4/.lock
~/.config/libreoffice/4/user/registrymodifications.xcu
~/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml
~/.config/libreoffice/4/cache/opencl_profile.xml
I also tried to mofify or turn off java, OpenCL in Gui, also I turned off KDE
compositing for libreoffice.


/////////////////////////////////////////
I don't think so but could be relevant stuff in registrymodifications.xcu file:
<item oor:path="/org.openoffice.Office.Common/Misc"><prop
oor:name="SelectedOpenCLDeviceIdentifier" oor:op="fuse"><value>NVIDIA
Corporation 390.77--6.1.3.2--1540842929</value></prop></item>
---
<item oor:path="/org.openoffice.Office.Recovery/RecoveryInfo"><prop
oor:name="SessionData" oor:op="fuse"><value>false</value></prop></item>
<item oor:path="/org.openoffice.Office.Recovery/RecoveryList"><node
oor:name="recovery_item_1" oor:op="replace"><prop oor:name="Title"
oor:op="fuse"><value>Untitled 1</value></prop><prop oor:name="Filter"
oor:op="fuse"><value>writer8</value></prop><prop oor:name="Module"
oor:op="fuse"><value>com.sun.star.text.TextDocument</value></prop><prop
oor:name="TempURL" oor:op="fuse"><value></value></prop><prop
oor:name="ViewNames" oor:op="fuse"><value></value></prop><prop
oor:name="OriginalURL" oor:op="fuse"><value></value></prop><prop
oor:name="TemplateURL" oor:op="fuse"><value></value></prop><prop
oor:name="DocumentState" oor:op="fuse"><value>0</value></prop></node></item>

Thanks for possible considering!


Steps to Reproduce:
1. Open LibreOffice. It crashes.
2. Try open again, It'll crash again.

Actual Results:
It's trying to recovery the file and it's crashing at the same time.

Expected Results:
Opening LibreOffice without crash.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181215/ae975e7d/attachment.html>


More information about the Libreoffice-bugs mailing list