Openoffice segfaults when nvidia X server is used

Bug #33456 reported by OlivierP
4
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Medium
Unassigned

Bug Description

~$ oowriter

(soffice.bin.real:8740): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported

(soffice.bin.real:8740): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported
/usr/lib/openoffice/program/soffice: line 233: 8740 Segmentation fault "$sd_prog/$sd_binary" "$@"

This occurs systematically when using nvidia's X driver (installed using the Dapper packages). When using "nv", openoffice runs successfully.

This behaviour has been ongoing since roughly Feb 15th, following several updates to the mesa libs & other x.org related libraries.

I susoect this is related to OpenGL or the nvidia driver itself, as since that time, 2 GL intensive games by iDsoftware that were able to run with ia32-libs ceased functioning, both with a segfault on libGL.so.1

Purging all ia32 related libs (including Openoffice), the nvidia related packages and reinstalling them does not fix the problem.

OlivierP (unineurone)
Changed in ia32-libs:
status: Unconfirmed → Confirmed
Revision history for this message
jon_gunnar (jonrue) wrote :

Looks for me to be the same as my Bug #33330?

Revision history for this message
hva (francesco-hermanitosverdes) wrote :

got it working at last ! (with nvidia driver)
i went to /usr/lib32 and noticed two different libnvidia-tls.so.1.0.8178, one in the same directory and the other in "nvidia" and a simlink ( libnvidia-tls.so.1) pinting to the first one. i made it point to the second one and it WORKED !
now i've my openoffice back.

cd /usr/lib32
sudo rm libnvidia-tls.so.1
sudo ln -s nvidia/libnvidia-tls.so.1.0.8178 libnvidia-tls.so.1

Revision history for this message
OlivierP (unineurone) wrote :

The AMD64 nvidia-glx package contains the following 2 files:

/usr/lib32/libnvidia-tls.so.1.0.8178 with 2108 bytes
/usr/lib32/nvidia/libnvidia-tls.so.1.0.8178 with 2156 bytes
There's also a symlink created by ldconfig that points to /usr/lib32/libnvidia-tls.so.1.0.8178

With this setup, Openoffice fails to start.

Replacing /usr/lib32/libnvidia-tls.so.1.0.8178 by a copy of /usr/lib32/nvidia/libnvidia-tls.so.1.0.8178 , running ldconfig
fixes the issue, as well as allowing iDSoftware's games to run.

Note that these 2 files are also present in the 32bit nvidia-glx package, and exhibit the same filesize difference. Checking against the original drivers (32 & 64 bit) downloaded from Nvidia, these files also exhibit different file sizes:

2352 NVIDIA-Linux-x86-1.0-8178-pkg1/usr/lib/libnvidia-tls.so.1.0.8178
2324 NVIDIA-Linux-x86-1.0-8178-pkg1/usr/lib/tls/libnvidia-tls.so.1.0.8178

2352 NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/lib32/libnvidia-tls.so.1.0.8178

2324 NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/lib32/tls/libnvidia-tls.so.1.0.8178

3016 NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/lib/libnvidia-tls.so.1.0.8178

3408 NVIDIA-Linux-x86_64-1.0-8178-pkg2/usr/lib/tls/libnvidia-tls.so.1.0.8178

Revision history for this message
OlivierP (unineurone) wrote :

Package nvidia-glx 1.0.8178+2.6.15.6-2 still contains the "bug", and breaks openoffice.

Revision history for this message
Adam Conrad (adconrad) wrote :

 linux-restricted-modules-2.6.15 (2.6.15.6-3) dapper; urgency=low
 .
   * Stop using the hideous "mangle TLS symlinks on boot" hack, which was
     second-guessing our linker (which appears to do the right thing anyway)
     - Removed the init script and /etc/default fragment from nvidia-glx
     - Install TLS libraries directly to /usr/lib/tls and /usr/lib32/tls.

Changed in nvidia-glx:
status: Confirmed → Fix Released
Revision history for this message
mattwire (bugs-mrwire) wrote :

Latest apt-get updates today fixed the problem for me.
Thankyou.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.