discord icon indicating copy to clipboard operation
discord copied to clipboard

[Bug]: Discord for Linux randomly segfaulted on me and restarted

Open tanc7 opened this issue 3 years ago • 4 comments

What happened?

Screenshot from 2022-01-13 13-43-15 Translation of 64-bit Assembly Opcodes

00000000  CC                int3
00000001  CC                int3
00000002  CC                int3
00000003  CC                int3
00000004  CC                int3
00000005  CC                int3
00000006  CC                int3
00000007  CC                int3
00000008  CC                int3
00000009  CC                int3
0000000A  CC                int3
0000000B  55                push rbp
0000000C  4889E5            mov rbp,rsp
0000000F  8B87600C0000      mov eax,[rdi+0xc60]
00000015  5D                pop rbp
00000016  C3                ret
00000017  CC                int3
00000018  CC                int3
00000019  CC                int3
0000001A  CC                int3
0000001B  55                push rbp
0000001C  4889E5            mov rbp,rsp
0000001F  8387600C000001    add dword [rdi+0xc60],byte +0x1
00000026  488B4740          mov rax,[rdi+0x40]
0000002A  83405801          add dword [rax+0x58],byte +0x1
0000002E  8B87600C0000      mov eax,[rdi+0xc60]
00000034  83C0FF            add eax,byte -0x1
00000037  5D                pop rbp
00000038  C3                ret
00000039  CC                int3
0000003A  CC                int3
0000003B  55                push rbp
0000003C  4889E5            mov rbp,rsp
0000003F  53                push rbx

What should have happened?

Not crash? I left it running for days.

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:   Proprietary
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.
snap-id: qHVefGEBezeuCeSfTND40uoUD6GRw8BO
channels:
  latest/stable:    0.0.16 2021-12-20 (131) 86MB -
  latest/candidate: ↑                            
  latest/beta:      0.0.16 2021-12-20 (131) 86MB -
  latest/edge:      0.0.16 2021-12-20 (131) 86MB -

Output of snap connections discord

error: snap "discord" not found

Output of snap version

snap    2.53.4
snapd   2.53.4
series  16
ubuntu  20.04
kernel  5.11.0-44-generic

Relevant log output

No response

Teminal output of app

Discord 0.0.16
Quitting secondary instance.

tanc7 avatar Jan 13 '22 21:01 tanc7

Are you sure you install discord as snap? error: snap "discord" not found seems to suggest otherwise

Fuseteam avatar Jan 13 '22 23:01 Fuseteam

I got it from the official website, Discord for Linux. How do I submit a bug report? I can’t find their git repo https://discord.com/download

Sent from my iPhone

On Jan 13, 2022, at 3:05 PM, Rahammetoela Toekiman @.***> wrote:

 Are you sure you install discord as snap? error: snap "discord" not found seems to suggest otherwise

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.

tanc7 avatar Jan 14 '22 01:01 tanc7

they don't have a git repo because discord is proprietary software. this repo is for the snap package. the official package is taken and repacked as a snap so you can install discord with sudo snap install discord

i have no idea where you can report bugs directly to discord.

as this is unlikely an issue with how it is packaged you may want to close this issue

Fuseteam avatar Jan 15 '22 02:01 Fuseteam

Ok. Well I’m just going to enumerate emails for their development staff and write them letters of this crash. Thank you.

Sent from my iPhone

On Jan 14, 2022, at 6:42 PM, Rahammetoela Toekiman @.***> wrote:

 they don't have a git repo because discord is proprietary software. this repo is for the snap package. the official package is taken and repacked as a snap so you can install discord with sudo snap install discord

i have no idea where you can report bugs directly to discord.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.

tanc7 avatar Jan 15 '22 17:01 tanc7

Ok, closing this issue as it wasn't snap related. Thanks for the help @Fuseteam!

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