[Solved] OpenOffice 4.1.3 Startup Problems on CentOS 7 32bit

Issues with installing under all GNU/Linux Distributions
Post Reply
Len E.
Posts: 5
Joined: Sat May 06, 2017 6:00 am

[Solved] OpenOffice 4.1.3 Startup Problems on CentOS 7 32bit

Post by Len E. »

Core System: CentOS AltArch 7 (1611) on i386 -----> CentOS 7 32-bit
Display Manager: GDM, Gnome Display Manager
OpenOffice4.1.3 installed from tarball, desktop-integration with freedesktop-menus
OpenOffice installs with no problems
***************************************************************************************************
Using GNOME 3 GUI, CentOS 7-Gnome, straight out of the box:

OpenOffice runs fine.

***************************************************************************************************
Using LXDE GUI, created by installing Fedora 23 LXDE binary packages onto the
CentOS 7 32-bit minimal system.

On trying to start any OpenOffice application, startup screen flashes momentarily, then nothing happens.
From /usr/bin, command line entry openoffice4 -writer %U (or any other application) brings up error
message: line 122: 2404 (or some other 2000+ number) Segmentation fault "$sd_prog/$sd_binary" "$@"

I've noticed this type of message in many instances over the years: I've tried two workarounds that have
been previously suggested in the startup script /opt/openoffice4/program/soffice:

export OOO_FORCE_DESKTOP=gnome at the start of the script,
uncomment the line SAL_NO_XINITTHREADS=TRUE; export SAL_NO_XINITTHREADS near the end of the script

