https://bugs.freedesktop.org/show_bug.cgi?id=60182
--- Comment #13 from lbdkmjdf@sharklasers.com --- Created attachment 82065 --> https://bugs.freedesktop.org/attachment.cgi?id=82065&action=edit 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://launchpadlibrarian.net/141183209/buildlog_ubuntu-raring-amd64.xserve...
mkdir temp && cd temp && apt-get source xserver-xorg-video-ati=1:7.1.99+git20130531.bd2557ea-0ubuntu0sarvatt~raring sudo apt-get -s build-dep xserver-xorg-video-ati cd xserver-xorg-video-ati-7.1.99+git20130531.bd2557ea/ (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 [ 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+0x36) [0x7fcd2ef63516] [ 4165.700] (EE) 1: /usr/bin/X (0x7fcd2edb3000+0x1b4359) [0x7fcd2ef67359] [ 4165.700] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fcd2deb6000+0xfbd0) [0x7fcd2dec5bd0] [ 4165.700] (EE) 3: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7fcd2b521000+0x4017c) [0x7fcd2b56117c] [ 4165.700] (EE) 4: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7fcd2b521000+0x40cb0) [0x7fcd2b561cb0] [ 4165.700] (EE) 5: /usr/bin/X (_CallCallbacks+0x34) [0x7fcd2ee105d4] [ 4165.700] (EE) 6: /usr/bin/X (CloseDownClient+0x54) [0x7fcd2ee0afb4] [ 4165.700] (EE) 7: /usr/bin/X (0x7fcd2edb3000+0x58b35) [0x7fcd2ee0bb35] [ 4165.700] (EE) 8: /usr/bin/X (0x7fcd2edb3000+0x475aa) [0x7fcd2edfa5aa] [ 4165.700] (EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7fcd2cb02ea5] [ 4165.700] (EE) 10: /usr/bin/X (0x7fcd2edb3000+0x478f1) [0x7fcd2edfa8f1] [ 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.