Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libreoffice 4.1.2.3 is very unstable (amd64)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Tumanov
n00b
n00b


Joined: 24 Jul 2012
Posts: 16

PostPosted: Wed Nov 13, 2013 7:00 am    Post subject: libreoffice 4.1.2.3 is very unstable (amd64) Reply with quote

Why it's not masked in portage? I tried the one from portage and the one from libreoffice website (I have compiled the source code) and both have the same symptoms: crashing while opening some impress presentations / saving documents / etc. Newer version 4.1.3.2 looks better. Who decides whether to mark it as stable or not to mark? I'm a professional user of this software and ready to test and to share my experience.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Wed Nov 13, 2013 1:04 pm    Post subject: Reply with quote

Do you have libreoffice set to use its own file dialogs?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Tumanov
n00b
n00b


Joined: 24 Jul 2012
Posts: 16

PostPosted: Wed Nov 13, 2013 1:29 pm    Post subject: Reply with quote

Dear albright, could you explain what do you mean?
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Wed Nov 13, 2013 2:50 pm    Post subject: Reply with quote

in libreoffice menu

tools - options - libreoffice - general

check "use libreoffice dialogs"

use of non-libreoffice dialogs (especially kde) causes crashes
when saving / opening files (this is a known bug which may
be affecting you)
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Tumanov
n00b
n00b


Joined: 24 Jul 2012
Posts: 16

PostPosted: Wed Nov 13, 2013 3:04 pm    Post subject: Reply with quote

Thank you. I use libreoffice dialogs. But my question was about 4.1.2.3 version
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Wed Nov 13, 2013 3:28 pm    Post subject: Reply with quote

Quote:
But my question was about 4.1.2.3 version


I too use 4.1.2.3 but I have no problem with stability unless
I try to use system file dialogs

you must have another problem ...
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Tumanov
n00b
n00b


Joined: 24 Jul 2012
Posts: 16

PostPosted: Wed Nov 13, 2013 3:47 pm    Post subject: Reply with quote

ОК. And what architecture do you use? My one is amd64. I use Impress much and with the most files 4.1.2.3 works fine, but with some of them - crushes - both gentoo version & the one from libreoffice website. As for earlier and older versions I don't see these problems. Also sometimes in 4.1.2.3 I see blank dialog when changing cell attributes. And "Save As" dialog also cruses sometimes
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2284
Location: Adendorf, Germany

PostPosted: Wed Nov 13, 2013 3:48 pm    Post subject: Reply with quote

Tumanov wrote:
Why it's not masked in portage?
Why should it? Upstream says it is stable, so it is not masked, but keyworded in the Portage tree. If you install packages that are not in the stable tree, it is assumed you know what you are doing.
albright wrote:
in libreoffice menu

tools - options - libreoffice - general

check "use libreoffice dialogs"

use of non-libreoffice dialogs (especially kde) causes crashes
when saving / opening files (this is a known bug which may
be affecting you)
I am using libreoffice-4.1.3.2 on KDE-4.11.3 with KDE-Dialogs, and it is dead stable for me.

Here are the USE-flags I set:
Code:
 ~ $ equery u app-office/libreoffice-4.1.3.2
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for app-office/libreoffice-4.1.3.2:
 U I
 - - bluetooth                                   : Enable Bluetooth Support
 + + branding                                    : Enable Gentoo specific branding
 + + cups                                        : Add support for CUPS (Common Unix Printing System)
 + + dbus                                        : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
 - - debug                                       : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - eds                                         : Enable support for Evolution-Data-Server (EDS)
 - - gnome                                       : Add GNOME support
 + + gstreamer                                   : Add support for media-libs/gstreamer (Streaming media)
 + + gtk                                         : Add support for x11-libs/gtk+ (The GIMP Toolkit)
 - - gtk3                                        : Enable highly experimental gtk3 frontend
 + + java                                        : Add support for Java
 + + jemalloc                                    : Use dev-libs/jemalloc for allocations
 + + kde                                         : Add support for KDE (K Desktop Environment)
 + + libreoffice_extensions_nlpsolver            : LIBREOFFICE_EXTENSIONS option to build non-linear solver for calc
 + + libreoffice_extensions_presenter-minimizer  : LIBREOFFICE_EXTENSIONS option to build presentation minimizer
 - - libreoffice_extensions_scripting-beanshell  : LIBREOFFICE_EXTENSIONS option to build beanshell scripts parser
 - - libreoffice_extensions_scripting-javascript : LIBREOFFICE_EXTENSIONS option to build javascript scripts parser
 + + libreoffice_extensions_wiki-publisher       : LIBREOFFICE_EXTENSIONS option to build mediawiki integration
 - - mysql                                       : Add mySQL Database support
 - - odk                                         : Build the Office Development Kit
 + + opengl                                      : Add support for OpenGL (3D graphics)
 - - postgres                                    : Add support for the postgresql database
 + + python_single_target_python2_7              : Build for Python 2.7 only
 - - python_single_target_python3_3              : Build for Python 3.3 only
 + + python_targets_python2_7                    : Build with Python 2.7
 - - python_targets_python3_3                    : Build with Python 3.3
 + + telepathy                                   : Enable document colaboration features using telepathy communication framework.
 - - test                                        : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore
 + + vba                                         : Enable support for VBA compatibility and ActiveX embedding
 + + webdav                                      : Adds support for HTTP content adding via net-libs/neon
