snapcrafters / discord

A community-maintained package to easily install Discord on Linux
MIT License
71 stars 20 forks source link

[Bug]: A JavaScript error occured in the main process, after close terminal #196

Open shhhwepsss opened 2 months ago

shhhwepsss commented 2 months ago

What happened?

The app crashed when i start discord via terminal, and close this terminal after app has been started

image

What should have happened?

When i close my terminal, the app should continue work without throwing error

Output of snap info discord

name:      discord
summary:   Chat for Communities and Friends
publisher: Snapcrafters✪
store-url: https://snapcraft.io/discord
contact:   https://github.com//snapcrafters/discord/issues
license:   Proprietary
description: |
  Discord is the easiest way to communicate over voice, video, and text.
  Chat, hang out, and stay close with your friends and communities.

  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

  **Authors**

  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 16:28 MSK
channels:
  latest/stable:    0.0.49 2024-04-10 (184) 111MB -
  latest/candidate: 0.0.49 2024-04-10 (184) 111MB -
  latest/beta:      ↑                             
  latest/edge:      ↑                             
installed:          0.0.49            (184) 111MB -

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.2
snapd   2.61.2
series  16
ubuntu  22.04
kernel  6.5.0-27-generic

Relevant log output

No response

Teminal output of app

No response

shhhwepsss commented 2 months ago

image