LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-15-2016, 01:56 PM   #1
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
LibreOffice hangs on save since --current 4.20


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.
 
Old 09-15-2016, 03:09 PM   #2
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
Since kernel 4.4.21 was just released it would be interesting to hear if this is still the case there.

https://lkml.org/lkml/2016/9/15/55

Last edited by jostber; 09-15-2016 at 03:10 PM.
 
Old 09-15-2016, 06:11 PM   #3
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
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
 
Old 09-15-2016, 06:16 PM   #4
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Using Eric's Libreoffice (older version 5.1.3) on -current with 4.4.20 kernel. Everything working fine here. Not hanging on Save.
 
Old 09-16-2016, 05:48 PM   #5
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Original Poster
Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
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
 
Old 09-16-2016, 06:43 PM   #6
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
Does running libo with the --strace or the --backtrace parameter help you locate the problem?
 
Old 09-16-2016, 08:02 PM   #7
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by Regnad Kcin View Post
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
 
Old 09-17-2016, 09:09 AM   #8
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Original Poster
Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
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.
 
Old 09-17-2016, 06:22 PM   #9
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Hey Regnad, I just noticed you're running a multilib -current. I wonder if that is somehow a factor?
 
Old 09-17-2016, 10:37 PM   #10
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Original Poster
Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
@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...?
 
Old 09-18-2016, 02:26 PM   #11
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by Regnad Kcin View Post
...
...
I dont find a trace or debug option for soffice...?
Sorry, I haven't been using soffice for quite some years, but with libreoffice you can do something like this:
Code:
libreoffice5.2 --strace
or
Code:
libreoffice5.2 --backtrace
See the text file `which libreoffice5.2`.
 
Old 09-18-2016, 03:43 PM   #12
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
Some tips for using strace, backtrace and valgrind to debug Libreoffice here:

https://en.opensuse.org/openSUSE:Bugreport_LO
 
Old 09-18-2016, 04:46 PM   #13
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Original Poster
Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
Reading the simpress script helped me to see what
Quote:
simpress --strace
was doing....
(it saved the strace log as strace.log)

the edited strace.log (original minus many pages of repetitive fails) can be seen here:
http://pigs.ag/bugz/strace_snipped.log.tar.gz

Some dude running Ubuntu 16.x has reported the same problem in LibreOffice's Bugzilla...

https://bugs.documentfoundation.org/....cgi?id=101898

Last edited by Regnad Kcin; 09-18-2016 at 05:11 PM. Reason: edited url
 
Old 09-22-2016, 12:16 PM   #14
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Original Poster
Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
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.
 
Old 09-22-2016, 11:50 PM   #15
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
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.

chris
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] libreoffice hangs... mdooligan Arch 6 12-15-2015 04:26 AM
Libreoffice Writer Hangs After some time ntu929 Linux - Newbie 13 11-01-2015 04:52 AM
Libreoffice Writer Hangs After some time ntu929 Linux - Newbie 1 08-28-2015 03:02 AM
Alien Bob's last libreoffice open/save problem aszabo Slackware 8 01-06-2015 01:06 PM
LibreOffice 3.5.3 Writer hangs up on start glupa4e Slackware 2 06-02-2012 07:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration