Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Libreoffice-5.4.2.2 will not start
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Wed Jan 17, 2018 2:19 pm    Post subject: [SOLVED] Libreoffice-5.4.2.2 will not start Reply with quote

Libreoffice-5.4.2.2 will not start as user, not errors at command line.
It will run as root but not as user.

Code:
emerge --info
Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc-2.25-r9, 4.9.72-gentoo x86_64)
=================================================================
System uname: Linux-4.9.72-gentoo-x86_64-AMD_Ryzen_5_1400_Quad-Core_Processor-with-gentoo-2.4.1
KiB Mem:    16432224 total,  13721896 free
KiB Swap:     524284 total,    524284 free
Timestamp of repository gentoo: Mon, 15 Jan 2018 00:30:01 +0000
Head commit of repository gentoo: 2afd3441b99e18681bfeda82185e6abfe59182aa
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r4::gentoo, 6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:

brother-overlay
    location: /var/lib/layman/brother-overlay
    masters: gentoo
    priority: 50

Local
    location: /usr/local/portage
    masters: gentoo
    priority: 99999999

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA googleearth PUEL dlj-1.1 Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/lib64/libreoffice/program/sofficerc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /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 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.osuosl.org/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j7 -l8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acpi alsa amd64 apache2 bluetooth branding bzip2 cairo cdda cdr cgi cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac foomaticdb fortran gdbm gif gimp gimpprint glamor gnome gpm gtk iconv ipv6 jpeg kpathsea lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt5 qtk readline scanner sdl seccomp spell ssl startup-notification svg tcpd tetex tiff truetype type1 udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" SANE_BACKENDS="epson2 fujitsu" USERLAND="GNU" VIDEO_CARDS="nvidia" XFCE_PLUGINS="brightness clock 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Last edited by Joseph_sys on Sat Jan 20, 2018 8:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
blopsalot
Apprentice
Apprentice


Joined: 28 Jan 2017
Posts: 231

PostPosted: Wed Jan 17, 2018 3:39 pm    Post subject: Reply with quote

first thing to check would be permissions of ~/.config
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Wed Jan 17, 2018 4:15 pm    Post subject: Reply with quote

blopsalot wrote:
first thing to check would be permissions of ~/.config


I think it looks OK.
Code:
ll .config/
total 88K
...
drwxr-xr-x  3 joseph joseph 4.0K Jan 16 12:37 libreoffice
...
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Jan 17, 2018 4:19 pm    Post subject: Reply with quote

What's inside of ~/.config/libreoffice. You may want to run chown recursively on it. If you ever do 'su' and run something the conf files for this something may be overwritten with new owner root. Thus, always use 'su -' instead.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Wed Jan 17, 2018 4:28 pm    Post subject: Reply with quote

Jaglover wrote:
What's inside of ~/.config/libreoffice. You may want to run chown recursively on it. If you ever do 'su' and run something the conf files for this something may be overwritten with new owner root. Thus, always use 'su -' instead.


Shouldn't the owner of these file be me: joseph:joseph
and that is what I have:
Code:
ll .config/libreoffice
total 4.0K
drwx------ 3 joseph joseph 4.0K Jan 16 15:33 4
joseph@syscon3 ~ $ ll .config/libreoffice/4/
total 4.0K
drwxr-xr-x 10 joseph joseph 4.0K Jan 16 15:33 user
joseph@syscon3 ~ $ ll .config/libreoffice/4/user/
total 36K
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 autotext
drwxr-xr-x 3 joseph joseph 4.0K Jan 16 12:37 basic
drwxr-xr-x 3 joseph joseph 4.0K Jan 16 14:40 config
drwxr-xr-x 3 joseph joseph 4.0K Jan 16 12:37 database
drwxr-xr-x 5 joseph joseph 4.0K Jan 16 12:37 extensions
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 gallery
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 psprint
-rw------- 1 joseph joseph  993 Jan 16 15:33 registrymodifications.xcu
drwxr-xr-x 3 joseph joseph 4.0K Jan 16 12:37 uno_packages
ll .config/libreoffice/4/user/config/
total 56K
-rw-r--r-- 1 joseph joseph  48K Jan 16 12:37 autotbl.fmt
-rw-r--r-- 1 joseph joseph  428 Jan 16 14:40 javasettings_Linux_X86_64.xml
drwxr-xr-x 3 joseph joseph 4.0K Jan 16 14:40 soffice.cfg
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Wed Jan 17, 2018 4:32 pm    Post subject: Reply with quote

It might be some glitch with the new profile.
On the new system I'm using:

default/linux/amd64/17.0/desktop *

All my other system are using:
default/linux/amd64/13.0/desktop *

I just did new Gentoo installation on my backup system (hard drive went down)
but I use "default/linux/amd64/13.0/desktop *" as default and libreoffice works without any problems.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Jan 17, 2018 4:38 pm    Post subject: Reply with quote

You didn't run ls with enough depth, try adding -R. Running chown recursively can't hurt. Anyhow, have you tried with strace, have you tried with a test user?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Wed Jan 17, 2018 4:52 pm    Post subject: Reply with quote

Jaglover wrote:
You didn't run ls with enough depth, try adding -R. Running chown recursively can't hurt. Anyhow, have you tried with strace, have you tried with a test user?


Here it is with "-R" It looks OK to me:
Code:
ll -R .config/libreoffice
.config/libreoffice:
total 4.0K
drwx------ 3 joseph joseph 4.0K Jan 16 15:33 4

.config/libreoffice/4:
total 4.0K
drwxr-xr-x 10 joseph joseph 4.0K Jan 16 15:33 user

.config/libreoffice/4/user:
total 36K
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 autotext
drwxr-xr-x 3 joseph joseph 4.0K Jan 16 12:37 basic
drwxr-xr-x 3 joseph joseph 4.0K Jan 16 14:40 config
drwxr-xr-x 3 joseph joseph 4.0K Jan 16 12:37 database
drwxr-xr-x 5 joseph joseph 4.0K Jan 16 12:37 extensions
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 gallery
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 psprint
-rw------- 1 joseph joseph  993 Jan 16 15:33 registrymodifications.xcu
drwxr-xr-x 3 joseph joseph 4.0K Jan 16 12:37 uno_packages

.config/libreoffice/4/user/autotext:
total 4.0K
-rw-r--r-- 1 joseph joseph 557 Jan 16 12:37 mytexts.bau

.config/libreoffice/4/user/basic:
total 12K
-rw-r--r-- 1 joseph joseph  339 Jan 16 12:37 dialog.xlc
-rw-r--r-- 1 joseph joseph  339 Jan 16 12:37 script.xlc
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 Standard

.config/libreoffice/4/user/basic/Standard:
total 12K
-rw-r--r-- 1 joseph joseph  288 Jan 16 12:37 dialog.xlb
-rw-r--r-- 1 joseph joseph 1.1K Jan 16 12:37 Module1.xba
-rw-r--r-- 1 joseph joseph  349 Jan 16 12:37 script.xlb

.config/libreoffice/4/user/config:
total 56K
-rw-r--r-- 1 joseph joseph  48K Jan 16 12:37 autotbl.fmt
-rw-r--r-- 1 joseph joseph  428 Jan 16 14:40 javasettings_Linux_X86_64.xml
drwxr-xr-x 3 joseph joseph 4.0K Jan 16 14:40 soffice.cfg

.config/libreoffice/4/user/config/soffice.cfg:
total 4.0K
drwxr-xr-x 3 joseph joseph 4.0K Jan 16 14:40 modules

.config/libreoffice/4/user/config/soffice.cfg/modules:
total 4.0K
drwxr-xr-x 7 joseph joseph 4.0K Jan 16 14:40 StartModule

.config/libreoffice/4/user/config/soffice.cfg/modules/StartModule:
total 20K
drwxr-xr-x 3 joseph joseph 4.0K Jan 16 14:40 images
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 14:40 menubar
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 14:40 popupmenu
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 14:40 statusbar
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 14:40 toolbar

.config/libreoffice/4/user/config/soffice.cfg/modules/StartModule/images:
total 4.0K
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 14:40 Bitmaps

.config/libreoffice/4/user/config/soffice.cfg/modules/StartModule/images/Bitmaps:
total 0

.config/libreoffice/4/user/config/soffice.cfg/modules/StartModule/menubar:
total 0

.config/libreoffice/4/user/config/soffice.cfg/modules/StartModule/popupmenu:
total 0

.config/libreoffice/4/user/config/soffice.cfg/modules/StartModule/statusbar:
total 0

.config/libreoffice/4/user/config/soffice.cfg/modules/StartModule/toolbar:
total 0

.config/libreoffice/4/user/database:
total 12K
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 biblio
-rw-r--r-- 1 joseph joseph 2.7K Jan 16 12:37 biblio.odb
-rw-r--r-- 1 joseph joseph 3.7K Jan 16 12:37 evolocal.odb

