[Bug 2015857] Re: Repeatedly unusable truncated crash files
Benjamin Drung
2015857 at bugs.launchpad.net
Mon Apr 17 17:42:59 UTC 2023
If I kill gnome-shell the crash file is written correctly:
```
$ killall -11 gnome-shell
$ apport-retrace -g /var/crash/_usr_bin_gnome-shell.1000.crash
[...]
[New LWP 7620]
Warnung: Section `.reg-xstate/7229' in core file too small.
Downloading separate debug info for /usr/lib/x86_64-linux-gnu/mutter-12/libmutter-clutter-12.so.0
[...]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/gnome-shell'.
Program terminated with signal SIGSEGV, Segmentation fault.
Warnung: Section `.reg-xstate/7229' in core file too small.
#0 __pthread_kill_implementation (no_tid=0, signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
Download failed: Das Argument ist ungültig. Continuing without source file ./nptl/./nptl/pthread_kill.c.
44 ./nptl/pthread_kill.c: Datei oder Verzeichnis nicht gefunden.
[Current thread is 1 (Thread 0x7f250baaf600 (LWP 7229))]
(gdb) bt
#0 __pthread_kill_implementation (no_tid=0, signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
[...]
```
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2015857
Title:
Repeatedly unusable truncated crash files
Status in apport package in Ubuntu:
Triaged
Bug description:
Repeatedly unusable truncated crash files:
Bug 2012974, bug 2015842, bug 2015140, bug 2012075
Based on my own testing, the problems seems to happen if multiple
binaries crash simultaneously (like at logout). One crash file gets
fully written and the other is incomplete.
If I remove apport from the equation and just get the kernel to dump
core files then the core files are always written reliably (should be
several hundred MB in the case of gnome-shell).
Running `apport-retrace -g $crash` on the .crash files will fail with
"/tmp/apport_core_[...] is not a core dump: file format not
recognized"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2015857/+subscriptions
More information about the foundations-bugs
mailing list