discord icon indicating copy to clipboard operation
discord copied to clipboard

[Bug]: Application fails to start

Open kivimango opened this issue 2 years ago • 7 comments

What happened?

After some days launching the app, it crashes immediately when i click on its icon on the desktop.

What should have happened?

The application should just start like before.

Output of snap info discord

name:      discord
summary:   All-in-one voice and text chat for gamers
publisher: Snapcrafters
store-url: https://snapcraft.io/discord
contact:   https://github.com/snapcrafters/discord/issues
license:   unset
description: |
  All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and
  phone.
  
  Snaps are confined, as such Discord may be unable to perform some of the tasks it typically does
  when unconfined. This may result in the system log getting spammed with apparmor errors. Granting
  access to the system-observe interface when in the snap will enable the features, and thus reduce
  the logging.
  
      snap connect discord:system-observe
  
  
  This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
  officially maintained by the upstream developers.
commands:
  - discord
snap-id:      qHVefGEBezeuCeSfTND40uoUD6GRw8BO
tracking:     latest/stable
refresh-date: yesterday at 09:27 CEST
channels:
  latest/stable:    0.0.18 2022-06-09 (137) 86MB -
  latest/candidate: ↑                            
  latest/beta:      0.0.18 2022-06-09 (137) 86MB -
  latest/edge:      0.0.18 2022-06-09 (137) 86MB -
installed:          0.0.18            (137) 86MB -

Output of snap connections discord

Interface                 Plug                            Slot                             Notes
audio-playback            discord:audio-playback          :audio-playback                  -
audio-record              discord:audio-record            :audio-record                    -
camera                    discord:camera                  :camera                          -
content[gnome-3-38-2004]  discord:gnome-3-38-2004         gnome-3-38-2004:gnome-3-38-2004  -
content[gtk-3-themes]     discord:gtk-3-themes            gtk-common-themes:gtk-3-themes   -
content[icon-themes]      discord:icon-themes             gtk-common-themes:icon-themes    -
content[sound-themes]     discord:sound-themes            gtk-common-themes:sound-themes   -
desktop                   discord:desktop                 :desktop                         -
desktop-legacy            discord:desktop-legacy          :desktop-legacy                  -
gsettings                 discord:gsettings               :gsettings                       -
home                      discord:home                    :home                            -
mount-observe             discord:mount-observe           -                                -
network                   discord:network                 :network                         -
network-observe           discord:network-observe         -                                -
opengl                    discord:opengl                  :opengl                          -
process-control           discord:process-control         -                                -
removable-media           discord:removable-media         -                                -
screen-inhibit-control    discord:screen-inhibit-control  :screen-inhibit-control          -
shared-memory             discord:shmem                   -                                -
system-observe            discord:system-observe          -                                -
wayland                   discord:wayland                 :wayland                         -
x11                       discord:x11                     :x11                             -

Output of snap version

snap     2.54.4-1-dirty
snapd    2.54.4-1-dirty
series   16
manjaro  -
kernel   5.10.105-1-MANJARO

Relevant log output

No response

Teminal output of app

Discord 0.0.18
Gtk-Message: 12:25:57.818: Failed to load module "xapp-gtk3-module"
Gtk-Message: 12:25:57.819: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:25:57.846: Failed to load module "colorreload-gtk-module"
Failed to generate minidump.Invalid instruction (core dumped)

kivimango avatar Jun 11 '22 11:06 kivimango

Same problem. When I run from the terminal, I get a little more info, but no discord:

`update.go:85: cannot change mount namespace according to change mount (/snap/gtk-common-themes/1534/share/icons/Adwaita /snap/discord/137/data-dir/icons/Adwaita none bind,ro 0 0): cannot create directory "/snap/discord/137/data-dir": permission denied

update.go:85: cannot change mount namespace according to change mount (/snap/gtk-common-themes/1534/share/icons/Ambiant-MATE /snap/discord/137/data-dir/icons/Ambiant-MATE none bind,ro 0 0): cannot create directory "/snap/discord/137/data-dir": permission denied ` followed by about 40 more messages more or less identical to these.

P.S. This also happens when I run as root. I believe the filesystem is mounted read-only so the 'permission' error must be related to that.

PumpKicker avatar Jun 11 '22 11:06 PumpKicker

And now it is working. I did nothing in the meantime, but it is working.

PumpKicker avatar Jun 11 '22 12:06 PumpKicker

After opening this issue, i reverted to 0.0.17 which is working OOTB. I will test upgrading to 0.0.18 again.

kivimango avatar Jun 12 '22 12:06 kivimango

the problem still persist for me

kivimango avatar Aug 04 '22 16:08 kivimango

Can you run uname -a in a terminal and paste the output? I'm guessing that there is a problem with discord itself on your cpu, but to confirm that I'll need to ask if you can try running discord from a download off their website so that the snap confinement doesn't get in the way

lucyllewy avatar Aug 04 '22 16:08 lucyllewy

Linux 5.10.105-1-MANJARO #1 SMP PREEMPT Fri Mar 11 14:12:33 UTC 2022 x86_64 GNU/Linux

i didn't upgraded the system, because the last time it broke some packages that i needed.I will try to upgrade to latest and try again 0.0.18 I have an i5-6500 CPU.

kivimango avatar Aug 04 '22 16:08 kivimango

that all looks fine to me, so I'm guessing the snap is the issue, or maybe snapd itself...

lucyllewy avatar Aug 04 '22 16:08 lucyllewy

Is anyone still experiencing this issue on the latest version?

merlijn-sebrechts avatar Dec 02 '23 20:12 merlijn-sebrechts

After updating the system and Discord itself, the problem seems to be solved (im not experiencing this issue anymore)

kivimango avatar Dec 07 '23 19:12 kivimango