Openoffice crashes on x86_64 just doing File-> Open

Support for the other architectures (X86_64, s390(x) and PowerPC)
Post Reply
raines
Posts: 17
Joined: 2006/08/08 17:28:35

Openoffice crashes on x86_64 just doing File-> Open

Post by raines » 2007/02/06 18:38:19

We have CentOS 4.4 with the latest updates on all our boxes and while we find on the 32bit boxes open office works fine, on x86_64 it is very unstable and if you run oocalc and simply go to File -> Open, it will crash before showing a file dialog box.

The crash on stdout says

*** glibc detected *** double free or corruption (fasttop):....

While on the GUI side it brings up Bug Buddy

Is anyone else seeing this on their x86_64 installs? Or not seeing it?

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Openoffice crashes on x86_64 just doing File-> Open

Post by Lenard » 2007/02/07 11:39:19

Verify that you have the correct 32-bit gcclibs installed, the versions should match their 64-bit counter parts.

rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" '*gcc*' 'libstdc*' | sort

It might be a good idea also to install the latest (32 or 64 bit) from openoffice.org instead.

raines
Posts: 17
Joined: 2006/08/08 17:28:35

Re: Openoffice crashes on x86_64 just doing File-> Open

Post by raines » 2007/02/13 16:48:46

# rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" '*gcc*' 'libstdc*' | sort
gcc-3.4.6-3.x86_64
gcc4-4.1.0-18.EL4.x86_64
gcc4-gfortran-4.1.0-18.EL4.x86_64
gcc-c++-3.4.6-3.x86_64
gcc-g77-3.4.6-3.x86_64
gcc-java-3.4.6-3.x86_64
gcc-objc-3.4.6-3.x86_64
libgcc-3.4.6-3.i386
libgcc-3.4.6-3.x86_64
libstdc++-3.4.6-3.i386
libstdc++-3.4.6-3.x86_64
libstdc++-devel-3.4.6-3.x86_64

Which I assume is fine. I just updated the very latest updates today and it still crashes when ever doing anything that
brings up a file dialog. I saw gtk2 was updated and hoped that would fix it but it did not.

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Re: Openoffice crashes on x86_64 just doing File-> Open

Post by Lenard » 2007/02/13 18:52:30

Looks OK...........

You really should update to OOo-2.1 available from OpenOffice.org and remove the older 1.X version first.

Removal Example: rpm -e openoffice.org openoffice.org-i18n openoffice.org-libs

Visit: http://www.openoffice.org/ to get the latest stable version (OOo_2.1.0_LinuxIntel_install_en-US.tar.gz).

Unpack the tar file and copy the openoffice.org-redhat-menus-2.1-5.noarch.rpm from the extracted ~/OOE680_m6_native_packed-1_en-US.9095/RPMS/desktop-integration directoy to the ~/OOE680_m6_native_packed-1_en-US.9095/RPMS directory

I using root's home directory for the example below;

[code]
tar zxvf OOo_2.1.0_LinuxIntel_install_en-US.tar.gz
cd OOE680_m6_native_packed-1_en-US.9095/RPMS/desktop-integration
cp openoffice.org-redhat-menus-2.1-5.noarch.rpm /root/OOE680_m6_native_packed-1_en-US.9095/RPMS/openoffice.org-redhat-menus-2.1-5.noarch.rpm
cd ..
rpm -Uvh openoffice*.rpm
[/code]

Note: not all rpms are required and you may have to move one or more out of the directory for installation (the javafilter rpm comes to mind).

Logout of the GUI if you need to then log back in so the changes can take affect.

raines
Posts: 17
Joined: 2006/08/08 17:28:35

Re: Openoffice crashes on x86_64 just doing File-> Open

Post by raines » 2007/02/15 15:44:19

Well, after doing this I notice the names have changed. The soffice program still exists, but oocalc has become scalc and so on.
Anway, running any of these just produces hangs with no GUI every coming up at all, no error, no nothing.

I did a

strace /opt/openoffice.org2.1/program/soffice

and these are the last few lines before it hangs

access("/opt/openoffice.org2.1/program/javaldx", X_OK) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pipe([3, 4]) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
lseek(255, -1259, SEEK_CUR) = 5605
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2a95578470) = 24368
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x433e30, [], SA_RESTORER, 0x3e0972e2b0}, {0x433e30, [], SA_RESTORER, 0x3e0972e2b0}, 8) = 0
close(4) = 0
read(3,

raines
Posts: 17
Joined: 2006/08/08 17:28:35

Re: Openoffice crashes on x86_64 just doing File-> Open

Post by raines » 2007/02/15 16:19:24

The above is fixed by removing the brain dead GNU java stuff. See my post at:

http://www.oooforum.org/forum/viewtopic.phtml?p=207553

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Re: Openoffice crashes on x86_64 just doing File-> Open

Post by Lenard » 2007/02/15 23:06:18

Congratulations!!!! I'm really glad you got this working.

As a suggestion install Sun's 32-bit Java Runtime Environment (JRE) 6 package as a replacement;

http://java.sun.com/javase/downloads/index.jsp

Get the Linux RPM (self-extracting file) version and as root do;

chmod a+x jre-6-linux-i586-rpm.bin
./jre-6-linux-i586-rpm.bin

And see this; http://www.centos.org/modules/newbb/viewtopic.php?topic_id=5717&forum=28

FYI: things are much better with the upcoming 5 versions of RHEL and CentOS, for example (some old beta2 rpm packages listed);

/RHEL5/openoffice.org-calc-2.0.4-5.4.1.x86_64.rpm
/RHEL5/openoffice.org-core-2.0.4-5.4.1.x86_64.rpm
/RHEL5/openoffice.org-draw-2.0.4-5.4.1.x86_64.rpm
/RHEL5/openoffice.org-emailmerge-2.0.4-5.4.1.x86_64.rpm
/RHEL5/openoffice.org-graphicfilter-2.0.4-5.4.1.x86_64.rpm
/RHEL5/openoffice.org-impress-2.0.4-5.4.1.x86_64.rpm
/RHEL5/openoffice.org-javafilter-2.0.4-5.4.1.x86_64.rpm
/RHEL5/openoffice.org-math-2.0.4-5.4.1.x86_64.rpm
/RHEL5/openoffice.org-pyuno-2.0.4-5.4.1.x86_64.rpm
/RHEL5/openoffice.org-testtools-2.0.4-5.4.1.x86_64.rpm
/RHEL5/openoffice.org-writer-2.0.4-5.4.1.x86_64.rpm
/RHEL5/openoffice.org-xsltfilter-2.0.4-5.4.1.x86_64.rpm

Post Reply