I installed the version of apport from xenial-proposed and no longer received a Traceback when running the test case.
Preparing to unpack .../python3-apport_2.20.1-0ubuntu2.28_all.deb ...
Unpacking python3-apport (2.20.1-0ubuntu2.28) over (2.20.1-0ubuntu2.27) ...
Preparing to unpack .../apport_2.20.1-0ubuntu2.28_all.deb ...
Unpacking apport (2.20.1-0ubuntu2.28) over (2.20.1-0ubuntu2.27) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...
Processing triggers for systemd (229-4ubuntu21.29) ...
Processing triggers for ureadahead (0.100.0-19.1) ...
Setting up python3-apport (2.20.1-0ubuntu2.28) ...
Setting up apport (2.20.1-0ubuntu2.28) ...
bdmurray@clean-xenial-amd64:~$ python3 generate-sigsegv-crash.py cat
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from cat...(no debugging symbols found)...done.
(gdb) Starting program: /bin/cat
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7b04320 in __read_nocancel () at ../sysdeps/unix/syscall-template.S:84
84 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) Saved corefile /tmp/tmplo7od5en/my.core
(gdb) ERROR: apport (pid 2923) Fri Dec 4 15:48:31 2020: called for pid 2915, signal 11, core limit 0, dump mode 1
ERROR: apport (pid 2923) Fri Dec 4 15:48:31 2020: executable: /bin/cat (command line "/bin/cat")
ERROR: apport (pid 2923) Fri Dec 4 15:48:31 2020: is_closing_session(): no DBUS_SESSION_BUS_ADDRESS in environment
ERROR: apport (pid 2923) Fri Dec 4 15:48:31 2020: wrote report /tmp/tmplo7od5en/_bin_cat.1000.crash
(gdb) Kill the program being debugged? (y or n) [answered Y; input not from terminal]
(gdb) --- post-processing /tmp/tmplo7od5en/_bin_cat.1000.crash
I installed the version of apport from xenial-proposed and no longer received a Traceback when running the test case.
Preparing to unpack .../python3- apport_ 2.20.1- 0ubuntu2. 28_all. deb ... 0ubuntu2. 28) over (2.20.1- 0ubuntu2. 27) ... 2.20.1- 0ubuntu2. 28_all. deb ... 0ubuntu2. 28) over (2.20.1- 0ubuntu2. 27) ... 0ubuntu2. 28) ... 0ubuntu2. 28) ... clean-xenial- amd64:~ $ python3 generate- sigsegv- crash.py cat 0ubuntu1~ 16.5) 7.11.1 gnu.org/ licenses/ gpl.html> www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>.
Unpacking python3-apport (2.20.1-
Preparing to unpack .../apport_
Unpacking apport (2.20.1-
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...
Processing triggers for systemd (229-4ubuntu21.29) ...
Processing triggers for ureadahead (0.100.0-19.1) ...
Setting up python3-apport (2.20.1-
Setting up apport (2.20.1-
bdmurray@
GNU gdb (Ubuntu 7.11.1-
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from cat...(no debugging symbols found)...done.
(gdb) Starting program: /bin/cat
Program received signal SIGSEGV, Segmentation fault. unix/syscall- template. S:84 unix/syscall- template. S: No such file or directory. n/my.core session( ): no DBUS_SESSION_ BUS_ADDRESS in environment n/_bin_ cat.1000. crash n/_bin_ cat.1000. crash
0x00007ffff7b04320 in __read_nocancel () at ../sysdeps/
84 ../sysdeps/
(gdb) Saved corefile /tmp/tmplo7od5e
(gdb) ERROR: apport (pid 2923) Fri Dec 4 15:48:31 2020: called for pid 2915, signal 11, core limit 0, dump mode 1
ERROR: apport (pid 2923) Fri Dec 4 15:48:31 2020: executable: /bin/cat (command line "/bin/cat")
ERROR: apport (pid 2923) Fri Dec 4 15:48:31 2020: is_closing_
ERROR: apport (pid 2923) Fri Dec 4 15:48:31 2020: wrote report /tmp/tmplo7od5e
(gdb) Kill the program being debugged? (y or n) [answered Y; input not from terminal]
(gdb) --- post-processing /tmp/tmplo7od5e