.config/libreoffice/4/user/database/biblio:
total 1012K
-rw-r--r-- 1 joseph joseph 409K Jan 16 12:37 biblio.dbf
-rw-r--r-- 1 joseph joseph 597K Jan 16 12:37 biblio.dbt

.config/libreoffice/4/user/extensions:
total 16K
-rw-r--r-- 1 joseph joseph   13 Jan 16 12:37 buildid
drwxr-xr-x 3 joseph joseph 4.0K Jan 16 14:40 bundled
drwxr-xr-x 3 joseph joseph 4.0K Jan 16 14:40 shared
drwxr-xr-x 4 joseph joseph 4.0K Jan 16 14:40 tmp

.config/libreoffice/4/user/extensions/bundled:
total 12K
-rw-r--r-- 1 joseph joseph  140 Jan 16 12:37 extensions.pmap
-rw-r--r-- 1 joseph joseph    1 Jan 16 14:40 lastsynchronized
drwxr-xr-x 9 joseph joseph 4.0K Jan 16 12:37 registry

.config/libreoffice/4/user/extensions/bundled/registry:
total 28K
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.bundle.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.component.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.configuration.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.executable.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.help.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.script.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.sfwk.PackageRegistryBackend

.config/libreoffice/4/user/extensions/bundled/registry/com.sun.star.comp.deployment.bundle.PackageRegistryBackend:
total 4.0K
-rw-r--r-- 1 joseph joseph 711 Jan 16 12:37 backenddb.xml

.config/libreoffice/4/user/extensions/bundled/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend:
total 4.0K
-rw-r--r-- 1 joseph joseph 172 Jan 16 12:37 unorc

.config/libreoffice/4/user/extensions/bundled/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend:
total 8.0K
-rw-r--r-- 1 joseph joseph 463 Jan 16 12:37 backenddb.xml
-rw-r--r-- 1 joseph joseph 104 Jan 16 12:37 configmgr.ini

.config/libreoffice/4/user/extensions/bundled/registry/com.sun.star.comp.deployment.executable.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/extensions/bundled/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend:
total 4.0K
-rw-r--r-- 1 joseph joseph 117 Jan 16 12:37 backenddb.xml

.config/libreoffice/4/user/extensions/bundled/registry/com.sun.star.comp.deployment.script.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/extensions/bundled/registry/com.sun.star.comp.deployment.sfwk.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/extensions/shared:
total 8.0K
-rw-r--r-- 1 joseph joseph    1 Jan 16 14:40 lastsynchronized
drwxr-xr-x 9 joseph joseph 4.0K Jan 16 12:37 registry

.config/libreoffice/4/user/extensions/shared/registry:
total 28K
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.bundle.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.component.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.configuration.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.executable.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.help.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.script.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.sfwk.PackageRegistryBackend

.config/libreoffice/4/user/extensions/shared/registry/com.sun.star.comp.deployment.bundle.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/extensions/shared/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/extensions/shared/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend:
total 4.0K
-rw-r--r-- 1 joseph joseph 135 Jan 16 12:37 backenddb.xml

.config/libreoffice/4/user/extensions/shared/registry/com.sun.star.comp.deployment.executable.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/extensions/shared/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend:
total 4.0K
-rw-r--r-- 1 joseph joseph 117 Jan 16 12:37 backenddb.xml

.config/libreoffice/4/user/extensions/shared/registry/com.sun.star.comp.deployment.script.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/extensions/shared/registry/com.sun.star.comp.deployment.sfwk.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/extensions/tmp:
total 8.0K
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 extensions
drwxr-xr-x 9 joseph joseph 4.0K Jan 16 12:37 registry

.config/libreoffice/4/user/extensions/tmp/extensions:
total 0

.config/libreoffice/4/user/extensions/tmp/registry:
total 28K
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.bundle.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.component.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.configuration.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.executable.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.help.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.script.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.sfwk.PackageRegistryBackend

.config/libreoffice/4/user/extensions/tmp/registry/com.sun.star.comp.deployment.bundle.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/extensions/tmp/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/extensions/tmp/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend:
total 4.0K
-rw-r--r-- 1 joseph joseph 135 Jan 16 12:37 backenddb.xml

.config/libreoffice/4/user/extensions/tmp/registry/com.sun.star.comp.deployment.executable.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/extensions/tmp/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend:
total 4.0K
-rw-r--r-- 1 joseph joseph 117 Jan 16 12:37 backenddb.xml

