Bug#590462: libgl1-mesa-dri: running piglit git on r600 crashes X server

2010-08-04 Thread Michel Dänzer
On Mit, 2010-08-04 at 10:52 +0200, Michal Suchanek wrote: 
> Excerpts from Michel Dänzer's message of Tue Aug 03 19:07:49 +0200 2010:
> > 
> > Does gdb say anything about why it can't get the symbols?
> 
> Nothing in particular. It just does not show the function name for
> anything but WaitForSomething which does not help much when there are
> tens of anonymous stack frames on crash.
> 
> Actually it shows less readable information than the X crash handler.
> 
> 
> Script started on Wed 04 Aug 2010 10:45:36 AM CEST
> ~# ps auxww | grep X
> root  8450  0.2  0.4 109092 16728 tty7 S -nolisten tcp
> root 31923  0.0  0.0   5516   808 pts/3S+   10:45   0:00 grep X
> ~# gdb /usr/lib/debug/usr/bin/Xorg 8450

Does it work better if you use just

gdb -p 

instead?


-- 
Earthling Michel Dänzer   |http://www.vmware.com
Libre software enthusiast |  Debian, X and DRI developer



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280912601.19303.375.ca...@thor.local



Bug#590462: libgl1-mesa-dri: running piglit git on r600 crashes X server

2010-08-04 Thread Michal Suchanek
Excerpts from Michel Dänzer's message of Tue Aug 03 19:07:49 +0200 2010:
> On Die, 2010-08-03 at 15:23 +0200, Michal Suchanek wrote:
> > Excerpts from Brice Goglin's message of Tue Aug 03 14:43:59 +0200 2010:
> > > Le 03/08/2010 14:13, Michal Suchanek a écrit :
> > > > There is xserver-xorg-core-dbg but no documentation on using that
> > > > package I could find. The X server binary has no symbols so there is no
> > > > backtrace whatsoever that can be received with gdb.
> > > >
> > >
> > > $ apt-cache show xserver-xorg-core-dbg
> > > Package: xserver-xorg-core-dbg
> > > [...]
> > >  This package provides debugging symbols for the Xorg X server and 
> > > associated
> > >  modules.
> > >
> > >
> > > You just need to install this and you'll have Xserver symbols.
> > > Add xserver-xorg-video-radeon-dbg for radeon driver symbols.
> > >
> > > Brice
> >
> > I have this package installed along with the packages for the radeon
> > driver, libdrm, etc.
> >
> > Still no symbols when I attach to X server.
> 
> Does gdb say anything about why it can't get the symbols?
> 

Nothing in particular. It just does not show the function name for
anything but WaitForSomething which does not help much when there are
tens of anonymous stack frames on crash.

Actually it shows less readable information than the X crash handler.


Script started on Wed 04 Aug 2010 10:45:36 AM CEST
~# ps auxww | grep X
root  8450  0.2  0.4 109092 16728 tty7 Shttp://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Attaching to program: /usr/lib/debug/usr/bin/Xorg, process 8450

warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
0x7f61fdc2c893 in ?? ()
(gdb) bt
#0  0x7f61fdc2c893 in ?? ()
#1  0x0045ec3a in WaitForSomething (pClientsReady=) at ../../os/WaitFor.c:229
#2  0x033c06320632 in ?? ()
#3  0x02b69ef0 in ?? ()
#4  0x024d10e0 in ?? ()
#5  0x02c64e70 in ?? ()
#6  0x7fff6300bb70 in ?? ()
#7  0x7fff6300bb88 in ?? ()
#8  0x in ?? ()
(gdb) detach
Detaching from program: /usr/lib/debug/usr/bin/Xorg, process 8450
(gdb) qquit
~# exit

Script done on Wed 04 Aug 2010 10:47:05 AM CEST
-- 
Michal Suchánek
michal.sucha...@ruk.cuni.cz
tel 224491810 fax 224491594
Univerzita Karlova v Praze
Ústav Výpočetní Techniky
Ovocný trh 3
Praha 1



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280911642-sup-6...@virtual.ruk.cuni.cz



Bug#590462: libgl1-mesa-dri: running piglit git on r600 crashes X server

