Activity log for bug #1997912

Date Who What changed Old value New value Message
2022-11-24 22:52:55 errors.ubuntu.com bug bridge bug added bug
2022-11-24 22:52:56 errors.ubuntu.com bug bridge bug added subscriber Benjamin Drung
2022-11-24 22:53:14 Benjamin Drung nominated for series Ubuntu Kinetic
2022-11-24 22:53:14 Benjamin Drung bug task added apport (Ubuntu Kinetic)
2022-11-24 22:53:38 Benjamin Drung description The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.23.1-0ubuntu3, the problem page at https://errors.ubuntu.com/problem/dd58c8169d2ec8468ccccb8b37471dfb701ac31c contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. ``` Traceback (most recent call last): File "/usr/share/apport/whoopsie-upload-all", line 249, in <module> main() File "/usr/share/apport/whoopsie-upload-all", line 231, in main stamps = collect_info() File "/usr/share/apport/whoopsie-upload-all", line 162, in collect_info res = process_report(r) File "/usr/share/apport/whoopsie-upload-all", line 76, in process_report r.load(f, binary="compressed") File "/usr/lib/python3/dist-packages/problem_report.py", line 139, in load bd, value = self._decompress_line(line, bd, value) File "/usr/lib/python3/dist-packages/problem_report.py", line 276, in _decompress_line block = base64.b64decode(line) File "/usr/lib/python3.10/base64.py", line 87, in b64decode return binascii.a2b_base64(s) binascii.Error: Incorrect padding ``` The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.23.1-0ubuntu3, the problem page at https://errors.ubuntu.com/problem/dd58c8169d2ec8468ccccb8b37471dfb701ac31c contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
2022-11-24 22:53:51 Benjamin Drung bug task added apport
2022-11-24 22:53:55 Benjamin Drung apport: milestone 2.24.0
2022-11-24 22:53:58 Benjamin Drung apport: importance Undecided High
2022-11-24 22:54:01 Benjamin Drung apport (Ubuntu): importance Undecided High
2022-11-24 22:54:03 Benjamin Drung apport (Ubuntu Kinetic): importance Undecided High
2022-11-25 19:04:48 Benjamin Drung apport: status New Fix Committed
2022-11-25 19:04:51 Benjamin Drung apport (Ubuntu): status New In Progress
2022-11-25 19:04:57 Benjamin Drung apport (Ubuntu): assignee Benjamin Drung (bdrung)
2022-12-07 20:09:47 Benjamin Drung apport: status Fix Committed Fix Released
2022-12-08 17:33:34 Benjamin Drung description ``` Traceback (most recent call last): File "/usr/share/apport/whoopsie-upload-all", line 249, in <module> main() File "/usr/share/apport/whoopsie-upload-all", line 231, in main stamps = collect_info() File "/usr/share/apport/whoopsie-upload-all", line 162, in collect_info res = process_report(r) File "/usr/share/apport/whoopsie-upload-all", line 76, in process_report r.load(f, binary="compressed") File "/usr/lib/python3/dist-packages/problem_report.py", line 139, in load bd, value = self._decompress_line(line, bd, value) File "/usr/lib/python3/dist-packages/problem_report.py", line 276, in _decompress_line block = base64.b64decode(line) File "/usr/lib/python3.10/base64.py", line 87, in b64decode return binascii.a2b_base64(s) binascii.Error: Incorrect padding ``` The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.23.1-0ubuntu3, the problem page at https://errors.ubuntu.com/problem/dd58c8169d2ec8468ccccb8b37471dfb701ac31c contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. Impact ====== apport-unpack and whoopsie-upload-all can crash when fed with a malformed problem report. They should print a proper error message instead of crashing. Test Plan ========= 1. Create malformed report: ``` printf "CoreDump: base64\n H4sICAAAAAAC/0NvcmVEdW1wAA==\n 7Z0LYFPV/cdP0rQ\n" > malformed.crash ``` 2. Try to unpack it: ``` apport-unpack malformed.crash unpack ``` It should print an error message instead of a stack trace. Where problems could occur ========================== The patch touches the problem report handling and therefore can affect apport-unpack, apport-bug, whoopsie-upload-all. The change is covered with tests and apport has a test suite running during build and as autopkgtest. Original report =============== ``` Traceback (most recent call last):   File "/usr/share/apport/whoopsie-upload-all", line 249, in <module>     main()   File "/usr/share/apport/whoopsie-upload-all", line 231, in main     stamps = collect_info()   File "/usr/share/apport/whoopsie-upload-all", line 162, in collect_info     res = process_report(r)   File "/usr/share/apport/whoopsie-upload-all", line 76, in process_report     r.load(f, binary="compressed")   File "/usr/lib/python3/dist-packages/problem_report.py", line 139, in load     bd, value = self._decompress_line(line, bd, value)   File "/usr/lib/python3/dist-packages/problem_report.py", line 276, in _decompress_line     block = base64.b64decode(line)   File "/usr/lib/python3.10/base64.py", line 87, in b64decode     return binascii.a2b_base64(s) binascii.Error: Incorrect padding ``` The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.23.1-0ubuntu3, the problem page at https://errors.ubuntu.com/problem/dd58c8169d2ec8468ccccb8b37471dfb701ac31c contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
2022-12-13 11:50:46 Launchpad Janitor apport (Ubuntu): status In Progress Fix Released
2023-04-14 12:03:29 Timo Aaltonen apport (Ubuntu Kinetic): status New Fix Committed
2023-04-14 12:03:31 Timo Aaltonen bug added subscriber Ubuntu Stable Release Updates Team
2023-04-14 12:03:33 Timo Aaltonen bug added subscriber SRU Verification
2023-04-14 12:03:39 Timo Aaltonen tags kinetic kylin-22.10 lunar kinetic kylin-22.10 lunar verification-needed verification-needed-kinetic
2023-04-17 10:57:12 Benjamin Drung tags kinetic kylin-22.10 lunar verification-needed verification-needed-kinetic kinetic kylin-22.10 lunar verification-failed-kinetic verification-needed
2023-04-17 11:04:30 Benjamin Drung apport (Ubuntu): status Fix Released Triaged
2023-04-17 11:04:32 Benjamin Drung apport: status Fix Released Triaged
2023-04-17 11:04:54 Benjamin Drung nominated for series Ubuntu Lunar
2023-04-17 11:04:54 Benjamin Drung bug task added apport (Ubuntu Lunar)
2023-04-17 11:15:24 Benjamin Drung apport: milestone 2.24.0 2.27.0
2023-04-17 14:28:45 Benjamin Drung apport: status Triaged Fix Committed
2023-05-11 20:31:27 Steve Langasek apport (Ubuntu Kinetic): status Fix Committed Confirmed
2023-05-11 20:31:29 Steve Langasek removed subscriber Ubuntu Stable Release Updates Team
2023-07-24 18:29:30 Benjamin Drung apport: status Fix Committed Fix Released
2023-07-28 23:18:11 Launchpad Janitor apport (Ubuntu): status Triaged Fix Released
2023-08-10 17:56:53 Utkarsh Gupta apport (Ubuntu Kinetic): status Confirmed Won't Fix