Activity log for bug #1996040

Date Who What changed Old value New value Message
2022-11-09 08:38:44 Mingun bug added bug
2022-11-10 00:47:25 Benjamin Drung bug task added apport
2022-11-10 00:47:29 Benjamin Drung apport: milestone 2.24.0
2022-11-10 00:48:27 Benjamin Drung apport: importance Undecided Low
2022-11-10 00:48:29 Benjamin Drung apport (Ubuntu): importance Undecided Low
2022-11-10 00:48:47 Benjamin Drung apport (Ubuntu): status New Triaged
2022-11-10 00:48:50 Benjamin Drung apport: status New Triaged
2022-11-10 13:45:56 Benjamin Drung apport (Ubuntu): status Triaged In Progress
2022-11-10 13:46:04 Benjamin Drung apport: status Triaged In Progress
2022-11-25 11:08:23 Benjamin Drung apport: status In Progress Fix Committed
2022-12-07 20:09:57 Benjamin Drung apport: status Fix Committed Fix Released
2022-12-08 17:25:27 Benjamin Drung description The latest GitKraken client (8.10.2 x64) is crashed every minute in cycle when you doing a rebase. When I try to inspect crash log to find the reason, the apport-unpack is not be able to process it: /var/lib/apport/coredump$ sudo apport-unpack core._snap_gitkraken_199_usr_share_gitkraken_gitkraken.1000.5de91c04-23ab-45c8-933c-0466d56e9fad.135785.50225891 unpack [sudo] пароль для mingun: Traceback (most recent call last): File "/usr/bin/apport-unpack", line 59, in <module> pr.load(f, binary=False) File "/usr/lib/python3/dist-packages/problem_report.py", line 194, in load key = key.decode('ASCII') UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 56: ordinal not in range(128) Unfortunately, crash file is too big (~9GB) and does not compress further 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 'AB\xfc:CD\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 =============== The latest GitKraken client (8.10.2 x64) is crashed every minute in cycle when you doing a rebase. When I try to inspect crash log to find the reason, the apport-unpack is not be able to process it: /var/lib/apport/coredump$ sudo apport-unpack core._snap_gitkraken_199_usr_share_gitkraken_gitkraken.1000.5de91c04-23ab-45c8-933c-0466d56e9fad.135785.50225891 unpack [sudo] пароль для mingun: Traceback (most recent call last):   File "/usr/bin/apport-unpack", line 59, in <module>     pr.load(f, binary=False)   File "/usr/lib/python3/dist-packages/problem_report.py", line 194, in load     key = key.decode('ASCII') UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 56: ordinal not in range(128) Unfortunately, crash file is too big (~9GB) and does not compress further
2022-12-08 17:25:41 Benjamin Drung nominated for series Ubuntu Kinetic
2022-12-08 17:25:41 Benjamin Drung bug task added apport (Ubuntu Kinetic)
2022-12-08 17:26:56 Benjamin Drung description 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 'AB\xfc:CD\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 =============== The latest GitKraken client (8.10.2 x64) is crashed every minute in cycle when you doing a rebase. When I try to inspect crash log to find the reason, the apport-unpack is not be able to process it: /var/lib/apport/coredump$ sudo apport-unpack core._snap_gitkraken_199_usr_share_gitkraken_gitkraken.1000.5de91c04-23ab-45c8-933c-0466d56e9fad.135785.50225891 unpack [sudo] пароль для mingun: Traceback (most recent call last):   File "/usr/bin/apport-unpack", line 59, in <module>     pr.load(f, binary=False)   File "/usr/lib/python3/dist-packages/problem_report.py", line 194, in load     key = key.decode('ASCII') UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 56: ordinal not in range(128) Unfortunately, crash file is too big (~9GB) and does not compress further 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. This bug does not happen that often, but the fix for this bug is the foundation for the fix for bug #1995100. Test Plan ========= 1. Create malformed report: ``` printf 'AB\xfc:CD\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 =============== The latest GitKraken client (8.10.2 x64) is crashed every minute in cycle when you doing a rebase. When I try to inspect crash log to find the reason, the apport-unpack is not be able to process it: /var/lib/apport/coredump$ sudo apport-unpack core._snap_gitkraken_199_usr_share_gitkraken_gitkraken.1000.5de91c04-23ab-45c8-933c-0466d56e9fad.135785.50225891 unpack [sudo] пароль для mingun: Traceback (most recent call last):   File "/usr/bin/apport-unpack", line 59, in <module>     pr.load(f, binary=False)   File "/usr/lib/python3/dist-packages/problem_report.py", line 194, in load     key = key.decode('ASCII') UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 56: ordinal not in range(128) Unfortunately, crash file is too big (~9GB) and does not compress further
2022-12-13 11:50:46 Launchpad Janitor apport (Ubuntu): status In Progress Fix Released
2023-01-05 19:36:44 Benjamin Drung apport (Ubuntu): status Fix Released Triaged
2023-01-05 19:36:53 Benjamin Drung apport: milestone 2.24.0 2.25.0
2023-01-05 19:37:38 Benjamin Drung apport: status Fix Released Triaged
2023-01-13 20:39:39 Benjamin Drung apport: status Triaged Fix Committed
2023-02-10 14:42:59 Benjamin Drung apport: status Fix Committed Fix Released
2023-02-25 10:22:26 Launchpad Janitor apport (Ubuntu): status Triaged Fix Released
2023-03-03 20:45:59 Steve Langasek apport (Ubuntu Kinetic): status New Incomplete
2023-03-17 15:26:00 Steve Langasek apport (Ubuntu Kinetic): status Incomplete Fix Committed
2023-03-17 15:26:01 Steve Langasek bug added subscriber Ubuntu Stable Release Updates Team
2023-03-17 15:26:03 Steve Langasek bug added subscriber SRU Verification
2023-03-17 15:26:07 Steve Langasek tags verification-needed verification-needed-kinetic
2023-03-27 10:22:58 Benjamin Drung tags verification-needed verification-needed-kinetic verification-done verification-done-kinetic
2023-04-06 17:30:57 Launchpad Janitor apport (Ubuntu Kinetic): status Fix Committed Fix Released
2023-04-06 17:31:09 Andreas Hasenack removed subscriber Ubuntu Stable Release Updates Team