Crash in RRCrtcDetachScanoutPixmap on xserver shutdown.

Bug #1185035 reported by Maarten Lankhorst on 2013-05-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Maarten Lankhorst

Bug Description

 * Normal server shutdown will crash when using nvidia in the 319 recommended optimus setup, or when using usb displaylink output.

[Test Case]
 * Start X on an Intel system with a DisplayLink device attached, or nvidia in optimus configuration.
 * xrandr --setprovideroutputsource modesetting NVIDIA-0, or xrandr --setprovideroutputsource modsetting Intel
 *. xrandr --output DVI-0 --off (bug #1185014 workaround)
 * xrandr --auto
 * Shutdown xserver, no crash should happen.

[Regression Potential]
 * Low, the codepath affected only happens on server shutdown, which is already crashing anyway.
 * Considering the code affected, xrandr --setprovideroutputsource and --setprovideroffloadsink will be the most likely candidates if regressions do occur.

[Other Info]
 * Not upstream yet, but expected there soon.

Related branches

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xorg-server - 2:1.13.3-0ubuntu10

xorg-server (2:1.13.3-0ubuntu10) saucy; urgency=low

  * Add patch to fix DPMS. (LP: #1184999)
    - include-GPU-screens-in-DPMS-code.patch
  * Add patch to fix crash on hybrid systems during shutdown. (LP: #1185035)
    - xf86-detach-scanout.patch
 -- Maarten Lankhorst <email address hidden> Tue, 28 May 2013 16:12:12 +0200

Changed in xorg-server (Ubuntu):
status: New → Fix Released

Hello Maarten, or anyone else affected,

Accepted xorg-server into raring-proposed. The package will build now and be available at in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at . Thank you in advance!

Changed in xorg-server (Ubuntu Raring):
status: New → Fix Committed
tags: added: verification-needed
Maarten Lankhorst (mlankhorst) wrote :

No longer crashes.

tags: added: verification-done
removed: verification-needed
Rolf Leggewie (r0lf) wrote :

raring has seen the end of its life and is no longer receiving any updates. Marking the raring task for this ticket as "Won't Fix".

Changed in xorg-server (Ubuntu Raring):
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers