I got hit by the same bug... Xorg crashes when closing glxgears (simply press X and expect X to crash sometimes...). GPU is HD 6520g.
I built the driver in ubuntu (13.04, amd64, KDE/LXDE) this way (skip if you don't care, I'm posting this to show you how I did it, to be sure it's done correctly, and finally, for my own record...):
last message I got is: "dpkg-deb: building package `xserver-xorg-video-radeon-dbg' in `../xserver-xorg-video-radeon-dbg_7.1.99+git20130531.bd2557ea-0ubuntu0sarvatt~raring_amd64.deb'."
so, I installed that package... and I got the crash showed in the logs, and then the X server restarted.
This is the relevant part:
Created attachment 82065
X crashlog
I got hit by the same bug... Xorg crashes when closing glxgears (simply press X and expect X to crash sometimes...). GPU is HD 6520g.
I built the driver in ubuntu (13.04, amd64, KDE/LXDE) this way (skip if you don't care, I'm posting this to show you how I did it, to be sure it's done correctly, and finally, for my own record...):
I took the instructions from the buildlog in the PPA: https:/ /launchpadlibra rian.net/ 141183209/ buildlog_ ubuntu- raring- amd64.xserver- xorg-video- ati_1%3A7. 1.99%2Bgit20130 531.bd2557ea- 0ubuntu0sarvatt ~raring_ UPLOADING. txt.gz
mkdir temp && cd temp && apt-get source xserver- xorg-video- ati=1:7. 1.99+git2013053 1.bd2557ea- 0ubuntu0sarvatt ~raring xorg-video- ati xorg-video- ati-7.1. 99+git20130531. bd2557ea/
sudo apt-get -s build-dep xserver-
cd xserver-
(edited src/radeon_dri2.c, patched manually)
/usr/bin/fakeroot debian/rules clean
debian/rules build-arch
/usr/bin/fakeroot debian/rules binary-arch
last message I got is: "dpkg-deb: building package `xserver- xorg-video- radeon- dbg' in `../xserver- xorg-video- radeon- dbg_7.1. 99+git20130531. bd2557ea- 0ubuntu0sarvatt ~raring_ amd64.deb' ."
so, I installed that package... and I got the crash showed in the logs, and then the X server restarted.
This is the relevant part:
[ 4161.932] (WW) Attempted to destroy previously destroyed buffer. This is a programming error +0x36) [0x7fcd2ef63516] +0x1b4359) [0x7fcd2ef67359] 64-linux- gnu/libpthread. so.0 (0x7fcd2deb6000 +0xfbd0) [0x7fcd2dec5bd0] xorg/modules/ drivers/ radeon_ drv.so (0x7fcd2b521000 +0x4017c) [0x7fcd2b56117c] xorg/modules/ drivers/ radeon_ drv.so (0x7fcd2b521000 +0x40cb0) [0x7fcd2b561cb0] +0x34) [0x7fcd2ee105d4] t+0x54) [0x7fcd2ee0afb4] +0x58b35) [0x7fcd2ee0bb35] +0x475aa) [0x7fcd2edfa5aa] 64-linux- gnu/libc. so.6 (__libc_ start_main+ 0xf5) [0x7fcd2cb02ea5] +0x478f1) [0x7fcd2edfa8f1]
[ 4161.932] (WW) Attempted to destroy previously destroyed buffer. This is a programming error
[ 4165.699] (EE)
[ 4165.699] (EE) Backtrace:
[ 4165.700] (EE) 0: /usr/bin/X (xorg_backtrace
[ 4165.700] (EE) 1: /usr/bin/X (0x7fcd2edb3000
[ 4165.700] (EE) 2: /lib/x86_
[ 4165.700] (EE) 3: /usr/lib/
[ 4165.700] (EE) 4: /usr/lib/
[ 4165.700] (EE) 5: /usr/bin/X (_CallCallbacks
[ 4165.700] (EE) 6: /usr/bin/X (CloseDownClien
[ 4165.700] (EE) 7: /usr/bin/X (0x7fcd2edb3000
[ 4165.700] (EE) 8: /usr/bin/X (0x7fcd2edb3000
[ 4165.700] (EE) 9: /lib/x86_
[ 4165.700] (EE) 10: /usr/bin/X (0x7fcd2edb3000
[ 4165.700] (EE)
[ 4165.700] (EE) Segmentation fault at address 0x0
[ 4165.700]
Fatal server error:
[ 4165.700] Caught signal 11 (Segmentation fault). Server aborting
I hope this helps.