2010-08-03 Thread Michel Dänzer
On Die, 2010-08-03 at 15:23 +0200, Michal Suchanek wrote: 
> Excerpts from Brice Goglin's message of Tue Aug 03 14:43:59 +0200 2010:
> > Le 03/08/2010 14:13, Michal Suchanek a écrit :
> > > There is xserver-xorg-core-dbg but no documentation on using that
> > > package I could find. The X server binary has no symbols so there is no
> > > backtrace whatsoever that can be received with gdb.
> > >
> > 
> > $ apt-cache show xserver-xorg-core-dbg
> > Package: xserver-xorg-core-dbg
> > [...]
> >  This package provides debugging symbols for the Xorg X server and 
> > associated
> >  modules.
> > 
> > 
> > You just need to install this and you'll have Xserver symbols.
> > Add xserver-xorg-video-radeon-dbg for radeon driver symbols.
> > 
> > Brice
> 
> I have this package installed along with the packages for the radeon
> driver, libdrm, etc.
> 
> Still no symbols when I attach to X server.

Does gdb say anything about why it can't get the symbols?


-- 
Earthling Michel Dänzer   |http://www.vmware.com
Libre software enthusiast |  Debian, X and DRI developer



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280855269.19303.364.ca...@thor.local



Bug#590462: libgl1-mesa-dri: running piglit git on r600 crashes X server

2010-08-03 Thread Michal Suchanek
Excerpts from Brice Goglin's message of Tue Aug 03 14:43:59 +0200 2010:
> Le 03/08/2010 14:13, Michal Suchanek a écrit :
> > There is xserver-xorg-core-dbg but no documentation on using that
> > package I could find. The X server binary has no symbols so there is no
> > backtrace whatsoever that can be received with gdb.
> >
> 
> $ apt-cache show xserver-xorg-core-dbg
> Package: xserver-xorg-core-dbg
> [...]
>  This package provides debugging symbols for the Xorg X server and associated
>  modules.
> 
> 
> You just need to install this and you'll have Xserver symbols.
> Add xserver-xorg-video-radeon-dbg for radeon driver symbols.
> 
> Brice

I have this package installed along with the packages for the radeon
driver, libdrm, etc.

Still no symbols when I attach to X server.

Thanks

Michal
-- 
Michal Suchánek
michal.sucha...@ruk.cuni.cz
tel 224491810 fax 224491594
Univerzita Karlova v Praze
Ústav Výpočetní Techniky
Ovocný trh 3
Praha 1



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280841688-sup-6...@virtual.ruk.cuni.cz



Bug#590462: libgl1-mesa-dri: running piglit git on r600 crashes X server

2010-08-03 Thread Brice Goglin
Le 03/08/2010 14:13, Michal Suchanek a écrit :
> There is xserver-xorg-core-dbg but no documentation on using that
> package I could find. The X server binary has no symbols so there is no
> backtrace whatsoever that can be received with gdb.
>   

$ apt-cache show xserver-xorg-core-dbg
Package: xserver-xorg-core-dbg
[...]
 This package provides debugging symbols for the Xorg X server and associated
 modules.


You just need to install this and you'll have Xserver symbols.
Add xserver-xorg-video-radeon-dbg for radeon driver symbols.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c580f0f.2040...@ens-lyon.org



Bug#590462: libgl1-mesa-dri: running piglit git on r600 crashes X server

2010-08-03 Thread Michal Suchanek
Excerpts from Michel Dänzer's message of Tue Aug 03 11:06:23 +0200 2010:
> reassign 590462 xserver-xorg-video-radeon 1:6.13.1-2
> kthxbye
> 
> On Mon, 2010-07-26 at 15:55 +0200, Michal Suchanek wrote:
> >
> > Backtrace:
> > 0: X (xorg_backtrace+0x28) [0x4ac9b8]
> > 1: X (0x40+0x61939) [0x461939]
> > 2: /lib/libpthread.so.0 (0x7f00ed8a+0xef60) [0x7f00ed8aef60]
> > 3: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7f00ea2f5000+0xd73be) 
> > [0x7f00ea3cc3be]
> > 4: /usr/lib/xorg/modules/extensions/libdri2.so (0x7f00ea7fe000+0x167f) 
> > [0x7f00ea7ff67f]
> > 5: /usr/lib/xorg/modules/extensions/libdri2.so 
> > (DRI2GetBuffersWithFormat+0x10) [0x7f00ea7ff8a0]
> > 6: /usr/lib/xorg/modules/extensions/libdri2.so (0x7f00ea7fe000+0x207e) 
> > [0x7f00ea80007e]
> > 7: X (0x40+0x48db4) [0x448db4]
> > 8: X (0x40+0x25b8a) [0x425b8a]
> > 9: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f00ec3a0c4d]
> > 10: X (0x40+0x25739) [0x425739]
> > Segmentation fault at address (nil)
> >
> > Fatal server error:
> > Caught signal 11 (Segmentation fault). Server aborting
> 
> Looks like the crash is in the X driver, reassigning. Please try and get
> a full backtrace with gdb.
> 

