page fault on read access in libgl.so.1

Bug #592783 reported by Jérôme
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xf86-video-ati
Invalid
Critical
fglrx-installer (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Lucid by Jérôme
Nominated for Maverick by Jérôme

Bug Description

I tried to run a wine application which is using libgl.so.1.

At first I reported a bug into the wine bug tracking system:
http://bugs.winehq.org/show_bug.cgi?id=23109

The developpers told me there was a bug into my video driver.

See the attached debug stack trace for details.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: fglrx 2:8.723.1-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
CurrentDmesg:
 [ 7074.912990] eth0: link down
 [70962.233899] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
 [71025.178085] eth0: link down
 [71026.873773] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Date: Fri Jun 11 20:10:12 2010
DkmsStatus: fglrx, 8.723.1, 2.6.32-22-generic, i686: installed
GdmLog1: Error: command ['gksu', '-D', 'Apport', '--', 'cat', '/var/log/gdm/:0.log.1'] failed with exit code 1: cat: /var/log/gdm/:0.log.1: No such file or directory
GdmLog2: Error: command ['gksu', '-D', 'Apport', '--', 'cat', '/var/log/gdm/:0.log.2'] failed with exit code 1: cat: /var/log/gdm/:0.log.2: No such file or directory
InstallationMedia: Xubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Sony Corporation PCG-FX301(FR)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=cc325b47-77d9-4b57-98af-0db1393969c6 ro quiet splash
ProcEnviron:
 LANG=fr_FR.utf8
 SHELL=/bin/bash
SourcePackage: fglrx-installer
dmi.bios.date: 07/04/2001
dmi.bios.vendor: Sony Corporation
dmi.bios.version: R0104K5
dmi.board.name: QII-Project
dmi.board.vendor: Sony Corporation
dmi.board.version: 1A
dmi.chassis.asset.tag: 962C8394A050580000000000
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnSonyCorporation:bvrR0104K5:bd07/04/2001:svnSonyCorporation:pnPCG-FX301(FR):pvr01:rvnSonyCorporation:rnQII-Project:rvr1A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.name: PCG-FX301(FR)
dmi.product.version: 01
dmi.sys.vendor: Sony Corporation
glxinfo: Error: [Errno 2] Aucun fichier ou dossier de ce type
system:
 distro: Ubuntu
 codename: lucid
 architecture: i686
 kernel: 2.6.32-22-generic

Revision history for this message
Jérôme (jerome-bouat) wrote :
Bryce Harrington (bryce)
tags: added: xubuntu
Revision history for this message
In , Jérôme (jerome-bouat) wrote :

Created an attachment (id=36371)
the log of the crash

version: 8.723.1

I attached the log.

Revision history for this message
Jérôme (jerome-bouat) wrote :

This bug still appears with all updates available up to now (fglrx*, nvidia-current-modaliases).

This bug prevents me to test a wine bug.

Revision history for this message
In , Jérôme (jerome-bouat) wrote :

I change the severity to "critical" since my application crashed.

Revision history for this message
Felix Kuehling (felix-kuehling) wrote :

The problem sounds like it's using the wrong version of libGL.so.1. Check the output of "ldd /usr/bin/fgl_glxgears" for example. If it uses libGL.so.1 from /usr/lib, that's wrong. If you're using the Ubuntu packages of fglrx, it should be using /usr/lib/fglrx/libGL.so.1 and there should be no /usr/lib/libGL.so*.

Revision history for this message
Jérôme (jerome-bouat) wrote :

fgl_glxgears crashes itself (segmentation fault):
---
j@j-lt:~$ /usr/bin/fgl_glxgears
Using GLX_SGIX_pbuffer
Erreur de segmentation
j@j-lt:~$ ldd /usr/bin/fgl_glxgears
 linux-gate.so.1 => (0x00b17000)
 libGL.so.1 => /usr/lib/fglrx/libGL.so.1 (0x0016a000)
 libX11.so.6 => /usr/lib/libX11.so.6 (0x009c9000)
 libXext.so.6 => /usr/lib/libXext.so.6 (0x0048c000)
 libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00d57000)
 libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x0060d000)
 libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00867000)
 libatiuki.so.1 => /usr/lib/fglrx/libatiuki.so.1 (0x00eb6000)
 libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x003c0000)
 libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00883000)
 libxcb.so.1 => /usr/lib/libxcb.so.1 (0x004a8000)
 /lib/ld-linux.so.2 (0x00e03000)
 libXau.so.6 => /usr/lib/libXau.so.6 (0x0083f000)
 libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00fbb000)
j@j-lt:~$ ls -l /usr/lib/fglrx/libGL.so.1
lrwxrwxrwx 1 root root 12 2010-06-19 11:55 /usr/lib/fglrx/libGL.so.1 -> libGL.so.1.2
j@j-lt:~$ ls -l /usr/lib/fglrx/libGL.so.1.2
-rw-r--r-- 1 root root 723124 2010-04-29 07:43 /usr/lib/fglrx/libGL.so.1.2
j@j-lt:~$

Revision history for this message
Felix Kuehling (felix-kuehling) wrote :

Hmm, I looked at your Xorg.0.log and lspci output. You're using a Mach64-based card. This card is not supported by the fglrx driver. In your case having fglrx installed actually breaks the Mach64 driver. I recommend you uninstall fglrx. That will give you as much functionality and performance as you'll be able to get on this hardware.

Revision history for this message
In , Jérôme (jerome-bouat) wrote :

It seems this driver isn't suitable for my graphic adapter (Rage Mobility).

Revision history for this message
Jérôme (jerome-bouat) wrote :

You're right. I removed the fglrx driver and it seems to work (no segmentation fault anymore).

Changed in fglrx-installer (Ubuntu):
status: New → Invalid
Changed in xf86-video-ati:
importance: Unknown → Critical
status: Unknown → Invalid
Changed in xf86-video-ati:
importance: Critical → Unknown
Changed in xf86-video-ati:
importance: Unknown → Critical
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.