.config/libreoffice/4/user/extensions/tmp/registry/com.sun.star.comp.deployment.script.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/extensions/tmp/registry/com.sun.star.comp.deployment.sfwk.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/gallery:
total 8.0K
-rw-r--r-- 1 joseph joseph 2.0K Jan 16 12:37 sg30.sdv
-rw-r--r-- 1 joseph joseph  565 Jan 16 12:37 sg30.thm

.config/libreoffice/4/user/psprint:
total 0

.config/libreoffice/4/user/uno_packages:
total 4.0K
drwxr-xr-x 4 joseph joseph 4.0K Jan 16 14:40 cache

.config/libreoffice/4/user/uno_packages/cache:
total 12K
-rw-r--r-- 1 joseph joseph   91 Jan 16 12:37 log.txt
drwxr-xr-x 9 joseph joseph 4.0K Jan 16 12:37 registry
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 uno_packages

.config/libreoffice/4/user/uno_packages/cache/registry:
total 28K
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.bundle.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.component.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.configuration.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.executable.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.help.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.script.PackageRegistryBackend
drwxr-xr-x 2 joseph joseph 4.0K Jan 16 12:37 com.sun.star.comp.deployment.sfwk.PackageRegistryBackend

.config/libreoffice/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.bundle.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend:
total 4.0K
-rw-r--r-- 1 joseph joseph 135 Jan 16 12:37 backenddb.xml

.config/libreoffice/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.executable.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend:
total 4.0K
-rw-r--r-- 1 joseph joseph 117 Jan 16 12:37 backenddb.xml

.config/libreoffice/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.script.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.sfwk.PackageRegistryBackend:
total 0

.config/libreoffice/4/user/uno_packages/cache/uno_packages:
total 0


No I did not play with strace; yes I tried it as different user same thing.
I've notice there is a bug file:
https://bugs.gentoo.org/641404

I think those developers marking package "stable" too fast without testing; giving Gentoo bad wrap.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Wed Jan 17, 2018 5:40 pm    Post subject: Reply with quote

Don't jump to conclusions here, it is not like we are getting swamped with bugs like these.

I'm wondering if OpenGL could be the issue here; if your user session is lacking the rights, and it is default enabled, LO could simply fail to start.

Check this: https://wiki.documentfoundation.org/OpenGL
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Wed Jan 17, 2018 5:52 pm    Post subject: Reply with quote

asturm wrote:
Don't jump to conclusions here, it is not like we are getting swamped with bugs like these.

I'm wondering if OpenGL could be the issue here; if your user session is lacking the rights, and it is default enabled, LO could simply fail to start.

Check this: https://wiki.documentfoundation.org/OpenGL


Thank I'll check it out, if I'll find time.
For now I switched of OpenOffice, it works.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Wed Jan 17, 2018 6:30 pm    Post subject: Reply with quote

Quote:
For now I switched of OpenOffice, it works.

Although I understand your decision, it does not really help us.

LibreOffice works without problems for most of us. Some people (like you) experience problems. We really should try to find the root-cause of these problems.

It must be something very special: OpenGL (as asturm suggested), OpenCL, Java, your graphics driver - something like this. Are there any non-standard components in your computer?

