LibreOffice 4.0.0.1 builds correctly on my x86 box; however, all executables die immediately after displaying the splash screen. In /var/log/messages I see messages of this sort : kernel: soffice.bin[25002]: segfault at 20d496bc ip add214b5 sp bf939d74 error 4 in libgcc3_uno.so[add1f000+c000] It appears that others are experiencing this as well and that the issue may be x86 specific: http://forums.gentoo.org/viewtopic-t-947758-highlight-.html?sid=030fdeed3ae04b0f381afbef9a38956b Reproducible: Always
Marking this bug as confirmed as I'm also experiencing it on x86. Haven't tried on amd64 yet. Denis.
Created attachment 335528 [details] emerge --info --verbose Here's the emerge --info --verbose for that machine.
I am seeing it as well on x86, while amd64 machine works ok. Launching from a terminal indicates a locale problem :- ~ $ soffice --calc I18N: Operating system doesn't support locale "en_US"
nah the locale is justwarning. Try to strace it or go with gdb to get full crash trace (with debugsymbols please).
Created attachment 335582 [details] strace libreoffice4 launch on x86 Hope attachment OK(not used strace before), if not please advise any options I should use. I will rebuild libreoffice with the debug USE flag, in order to try gdb. It takes a while though. :)
Created attachment 335700 [details] gdb backtrace gdb backtrace generated via soffice --backtrace It cannot find symbols even though I rebuilt with the debug USE flag, could this be due to having -fomit-frame-pointer in my CFLAGS?
I am experiencing this as well.
I too. I note that you can install libreoffice-4.0.0.1 from the downloadable rpm files and it seems to run and work perfectly.
(In reply to comment #1) > Marking this bug as confirmed as I'm also experiencing it on x86. Haven't > tried on amd64 yet. > > Denis. I have still the same trouble here, but I can state the following: After my installation of, see log: Sat Jan 12 16:34:11 2013 >>> app-office/libreoffice-4.0.0.1 Libreoffice works for a few days on my amd64 arch, cause my last document modify date is from the Jan 13 17:17 2013. Some world updates later it doesn't work anymore. Don't know what could be the reason for that. On my x86 system which I updated few days later, libreoffice-4x doesn't work from its beginning of installation. Here's my amd64 message.log, sorry, no strace info here: Jan 20 11:26:33 big-server kernel: [ 1022.520219] soffice.bin[25127]: segfault at 0 ip 00007f4142e7f8e6 sp 00007fff7b8e0080 error 4 in libicule.so.50.1.1[7f4142e6b000+40000] Regards, Andy.
@randy - check the other bug here: 452006 did you upgrade icu by any chance?
(In reply to comment #10) > @randy - check the other bug here: 452006 > > did you upgrade icu by any chance? Thanks for the hint, William. I've overlooked this bug, but it solves the problem for me. Recompiling icu 50.1.1 doesn't work, as one guy told there, but downgrading to 50.1-r2 works well for me. Best regards, Andy.
(In reply to comment #11) > (In reply to comment #10) > > @randy - check the other bug here: 452006 > > > > did you upgrade icu by any chance? > > Thanks for the hint, William. I've overlooked this bug, but it solves the > problem for me. > Recompiling icu 50.1.1 doesn't work, as one guy told there, but downgrading > to > 50.1-r2 works well for me. Just for the record: I don't think anybody suggested recompiling ICU, it's all about recompiling the application using the new headers. That is, after upgrading to 50.1.1 you need to recompile libreoffice. Regards, Bernd
(In reply to comment #12) > (In reply to comment #11) > > (In reply to comment #10) > > > @randy - check the other bug here: 452006 > > > > > > did you upgrade icu by any chance? > > > > Thanks for the hint, William. I've overlooked this bug, but it solves the > > problem for me. > > Recompiling icu 50.1.1 doesn't work, as one guy told there, but downgrading > > to > > 50.1-r2 works well for me. > > Just for the record: I don't think anybody suggested recompiling ICU, it's > all about recompiling the application using the new headers. That is, after > upgrading to 50.1.1 you need to recompile libreoffice. > Regards, > Bernd Also for the record: I tried first recompiling all the packages that depend on icu and then libre-office. I tried this with both icu 50.1.1 and icu-50.1-r2. No luck. I am enclined to think that the libgcc3_uno.so segfault issue is a separate one, that is x86 specific as I have also access to a gentoo x86_64 box and I have no issue on that one with libreoffice and icu-50.1.1.
I see we now have libreoffice-4.0.0.2 I think this fixes bug 452006, but the bug here(451778) remains; segfault at startup
Created attachment 337270 [details] Backtrace for libreoffice-4.0.0.2 # emerge --info libreoffice Portage 2.1.11.50 (hardened/linux/x86, gcc-4.6.3, glibc-2.16.0, 3.7.5 i686) ================================================================= System Settings ================================================================= System uname: Linux-3.7.5-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-2.2 KiB Mem: 2039820 total, 195408 free KiB Swap: 16777212 total, 16777212 free Timestamp of tree: Tue, 29 Jan 2013 20:30:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p42 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.3-r3, 3.2.3-r2 dev-util/cmake: 2.8.10.2-r1 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.13.1 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.7 (virtual/os-headers) sys-libs/glibc: 2.16.0 Repositories: gentoo tka ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=native -mtune=native -O2 -fomit-frame-pointer -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -mtune=native -O2 -fomit-frame-pointer -pipe -ggdb" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n --with-bdeps=y" FCFLAGS="-march=i686 -O2 -pipe" FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=i686 -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 acl acpi alsa berkdb bzip2 cairo caps cdda cddb cdparanoia cli cracklib crypt cups cxx dbus dri dts dvd fam ffmpeg fftw flac fontconfig gdbm gif gimp gmp gnutls gpm gtk hardened iconv icu idn ipv6 java jpeg lame libnotify mad matroska mmap mmx modules mp3 mpeg mudflap ncurses nptl ogg opengl openmp pam pax_kernel pcre pic png policykit ppds readline sasl sdl session sse sse2 ssl startup-notification svg tcpd theora threads tiff truetype udev unicode vorbis x264 x86 xattr xcb xml xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="i915 intel" XFCE_PLUGINS="logout menu trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= app-office/libreoffice-4.0.0.2 was built with the following: USE="cups dbus gtk java opengl vba (-aqua) -bluetooth -branding -debug -eds -gnome -gstreamer -gtk3 -jemalloc -kde -mysql -odk -postgres -telepathy -test -webdav" LIBREOFFICE_EXTENSIONS="presenter-minimizer -nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 -python3_3" PYTHON_TARGETS="python2_7 -python3_3"
Bug persists in libreoffice-4.0.0.3
Go to bug #456138 for the real cause of this issue and a temporary workaround. Denis.
AHA! I totaly forgot on this issue because I fixed it in openSUSE :P Well it will be fixed in 4.0.1 release as upstream patch so I don't think we really neeed to filter the -fomit-frame-pointer right now. BTW guys you should run USE=test on this package, it would fail to pass 2 of them and i would right away know what did it ;-)
Tomas, Are [1] and [2] the patches we're talking about? If so I'm willing to give it a shot. But since libreoffice takes 28 hours to compile on this machine I'd like to know before. Thanks, Denis. [1] http://cgit.freedesktop.org/libreoffice/core/commit/?id=fabae54c51c25dcb28febe8181de8a5ee360ce1b [2] http://cgit.freedesktop.org/libreoffice/core/commit/?id=41cc024a39d070911a5daa75ff8aa9340c71147e
(In reply to comment #19) > Tomas, > > Are [1] and [2] the patches we're talking about? If so I'm willing to give > it a shot. But since libreoffice takes 28 hours to compile on this machine > I'd like to know before. > > Thanks, > Denis. > > [1] > http://cgit.freedesktop.org/libreoffice/core/commit/ > ?id=fabae54c51c25dcb28febe8181de8a5ee360ce1b > > [2] > http://cgit.freedesktop.org/libreoffice/core/commit/ > ?id=41cc024a39d070911a5daa75ff8aa9340c71147e Nah just wait for the 4.0.1 it is pointless if it takes 28 hours, I already verified it to be fixed in the openSUSE so it should be same for us :-) The 4.0.1 will be released in 3 weeks give or take, so lets just wait a bit.
As promised 4.0.1 delivered and builds/runs as desired so go for it. Closing this one as fixed.
4.0.1.2 has very same problem on my PC (x86) splash screen appears and then... nothing I have noticed in /var/log/messages this line: pc kernel: [144290.130374] soffice.bin[27516]: segfault at ff8360fd ip aeff63c2 sp bfe0d7f0 error 5 in libgcc3_uno.so[aeff4000+d000] short description: Portage 2.1.11.55 (default/linux/x86/13.0/desktop/kde, gcc-4.7.2, glibc-2.16.0, 3.8.2 i686) CXX / CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer" gcc 4.7.2, intel 2500K rebuilding without -fomit-frame-pointer now.
as expected, it works now w/o -fomit-frame-pointer flag
I confirm that the bug *** is still present **** in app-office/libreoffice-4.0.1.2
I added filter-flags on the omit-frame-pointer. The full fix is now only in master branch as it is too big to backport. If you have this problem just trigger rebuild of your libreoffice package after sync.