starting slack crashes xwayland on 18.04

Bug #1760252 reported by bugrasan
110
This bug affects 23 people
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

steps to reproduce on 18.04:
1. $ sudo snap install slack --classic
2. $ slack
3. the desktop env crashes with following trace, and need to login again:

(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/Xwayland (xorg_backtrace+0x4d) [0x56286f1996bd]
(EE) 1: /usr/bin/Xwayland (0x56286eff1000+0x1ac459) [0x56286f19d459]
(EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fafb7322000+0x12890) [0x7fafb7334890]
(EE) 3: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fafb0bd5000+0x24e9e3) [0x7fafb0e
(EE) 4: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fafb0bd5000+0x1b3ed4) [0x7fafb0d
(EE) 5: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fafb0bd5000+0x144c6a) [0x7fafb0d
(EE) 6: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fafb0bd5000+0x144cae) [0x7fafb0d
(EE) 7: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fafb0bd5000+0x144d1c) [0x7fafb0d
(EE) 8: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fafb0bd5000+0xad4b2) [0x7fafb0c8
(EE) 9: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fafb0bd5000+0x25b6db) [0x7fafb0e
(EE) 10: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fafb0bd5000+0x3e2ae5) [0x7fafb0
(EE) 11: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fafb0bd5000+0x3e1a13) [0x7fafb0
(EE) 12: /usr/bin/Xwayland (0x56286eff1000+0xc8989) [0x56286f0b9989]
(EE) 13: /usr/bin/Xwayland (0x56286eff1000+0xc7975) [0x56286f0b8975]
(EE) 14: /usr/bin/Xwayland (0x56286eff1000+0x1969f2) [0x56286f1879f2]
(EE) 15: /usr/bin/Xwayland (0x56286eff1000+0xcc5f7) [0x56286f0bd5f7]
(EE) 16: /usr/bin/Xwayland (0x56286eff1000+0xc7c3c) [0x56286f0b8c3c]
(EE) 17: /usr/bin/Xwayland (0x56286eff1000+0x171ec8) [0x56286f162ec8]
(EE) 18: /usr/bin/Xwayland (0x56286eff1000+0x175f10) [0x56286f166f10]
(EE) 19: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xe7) [0x7fafb6f52b97]
(EE) 20: /usr/bin/Xwayland (_start+0x2a) [0x56286f02bada]
(EE)
(EE) Segmentation fault at address 0x68
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)

Tags: bionic
Revision history for this message
Guilhem Lettron (guilhem-fr) wrote :

same problem with slack and atom.
Look like same thing happen with vscode https://forum.snapcraft.io/t/vs-code-makes-shell-crash/4362

Revision history for this message
Spam Trash (spam-trash) wrote :

After today's update Firefox, ImageMagick and few other things, Slack started crashing my session on Ubuntu 18.04 too. I don't remember installing it through "snap", though.

Revision history for this message
René Vangsgaard (rene-vangsgaard) wrote :

Slack crashes, but Atom runs fine on this 18.04 Wayland session.

Revision history for this message
Markus (ockenheimer85) wrote :

same here for slack

VS-Code running fine.

Not sure if Slack is installed via snap

Revision history for this message
Bruno Pejac (woehdoewhpoidhew) wrote :

Slack installed via apt.
vs-code running fine.
Slack crashing 18.04 Wayland session

Revision history for this message
Antonio Zugaldia (antonio-zugaldia) wrote :

Same issue with a recent install + updated 18.04. Slack is installed via Snap and it crashes the Wayland session. I don't experience the crash with the regular Xorg session.

Revision history for this message
Troels Liebe Bentsen (tlbdk) wrote :

+1

Revision history for this message
Vale (valerauko) wrote :

Same here. Interestingly, Atom worked fine until yesterday, when after a reboot it broke. If I try to start it, it crashes without even any debug logs (at least any I could see) and I'm logged out of the system.

Revision history for this message
René Vangsgaard (rene-vangsgaard) wrote :

+1 to Vale's comment. Running Atom from snap on Wayland started crashing Jun 10 2018. Running Atom from https://github.com/atom/atom/releases/tag/v1.28.1 runs fine.

Revision history for this message
David A. Desrosiers (setuid) wrote :

Also crashes Xorg, running slack from latest snap:

