Ok I have verified that my local fix works, this ErrorF triggers in the beginning of AttendClient:
void AttendClient (ClientPtr client) { OsCommPtr oc = (OsCommPtr)client->osPrivate; int connection; if (!oc) { ErrorF("osPrivate NULL in AttendClient!"); return; } I had put the xserver-xorg-core package on hold while testing the local modifications so it's theoretically possible this was already fixed meanwhile in updates made to precise. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1033242 Title: X server crashes Status in “xorg-server” package in Ubuntu: Confirmed Bug description: This has happened twice now, both times when machine was unattended and screen was probably locked. Looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=821628 including the "divisor 0 get vblank counter failed" warning preceding the crash. So in Xorg log I get the following (the log for the older crash was not saved, but from memory the backtrace looks same) [750609.181] (WW) RADEON(0): divisor 0 get vblank counter failed: Device or resource busy [750669.193] (WW) RADEON(0): divisor 0 get vblank counter failed: Device or reso urce busy [750669.194] Backtrace: [750669.197] 0: /usr/bin/X (xorg_backtrace+0x26) [0x7f65996ba816] [750669.197] 1: /usr/bin/X (0x7f6599532000+0x18c6ba) [0x7f65996be6ba] [750669.197] 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f6598858000+0xfcb0) [0x7f6598867cb0] [750669.197] 3: /usr/bin/X (AttendClient+0x1c) [0x7f65996bc88c] [750669.197] 4: /usr/lib/xorg/modules/extensions/libdri2.so (DRI2SwapComplete+0x137) [0x7f6595b42577] [750669.197] 5: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7f6595626000+0xd967f) [0x7f65956ff67f] [750669.197] 6: /usr/lib/xorg/modules/extensions/libdri2.so (DRI2SwapBuffers+0x110) [0x7f6595b42790] [750669.197] 7: /usr/lib/xorg/modules/extensions/libdri2.so (0x7f6595b40000+0x37d3) [0x7f6595b437d3] [750669.197] 8: /usr/bin/X (0x7f6599532000+0x4e8a1) [0x7f65995808a1] [750669.197] 9: /usr/bin/X (0x7f6599532000+0x3d7ba) [0x7f659956f7ba] [750669.197] 10: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7f65976ed76d] [750669.197] 11: /usr/bin/X (0x7f6599532000+0x3daad) [0x7f659956faad] [750669.197] Segmentation fault at address (nil) [750669.197] Caught signal 11 (Segmentation fault). Server aborting [750669.197] Please consult the The X.Org Foundation support at http://wiki.x.org for help. [750669.197] Please also check the log file at "/var/log/Xorg.0.log" for additional information. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: xserver-xorg 1:7.6+12ubuntu1 ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21 Uname: Linux 3.2.0-27-generic x86_64 .tmp.unity.support.test.0: ApportVersion: 2.0.1-0ubuntu11 Architecture: amd64 CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,place,grid,mousepoll,gnomecompat,session,snap,resize,regex,imgpng,vpswitch,wall,move,unitymtgrabhandles,animation,fade,expo,workarounds,ezoom,scale,unityshell] CompositorRunning: compiz Date: Sun Aug 5 19:46:54 2012 DistUpgraded: 2012-07-24 14:02:06,990 DEBUG enabling apt cron job DistroCodename: precise DistroVariant: ubuntu ExtraDebuggingInterest: Yes, GraphicsCard: Advanced Micro Devices [AMD] nee ATI RS880 [Radeon HD 4250] [1002:9715] (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. M5A88-V EVO [1043:843e] InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007) MachineType: System manufacturer System Product Name ProcEnviron: TERM=xterm PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-27-generic root=UUID=0c719a59-7ad7-402c-af5b-2fdb744a7c4b ro crashkernel=384M-2G:64M,2G-:128M quiet splash vt.handoff=7 SourcePackage: xorg UpgradeStatus: Upgraded to precise on 2012-07-24 (12 days ago) dmi.bios.date: 09/08/2010 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 1701 dmi.board.asset.tag: To Be Filled By O.E.M. dmi.board.name: M4A88TD-M EVO dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev X.0x dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1701:bd09/08/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4A88TD-MEVO:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer version.compiz: compiz 1:0.9.7.8-0ubuntu1.2 version.ia32-libs: ia32-libs N/A version.libdrm2: libdrm2 2.4.32-1ubuntu1 version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3.1 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3.1 version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10.6 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1.2 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1033242/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp