Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 426574

Summary: app-office/libreoffice-bin-3.5.4.2-r1 crashes on menu items - View, Vindow, Table...
Product: Gentoo Linux Reporter: Ellen <ellectronca>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info libreoffice-bin.log
output of eix -I qt*

Description Ellen 2012-07-14 11:35:09 UTC
After upgrade app-office/libreoffice-bin from 3.5.2.2 to latest 3.5.4.2-r1 all office apps crashes when I trying to open such menu items as: 
View -- Writer, Calc, Impress;
Paste (i suppose, 'cause non-english) -- Calc;
Table -- Writer;
Browse (i suppose, 'cause non-english), ;
Window -- Writer, Calc, Base, Impress;
Service -- Impress;

This error:

On first run after upgrade:
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode: 42 (X_SetInputFocus)
  Resource id:  0x4e00179
/usr/lib64/libreoffice/program/soffice.bin: symbol lookup error: /usr/lib64/libreoffice/program/libvclplug_kde4lo.so: undefined symbol: _ZN6QImage4fillEN2Qt11GlobalColorE

All later runs::
/usr/lib64/libreoffice/program/soffice.bin: symbol lookup error: /usr/lib64/libreoffice/program/libvclplug_kde4lo.so: undefined symbol: _ZN6QImage4fillEN2Qt11GlobalColorE

Also are missed some slide change effects in Impress.

Reproducible: Always

Steps to Reproduce:
1. Open Any LibreOffice (bin) app
2. Click on menu Window, View etc...
Actual Results:  
it crashes with:
/usr/lib64/libreoffice/program/soffice.bin: symbol lookup error: /usr/lib64/libreoffice/program/libvclplug_kde4lo.so: undefined symbol: _ZN6QImage4fillEN2Qt11GlobalColorE

Expected Results:  
Open the menu

app-office/libreoffice-bin-3.5.4.2-r1  USE="cups java* kde (-aqua) -debug -gnome"

Please get back ebuilds for app-office/libreoffice-bin-3.5.2.2 and dev-libs/icu-4.8.1.1-r1 <- all this worked perfectly
Comment 1 Ellen 2012-07-14 12:03:19 UTC
Created attachment 318130 [details]
emerge --info libreoffice-bin.log
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2012-07-18 15:34:02 UTC
What are your qt and kde versions?
Also you can override this crash by setting other ui by this:

SAL_USE_VCLPLUGIN=gen lowriter
SAL_USE_VCLPLUGIN=kde4 lowriter 
SAL_USE_VCLPLUGIN=gtk lowriter 

first try the gtk one as it is much nicer than generic.
Comment 3 Ellen 2012-07-18 17:15:41 UTC
(In reply to comment #2)

KDE 4.7.4
gtk-engines-2.20.2
 
Thanks, this way works:
SAL_USE_VCLPLUGIN=gtk libreoffice

'gen' have some moments where it crashes, for example:
SAL_USE_VCLPLUGIN=gen libreoffice --base

then try open existing base and this will crashes instead of opening file dialog, and this error:
QWidget: Must construct a QApplication before a QPaintDevice

And this one get crashes as described in this bug (on menus):
SAL_USE_VCLPLUGIN=kde4
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2012-07-18 17:32:33 UTC
Okey and what is the QT version, I suspect some binary incompatibility between latest stable and your one.
Comment 5 Ellen 2012-07-18 17:48:43 UTC
Created attachment 318550 [details]
output of eix -I qt*

see attachment
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2012-07-18 18:04:17 UTC
Ok, seems we will have to raise the qt dep to 4.8 and thus the kde dep to the same version.

Try to update if it is possible for your machine. In meantime use the -kde version :-)

@dilfridge: as you toy with binary can you do that?
Comment 7 Ellen 2012-07-18 20:20:12 UTC
Right now I don't have time to upgrade KDE, and this settings "fixes" the bug :)
USE="-kde" emerge libreoffice-bin

And I still use QT 4.7.4, why do you plan up it to 4.8 too?
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2012-07-18 20:24:32 UTC
Upgraded dependency to qt-4.8, kde-4.8+