apport does not upload wayland or gnome-shell crash data

Bug #1792643 reported by Frank Feuerbacher
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

 uname -a

Linux smeagol 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

 lsb_release -rd
Description: Ubuntu 18.04.1 LTS
Release: 18.04

In trying to upload .crash data for bug 1789962 "gnome-shell segfaults in Wayland when display is turned off while Kodi running" I determined that apport-cli and friends were never able to upload the .crash files. The URL where they should appear is: https://errors.ubuntu.com/user/39229ebea988d6578bed98d7e18bd96fd9cd523cf89495ed70d4ce4c0f8b7937667368f389be8d8b2588bafc31d1935109305b4abf52dbb724a7cf43c3b425b4

Earlier, I did upload the .crash files directly and was told by the defect reviewer that:

_usr_bin_Xwayland.1000.crash: Stack trace mostly unreadable (missing symbols)
_usr_bin_gnome-shell.1000.crash: Stack trace is missing

 You can see the other bug for details, here is the last comment that I added (so far):

I deleted all entries in /var/crash and /var/lib/whoopsie.
I recreated the problem

ls -l /var/crash

total 92136
-rw-r----- 1 fbacher whoopsie 40426131 Sep 14 14:52 _usr_bin_gnome-shell.1000.crash
-rw-r----- 1 fbacher whoopsie 6167683 Sep 14 14:53 _usr_bin_Xwayland.1000.crash
-rw-r----- 1 fbacher whoopsie 47750972 Sep 14 14:53 _usr_lib_x86_64-linux-gnu_kodi_kodi-wayland.1000.crash

fbacher@smeagol$ apport-cli _usr_bin_gnome-shell.1000.crash

*** Error: Invalid problem report

No such file or directory

Press any key to continue...

fbacher@smeagol$ apport-cli /var/crash/_usr_bin_gnome-shell.1000.crash

*** Send problem report to the developers?

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

What would you like to do? Your options are:
  S: Send report (40.6 MB)
  E: Examine locally
  V: View report
  K: Keep report file for sending later or copying to somewhere else
  I: Cancel and ignore future crashes of this program version
  C: Cancel
Please choose (S/E/V/K/I/C):
S

*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
< Deleted lots and lots of ellipsis >
<command exited here, no URL, just ended after tons of ellipsis >

echo $?
0
total 4
ls -l /var/lib/whoopsie
-rw------- 1 root root 128 Sep 13 18:39 whoopsie-id

sudo cat /var/lib/whoopsie/whoopsie-id

39229ebea988d6578bed98d7e18bd96fd9cd523cf89495ed70d4ce4c0f8b7937667368f389be8d8b2588bafc31d1935109305b4abf52dbb724a7cf43c3b425b4

Checked the URL: https://errors.ubuntu.com/user/39229ebea988d6578bed98d7e18bd96fd9cd523cf89495ed70d4ce4c0f8b7937667368f389be8d8b2588bafc31d1935109305b4abf52dbb724a7cf43c3b425b4

No entries since 08/11. None for wayland, gnome-shell or Kodi.
I checked for over 5 minutes.

So perhaps something is going bad on my end, but I just don't know what or how to debug.

Revision history for this message
Frank Feuerbacher (drw06g0w7-frank) wrote :

From /var/log/apport.log

ERROR: apport (pid 29559) Wed Sep 19 09:22:45 2018: called for pid 27852, signal 11, core limit 18446744073709551615, dump mode 1
ERROR: apport (pid 29559) Wed Sep 19 09:22:45 2018: ignoring implausibly big core limit, treating as unlimited
ERROR: apport (pid 29559) Wed Sep 19 09:22:45 2018: executable: /usr/bin/gnome-shell (command line "/usr/bin/gnome-shell")
ERROR: apport (pid 29559) Wed Sep 19 09:22:45 2018: debug: session gdbus call: (true,)

