← Back to team overview

touch-packages team mailing list archive

[Bug 1051891] Re: Kernel crash shows confusing UI text

 

Status changed to 'Confirmed' because the bug affects multiple users.

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1051891

Title:
  Kernel crash shows confusing UI text

Status in Apport:
  Triaged
Status in apport package in Ubuntu:
  Confirmed

Bug description:
  apport trunk r2483

  If there is a kernel crash or oops, apport-gtk shows the "Ubuntu has
  experienced an internal error" message:

          elif report_type == 'KernelCrash' or report_type == 'KernelOops':
      ...
              self.w('title_label').set_label('<big><b>%s</b></big>' %
                                              self.get_system_application_title())
      ...
      def get_system_application_title(self):
      ...
          else:
              if 'DistroRelease' not in self.report:
                  self.report.add_os_info()
              t = _('Sorry, %s has experienced an internal error.') % self.report['DistroRelease']
          return t

  This is appropriate for an oops, because the UI will appear shortly
  afterward. But it isn't appropriate for a kernel crash, because Ubuntu
  will have restarted since the error. In that case, it should instead
  show the text "Ubuntu has restarted after experiencing an internal
  error." <https://wiki.ubuntu.com/ErrorTracker#kernel-crash>

  It may save time to fix bug 1043392 at the same time as this bug.

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