[SOLVED] LibreOffice hangs on save since --current 4.20
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Since the most recent kernel upgrade or thereabout in --current, LibreOffice 5.x.x hangs in what appears to be a tight loop on Save in both the Writer and Impress modules. the calc module is not affected.
Slackware --current up to the time of the most recent kernel upgrade works fine with all versions of LibreOffice including the various recent AlienBob versions and the rpm2tgz conversion of LibreOffice 5.2.x and 5.3.x. Current with the 4.19 kernel works fine.
A clean reinstall of Slackware does not help fix the problem and fiddling with the libreoffice.sh settings in /etc/profile.d doesn't help.
LibreOffice remains in a tight hang with 100% CPU use on the affected core until killed in htop.
Any suggestions?
Last edited by Regnad Kcin; 09-15-2016 at 01:58 PM.
I just built & tested SBo's LibreOffice (build from source SlackBuild, rather than the repackaging "libreoffice" SlackBuild) version 5.2.1.2 in a fresh -current VM with kernel 4.4.20 and saving works fine AFAICS.
chris
Last edited by chris.willing; 09-15-2016 at 06:53 PM.
Reason: mention LO version
Chris,
I used your SlackBuild and built LibreOffice5.2.1.2 in 57 minutes.
The save problem with Impress persists as before.
Writer and Calc work fine.
Other features of Impress seem to work ok except saving the file.
I have found that I can save the file in .pptx format but not as the default .odp
I just checked again and Impress saves fine here so I wonder if there's something strange about the content you're trying to save? What I'm doing is as follows:
- open Impress (in a fresh -current VM with only LO and required packages from building LO)
- make a page with just title and text
- make a second page with a title and image (/usr/share/pixmaps/firefox.png)
- save using defaults and exit LO
- check Documents directory and find "Untitled\ 1.odt" (from the default save)
- open LO and open "Untitled\ 1" from "Open Recent" in File menu.
Could you try exactly the same steps and/or spell out the steps that lead to failure for you?
Chris,
I have tried exactly the same steps as you indicate.
The hang occurs with impress at the "save using defaults" step.
I have tried with different content and have reopened .odt and .ppt and .pptx files.
The hang always occurs when saving as a .odp
*
guanx,
will try the tracing parameters.
I have checked the various system logs and tried running in a terminal and found nothing.
thanks for the tip.
@chris,
I haven't reinstalled the multilib on the machine since reinstalling slackware64 -current. I have another machine that runs multilib on linux 4.19 current and everything works fine. The problem seems to be something regarding the tools for saving the presentation in .odp format.
@guanx,
I dont find a trace or debug option for soffice...?
I've done some investigative work.
The hang on save in Impress bug is also reported for Ubuntu 16
What ever version of Windows that Ubuntu16 is I am not quite sure but is the same problem with LO 5.2.1.2 .
I peeled my Slackware64 -current off the machine and reformatted everything
and started with a clean install of Slackware64 current no multilib.
I installed AlienBob's 5.2.1.2 on it and immediately got the error.
Uninstalled that and installed LO5.2.0.2 from the rpms. same problem.
hangs on save in impress.
Installed Arch Linux on the machine in a ext4 partition on a backup hard drive on the machine.
Triple boot now with Slackware 64-current, win-friggin-seven (china chinese version) and Arch which
is the Linux 4.7.4 kernel. A bloody pain in the backside installing that Arch, buckos.
One really appreciates the Slackware install scripts after That.
So I have Arch with KDE plasma similar to AlienBob KDE5 and also Fluxbox (and TWM xterms
for those who are monochromatic at heart). I'll believe it when i see it in B&W.
LibreOffice-fresh which is good ol' 5.2.1.2 shows the same bug --- hang on save in impress!
Unstalled -fresh and installed LibreOffice-still which is the 5.1.5 version.
No hang on save!
What does it all mean Mr Natural?
Us Roman Meal Bakers thought you'd like to know.
Could you try the LO 5.2.1.2 package at: http://www.darlo.tv/lotest/ if you have the time? It's a built version of the SlackBuild from SBo. I made it in a new VM with -current, in which I can't replicate the Save problem. It would be interesting to know if it still works on your system. There's a saved test file there too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.