gdmgreeter segfaults when XRandR is not available

Bug #152505 reported by Chris Halse Rogers
64
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: gdm

A recent update (likely:
 [ Matthew Garrett ]
   * debian/patches/63_xrandr_virtual.patch:
     - on randr1.0 drivers, set the virtual to the screen resolution in
       order to avoid panning setups (part of LP: #137517))
caused gdmgreeter to start segfaulting on startup. Upon investigation, I had Xinerama enabled in my xorg.conf (which disables XRandR). After removing the Xinerama option, gdmgreeter starts successfully. I'm using the nvidia-glx-new drivers

I'll attach a backtrace of gdmgreeter with Xinerama enabled.

It's possible that this is a duplicate of bug: #152208, but that bug seems sufficiently different to file a new one.

Related branches

Revision history for this message
Chris Halse Rogers (raof) wrote :
Changed in gdm:
importance: Undecided → High
Revision history for this message
Chris Halse Rogers (raof) wrote :

Attached is my xorg.conf. With the ServerFlags section commented, gdm starts. With the ServerFlags section uncommented, gdm doesn't.

Revision history for this message
Chris Halse Rogers (raof) wrote :

I'm not familiar with X programming so I'm not sure how correct it is, but this debdiff adds a check for NULL to the 63_xrandr_virtual.patch patch which fixes this for me.

Revision history for this message
unf (unforcer) wrote :

Xinerama with XGL is not working properly either.

Using nvidia-glx-new + xinerama

Revision history for this message
Matthew Garrett (mjg59) wrote :
Changed in gdm:
status: New → Fix Committed
Revision history for this message
Matthew Garrett (mjg59) wrote :

gdm (2.20.0-0ubuntu5) gutsy; urgency=low

  * debian/patches/63_xrandr_virtual.patch:
    - check that XRRGetScreenResources returns a structure. LP: #152505

 -- Matthew Garrett <email address hidden> Mon, 15 Oct 2007 01:09:40 +0100

Changed in gdm:
status: Fix Committed → Fix Released
Revision history for this message
Forceflow (baertman) wrote :

Maybe this one is a duplicate of this too - not sure: https://bugs.launchpad.net/ubuntu/+bug/152780

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.