Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libreoffice 4.0.0.1 segfaults on x86
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
albright
Advocate
Advocate


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

PostPosted: Sat Jan 12, 2013 11:09 pm    Post subject: libreoffice 4.0.0.1 segfaults on x86 Reply with quote

Hi - as in subject after emerging libreoffice-4.0.0.1 on my
x86 notebook, all office apps (lowriter, localc, etc)
fail with this sort of error when I try to start them:


Code:
soffice.bin[1459]: segfault at 2865f0fc ip b0fe04c2 sp bfd7c054 error 4 in libgcc3_uno.so[b0fde000+c000]


works fine on my x86_64 box;

before digging deeper, I wonder if anyone else has run into this
_________________
.... 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
albright
Advocate
Advocate


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

PostPosted: Mon Jan 14, 2013 3:58 pm    Post subject: Reply with quote

OK, so no one else runs into this problem

I built libreoffice with +debug and ran it in gdb, to get
this not very helpful output:

Code:
/usr/lib/libreoffice/program $ gdb ./soffice.bin
GNU gdb (Gentoo 7.5 p1) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/lib/libreoffice/program/soffice.bin...(no debugging symbols found)...done.
(gdb) run -writer
Starting program: /usr/lib/libreoffice/program/soffice.bin -writer
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0xb2c28b40 (LWP 32448)]
Warning: -writer is deprecated.  Use --writer instead.
warn:configmgr:32444:1:/var/tmp/notmpfs/portage/app-office/libreoffice-4.0.0.1/work/libreoffice-4.0.0.1/configmgr/source/xcuparser.cxx:350: unknown component "org.openoffice.Office.UI.WriterWindowState" in "file:///usr/lib/libreoffice/program/../share/registry/librelogo.xcd"
[New Thread 0xb07fdb40 (LWP 32449)]
[New Thread 0xafdffb40 (LWP 32450)]

Program received signal SIGSEGV, Segmentation fault.
0xb1426f8a in ?? () from /usr/lib/libreoffice/ure/lib/libgcc3_uno.so
(gdb)


I really have no idea why this is happening ?!
_________________
.... 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
albright
Advocate
Advocate


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

PostPosted: Mon Jan 14, 2013 9:02 pm    Post subject: Reply with quote

I continue my lonely quest :)

So I banged in the rpms of libreoffice-4.0.0.1 (--nodeps needed
but the deps are actually in place)

Guess what: libreoffice starts, and runs, perfectly

so this is some gentoo problem - something, I guess, about my setup

... but what could it be ? :cry:
_________________
.... 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
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Tue Jan 15, 2013 6:16 am    Post subject: Reply with quote

well, you may be following these, just for record.
https://bugs.gentoo.org/buglist.cgi?quicksearch=libreoffice+4.0.0.1+segfault

so, what icu version is installed on your system? version 50.1.1 seems broken for now.
_________________
hear hear
Back to top
View user's profile Send private message
albright
Advocate
Advocate


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

PostPosted: Tue Jan 15, 2013 3:59 pm    Post subject: Reply with quote

Quote:
so, what icu version is installed on your system? version 50.1.1 seems broken for now.


thanks for the link to the bug;

I tried both icu-49.1.2 (which was installed when the problem arose) and
icu-50.1-r2 (which I thought I'd try in desperation)

Problem remains exactly the same either way. Whic is strange since my
problem surely *is* the same bug :?
_________________
.... 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
cruzki123
Apprentice
Apprentice


Joined: 16 May 2008
Posts: 262

PostPosted: Thu Jan 17, 2013 11:03 pm    Post subject: Reply with quote

have you recompiled libreoffice after changing the icu version?
Back to top
View user's profile Send private message
albright
Advocate
Advocate


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

PostPosted: Thu Jan 17, 2013 11:26 pm    Post subject: Reply with quote

Quote:
have you recompiled libreoffice after changing the icu version?


Hi - I was mistaken. There are two bugs; one related to icu and
one that seems to be a complete mystery at the moment.

Unfortunately for me, I suffer from the mystery bug.

(But I did go through changing icu and it made no difference)
_________________
.... 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
bloodcut
n00b
n00b


Joined: 23 Jan 2013
Posts: 1

PostPosted: Wed Jan 23, 2013 9:25 am    Post subject: Reply with quote

albright wrote:
I continue my lonely quest :)

Well, I've run into the very same issue, and currently have no idea what the actual cause could be. As I actually need a working LOffice I'm just in the process of getting the latest 3.x version compiled ...

Interestingly, as you've noted already, it works on my x86_64 systems; I haven't tried to update my other x86 system, yet (maybe it works there, who knows).

Strange problem indeed :shock:
Back to top
View user's profile Send private message
m1k0
Apprentice
Apprentice


Joined: 27 Dec 2006
Posts: 180
Location: Radom/Poland

PostPosted: Thu Feb 14, 2013 8:10 am    Post subject: Reply with quote

I have the same :(
soffice.bin[3103]: segfault at 23ff11bc ip add514d6 sp bfef0624 error 4 in libgcc3_uno.so[add4f000+c000]
(app-office/libreoffice-4.0.0.3 x86)
any progress?
_________________
MSI GX-70
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 558
Location: uk

PostPosted: Thu Feb 14, 2013 11:26 am    Post subject: Reply with quote

Yes it is a -fomit-frame-pointer issue and will be fixed in libreoffice-4.0.1
See bug https://bugs.gentoo.org/show_bug.cgi?id=451778
Back to top
View user's profile Send private message
albright
Advocate
Advocate


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

PostPosted: Thu Feb 14, 2013 1:43 pm    Post subject: Reply with quote

Quote:
Yes it is a -fomit-frame-pointer issue


glad we know what's wrong

strange to have in the recent past two compiler option
problems (-fomit-frame-pointer for libreoffice and
-Os vs. -02 for qt-core) in major packages
_________________
.... 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
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Thu Feb 14, 2013 2:26 pm    Post subject: Reply with quote

Interestingly, again no problem here with gcc-4.7.2 and libreoffice-4.0.0.3.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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