[Bug 2101159] Re: Crash in /usr/lib/python3/dist-packages/apport/hookutils.py", line 1142, in attach_casper_md5check
Benjamin Drung
2101159 at bugs.launchpad.net
Fri Apr 4 08:45:35 UTC 2025
Yes, that is a bug in attach_casper_md5check in the Ubuntu package
itself.
** Changed in: apport (Ubuntu)
Status: New => Triaged
** Changed in: apport (Ubuntu)
Importance: Undecided => Medium
--
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/2101159
Title:
Crash in /usr/lib/python3/dist-packages/apport/hookutils.py", line
1142, in attach_casper_md5check
Status in apport package in Ubuntu:
Triaged
Bug description:
During apport-collect for the bug a crash occurred:
$ sudo apport-collect 2101158
*** Collecting problem information
The collected information can be sent to the developers to improve the
application. This might take a few minutes.
.......ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 297, in _run_hook
symb["add_info"](report, ui)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/share/apport/general-hooks/ubuntu.py", line 81, in add_info
apport.hookutils.attach_casper_md5check(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
report, f"/var/log/installer/{casper_md5check}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 1142, in attach_casper_md5check
mismatches = check["checksum_missmatch"]
~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'checksum_missmatch'
..............
The JSON file exists:
$ cat /var/log/installer/casper-md5check.json
{
"result": "skip"
}
---
ProblemType: Bug
ApportLog:
ApportVersion: 2.32.0-0ubuntu2
Architecture: riscv64
CasperMD5json:
{
"result": "skip"
}
CrashReports:
640:0:130:29677:2025-03-07 09:40:08.934373279 +0100:2025-03-07 09:40:09.034374412 +0100:/var/crash/_usr_bin_landscape-monitor.0.crash
644:0:130:0:2025-03-07 09:40:08.934373279 +0100:2025-03-07 09:40:08.934373279 +0100:/var/crash/_usr_bin_landscape-monitor.0.upload
600:120:130:37:2025-03-07 09:40:10.212713238 +0100:2025-03-07 09:40:10.206387667 +0100:/var/crash/_usr_bin_landscape-monitor.0.uploaded
600:0:130:223559:2025-03-05 04:26:00.075996652 +0100:2025-03-07 07:01:03.443158446 +0100:/var/crash/apparmor.0.crash
DistroRelease: Ubuntu 25.04
InstallationDate: Installed on 2023-12-04 (459 days ago)
InstallationMedia: Ubuntu-Server 24.04 "Noble Numbat" - Daily riscv64 (20231204)
Package: apport 2.32.0-0ubuntu2
PackageArchitecture: all
ProcVersionSignature: Ubuntu 6.14.0-7.7.1-generic 6.14.0-rc4
Tags: plucky
Uname: Linux 6.14.0-7-generic riscv64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2101159/+subscriptions
More information about the foundations-bugs
mailing list