ERROR: apport (pid 29559) Wed Sep 19 09:23:14 2018: wrote report /var/crash/_usr_bin_gnome-shell.1000.crash
ERROR: apport (pid 30384) Wed Sep 19 09:23:14 2018: called for pid 27871, signal 6, core limit 18446744073709551615, dump mode 1
ERROR: apport (pid 30384) Wed Sep 19 09:23:14 2018: ignoring implausibly big core limit, treating as unlimited
ERROR: apport (pid 30384) Wed Sep 19 09:23:14 2018: executable: /usr/bin/Xwayland (command line "/usr/bin/Xwayland :0 -rootless -terminate -accessx -core -listen 4 -listen 5 -displayfd 6")
ERROR: apport (pid 30384) Wed Sep 19 09:23:14 2018: gdbus call error: Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

ERROR: apport (pid 30384) Wed Sep 19 09:23:14 2018: debug: session gdbus call:
ERROR: apport (pid 30384) Wed Sep 19 09:23:20 2018: wrote report /var/crash/_usr_bin_Xwayland.1000.crash

Revision history for this message
Frank Feuerbacher (drw06g0w7-frank) wrote :
Download full text (12.0 KiB)

Tried examining bug locally and getting symbols with apport:

fbacher@smeagol$ apport -cli /var/crash/_usr_bin_Xwayland.1000.crash
ksh: apport: not found [No such file or directory]
fbacher@smeagol$ apport-cli /var/crash/_usr_bin_Xwayland.1000.crash

*** Send problem report to the developers?

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

What would you like to do? Your options are:
  S: Send report (7.7 MB)
  E: Examine locally
  V: View report
  K: Keep report file for sending later or copying to somewhere else
  I: Cancel and ignore future crashes of this program version
  C: Cancel
Please choose (S/E/V/K/I/C): S
fbacher@smeagol$ apport-cli /var/crash/_usr_bin_Xwayland.1000.crash

*** Send problem report to the developers?

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

What would you like to do? Your options are:
  S: Send report (7.7 MB)
  E: Examine locally
  V: View report
  K: Keep report file for sending later or copying to somewhere else
  I: Cancel and ignore future crashes of this program version
  C: Cancel
Please choose (S/E/V/K/I/C): E

*** This will launch apport-retrace in a terminal window to examine the crash.

Choices:
  1: Run gdb session
  2: Run gdb session without downloading debug symbols
  3: Update /var/crash/_usr_bin_Xwayland.1000.crash with fully symbolic stack trace
  C: Cancel
Please choose (1/2/3/C): 3
Get:1 http://mirror.lstn.net/ubuntu bionic InRelease [242 kB]
Get:2 http://ppa.launchpad.net/team-xbmc/xbmc-nightly/ubuntu bionic InRelease [15.4 kB]
Get:3 http://archive.canonical.com/ubuntu bionic InRelease [10.2 kB]
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Get:5 http://mirror.lstn.net/ubuntu bionic-updates InRelease [88.7 kB]
Ign http://ddebs.ubuntu.com bionic InRelease
Get:6 http://mirror.lstn.net/ubuntu bionic-backports InRelease [74.6 kB]
Ign http://ddebs.ubuntu.com bionic-updates InRelease
Ign http://ddebs.ubuntu.com bionic-proposed InRelease
Get:7 http://ddebs.ubuntu.com bionic Release [34.7 kB]
Get:8 http://archive.canonical.com/ubuntu bionic/partner amd64 Packages [2304 B]
Get:9 http://mirror.lstn.net/ubuntu bionic/main amd64 Packages [1019 kB]
Get:10 http://ppa.launchpad.net/team-xbmc/xbmc-nightly/ubuntu bionic/main Sources [15.3 kB] ...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apport (Ubuntu):
status: New → Confirmed
Revision history for this message
Tom Reynolds (tomreyn) wrote :

This issue seems to have occurred to me today (and several times previously) - when I returned to my computer after a while (the screen had entered power saving mode), the gnome-shell process (on XWayland) failed.

Neither after logging in to gnome-shell / Xwayland nor after logging out and back into gnome-shell / Xorg was I prompted to submit a bug report about it, even though there was /var/crash/_usr_bin_gnome-shell.1000.crash. Killing and restarting whoopsie and update-notifier did not change it. Manually generating and submitting the report using apport-cli /var/crash/_usr_bin_gnome-shell.1000.crash did succeed for me, however (however the automation to do so failed).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.