Comment 0 for bug 1051891

Revision history for this message
Matthew Paul Thomas (mpt) wrote : Kernel crash/oops shows confusing UI text

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 likely to be confusing, because the error occurred in the previous Ubuntu session, not this one. It should instead show the text "Ubuntu has restarted after experiencing an internal error." <https://wiki.ubuntu.com/ErrorTracker#kernel-oops>

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