Can you create an strace file (don't forget strace option '-f') and upload it to a place where we can access it?
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Wed Jan 17, 2018 6:49 pm    Post subject: Reply with quote

LibreOffice bug: https://bugs.documentfoundation.org/show_bug.cgi?id=114507
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Wed Jan 17, 2018 6:51 pm    Post subject: Reply with quote

mike155 wrote:
Quote:
For now I switched of OpenOffice, it works.

Although I understand your decision, it does not really help us.

LibreOffice works without problems for most of us. Some people (like you) experience problems. We really should try to find the root-cause of these problems.

It must be something very special: OpenGL (as asturm suggested), OpenCL, Java, your graphics driver - something like this. Are there any non-standard components in your computer?

Can you create an strace file (don't forget strace option '-f') and upload it to a place where we can access it?


I recently install Gentoo on two boxes (from scrach). My HD went so I purchase new HD and install Gentoo by end of December using older profile:
default/linux/amd64/13.0/desktop *
Libreoffice-5.4.2.2 works without a problem on this box.

The new box, us using:
default/linux/amd64/17.0/desktop *

I suspect is might be the profile. As I have a problem running "gpg2 file.asc" under "17-desktop profile" when I login over ssh to that box.

Here is strace of libreoffice:
Code:
strace -e open libreoffice
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libreadline.so.7", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libncurses.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/dev/tty", O_RDWR|O_NONBLOCK)     = 3
open("/usr/lib64/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3
open("/usr/bin/libreoffice", O_RDONLY)  = 3
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=538, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=539, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=540, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=541, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=544, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=545, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=546, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=548, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
open("/usr/lib64/libreoffice/program/tls/x86_64/libXinerama.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libreoffice/program/tls/libXinerama.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libreoffice/program/x86_64/libXinerama.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libreoffice/program/libXinerama.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libXinerama.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/libX11.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libX11.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/libpng16.so.16", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libpng16.so.16", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/libuno_sal.so.3", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libXext.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libxcb.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libXau.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libbsd.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/bootstraprc", O_RDONLY|O_EXCL) = 3
open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3


Here is strace from the box that is using 13-desktop profile where libreoffice-5.4.2.2 works OK
Code:
strace -e open libreoffice
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libreadline.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libncurses.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/dev/tty", O_RDWR|O_NONBLOCK)     = 3
open("/usr/lib64/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3
open("/usr/bin/libreoffice", O_RDONLY)  = 3
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16524, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16525, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16526, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16527, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16530, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16531, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16532, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16534, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
open("/usr/lib64/libreoffice/program/tls/x86_64/libXinerama.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libreoffice/program/tls/libXinerama.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libreoffice/program/x86_64/libXinerama.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libreoffice/program/libXinerama.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libXinerama.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/libX11.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libX11.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/libpng16.so.16", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libpng16.so.16", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/libuno_sal.so.3", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libXext.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libxcb.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libXau.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libbsd.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/libreoffice/program/bootstraprc", O_RDONLY|O_EXCL) = 3
open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
open("/etc/host.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/hosts", O_RDONLY|O_CLOEXEC)  = 3
open("/etc/gai.conf", O_RDONLY|O_CLOEXEC) = 3
open("/home/joseph/.Xauthority", O_RDONLY) = 4
open("/usr/lib64/libreoffice/program/intro-en_US.png", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/X11/locale/locale.alias", O_RDONLY) = 4
open("/usr/share/X11/locale/locale.dir", O_RDONLY) = 4
open("/usr/share/X11/locale/C/XLC_LOCALE", O_RDONLY) = 4
open("/usr/share/X11/locale/locale.alias", O_RDONLY) = 4
open("/usr/share/X11/locale/locale.dir", O_RDONLY) = 4
open("/usr/share/X11/locale/C/XLC_LOCALE", O_RDONLY) = 4
open("/home/joseph/.Xdefaults-syscon4", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libreoffice/program/intro.png", O_RDONLY) = 4
open("/usr/lib64/libreoffice/program/sofficerc", O_RDONLY|O_EXCL) = 4
open("/sys/dev/block/8:0/queue/rotational", O_RDONLY) = 4
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
+++ exited with 0 +++
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Wed Jan 17, 2018 7:13 pm    Post subject: Reply with quote

The profile itself is fine; everyone else is using it just fine at this point.
Back to top
View user's profile Send private message
blopsalot
Apprentice
Apprentice


Joined: 28 Jan 2017
Posts: 231

PostPosted: Wed Jan 17, 2018 10:03 pm    Post subject: Reply with quote

can you upload a more complete strace to a pastebin? "-e open" is no good with this problem.

Code:
strace -f soffice
Back to top
View user's profile Send private message
mgwolff
n00b
n00b


Joined: 18 Dec 2017
Posts: 33

PostPosted: Wed Jan 17, 2018 10:35 pm    Post subject: Reply with quote

The problem indeed seems to be related to OpenCL. If you set the following line in "registrymodifications.xcu", LibreOffice starts.

<item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="UseOpenCL" oor:op="fuse"><value>false</value></prop></item>
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Wed Jan 17, 2018 10:36 pm    Post subject: Reply with quote

blopsalot wrote:
can you upload a more complete strace to a pastebin? "-e open" is no good with this problem.

Code:
strace -f soffice


Here it is, the beginning is cut off as too much line scroll by:
Code:
mmap(NULL, 1966480, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc7658d0000
close(3)                                = 0
futex(0x7fc767c78a20, FUTEX_WAKE_PRIVATE, 2147483647) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=77824, ...}) = 0
lstat("/usr/lib64/libreoffice", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib64/libreoffice/program", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
lstat("/usr/lib64/libreoffice/program/oosplash", {st_mode=S_IFREG|0755, st_size=40016, ...}) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fc7676ad040}, NULL, 8) = 0
rt_sigaction(SIGTERM, {sa_handler=0x5648ab21fce0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fc7676ad040}, NULL, 8) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=77824, ...}) = 0
lstat("/usr/lib64/libreoffice", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib64/libreoffice/program", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
access("/usr/lib64/libreoffice/program/bootstraprc", F_OK) = 0
futex(0x7fc767c7dca0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
access("/usr/lib64/libreoffice/program/oosplashrc", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libreoffice/program/bootstraprc", O_RDONLY|O_EXCL) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=111, ...}) = 0
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc768602000
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc7685f2000
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc7685d5000
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fc7650cf000
mprotect(0x7fc7650cf000, 4096, PROT_NONE) = 0
clone(strace: Process 2181 attached
child_stack=0x7fc7658cefb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fc7658cf9d0, tls=0x7fc7658cf700, child_tidptr=0x7fc7658cf9d0) = 2181
[pid  2181] set_robust_list(0x7fc7658cf9e0, 24 <unfinished ...>
[pid  2169] mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 <unfinished ...>
[pid  2181] <... set_robust_list resumed> ) = 0
[pid  2169] <... mmap resumed> )        = 0x7fc7685c5000
[pid  2181] prctl(PR_SET_NAME, "rtl_cache_wsupd"...) = 0
[pid  2169] pread64(3,  <unfinished ...>
[pid  2181] futex(0x7fc767c7dad0, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1516203271, tv_nsec=257324000}, 0xffffffff <unfinished ...>
[pid  2169] <... pread64 resumed> "[Bootstrap]\nInstallMode=<install"..., 4096, 0) = 111
[pid  2169] close(3)                    = 0
[pid  2169] getuid()                    = 1000
[pid  2169] open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
[pid  2169] fstat(3, {st_mode=S_IFREG|0644, st_size=447, ...}) = 0
[pid  2169] read(3, "# /etc/nsswitch.conf:\n# $Header:"..., 4096) = 447
[pid  2169] read(3, "", 4096)           = 0
[pid  2169] close(3)                    = 0
[pid  2169] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
[pid  2169] fstat(3, {st_mode=S_IFREG|0644, st_size=141784, ...}) = 0
[pid  2169] mmap(NULL, 141784, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc7685a2000
[pid  2169] close(3)                    = 0
[pid  2169] open("/lib64/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) = 3
[pid  2169] read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\22\0\0\0\0\0\0"..., 832) = 832
[pid  2169] fstat(3, {st_mode=S_IFREG|0755, st_size=35464, ...}) = 0
[pid  2169] mmap(NULL, 2131072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc764ec6000
[pid  2169] mprotect(0x7fc764ecd000, 2097152, PROT_NONE) = 0
[pid  2169] mmap(0x7fc7650cd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fc7650cd000
[pid  2169] close(3)                    = 0
[pid  2169] open("/lib64/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 3
[pid  2169] read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260@\0\0\0\0\0\0"..., 832) = 832
[pid  2169] fstat(3, {st_mode=S_IFREG|0755, st_size=92904, ...}) = 0
[pid  2169] mmap(NULL, 2198104, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc764cad000
[pid  2169] mprotect(0x7fc764cc3000, 2093056, PROT_NONE) = 0
[pid  2169] mmap(0x7fc764ec2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7fc764ec2000
[pid  2169] mmap(0x7fc764ec4000, 6744, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc764ec4000
[pid  2169] close(3)                    = 0
[pid  2169] mprotect(0x7fc764ec2000, 4096, PROT_READ) = 0
[pid  2169] mprotect(0x7fc7650cd000, 4096, PROT_READ) = 0
[pid  2169] munmap(0x7fc7685a2000, 141784) = 0
[pid  2169] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
[pid  2169] fstat(3, {st_mode=S_IFREG|0644, st_size=141784, ...}) = 0
[pid  2169] mmap(NULL, 141784, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc7685a2000
[pid  2169] close(3)                    = 0
[pid  2169] open("/lib64/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = 3
[pid  2169] read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 !\0\0\0\0\0\0"..., 832) = 832
[pid  2169] fstat(3, {st_mode=S_IFREG|0755, st_size=47416, ...}) = 0
[pid  2169] mmap(NULL, 2143656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc764aa1000
[pid  2169] mprotect(0x7fc764aac000, 2093056, PROT_NONE) = 0
[pid  2169] mmap(0x7fc764cab000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7fc764cab000
[pid  2169] close(3)                    = 0
[pid  2169] open("/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3
[pid  2169] read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340!\0\0\0\0\0\0"..., 832) = 832
[pid  2169] fstat(3, {st_mode=S_IFREG|0755, st_size=47360, ...}) = 0
[pid  2169] mmap(NULL, 2143624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc764895000
[pid  2169] mprotect(0x7fc7648a0000, 2093056, PROT_NONE) = 0
[pid  2169] mmap(0x7fc764a9f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7fc764a9f000
[pid  2169] close(3)                    = 0
[pid  2169] mprotect(0x7fc764a9f000, 4096, PROT_READ) = 0
[pid  2169] mprotect(0x7fc764cab000, 4096, PROT_READ) = 0
[pid  2169] munmap(0x7fc7685a2000, 141784) = 0
[pid  2169] open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
[pid  2169] lseek(3, 0, SEEK_CUR)       = 0
[pid  2169] fstat(3, {st_mode=S_IFREG|0644, st_size=1772, ...}) = 0
[pid  2169] mmap(NULL, 1772, PROT_READ, MAP_SHARED, 3, 0) = 0x7fc7685f1000
[pid  2169] lseek(3, 1772, SEEK_SET)    = 1772
[pid  2169] munmap(0x7fc7685f1000, 1772) = 0
[pid  2169] close(3)                    = 0
[pid  2169] getuid()                    = 1000
[pid  2169] access("/home/joseph", F_OK) = 0
[pid  2169] mkdir("/home/joseph/.config", 0700) = -1 EEXIST (File exists)
[pid  2169] stat("/home/joseph/.config", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  2169] getcwd("/home/joseph", 4096) = 13
[pid  2169] lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  2169] lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  2169] lstat("/home/joseph", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  2169] lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  2169] lstat("/home/joseph", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  2169] lstat("/home/joseph/.config", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  2169] lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  2169] lstat("/home/joseph", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  2169] lstat("/home/joseph/.config", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  2169] lstat("/home/joseph/.config/libreoffice", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  2169] lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  2169] lstat("/home/joseph", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  2169] lstat("/home/joseph/.config", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  2169] lstat("/home/joseph/.config/libreoffice", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  2169] lstat("/home/joseph/.config/libreoffice/4", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid  2169] access("/tmp", W_OK)        = 0
[pid  2169] getuid()                    = 1000
[pid  2169] socket(AF_UNIX, SOCK_STREAM, 0) = 3
[pid  2169] fcntl(3, F_SETFD, FD_CLOEXEC) = 0
[pid  2169] connect(3, {sa_family=AF_UNIX, sun_path="/tmp/OSL_PIPE_1000_SingleOfficeIPC_db1e7eee18c324ec912d5118a2d21af"}, 110 <unfinished ...>
[pid  2181] <... futex resumed> )       = -1 ETIMEDOUT (Connection timed out)
[pid  2181] futex(0x7fc767c7d840, FUTEX_WAKE_PRIVATE, 1) = 0
[pid  2181] futex(0x7fc767c7dad0, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1516203281, tv_nsec=257837000}, 0xffffffff) = -1 ETIMEDOUT (Connection timed out)
[pid  2181] futex(0x7fc767c7d840, FUTEX_WAKE_PRIVATE, 1) = 0
[pid  2181] futex(0x7fc767c7dad0, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1516203291, tv_nsec=258349000}, 0xffffffff) = -1 ETIMEDOUT (Connection timed out)
[pid  2181] futex(0x7fc767c7d840, FUTEX_WAKE_PRIVATE, 1) = 0
[pid  2181] futex(0x7fc767c7dad0, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1516203301, tv_nsec=258859000}, 0xffffffff) = -1 ETIMEDOUT (Connection timed out)
[pid  2181] futex(0x7fc767c7d840, FUTEX_WAKE_PRIVATE, 1) = 0
[pid  2181] futex(0x7fc767c7dad0, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1516203311, tv_nsec=259339000}, 0xffffffff^Cstrace: Process 2169 detached
strace: Process 2181 detached


Removed spurious opening tag from just before the closing code tag. -- desultory
Back to top
View user's profile Send private message
blopsalot
Apprentice
Apprentice


Joined: 28 Jan 2017
Posts: 231

PostPosted: Wed Jan 17, 2018 10:40 pm    Post subject: Reply with quote

delete all that, so the thread is more readable.

Code:
strace -o libreoffice.txt -f soffice
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Wed Jan 17, 2018 10:48 pm    Post subject: Reply with quote

blopsalot wrote:
delete all that, so the thread is more readable.

Code:
strace -o libreoffice.txt -f soffice


The complete file has about 1550-lines, I don't think I can past it all.
The connection is timing out at the end with:
Code:

...
2238  connect(3, {sa_family=AF_UNIX, sun_path="/tmp/OSL_PIPE_1000_SingleOfficeIPC_db1e7eee18c324ec912d5118a2d21af"}, 110 <unfinished ...>
2250  <... futex resumed> )             = -1 ETIMEDOUT (Connection timed out)
2250  futex(0x7f77a3827840, FUTEX_WAKE_PRIVATE, 1) = 0
2250  futex(0x7f77a3827ad0, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1516203792, tv_nsec=525188000}, 0xffffffff) = -1 ETIMEDOUT (Connection timed out)
Back to top
View user's profile Send private message
blopsalot
Apprentice
Apprentice


Joined: 28 Jan 2017
Posts: 231

PostPosted: Wed Jan 17, 2018 10:55 pm    Post subject: Reply with quote

u generally paste long stuff to https://pastebin.com/ or https://paste.pound-python.org/

is that a new or old pipe? is /tmp being cleaned automatically i mean? see if this makes a difference?

Code:
rm -rf /tmp/*
Back to top
View user's profile Send private message
blopsalot
Apprentice
Apprentice


Joined: 28 Jan 2017
Posts: 231

PostPosted: Wed Jan 17, 2018 10:56 pm    Post subject: Reply with quote

mgwolff wrote:
The problem indeed seems to be related to OpenCL. If you set the following line in "registrymodifications.xcu", LibreOffice starts.

<item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="UseOpenCL" oor:op="fuse"><value>false</value></prop></item>


does it run without issue at that point?
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Wed Jan 17, 2018 11:10 pm    Post subject: Reply with quote

blopsalot wrote:
u generally paste long stuff to https://pastebin.com/ or https://paste.pound-python.org/

is that a new or old pipe? is /tmp being cleaned automatically i mean? see if this makes a difference?

Code:
rm -rf /tmp/*


Here is the link:
https://pastebin.com/gh0v2azQ
Back to top
View user's profile Send private message
mgwolff
n00b
n00b


Joined: 18 Dec 2017
Posts: 33

PostPosted: Wed Jan 17, 2018 11:15 pm    Post subject: Reply with quote

blopsalot wrote:
mgwolff wrote:
The problem indeed seems to be related to OpenCL. If you set the following line in "registrymodifications.xcu", LibreOffice starts.

<item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="UseOpenCL" oor:op="fuse"><value>false</value></prop></item>


does it run without issue at that point?


Yes, at least I have not observed any further problems.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Wed Jan 17, 2018 11:22 pm    Post subject: Reply with quote

The problem may be caused by using OpenCL/OpenGL, but it means you have a system config issue; your user should get permissions for them.
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Wed Jan 17, 2018 11:26 pm    Post subject: Reply with quote

mgwolff wrote:
blopsalot wrote:
mgwolff wrote:
The problem indeed seems to be related to OpenCL. If you set the following line in "registrymodifications.xcu", LibreOffice starts.

<item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="UseOpenCL" oor:op="fuse"><value>false</value></prop></item>


does it run without issue at that point?


Yes, at least I have not observed any further problems.


I tried adding the line above to "registrymodifications.xcu"
Code:
cat /home/joseph/.config/libreoffice/4/user/registrymodifications.xcu
<?xml version="1.0" encoding="UTF-8"?>
<oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="Persona" oor:op="fuse"><value>no</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="PersonaSettings" oor:op="fuse"><value></value></prop></item>
<item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="UseOpenCL" oor:op="fuse"><value>false</value></prop></item>

<item oor:path="/org.openoffice.Setup/L10N"><prop oor:name="ooLocale" oor:op="fuse"><value>en-US</value></prop></item>
<item oor:path="/org.openoffice.Setup/Office"><prop oor:name="LastCompatibilityCheckID" oor:op="fuse"><value>40m0(Build:2)</value></prop></item>
<item oor:path="/org.openoffice.Setup/Office"><prop oor:name="OfficeRestartInProgress" oor:op="fuse"><value>true</value></prop></item>
<item oor:path="/org.openoffice.Setup/Office"><prop oor:name="ooSetupInstCompleted" oor:op="fuse"><value>true</value></prop></item>
</oor:items>


Makes no difference same behaviour, it will not start.
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
Goto page 1, 2  Next
Page 1 of 2

 
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