[Bug 1850608] [NEW] Segfaults trying to send crash report
Brian Foster
blf.ireland at gmail.com
Wed Oct 30 08:58:15 UTC 2019
Public bug reported:
After this morning's upgrade to "whoopsie 0.2.62ubuntu0.2"
plus "libwhoopsie0 0.2.62ubuntu0.2"(fix to bug #1830865),
whoopsie repeatedly crashes with a segfault (in what seems to be libc?).
An excerpt from /var/log/syslog (slightly redacted):
Oct 30 08:33:06 [REDACTED] systemd[1]: Started crash report submission daemon.
Oct 30 08:33:06 [REDACTED] whoopsie[22414]: [08:33:06] Using lock path: /var/lock/whoopsie/lock
Oct 30 08:33:06 [REDACTED] whoopsie[22414]: [08:33:06] The default IPv4 route is: /org/freedesktop/NetworkManager/ActiveConnection/1
Oct 30 08:33:06 [REDACTED] whoopsie[22414]: [08:33:06] Not a paid data plan: /org/freedesktop/NetworkManager/ActiveConnection/1
Oct 30 08:33:06 [REDACTED] whoopsie[22414]: [08:33:06] Found usable connection: /org/freedesktop/NetworkManager/ActiveConnection/1
Oct 30 08:33:06 [REDACTED] whoopsie[22414]: [08:33:06] Parsing /var/crash/_usr_bin_kdeinit5.1000.crash.
Oct 30 08:33:06 [REDACTED] whoopsie[22414]: [08:33:06] Uploading /var/crash/_usr_bin_kdeinit5.1000.crash.
Oct 30 08:33:10 [REDACTED] kernel: [ 2129.099314] whoopsie[22414]: segfault at 7f4f878a4000 ip 00007f4f866fe5e1 sp 00007ffe348bed78 error 4 in libc-2.27.so[7f4f86591000+1e7000]
Oct 30 08:33:11 [REDACTED] systemd[1]: whoopsie.service: Main process exited, code=dumped, status=11/SEGV
Oct 30 08:33:11 [REDACTED] systemd[1]: whoopsie.service: Failed with result 'core-dump'.
Oct 30 08:33:11 [REDACTED] systemd[1]: whoopsie.service: Service hold-off time over, scheduling restart.
Oct 30 08:33:11 [REDACTED] systemd[1]: whoopsie.service: Scheduled restart job, restart counter is at 133.
Oct 30 08:33:11 [REDACTED] systemd[1]: Stopped crash report submission daemon.
The above sequence of logged events repeats endlessly,
with only(?) the times and whoospie PID changing.
The problem can be (temporarily) stopped by `service whoopsie stop';
using `service whoopsie start' resumes the above behaviour.
Rebooting does not "fix".
Manually running whoopsie shows the same behaviour:
$ sudo /bin/sh -c 'export CRASH_DB_URL=https://daisy.ubuntu.com; exec whoopsie -f'
[09:45:14] Using lock path: /var/lock/whoopsie/lock
[09:45:14] The default IPv4 route is: /org/freedesktop/NetworkManager/ActiveConnection/1
[09:45:14] Not a paid data plan: /org/freedesktop/NetworkManager/ActiveConnection/1
[09:45:14] Found usable connection: /org/freedesktop/NetworkManager/ActiveConnection/1
[09:45:14] Parsing /var/crash/_usr_bin_kdeinit5.1000.crash.
[09:45:14] Uploading /var/crash/_usr_bin_kdeinit5.1000.crash.
Segmentation fault
$
$ ls -la /var/crash/
total 33340
drwxrwsrwt 2 root whoopsie 4096 Oct 30 08:52 .
drwxr-xr-x 16 root root 4096 Sep 14 2018 ..
-rw-r--r-- 1 root whoopsie 281 Oct 30 08:55 kexec_cmd
-rwxrwxrwx 1 root whoopsie 0 Oct 30 08:22 .lock
-rw-r----- 1 blf whoopsie 17624101 Oct 30 08:53 _usr_bin_kdeinit5.1000.crash
-rw-rw-r-- 1 blf whoopsie 0 Oct 30 08:22 _usr_bin_kdeinit5.1000.upload
-rw-r----- 1 root whoopsie 398157 Oct 24 11:49 _usr_bin_sddm.0.crash
-rw-r----- 1 whoopsie whoopsie 15996866 Oct 30 08:22 _usr_bin_whoopsie.108.crash
-rw-r----- 1 root whoopsie 99379 Oct 22 15:07 _usr_sbin_inetd.0.crash
$
Because (as far as I know) the various `.crash' files MAY contain sensitive information,
I have not attached them to this (public) bug report.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: whoopsie 0.2.62ubuntu0.2
ProcVersionSignature: Ubuntu 4.15.0-66.75-generic 4.15.18
Uname: Linux 4.15.0-66-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.8
Architecture: amd64
Date: Wed Oct 30 09:28:01 2019
InstallationDate: Installed on 2016-10-07 (1118 days ago)
InstallationMedia: Kubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageVersions: apport-noui N/A
SourcePackage: whoopsie
UpgradeStatus: Upgraded to bionic on 2018-08-18 (438 days ago)
** Affects: whoopsie (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug autoreport-false bionic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to whoopsie in Ubuntu.
https://bugs.launchpad.net/bugs/1850608
Title:
Segfaults trying to send crash report
Status in whoopsie package in Ubuntu:
New
Bug description:
After this morning's upgrade to "whoopsie 0.2.62ubuntu0.2"
plus "libwhoopsie0 0.2.62ubuntu0.2"(fix to bug #1830865),
whoopsie repeatedly crashes with a segfault (in what seems to be libc?).
An excerpt from /var/log/syslog (slightly redacted):
Oct 30 08:33:06 [REDACTED] systemd[1]: Started crash report submission daemon.
Oct 30 08:33:06 [REDACTED] whoopsie[22414]: [08:33:06] Using lock path: /var/lock/whoopsie/lock
Oct 30 08:33:06 [REDACTED] whoopsie[22414]: [08:33:06] The default IPv4 route is: /org/freedesktop/NetworkManager/ActiveConnection/1
Oct 30 08:33:06 [REDACTED] whoopsie[22414]: [08:33:06] Not a paid data plan: /org/freedesktop/NetworkManager/ActiveConnection/1
Oct 30 08:33:06 [REDACTED] whoopsie[22414]: [08:33:06] Found usable connection: /org/freedesktop/NetworkManager/ActiveConnection/1
Oct 30 08:33:06 [REDACTED] whoopsie[22414]: [08:33:06] Parsing /var/crash/_usr_bin_kdeinit5.1000.crash.
Oct 30 08:33:06 [REDACTED] whoopsie[22414]: [08:33:06] Uploading /var/crash/_usr_bin_kdeinit5.1000.crash.
Oct 30 08:33:10 [REDACTED] kernel: [ 2129.099314] whoopsie[22414]: segfault at 7f4f878a4000 ip 00007f4f866fe5e1 sp 00007ffe348bed78 error 4 in libc-2.27.so[7f4f86591000+1e7000]
Oct 30 08:33:11 [REDACTED] systemd[1]: whoopsie.service: Main process exited, code=dumped, status=11/SEGV
Oct 30 08:33:11 [REDACTED] systemd[1]: whoopsie.service: Failed with result 'core-dump'.
Oct 30 08:33:11 [REDACTED] systemd[1]: whoopsie.service: Service hold-off time over, scheduling restart.
Oct 30 08:33:11 [REDACTED] systemd[1]: whoopsie.service: Scheduled restart job, restart counter is at 133.
Oct 30 08:33:11 [REDACTED] systemd[1]: Stopped crash report submission daemon.
The above sequence of logged events repeats endlessly,
with only(?) the times and whoospie PID changing.
The problem can be (temporarily) stopped by `service whoopsie stop';
using `service whoopsie start' resumes the above behaviour.
Rebooting does not "fix".
Manually running whoopsie shows the same behaviour:
$ sudo /bin/sh -c 'export CRASH_DB_URL=https://daisy.ubuntu.com; exec whoopsie -f'
[09:45:14] Using lock path: /var/lock/whoopsie/lock
[09:45:14] The default IPv4 route is: /org/freedesktop/NetworkManager/ActiveConnection/1
[09:45:14] Not a paid data plan: /org/freedesktop/NetworkManager/ActiveConnection/1
[09:45:14] Found usable connection: /org/freedesktop/NetworkManager/ActiveConnection/1
[09:45:14] Parsing /var/crash/_usr_bin_kdeinit5.1000.crash.
[09:45:14] Uploading /var/crash/_usr_bin_kdeinit5.1000.crash.
Segmentation fault
$
$ ls -la /var/crash/
total 33340
drwxrwsrwt 2 root whoopsie 4096 Oct 30 08:52 .
drwxr-xr-x 16 root root 4096 Sep 14 2018 ..
-rw-r--r-- 1 root whoopsie 281 Oct 30 08:55 kexec_cmd
-rwxrwxrwx 1 root whoopsie 0 Oct 30 08:22 .lock
-rw-r----- 1 blf whoopsie 17624101 Oct 30 08:53 _usr_bin_kdeinit5.1000.crash
-rw-rw-r-- 1 blf whoopsie 0 Oct 30 08:22 _usr_bin_kdeinit5.1000.upload
-rw-r----- 1 root whoopsie 398157 Oct 24 11:49 _usr_bin_sddm.0.crash
-rw-r----- 1 whoopsie whoopsie 15996866 Oct 30 08:22 _usr_bin_whoopsie.108.crash
-rw-r----- 1 root whoopsie 99379 Oct 22 15:07 _usr_sbin_inetd.0.crash
$
Because (as far as I know) the various `.crash' files MAY contain sensitive information,
I have not attached them to this (public) bug report.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: whoopsie 0.2.62ubuntu0.2
ProcVersionSignature: Ubuntu 4.15.0-66.75-generic 4.15.18
Uname: Linux 4.15.0-66-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.8
Architecture: amd64
Date: Wed Oct 30 09:28:01 2019
InstallationDate: Installed on 2016-10-07 (1118 days ago)
InstallationMedia: Kubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageVersions: apport-noui N/A
SourcePackage: whoopsie
UpgradeStatus: Upgraded to bionic on 2018-08-18 (438 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1850608/+subscriptions
More information about the foundations-bugs
mailing list