[apport] displayconfig-gtk crashed with SystemError in getGamma()

Bug #93904 reported by Jason Gorski
14
Affects Status Importance Assigned to Milestone
displayconfig-gtk (Ubuntu)
Fix Released
Medium
Unassigned
kde-guidance (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: displayconfig-gtk

This is most likely entirely due to the fact that I'm running in XGL. So, one needs to add a check for XGL before crashing...

---

Install, run
displayconfig-gtk

receive warning:
Xlib: extension "XFree86-VidModeExtension" missing on display ":1.0".

then crash on command line without any windows ever popping up:
Traceback (most recent call last):
  File "/usr/bin/displayconfig-gtk", line 11, in <module>
    app = DisplayConfig("/usr/share/displayconfig-gtk/displayconfig.glade")
  File "/usr/lib/python2.5/site-packages/displayconfiggtk/DisplayConfig.py", line 105, in __init__
    self.xsetup = XSetup(self.xconfigpath)
  File "/usr/lib/python2.5/site-packages/displayconfig/displayconfigabstraction.py", line 387, in __init__
    self._finalizeInit()
  File "/usr/lib/python2.5/site-packages/displayconfig/displayconfigabstraction.py", line 392, in _finalizeInit
    gfxcard._finalizeInit()
  File "/usr/lib/python2.5/site-packages/displayconfig/displayconfigabstraction.py", line 1101, in _finalizeInit
    screen._finalizeInit()
  File "/usr/lib/python2.5/site-packages/displayconfig/displayconfigabstraction.py", line 1618, in _finalizeInit
    (self.redgamma, self.greengamma, self.bluegamma) = self.x_live_screen.getGamma()
  File "/usr/lib/python2.5/site-packages/displayconfig/xf86misc.py", line 55, in getGamma
    return ixf86misc.GetGamma(self.display,self.screenid)
SystemError: error return without exception set

ProblemType: Crash
Architecture: i386
Date: Mon Mar 19 19:18:49 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/displayconfig-gtk
InterpreterPath: /usr/bin/python2.5
Package: displayconfig-gtk 0.2ubuntu1
PackageArchitecture: i386
ProcCmdline: /usr/bin/python /usr/bin/displayconfig-gtk
ProcCwd: /home/jgorski
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=en_CA.UTF-8
 LANGUAGE=en_CA:en
PythonArgs: ['/usr/bin/displayconfig-gtk']
SourcePackage: displayconfig-gtk
Uname: Linux julio 2.6.20-10-generic #2 SMP Mon Mar 12 00:02:49 UTC 2007 i686 GNU/Linux

Revision history for this message
Jason Gorski (jgorski) wrote :
Changed in displayconfig-gtk:
assignee: nobody → mvo
importance: Undecided → Medium
Michael Vogt (mvo)
Changed in displayconfig-gtk:
assignee: mvo → nobody
status: Unconfirmed → Confirmed
Revision history for this message
Sebastian Heinlein (glatzor) wrote :

we should not explode on a failed gamma detection

Revision history for this message
Mircea Deaconu (mirceade) wrote :

Confirming this on XGL.

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

I just committed a patch to the kde3 branch of guidance.

Changed in kde-guidance:
status: New → Fix Committed
Changed in displayconfig-gtk:
status: Confirmed → Invalid
status: Invalid → Incomplete
Revision history for this message
Sebastian Heinlein (glatzor) wrote :

The patch for guidance.

Revision history for this message
Nigel Cundy (nigel-cundy) wrote :

Yes, I also had this problem in XGL.

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

The latest version of guidance in Gusty should not show this bug. Could you please test again?

Thanks

Changed in displayconfig-gtk:
status: Incomplete → Fix Released
Changed in kde-guidance:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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