I installed the version of apport from bionic-proposed and no longer received a Traceback when following the test case.
Setting up python3-apport (2.20.9-0ubuntu7.21) ...
Setting up apport (2.20.9-0ubuntu7.21) ...
apport-autoreport.service is a disabled or a static unit, not starting it.
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for systemd (237-3ubuntu10.43) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
bdmurray@clean-bionic-amd64:~$ python3 generate-sigsegv-crash.py cat
GNU gdb (Ubuntu 8.1.1-0ubuntu1) 8.1.1
Copyright (C) 2018 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.
0x00007ffff7af2151 in __GI___libc_read (fd=0, buf=0x7ffff7fc2000, nbytes=131072) at ../sysdeps/unix/sysv/linux/read.c:27
27 ../sysdeps/unix/sysv/linux/read.c: No such file or directory.
(gdb) warning: Memory read failed for corefile section, 4096 bytes at 0xffffffffff600000.
Saved corefile /tmp/tmp1o0onv61/my.core
(gdb) ERROR: apport (pid 2623) Fri Dec 4 15:42:10 2020: called for pid 2615, signal 11, core limit 0, dump mode 1
ERROR: apport (pid 2623) Fri Dec 4 15:42:10 2020: executable: /bin/cat (command line "/bin/cat")
ERROR: apport (pid 2623) Fri Dec 4 15:42:10 2020: gdbus call error: Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name o
rg.gnome.SessionManager was not provided by any .service files
ERROR: apport (pid 2623) Fri Dec 4 15:42:10 2020: debug: session gdbus call:
ERROR: apport (pid 2623) Fri Dec 4 15:42:11 2020: wrote report /tmp/tmp1o0onv61/_bin_cat.1000.crash
(gdb) Kill the program being debugged? (y or n) [answered Y; input not from terminal]
(gdb) --- post-processing /tmp/tmp1o0onv61/_bin_cat.1000.crash
I installed the version of apport from bionic-proposed and no longer received a Traceback when following the test case.
Setting up python3-apport (2.20.9- 0ubuntu7. 21) ... 0ubuntu7. 21) ... autoreport. service is a disabled or a static unit, not starting it. clean-bionic- amd64:~ $ python3 generate- sigsegv- crash.py cat gnu.org/ licenses/ gpl.html> www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>.
Setting up apport (2.20.9-
apport-
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for systemd (237-3ubuntu10.43) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
bdmurray@
GNU gdb (Ubuntu 8.1.1-0ubuntu1) 8.1.1
Copyright (C) 2018 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/sysv/ linux/read. c:27 unix/sysv/ linux/read. c: No such file or directory. 1/my.core org.freedesktop .DBus.Error. ServiceUnknown: The name o SessionManager was not provided by any .service files
0x00007ffff7af2151 in __GI___libc_read (fd=0, buf=0x7ffff7fc2000, nbytes=131072) at ../sysdeps/
27 ../sysdeps/
(gdb) warning: Memory read failed for corefile section, 4096 bytes at 0xffffffffff600000.
Saved corefile /tmp/tmp1o0onv6
(gdb) ERROR: apport (pid 2623) Fri Dec 4 15:42:10 2020: called for pid 2615, signal 11, core limit 0, dump mode 1
ERROR: apport (pid 2623) Fri Dec 4 15:42:10 2020: executable: /bin/cat (command line "/bin/cat")
ERROR: apport (pid 2623) Fri Dec 4 15:42:10 2020: gdbus call error: Error: GDBus.Error:
rg.gnome.
ERROR: apport (pid 2623) Fri Dec 4 15:42:10 2020: debug: session gdbus call: 1/_bin_ cat.1000. crash 1/_bin_ cat.1000. crash
ERROR: apport (pid 2623) Fri Dec 4 15:42:11 2020: wrote report /tmp/tmp1o0onv6
(gdb) Kill the program being debugged? (y or n) [answered Y; input not from terminal]
(gdb) --- post-processing /tmp/tmp1o0onv6