Neither of these 2 remedies helped.
(export OOO_FORCE_DESKTOP=LXDE didn't help either).
***********************************************************************************************************
Using XFCE GUI, created by rebuilding XFCE source rpm's from EPEL repository into 32-bit binaries for
installation onto the CentOS 7 32-bit minimal system.

Same problems as with LXDE GUI.
(export OOO_FORCE_DESKTOP=xfce didn't help either).
********************************************************************************************************************

I simply can't find the needle in the haystack. Why does everything work with the Gnome 3 GUI,
and not with the LXDE and XFCE GUI's ???????

Any advice on how to fix this, or recommendations on further diagnostic procedures, would be welcome.

Len E.
Last edited by Hagar Delest on Wed May 10, 2017 9:08 am, edited 1 time in total.
Reason: tagged [Solved].
OpenOffice4.1.3 Linux
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: OpenOffice4.1.3 Startup Problems on CentOS 7 32-bit

Post by RoryOF »

I can't answer your problem, which might better be posted to the Open?Office developer mailing list, where the developers hang out. This list is at dev@openoffice.apache.org.

To the best of my knowledge, development of many (all?) of the linux binaries for OO is carried out on virtual machines running on CentOS.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
dacha
Posts: 10
Joined: Fri Jul 15, 2011 10:18 am

Re: OpenOffice4.1.3 Startup Problems on CentOS 7 32-bit

Post by dacha »

Please run it in a debugger and post the output, ie.:

$ gdb /path/to/soffice.bin
(gdb) run

You'll eventually get something like this:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 80d806400 (LWP 101000/soffice.bin)]

Type these:

(gdb) backtrace
(gdb) quit

and post the output.
Len E.
Posts: 5
Joined: Sat May 06, 2017 6:00 am

Re: OpenOffice4.1.3 Startup Problems on CentOS 7 32-bit

Post by Len E. »

Following dacha's prescription, 3 outputs, attached as .txt files, have been produced.

Len E.
Attachments
gdblxdeout1.txt
Procedure output, earlier LXDE desktop, lightdm display manager
(3.3 KiB) Downloaded 351 times
gdblxdeout2.txt
Procedure output, LXDE desktop, as described
(3.3 KiB) Downloaded 363 times
gdbxfceout1.txt
Procedure output, XFCE desktop, as described
(3.19 KiB) Downloaded 344 times
OpenOffice4.1.3 Linux
dacha
Posts: 10
Joined: Fri Jul 15, 2011 10:18 am

Re: OpenOffice4.1.3 Startup Problems on CentOS 7 32-bit

Post by dacha »

It crashes in dlopen@@GLIBC_2.1, trying to open a library.

It could be a corrupt library, either in AOO or the system. I can't tell which library from the output. Maybe run "sudo rpm -Va" to verify checksums of all files on the system?
Len E.
Posts: 5
Joined: Sat May 06, 2017 6:00 am

Re: OpenOffice4.1.3 Startup Problems on CentOS 7 32-bit

Post by Len E. »

Following dacha's suggestion, 3 outputs, attached as text files, have been produced.

I checked that the md5sums for the Apache OpenOffice tarballs used (separate downloads) did match
the value posted on the website.

The specific package for GLIBC_2.1 is glibc-2.17-157.el7_3.1.i686.rpm.

For some reason, the XFCE-gui installation had an earlier version installed.
I did a sudo yum update glibc to install the latest version, but it made no difference
to the problem.

Len E.
Attachments
rpmValxdeout2.txt
verification output, LXDE desktop, as described
(996 Bytes) Downloaded 363 times
rpmVaxfceout1.txt
verification output, XFCE desktop, as described
(499 Bytes) Downloaded 339 times
rpmValxdeout1.txt
verification output, earlier LXDE desktop, lightdm display manager
(1 KiB) Downloaded 330 times
OpenOffice4.1.3 Linux
Len E.
Posts: 5
Joined: Sat May 06, 2017 6:00 am

Re: OpenOffice4.1.3 Startup Problems on CentOS 7 32-bit

Post by Len E. »

I've just stumbled onto a tentative partial solution to the problem:

The information and insight that dacha has provided focused the suspicion on the glibc package.

Recall that the LXDE desktop environment has been constructed using Fedora 23 (fc23) components
installed on the CentOS 7 32-bit minimal configuration. (Gnome 3 is the only official desktop environment
currently available for CentOS 7 32-bit). In keeping with a partial fc23 environment, the 4 glibc-related
packages (glibc, glibc-common, glibc-devel, glibc-headers) were updated to the fc23 version 2.22-18.fc23
on the earlier configuration using the lightdm display manager. On that installation, OpenOffice4.1.3 now
runs normally.

Still to be determined is why AOO won't run on the XFCE configuration which was constructed from CentOS 7
source packages where required.

Many thanks to dacha for providing the necessary clues to get this far !

Len E.
OpenOffice4.1.3 Linux
Len E.
Posts: 5
Joined: Sat May 06, 2017 6:00 am

Re: OpenOffice4.1.3 Startup Problems on CentOS 7 32-bit

Post by Len E. »

The problem solution successfully applied to the LXDE configuration using
the lightdm display manager has worked for the LXDE and XFCE configurations
using the GDM display manager also.

With the XFCE configuration, some of the source rpm's, most notably the xfconf package,
could not be successfully rebuilt, so fc23 binary rpm's (xfconf, xfconf-devel) were used.

Rory: If you agree, please flag this problem as solved.
Thank you for expediting the solution.

dacha: Thank you again for all your help. Without it, a solution
would not have been possible.

Len E.
OpenOffice4.1.3 Linux
User avatar
robleyd
Moderator
Posts: 5036
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: OpenOffice4.1.3 Startup Problems on CentOS 7 32-bit

Post by robleyd »

How to tag a topic as solved.

In your first post, click the Edit button. Go to the subject line and add [Solved] at the beginning of the subject.

Then select the tick as the Post icon (just below the subject line). Preview if you wish to see how it looks.
Finally, hit Submit - done!
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.1.2; SlackBuild for 24.2.1 by Eric Hameleers
cStuartHardwick
Posts: 1
Joined: Mon Sep 18, 2017 7:15 pm

Re: [Solved] OpenOffice 4.1.3 Startup Problems on CentOS 7 3

Post by cStuartHardwick »

So what did you actually do to solve the problem? What was "that configuration" and how did you achieve it?
OpenOffice 4.1.3 on Fedora & Xubuntu
Post Reply