Skip to content

[Bug]: Forever Loading #190

@Laanan

Description

@Laanan

What happened?

Hi there, the snap package on Debian 12 keeps crashing while idling. I'll come back to my computer, and the app will be stuck in a forever loading state. Only way to get out of it is a sigterm. Sigterm then restarting discord solves the problem, but it keeps happening even after multiple updates over the last couple of months.

What should have happened?

Not crash

Output of snap info discord

commands:
  - discord
snap-id:      qHVefGEBezeuCeSfTND40uoUD6GRw8BO
tracking:     latest/stable
refresh-date: today at 11:15 PDT
channels:
  latest/stable:    0.0.46 2024-03-19 (181) 102MB -
  latest/candidate: 0.0.46 2024-03-19 (181) 102MB -
  latest/beta:      ↑                             
  latest/edge:      ↑                             
installed:          0.0.46            (181) 102MB -

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-42-2204]  discord:gnome-42-2204           gnome-42-2204:gnome-42-2204     -
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                   :shared-memory                  -
system-observe          discord:system-observe          -                               -
unity7                  discord:unity7                  :unity7                         -
wayland                 discord:wayland                 :wayland                        -
x11                     discord:x11                     :x11                            -

Output of snap version

snap    2.61.1
snapd   2.61.1
series  16
debian  12
kernel  6.1.0-17-amd64

Relevant log output

denied_mask="read" peer="unconfined"
[72059.404772] audit: type=1400 audit(1710960020.170:1661780): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=59053 comm="Utils" requested_mask="read" denied_mask="read" peer="unconfined"
[72059.404782] audit: type=1400 audit(1710960020.170:1661781): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=59053 comm="Utils" requested_mask="read" denied_mask="read" peer="unconfined"
[72059.404799] audit: type=1400 audit(1710960020.170:1661782): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=59053 comm="Utils" requested_mask="read" denied_mask="read" peer="unconfined"
[72059.404809] audit: type=1400 audit(1710960020.170:1661783): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=59053 comm="Utils" requested_mask="read" denied_mask="read" peer="unconfined"
[72059.404827] audit: type=1400 audit(1710960020.170:1661784): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=59053 comm="Utils" requested_mask="read" denied_mask="read" peer="unconfined"

Teminal output of app

Discord 0.0.46
Quitting secondary instance.
Gtk-Message: 11:41:48.716: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

(Discord:75120): Gtk-WARNING **: 11:41:48.758: GTK+ module /snap/discord/181/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 11:41:48.758: Failed to load module "canberra-gtk-module"

(Discord:75120): Gtk-WARNING **: 11:41:48.759: GTK+ module /snap/discord/181/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 11:41:48.759: Failed to load module "canberra-gtk-module"
[75120:0320/114148.780039:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 75249: Permission denied (13)
blackbox: 2024-03-20T18:41:48.797Z 0 

----------------------------------------------
blackbox: 2024-03-20T18:41:48.811Z 1 Discord starting: {"releaseChannel":"stable","version":"0.0.46"}, modulepath: /home/matt/snap/discord/181/.config/discord/0.0.46/modules

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions