[Bug 2081708] Re: Incompatible with systemd zstd coredumps (could not determine content size in frame header)
Gabriel de Perthuis
2081708 at bugs.launchpad.net
Mon Sep 23 11:35:47 UTC 2024
This is with Oracular
LC_ALL=C apt policy apport
apport:
Installed: 2.30.0-0ubuntu2
Candidate: 2.30.0-0ubuntu2
Version table:
*** 2.30.0-0ubuntu2 1000
1000 http://fr.archive.ubuntu.com/ubuntu oracular/main amd64 Packages
1000 http://fr.archive.ubuntu.com/ubuntu oracular/main i386 Packages
100 /var/lib/dpkg/status
LC_ALL=C apt policy systemd-coredump
systemd-coredump:
Installed: 256.5-2ubuntu2
Candidate: 256.5-2ubuntu2
Version table:
*** 256.5-2ubuntu2 1000
1000 http://fr.archive.ubuntu.com/ubuntu oracular/universe amd64 Packages
100 /var/lib/dpkg/status
** Also affects: apport (Ubuntu)
Importance: Undecided
Status: New
--
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/2081708
Title:
Incompatible with systemd zstd coredumps (could not determine content
size in frame header)
Status in Apport:
New
Status in apport package in Ubuntu:
New
Bug description:
zstd.ZstdError: could not determine content size in frame header
I have systemd-coredump and python3-zstandard installed.
This is fixable by passing a max_output_size parameter to the decompression method:
https://github.com/indygreg/python-zstandard/issues/235#issuecomment-2367750673
The backtrace:
apport-cli -c /var/crash/_usr_bin_gnome-shell.1000.crash
Traceback (most recent call last):
File "/usr/bin/apport-cli", line 420, in <module>
if not app.run_argv():
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apport/ui.py", line 925, in run_argv
self.run_crash(self.args.crash_file)
File "/usr/lib/python3/dist-packages/apport/ui.py", line 464, in run_crash
response = self.ui_present_report_details(allowed_to_report)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/apport-cli", line 218, in ui_present_report_details
_("&Send report (%s)") % self.format_filesize(self.get_complete_size())
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apport/ui.py", line 1236, in get_complete_size
if self.report[k]:
~~~~~~~~~~~^^^
File "/usr/lib/python3/dist-packages/problem_report.py", line 314, in __len__
return len(self.get_value())
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/problem_report.py", line 281, in get_value
return _get_zstandard_decompressor().decompress(self.compressed_value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
zstd.ZstdError: could not determine content size in frame header
To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2081708/+subscriptions
More information about the foundations-bugs
mailing list