This bug was fixed in the package apport - 2.20.11-0ubuntu82
---
apport (2.20.11-0ubuntu82) jammy; urgency=medium
* whoopsie-upload-all:
- Catch zlib.error when decoding CoreDump from crash file (LP: #1947800)
- Catch FileNotFoundError during process_report (LP: #1867204)
Reproduction Part 2
===
I used divide-by-zero from chaos-marmosets to create a crash file and
deleted parts of CoreDump. Then I used following snippet to test the
modified crash file:
```python
import sys, apport
report = sys.argv[1]
r = apport.Report()
with open(report, 'rb') as
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1947800
Title:
/usr/share/apport/whoopsie-upload-
all:zlib.error:/usr/share/apport/whoopsie-upload-
all@196:collect_info:proce
Let's catch the zlib.error exception the same way as the other
exceptions are caught.
** Patch added: "apport_2.20.11-0ubuntu82.debdiff"
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1947800/+attachment/5580506/+files/apport_2.20.11-0ubuntu82.debdiff
--
You received this bug notifica
Bug analysis
whoopsie-upload-all reads the *.crash files (to upload them):
```
r = apport.Report()
with open(report, 'rb') as f:
r.load(f, binary='compressed')
```
ProblemReport.load reads the encoded data and keeps in compressed:
```python
block = base64.b64decode(line)
if val
** Tags added: jammy
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1947800
Title:
/usr/share/apport/whoopsie-upload-
all:zlib.error:/usr/share/apport/whoopsie-upload-
all@196:collect_info:proce
** Description changed:
The Ubuntu Error Tracker has been receiving reports about a problem regarding
apport. This problem was most recently seen with package version
2.20.11-0ubuntu70, the problem page at
https://errors.ubuntu.com/problem/7120f8aebdf09e9dca39196d035eec234071e800
contains m
** Changed in: apport (Ubuntu Jammy)
Importance: Undecided => High
** Changed in: apport (Ubuntu Impish)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1947800
Titl
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: apport (Ubuntu Impish)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1947800
Title
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: apport (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1947800
Title:
/us
** Also affects: apport (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: apport (Ubuntu Impish)
Importance: Undecided
Status: New
** Tags removed: rls-ii-incoming
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscri
** Tags added: fr-1816
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1947800
Title:
/usr/share/apport/whoopsie-upload-
all:zlib.error:/usr/share/apport/whoopsie-upload-
all@196:collect_info:pro
** Tags added: rls-ii-incoming
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1947800
Title:
/usr/share/apport/whoopsie-upload-
all:zlib.error:/usr/share/apport/whoopsie-upload-
all@196:collect_
13 matches
Mail list logo