[ 12848.588] (EE)
[ 12848.588] (EE) Backtrace:
[ 12848.588] (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x4d) [0x562126e7b8ad]
[ 12848.588] (EE) 1: /usr/lib/xorg/Xorg (0x562126cc3000+0x1bc649) [0x562126e7f649]
[ 12848.588] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fdb44bed000+0x12890) [0x7fdb44bff890]
[ 12848.588] (EE) 3: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fdb3b293000+0x24f303) [0x7fdb3b4e2303]
[ 12848.588] (EE) 4: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fdb3b293000+0x1b4774) [0x7fdb3b447774]
[ 12848.588] (EE) 5: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fdb3b293000+0x1454fa) [0x7fdb3b3d84fa]
[ 12848.588] (EE) 6: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fdb3b293000+0x14553e) [0x7fdb3b3d853e]
[ 12848.588] (EE) 7: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fdb3b293000+0x1455ac) [0x7fdb3b3d85ac]
[ 12848.588] (EE) 8: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fdb3b293000+0xad282) [0x7fdb3b340282]
[ 12848.588] (EE) 9: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fdb3b293000+0x25bf7b) [0x7fdb3b4eef7b]
[ 12848.588] (EE) 10: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fdb3b293000+0x3e3285) [0x7fdb3b676285]
[ 12848.588] (EE) 11: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fdb3b293000+0x3e21b3) [0x7fdb3b6751b3]
[ 12848.588] (EE) 12: /usr/lib/xorg/modules/extensions/libglx.so (0x7fdb42bad000+0x27c59) [0x7fdb42bd4c59]
[ 12848.588] (EE) 13: /usr/lib/xorg/modules/extensions/libglx.so (0x7fdb42bad000+0x26c45) [0x7fdb42bd3c45]
[ 12848.588] (EE) 14: /usr/lib/xorg/Xorg (0x562126cc3000+0x779c2) [0x562126d3a9c2]
[ 12848.588] (EE) 15: /usr/lib/xorg/modules/extensions/libglx.so (0x7fdb42bad000+0x22a97) [0x7fdb42bcfa97]
[ 12848.588] (EE) 16: /usr/lib/xorg/modules/extensions/libglx.so (0x7fdb42bad000+0x26f0c) [0x7fdb42bd3f0c]
[ 12848.588] (EE) 17: /usr/lib/xorg/Xorg (0x562126cc3000+0x52e98) [0x562126d15e98]
[ 12848.588] (EE) 18: /usr/lib/xorg/Xorg (0x562126cc3000+0x56ee0) [0x562126d19ee0]
[ 12848.589] (EE) 19: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xe7) [0x7fdb4481db97]
[ 12848.589] (EE) 20: /usr/lib/xorg/Xorg (_start+0x2a) [0x562126d03b8a]
[ 12848.589] (EE)
[ 12848.589] (EE) Segmentation fault at address 0x68
[ 12848.589] (EE)
Fatal server error:
[ 12848.589] (EE) Caught signal 11 (Segmentation fault). Server aborting

Revision history for this message
David A. Desrosiers (setuid) wrote :

I can confirm that installing and running Slack from the upstream .deb on slack.com/downloads works without crashing.

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

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

Changed in xorg-server (Ubuntu):
status: New → Confirmed
affects: snappy → xorg-server (Ubuntu)
Revision history for this message
Christian Rauch (christianrauch) wrote :

I get the same error when starting the skype snap:

org.gnome.Shell.desktop[2477]: (EE)
org.gnome.Shell.desktop[2477]: (EE) Backtrace:
org.gnome.Shell.desktop[2477]: (EE) 0: /usr/bin/Xwayland (xorg_backtrace+0x4d) [0x5571da2d16bd]
org.gnome.Shell.desktop[2477]: (EE) 1: /usr/bin/Xwayland (0x5571da129000+0x1ac459) [0x5571da2d5459]
org.gnome.Shell.desktop[2477]: (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fcfa6152000+0x12890) [0x7fcfa6164890]
org.gnome.Shell.desktop[2477]: (EE) 3: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fcf9fa09000+0x24f303) [0x7fcf9fc58
org.gnome.Shell.desktop[2477]: (EE) 4: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fcf9fa09000+0x1b4774) [0x7fcf9fbbd
org.gnome.Shell.desktop[2477]: (EE) 5: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fcf9fa09000+0x1454fa) [0x7fcf9fb4e
org.gnome.Shell.desktop[2477]: (EE) 6: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fcf9fa09000+0x14553e) [0x7fcf9fb4e
org.gnome.Shell.desktop[2477]: (EE) 7: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fcf9fa09000+0x1455ac) [0x7fcf9fb4e
org.gnome.Shell.desktop[2477]: (EE) 8: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fcf9fa09000+0xad282) [0x7fcf9fab62
org.gnome.Shell.desktop[2477]: (EE) 9: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fcf9fa09000+0x25bf7b) [0x7fcf9fc64
org.gnome.Shell.desktop[2477]: (EE) 10: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fcf9fa09000+0x3e3285) [0x7fcf9fde
org.gnome.Shell.desktop[2477]: (EE) 11: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7fcf9fa09000+0x3e21b3) [0x7fcf9fde
org.gnome.Shell.desktop[2477]: (EE) 12: /usr/bin/Xwayland (0x5571da129000+0xc8989) [0x5571da1f1989]
org.gnome.Shell.desktop[2477]: (EE) 13: /usr/bin/Xwayland (0x5571da129000+0xc7975) [0x5571da1f0975]
org.gnome.Shell.desktop[2477]: (EE) 14: /usr/bin/Xwayland (0x5571da129000+0x1969f2) [0x5571da2bf9f2]
org.gnome.Shell.desktop[2477]: (EE) 15: /usr/bin/Xwayland (0x5571da129000+0xcc5f7) [0x5571da1f55f7]
org.gnome.Shell.desktop[2477]: (EE) 16: /usr/bin/Xwayland (0x5571da129000+0xc7c3c) [0x5571da1f0c3c]
org.gnome.Shell.desktop[2477]: (EE) 17: /usr/bin/Xwayland (0x5571da129000+0x171ec8) [0x5571da29aec8]
org.gnome.Shell.desktop[2477]: (EE) 18: /usr/bin/Xwayland (0x5571da129000+0x175f10) [0x5571da29ef10]
org.gnome.Shell.desktop[2477]: (EE) 19: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xe7) [0x7fcfa5d82b97]
org.gnome.Shell.desktop[2477]: (EE) 20: /usr/bin/Xwayland (_start+0x2a) [0x5571da163ada]
org.gnome.Shell.desktop[2477]: (EE)
org.gnome.Shell.desktop[2477]: (EE) Segmentation fault at address 0x68
org.gnome.Shell.desktop[2477]: (EE)
org.gnome.Shell.desktop[2477]: Fatal server error:
org.gnome.Shell.desktop[2477]: (EE) Caught signal 11 (Segmentation fault). Server aborting
org.gnome.Shell.desktop[2477]: (EE)

Changed in xorg-server (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

bugrasan,

Thank you for taking the time to report this bug and helping to make Ubuntu better. To help us find the cause of the crash please follow these steps:

1. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.

3. If step 2 also failed then apply the workaround from bug 994921, reboot, reproduce the crash, and retry step 1.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.

Changed in xorg-server (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Ken (kkinder) wrote :

@vanvugt, not the OP, but I ran ubuntu-bug on the Wayland crash and submitted it here: https://errors.ubuntu.com/oops/0f49c436-b1e8-11e8-8fb2-fa163ee63de6

At the same moment, there appears to be one for gnome-shell also.

I hope this helps. It's definitely an issue for me as well, and at the moment, prevents me from using Slack in Wayland, which is a bummer.

Revision history for this message
Matt Johnson (matt9j) wrote :

I recently switched back to Ubuntu, only to find that Slack in a snap is still crashing on Wayland! I previously reported what seems like a related bug on snapcraft-- here's the link to the related bug with logs and some details from experiences on Fedora28 and Arch. https://forum.snapcraft.io/t/slack-for-linux-crash-on-wayland/5909

Currently still experiencing the issue with Ubuntu 18.10:

```
$ snap info slack
name: slack
summary: Team communication for the 21st century.
publisher: Slack✓
contact: https://get.slack.help/hc/en-us
license: Proprietary
description: |
  Caution: Slack for Linux is in beta. We’re still busy adding features and ironing out potential
  issues.

  Slack brings team communication and collaboration into one place so you can get more work done,
  whether you belong to a large enterprise or a small business. Check off your to-do list and move
  your projects forward by bringing the right people, conversations, tools, and information you need
  together. Slack is available on any device, so you can find and access your team and your work,
  whether you’re at your desk or on the go.

  Scientifically proven (or at least rumored) to make your working life simpler, more pleasant, and
  more productive. We hope you’ll give Slack a try.

  Stop by and learn more at: https://slack.com/
snap-id: JUJH91Ved74jd4ZgJCpzMBtYbPOzTlsD
channels:
  stable: 3.3.3 (9) 148MB classic
  candidate: ↑
  beta: ↑
  edge: 3.3.1 (8) 148MB classic
```

```
$ snap --version
snap 2.35.5+18.10
snapd 2.35.5+18.10
series 16
ubuntu 18.10
kernel 4.18.0-10-generic
```

Revision history for this message
Troels Liebe Bentsen (tlbdk) wrote :

Also having same issue on 18.10

Revision history for this message
Afro (amilan-inlogic) wrote :

+1 same: Segmentation fault...

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

Other bug subscribers

Bug attachments

Remote bug watches

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