There is xserver-xorg-core-dbg but no documentation on using that
package I could find. The X server binary has no symbols so there is no
backtrace whatsoever that can be received with gdb.

Thanks

Michal
-- 
Michal Suchánek
michal.sucha...@ruk.cuni.cz
tel 224491810 fax 224491594
Univerzita Karlova v Praze
Ústav Výpočetní Techniky
Ovocný trh 3
Praha 1



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280837486-sup-1...@virtual.ruk.cuni.cz



Processed: Re: Bug#590462: libgl1-mesa-dri: running piglit git on r600 crashes X server

2010-08-03 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 590462 xserver-xorg-video-radeon 1:6.13.1-2
Bug #590462 [libgl1-mesa-dri] libgl1-mesa-dri: running piglit git on r600 
crashes X server
Bug reassigned from package 'libgl1-mesa-dri' to 'xserver-xorg-video-radeon'.
Bug No longer marked as found in versions mesa/7.8.2-2.
Bug #590462 [xserver-xorg-video-radeon] libgl1-mesa-dri: running piglit git on 
r600 crashes X server
Bug Marked as found in versions xserver-xorg-video-ati/1:6.13.1-2.
> kthxbye
Stopping processing here.

Please contact me if you need assistance.
-- 
590462: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590462
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.12808263927876.transcr...@bugs.debian.org



Bug#590462: libgl1-mesa-dri: running piglit git on r600 crashes X server

2010-08-03 Thread Michel Dänzer
reassign 590462 xserver-xorg-video-radeon 1:6.13.1-2
kthxbye

On Mon, 2010-07-26 at 15:55 +0200, Michal Suchanek wrote: 
> 
> Backtrace:
> 0: X (xorg_backtrace+0x28) [0x4ac9b8]
> 1: X (0x40+0x61939) [0x461939]
> 2: /lib/libpthread.so.0 (0x7f00ed8a+0xef60) [0x7f00ed8aef60]
> 3: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7f00ea2f5000+0xd73be) 
> [0x7f00ea3cc3be]
> 4: /usr/lib/xorg/modules/extensions/libdri2.so (0x7f00ea7fe000+0x167f) 
> [0x7f00ea7ff67f]
> 5: /usr/lib/xorg/modules/extensions/libdri2.so 
> (DRI2GetBuffersWithFormat+0x10) [0x7f00ea7ff8a0]
> 6: /usr/lib/xorg/modules/extensions/libdri2.so (0x7f00ea7fe000+0x207e) 
> [0x7f00ea80007e]
> 7: X (0x40+0x48db4) [0x448db4]
> 8: X (0x40+0x25b8a) [0x425b8a]
> 9: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f00ec3a0c4d]
> 10: X (0x40+0x25739) [0x425739]
> Segmentation fault at address (nil)
> 
> Fatal server error:
> Caught signal 11 (Segmentation fault). Server aborting

Looks like the crash is in the X driver, reassigning. Please try and get
a full backtrace with gdb.


-- 
Earthling Michel Dänzer   |http://www.vmware.com
Libre software enthusiast |  Debian, X and DRI developer



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280826383.19303.331.ca...@thor.local



Bug#590462: libgl1-mesa-dri: running piglit git on r600 crashes X server

2010-07-26 Thread Michal Suchanek
Package: libgl1-mesa-dri
Version: 7.8.2-2
Severity: normal


The X server crashed while running piglit.

I will try to find out if a particular test crashes it.



X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-5-amd64 x86_64 Debian
Current Operating System: Linux IPX7A-ION 2.6.34-1-amd64 #1 SMP Sun Jun 6 
22:29:25 UTC 2010 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.34-1-amd64 
root=UUID=3b8f6a64-5899-462a-aec0-6ddefd878ecf ro fbcon=rotate:3 quiet
Build Date: 15 July 2010  03:08:26PM
xorg-server 2:1.7.7-3 (Cyril Brulebois ) 
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 26 10:14:47 2010
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) |   |-->Monitor ""
(==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
(II) Loader magic: 0x7c6000
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(++) using VT number 7

(--) PCI:*(0:1:0:0) 1002:954f:174b:0e13 ATI Technologies Inc RV710 [Radeon HD 
4350] rev 0, Mem @ 0xd000/268435456, 0xfe9f/65536, I/O @ 
0xdc00/256, BIOS @ 0x/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(==) Matched ati as autoconfigured driver 0
(==) Matched vesa as autoconfigured driver 1
(==) Matched fbdev as autoconfigured driver 2
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "ati"
(I