[Bug 1065241] Re: apport-collect crashes when viewing the report

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 13:04:44 UTC 2020


This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.

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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1065241

Title:
  apport-collect crashes when viewing the report

Status in apport package in Ubuntu:
  Incomplete

Bug description:
  Hi,

  reporting a bug about a memory leak in the Ubuntu 12.04.1 LTS kernel,
  brings me here, after trying to run apport-collect with a mainline
  kernel.

  I ran apport-collect #bugnumber and this is what I got:

  root at server:~# apport-collect 1065159
  The authorization page:
   (https://launchpad.net/+authorize-token?oauth_token=PROTECTTHEINNOCENT&allow_permission=DESKTOP_INTEGRATION)
  should be opening in your browser. Use your browser to authorize
  this program to access Launchpad on your behalf.
  Press any key to continue or wait (5) seconds...
  Waiting to hear from Launchpad about your decision...

  *** Collecting problem information
  The collected information can be sent to the developers to improve the
  application. This might take a few minutes.
  No packages found matching linux.
  .
  *** 

  It appears you are currently running a mainline kernel.  It would be better to report this bug upstream at http://bugzilla.k
  ernel.org/ so that the upstream kernel developers are aware of the issue.  If you'd still like to file a bug against the Ubu
  ntu kernel, please boot with an official Ubuntu kernel and re-file.

  Press any key to continue...

  .

  *** Send problem report to the developers?

  After the problem report has been sent, please fill out the form in the
  automatically opened web browser.

  What would you like to do? Your options are:
    S: Send report (0.2 KB)
    V: View report
    K: Keep report file for sending later or copying to somewhere else
    I: Cancel and ignore future crashes of this program version
    C: Cancel
  Please choose (S/V/K/I/C): V

  *** Collecting problem information

  The collected information can be sent to the developers to improve the
  application. This might take a few minutes.
  No packages found matching linux.
  .
  *** 

  It appears you are currently running a mainline kernel.  It would be better to report this bug upstream at http://bugzilla.k
  ernel.org/ so that the upstream kernel developers are aware of the issue.  If you'd still like to file a bug against the Ubu
  ntu kernel, please boot with an official Ubuntu kernel and re-file.

  Press any key to continue...

  Traceback (most recent call last):
    File "/usr/bin/apport-cli", line 365, in <module>
      if not app.run_argv():
    File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 551, in run_argv
      return self.run_update_report()
    File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 471, in run_update_report
      response = self.ui_present_report_details(allowed_to_report)
    File "/usr/bin/apport-cli", line 205, in ui_present_report_details
      self.collect_info()
    File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 867, in collect_info
      icthread.exc_raise()
    File "/usr/lib/python2.7/dist-packages/apport/REThread.py", line 34, in run
      self._retval = self.__target(*self.__args, **self.__kwargs)
    File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 111, in thread_collect_info
      if report['ProblemType'] == 'Crash' and \
    File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
      raise KeyError(key)
  KeyError: 'ProblemType'
  root at server:~# 

  If you have any questions feel free to contact me.

  KR,

  Grimeton

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1065241/+subscriptions



More information about the foundations-bugs mailing list