Note: USE="gtk3" for LibreOffice sure to lead to problems. So if you have installed libreoffice with the gtk3 USE flag enabled, then please try without it. It is not described as "Enable highly experimental gtk3 frontend" without a reason.
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
Tumanov
n00b
n00b


Joined: 24 Jul 2012
Posts: 16

PostPosted: Wed Nov 13, 2013 6:48 pm    Post subject: Reply with quote

As I explained the problem is not in 4.1.3.2? but in 4.1.2.3.
After opening of some (not all, but some) impress presentations it's crushing. In messages I see:
localhost kernel: [ 1917.079071] traps: soffice.bin[3525] general protection ip:7f86b741548a sp:7fffa760bd50 error:0 in libstdc++.so.6.0.17[7f86b73b3000+e8000]

But in newer 4.1.3.2 everything is fine (this error is not reproduced)
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Wed Nov 13, 2013 6:58 pm    Post subject: Reply with quote

sorry about confusion about version numbers

I rebuilt my libreoffice with Yamakuzure's flags and re-enabled
kde dialogs

I still get crashes

the message in konsole is:

Code:
QWidget::repaint: Recursive repaint detected


and in /var/log/messages:

Code:
kernel: soffice.bin[9894]: segfault at 118 ip 00007f6b6947e6e0 sp 00007fff4711c9e8 error 4 in libQtGui.so.4.8.5[7f6b69102000+a40000]


EDIT: looks like perhaps building qtgui with +gtkstyles has solved this; at least I've
opened a new instance of libreoffice and saved a document several times without
a crash .... we shall see
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2284
Location: Adendorf, Germany

PostPosted: Fri Nov 15, 2013 4:05 pm    Post subject: Reply with quote

Tumanov wrote:
As I explained the problem is not in 4.1.3.2? but in 4.1.2.3.
Oh sorry! I misread that then! 4.1.2.3 was stable for me, too.
Tumanov wrote:
After opening of some (not all, but some) impress presentations it's crushing. In messages I see:
localhost kernel: [ 1917.079071] traps: soffice.bin[3525] general protection ip:7f86b741548a sp:7fffa760bd50 error:0 in libstdc++.so.6.0.17[7f86b73b3000+e8000]
libstdc++.so? Which version of gcc do you have installed and which are the USE flags for gcc and the CFLAGS for both gcc and libreoffice? (Note: Try with emerge --info <package>)

libreoffice is (like all OpenOffice instanciations) *highly* delicate about CFLAGS. So if you have *any* Graphite or LTO stuff enabled, I'd recommend to try without first.

My flags for libreoffice:
Code:
 $ cat /etc/portage/env/app-office/libreoffice
## CFLAGS:
CFLAGS="-march=native -pipe -O2"
CXXFLAGS="${CFLAGS}"
LDFLAGS="${LDFLAGS} -s -Wl,--sort-common -Wl,--hash-style=gnu"
And my settings for gcc:
Code:
 $ cat /etc/portage/env/sys-devel/gcc
# FOR GCC ONLY

GCC_MAKE_TARGET="profiledbootstrap"
## CFLAGS:
CFLAGS="-march=native -pipe -ggdb -O2"
CXXFLAGS="${CFLAGS}"
LDFLAGS="${LDFLAGS} -Wl,--sort-common -Wl,--hash-style=gnu"
## FEATURES:
FEATURES="distlocks protect-owned sandbox sfperms strict unmerge-orphans"
FEATURES="${FEATURES} split-log" ## Split logs, so the directories are better scanable
FEATURES="${FEATURES} splitdebug"           ## For everything that does not use stripping/optimizing LDFLAGS
FEATURES="${FEATURES} test" ## Needed for USE FLag "regression-test"

_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
Tumanov
n00b
n00b


Joined: 24 Jul 2012
Posts: 16

PostPosted: Tue Nov 19, 2013 9:27 pm    Post subject: Reply with quote

So it seams that it's a well known bug for those who use kde flag. And as I checked it's not yet hacked even in current developing version from libreoffice git repo.
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2284
Location: Adendorf, Germany

PostPosted: Thu Nov 21, 2013 10:08 am    Post subject: Reply with quote

Yamakuzure wrote:
I am using libreoffice-4.1.3.2 on KDE-4.11.3 with KDE-Dialogs, and it is dead stable for me.
All file dialogs are fine. I am using qtcurve, maybe it's a style/design issue?

However, if I try to move cells in localc with the mouse as described above, it crahes here as well. I never do this, because I find it too hard to aim the mouse correctly. ctrl-x + ctrl-v is faster for me in any case. That's why I never noticed this bug before.
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
Tumanov
n00b
n00b


Joined: 24 Jul 2012
Posts: 16

PostPosted: Thu Nov 21, 2013 1:51 pm    Post subject: Reply with quote

Dear Yamakuzure, the same error occurs if you move not only cells, sheets tags also. And how do you move rows (with hot keys) if you want to put them between others?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum