crashes when reporting some packages

Bug #121115 reported by Juan Pablo Salazar Bertín
2
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: apport

It happens with some packages. Trying to report a gdm bug:

snifer@snifer-laptop:~$ ubuntu-bug -p gdm
Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 252, in <module>
    app.run_argv()
  File "/var/lib/python-support/python2.5/apport/ui.py", line 230, in run_argv
    self.run_report_bug()
  File "/var/lib/python-support/python2.5/apport/ui.py", line 222, in run_report_bug
    self.collect_info()
  File "/var/lib/python-support/python2.5/apport/ui.py", line 317, in collect_info
    icthread.exc_raise()
  File "/var/lib/python-support/python2.5/apport/REThread.py", line 37, in run
    self._retval = self.__target(*self.__args, **self.__kwargs)
  File "/var/lib/python-support/python2.5/apport/ui.py", line 37, in thread_collect_info
    report.add_package_info(package)
  File "/var/lib/python-support/python2.5/apport/report.py", line 223, in add_package_info
    _transitive_dependencies(package, dependencies)
  File "/var/lib/python-support/python2.5/apport/report.py", line 47, in _transitive_dependencies
    _transitive_dependencies(d, depends_set)
  File "/var/lib/python-support/python2.5/apport/report.py", line 44, in _transitive_dependencies
    for d in packaging.get_dependencies(package):
  File "/var/lib/python-support/python2.5/apport/packaging_impl.py", line 65, in get_dependencies
    return [d[0].TargetPkg.Name for d in cur_ver.DependsList.get('Depends', []) +
AttributeError: 'NoneType' object has no attribute 'DependsList'

ProblemType: Bug
ApportLog:
 apport (pid 5894) Mon Jun 18 22:41:48 2007: called for pid 5892, signal 11
 apport (pid 5894) Mon Jun 18 22:41:49 2007: executable: /usr/bin/gdm-signal (command line "gdm-signal -help")
 modinfo: could not open cdrom: No such device
 modinfo: could not open cdrom: No such device
 apport (pid 5894) Mon Jun 18 22:41:49 2007: wrote report /var/crash/_usr_bin_gdm-signal.1000.crash
Architecture: i386
CrashReports:
 600:1000:1000:10018:2007-06-18 15:28:20.000000000 -0400:2007-06-18 22:45:08.000000000 -0400:/var/crash/_usr_bin_compiz.real.1000.crash
 600:1000:1000:8628:2007-06-18 22:41:49.000000000 -0400:2007-06-18 22:45:19.000000000 -0400:/var/crash/_usr_bin_gdm-signal.1000.crash
 600:0:0:16077:2007-06-15 16:35:27.000000000 -0400:2007-06-15 16:35:25.000000000 -0400:/var/crash/_usr_bin_software-properties-gtk.0.crash
 600:0:0:18476:2007-06-18 15:01:38.000000000 -0400:2007-06-18 15:00:29.000000000 -0400:/var/crash/_usr_bin_update-manager.0.crash
 600:1000:1000:25912:2007-06-18 23:18:20.000000000 -0400:2007-06-18 23:19:03.000000000 -0400:/var/crash/_usr_share_apport_apport-gtk.1000.crash
Date: Mon Jun 18 23:25:01 2007
DistroRelease: Ubuntu 7.10
Package: apport 0.84
PackageArchitecture: all
SourcePackage: apport
Uname: Linux snifer-laptop 2.6.22-6-generic #1 SMP Fri Jun 1 19:24:12 GMT 2007 i686 GNU/Linux

Tags: apport-bug
Revision history for this message
Juan Pablo Salazar Bertín (snifer) wrote :
Revision history for this message
Juan Pablo Salazar Bertín (snifer) wrote :
Revision history for this message
Juan Pablo Salazar Bertín (snifer) wrote :

Same command in Feisty works fine, apport version: 0.76.1.

Revision history for this message
Juan Pablo Salazar Bertín (snifer) wrote :

I can no longer reproduce this bug in version 0.85.
Status changed to Fix Released.

Changed in apport:
status: New → Fix Released
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.