[Bug 2081708] Re: Incompatible with systemd zstd coredumps (could not determine content size in frame header)
Launchpad Bug Tracker
2081708 at bugs.launchpad.net
Fri Feb 21 00:59:26 UTC 2025
This bug was fixed in the package apport - 2.31.0+git20250220-0ubuntu1
---------------
apport (2.31.0+git20250220-0ubuntu1) plucky; urgency=medium
* New upstream snapshot
- ui: skip value not empty check in get_complete_size (LP: #2081708)
- problem_report: use an iterator in CompressedValue.__len__ to keep
the memory footprint small (LP: #2081708)
- apport-gtk: check for available display on startup (LP: #2006981)
* Drop patches that were applied upstream
* Apply patches that are pending upstream:
- Split __AptDpkgPackageInfo.install_packages() into smaller methods
- fileutils: refactor core_name in get_core_path and add type hints
- test: some refactoring and fix test_find_package_desktopfile_multiple
* Build-depend on python3-pyqt5 for ui_kde integration tests
* autopkgtest:
- depend on apport-gtk and apport-kde for new UI integration tests
- install xterm for test_find_package_desktopfile_multiple
-- Benjamin Drung <bdrung at ubuntu.com> Thu, 20 Feb 2025 18:55:43 +0100
** Changed in: apport (Ubuntu)
Status: Triaged => Fix Released
--
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:
Fix Committed
Status in apport package in Ubuntu:
Fix Released
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