Segfault in libmutter-2.so after suspend/resume using wayland. Core files are always truncated and invalid while the default shell is zsh.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
gnome-shell (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
Hi,
i have the problem when running the gnome wayland session in ubuntu 18.04 that in ~1 out of 5 resume/suspend cycles a segfault in libmutter-2.so occurs which then kills my current session. Here is my journctl from the crash:
Mai 22 12:39:03 x1 systemd[1]: Reached target Sleep.
Mai 22 12:39:03 x1 systemd[1]: Starting Suspend...
Mai 22 12:39:03 x1 systemd-
Mai 22 12:39:03 x1 kernel: PM: suspend entry (s2idle)
Mai 22 12:39:03 x1 kernel: PM: Syncing filesystems ... done.
Mai 22 12:39:03 x1 gnome-shell[1483]: Failed to set CRTC mode 2560x1440: Permission denied
Mai 22 12:39:03 x1 wpa_supplicant[
Mai 22 12:39:03 x1 kernel: gnome-shell[1483]: segfault at 20 ip 00007ff704b28b17 sp 00007ffd6c1cd1b0 error 4 in libmutter-
Mai 22 12:39:03 x1 kernel: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
Mai 22 13:11:15 x1 kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
Mai 22 13:11:15 x1 kernel: OOM killer disabled.
Mai 22 13:11:15 x1 kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Mai 22 13:11:15 x1 kernel: Suspending console(s) (use no_console_suspend to debug)
Mai 22 13:11:15 x1 kernel: thinkpad_acpi: unknown possible thermal alarm or keyboard event received
Mai 22 13:11:15 x1 kernel: thinkpad_acpi: unhandled HKEY event 0x6032
Mai 22 13:11:15 x1 kernel: thinkpad_acpi: please report the conditions when this event happened to <email address hidden>
Mai 22 13:11:15 x1 kernel: [drm] GuC: Loaded firmware i915/kbl_
Mai 22 13:11:15 x1 kernel: i915 0000:00:02.0: GuC firmware version 9.39
Mai 22 13:11:15 x1 kernel: i915 0000:00:02.0: GuC submission enabled
Mai 22 13:11:15 x1 kernel: i915 0000:00:02.0: HuC disabled
Mai 22 13:11:15 x1 kernel: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
Mai 22 13:11:15 x1 kernel: OOM killer enabled.
Mai 22 13:11:15 x1 kernel: Restarting tasks ... done.
Mai 22 13:11:15 x1 systemd-
Mai 22 13:11:15 x1 kernel: rfkill: input handler enabled
Mai 22 13:11:15 x1 systemd[1]: Started Run anacron jobs.
Mai 22 13:11:15 x1 anacron[2420]: Anacron 2.3 started on 2018-05-22
Mai 22 13:11:15 x1 anacron[2420]: Normal exit (0 jobs run)
Mai 22 13:11:15 x1 kernel: thermal thermal_zone6: failed to read out thermal zone (-61)
Mai 22 13:11:15 x1 tilix[1980]: Error reading events from display: Broken pipe
Mai 22 13:11:15 x1 update-
Mai 22 13:11:15 x1 systemd-
Mai 22 13:11:15 x1 kernel: PM: suspend exit
Mai 22 13:11:15 x1 org.gnome.
Mai 22 13:11:15 x1 org.gnome.
Mai 22 13:11:15 x1 org.gnome.
Mai 22 13:11:15 x1 org.gnome.
Mai 22 13:11:15 x1 systemd[1]: Started Suspend.
Mai 22 13:11:15 x1 systemd[1]: sleep.target: Unit not needed anymore. Stopping.
Mai 22 13:11:15 x1 systemd[1]: Stopped target Sleep.
Mai 22 13:11:15 x1 systemd[1]: Reached target Suspend.
Mai 22 13:11:15 x1 systemd[1]: suspend.target: Unit not needed anymore. Stopping.
Mai 22 13:11:15 x1 systemd[1]: Stopped target Suspend.
Mai 22 13:11:15 x1 gnome-session[
Mai 22 13:11:15 x1 gnome-session-
Mai 22 13:11:15 x1 gnome-session-
Mai 22 13:11:15 x1 kdeconnectd.
Mai 22 13:11:15 x1 org.gnome.
Mai 22 13:11:15 x1 firefox.
Mai 22 13:11:15 x1 pulseaudio[2430]: [pulseaudio] client-conf-x11.c: xcb_connection_
Mai 22 13:11:15 x1 polkitd(
Mai 22 13:11:15 x1 rtkit-daemon[1171]: Successfully made thread 2434 of process 2434 (n/a) owned by '1000' high priority at nice level -11.
Mai 22 13:11:15 x1 rtkit-daemon[1171]: Supervising 2 threads of 2 processes of 1 users.
Mai 22 13:11:15 x1 pulseaudio[2434]: [pulseaudio] pid.c: Stale PID file, overwriting.
Mai 22 13:11:15 x1 gdm-password]
Mai 22 13:11:15 x1 gsd-color[1217]: failed to connect to device: Failed to connect to missing device /org/freedeskto
Mai 22 13:11:15 x1 pulseaudio[2434]: [pulseaudio] sink.c: Default and alternate sample rates are the same.
... followup crashes...
Moreover, here is the apport.log:
ERROR: apport (pid 2357) Tue May 22 12:39:03 2018: called for pid 1483, signal 11, core limit 0, dump mode 1
ERROR: apport (pid 2357) Tue May 22 12:39:03 2018: executable: /usr/bin/
ERROR: apport (pid 2357) Tue May 22 12:39:03 2018: debug: session gdbus call: (true,)
ERROR: apport (pid 2357) Tue May 22 13:11:15 2018: wrote report /var/crash/
ERROR: apport (pid 2429) Tue May 22 13:11:15 2018: called for pid 1502, signal 6, core limit 184467440737095
ERROR: apport (pid 2429) Tue May 22 13:11:15 2018: ignoring implausibly big core limit, treating as unlimited
ERROR: apport (pid 2429) Tue May 22 13:11:15 2018: executable: /usr/bin/Xwayland (command line "/usr/bin/Xwayland :0 -rootless -terminate -accessx -core -listen 4 -listen 5 -displayfd 6")
ERROR: apport (pid 2429) Tue May 22 13:11:15 2018: gdbus call error: Error: GDBus.Error:
ERROR: apport (pid 2429) Tue May 22 13:11:15 2018: debug: session gdbus call:
ERROR: apport (pid 2429) Tue May 22 13:11:19 2018: wrote report /var/crash/
ERROR: apport (pid 2429) Tue May 22 13:11:19 2018: writing core dump to /home/thorsten/core (limit: -1)
ERROR: apport (pid 2429) Tue May 22 13:11:20 2018: writing core dump /home/thorsten/core of size 107855872
Additionally, i have ~100MB "core" file in my home directory.
I tried to report the created _usr_bin_
reporting the corresponding _usr_bin_
This error only occurs when using the wayland and not in the xorg session.
I am running 4.16.10 mainline kernel due to some driver issues with my laptop (thinkpad x1 carbon gen6) but this also occurs when using the 4.15 kernel and with and without loading the guc firmware.
Thanks!
---
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: GNOME
DisplayManager: gdm3
DistroRelease: Ubuntu 18.04
Package: gnome-shell 3.28.1-0ubuntu2
PackageArchitec
Tags: wayland-session bionic
Uname: Linux 4.16.10-
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
Sorry but we can't diagnose a crash without a crash report, as outlined in the standard response: /wiki.ubuntu. com/Bugs/ Responses# Missing_ a_crash_ report_ or_having_ a_.crash_ attachment
https:/
If you do not find success from following those steps then the next step I suggest is to look up automatic crash reports your system has made:
https:/ /errors. ubuntu. com/user/ ID whoopsie/ whoopsie- id
where ID is the contents of /var/lib/
If you find any relevant links there then please share them here.
As a last resort you can also:
1. Change this bug to Private.
2. Attach the .crash file to this bug.
but chances we can debug it that way are usually low.
Please also run 'apport-collect 1772638' to provide us with more system information.