[Bug 2148184] Re: apport crashes with IndexError: list index out of range

Benjamin Drung 2148184 at bugs.launchpad.net
Mon Apr 13 11:44:05 UTC 2026


/usr/lib/python3/dist-packages/apport/crashdb_impl/memory.py looks fishy
to me. The "memory" crashdb backend is for debugging.

Oh, no. The default in /etc/apport/crashdb.conf is wrong.

** Changed in: apport (Ubuntu)
     Assignee: (unassigned) => Benjamin Drung (bdrung)

** Changed in: apport (Ubuntu)
   Importance: Undecided => High

** Changed in: apport (Ubuntu)
    Milestone: None => ubuntu-26.04

-- 
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/2148184

Title:
  apport crashes with IndexError: list index out of range

Status in apport package in Ubuntu:
  New

Bug description:
  On Ubuntu 26.04:

  $ apport-collect 2148183
  Traceback (most recent call last):
    File "/usr/share/apport/apport-kde", line 615, in <module>
      main(sys.argv)
      ~~~~^^^^^^^^^^
    File "/usr/share/apport/apport-kde", line 611, in main
      sys.exit(user_interface.run_argv())
               ~~~~~~~~~~~~~~~~~~~~~~~^^
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 923, in run_argv
      return self.run_update_report()
             ~~~~~~~~~~~~~~~~~~~~~~^^
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 778, in run_update_report
      pkgs = self.crashdb.get_affected_packages(self.args.update_report)
    File "/usr/lib/python3/dist-packages/apport/crashdb_impl/memory.py", line 99, in get_affected_packages
      return [self.reports[crash_id]["report"]["SourcePackage"]]

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





More information about the foundations-bugs mailing list