← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 714784] Re: [Natty Alpha-2] crash in source_xorg.py hook when reporting X bug

 

It occurred to me that glxinfo is from a package in universe and I was
able to recreate the crash using the following steps:

8:28:59 - flash:[~/Documents/subtitles] sudo chmod -x '/usr/bin/glxinfo'
[sudo] password for bdmurray: 
8:29:10 - flash:[~/Documents/subtitles] ubuntu-bug xorg
ERROR: hook /usr/share/apport/package-hooks//source_xorg.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 637, in add_hooks_info
    symb['add_info'](self, ui)
  File "/usr/share/apport/package-hooks//source_xorg.py", line 450, in add_info
    attach_3d_info(report, ui)
  File "/usr/share/apport/package-hooks//source_xorg.py", line 332, in attach_3d_info
    report['glxinfo'] = command_output_quiet(['glxinfo'])
  File "/usr/lib/python2.7/dist-packages/problem_report.py", line 510, in __setitem__
    and (hasattr(v[0], 'isalnum') or hasattr(v[0], 'read'))))
AssertionError

The existence of glxinfo should be tested before trying to run it.

** Changed in: apport (Ubuntu)
       Status: New => Invalid

** Changed in: xorg-server (Ubuntu)
   Importance: Undecided => Medium

** Changed in: xorg-server (Ubuntu)
       Status: Incomplete => Triaged

** Changed in: xorg-server (Ubuntu)
     Assignee: (unassigned) => Bryce Harrington (bryce)

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in ubuntu.
https://bugs.launchpad.net/bugs/714784

Title:
  [Natty Alpha-2] crash in source_xorg.py hook when reporting X bug



Follow ups