Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random Ubuntu system crash with Discord #29

Closed
ghost opened this issue May 10, 2018 · 19 comments
Closed

Random Ubuntu system crash with Discord #29

ghost opened this issue May 10, 2018 · 19 comments

Comments

@ghost
Copy link

ghost commented May 10, 2018

Hi everyone,
I have daily crashes on my machine apparently caused by Discord, here are the logs attached. At 11:40, I get a full crash then a restart of my machine with a purple screen (but no login window). I would be grateful to anyone that could point me in the right direction. Thanks a lot.

Logs - Failed reboot.txt
Logs leading to crash.txt

@MGD1981
Copy link

MGD1981 commented May 10, 2018

Also experiencing this -- every few minutes Ubuntu will freeze for a good 20-30 seconds and the culprit appears to be Discord. syslog is getting spammed with:
kernel: [574301.017397] audit: type=1400 audit(1525965944.924:13917858): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=7295 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"

@popey
Copy link
Contributor

popey commented May 10, 2018

Does this stop if you issue snap connect discord:process-control

@MGD1981
Copy link

MGD1981 commented May 10, 2018

Trying that gave me: kernel: [575439.871705] audit: type=1400 audit(1525967083.778:13936376): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.discord.discord" pid=8614 comm="apparmor_parser"

Per someone else's post I already tried snap connect discord:system-observe, which seems to have changed the continual errors from operation="ptrace" to operation="capable", and the logs are much less frequent now, but I'm still getting the frequent freezing behavior.

@elmys
Copy link

elmys commented Nov 16, 2018

Same problem on Ubuntu 18.10.
So, do we have solutuions ?

@magarto
Copy link

magarto commented Jan 19, 2019

I have exactly the same problem in Ubuntu 18.04
Some random crashes but, when opening a voice chat it always make the system crash in some minutes.

@akash-258
Copy link

Same problem in linuxmint 19.1 cinnamon. After playing a game if you try to close discord ,it freezes the entire system for good 2 minutes. have to either wait 2 min or force close discord. Anyone got a soln ??

@Onyoursix
Copy link

I'm having the same issue and I have the same log entries before my crash as well.

kernel: [ 507.886027] audit: type=1400 audit(1558630420.855:9528): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=3838 comm="Discord" requested_mask="read" denied_mask="read" peer="unconfined"

@Fuseteam
Copy link

is this still an issue?

@KevinBaudin
Copy link

Experiencing the same here on 20.04

@Fuseteam
Copy link

odd i don't have it on 18.04

@Derkades
Copy link

Derkades commented Dec 5, 2020

I think you need to look elsewhere for your crash issue (maybe it doesn't print anything to syslog?). The apparmor denied messages are normal and while they're very spammy in the log it hasn't caused any issues for me.

@0xAurelou
Copy link

For people on Ubuntu, I had some issues. It was crashing every time I was streaming. One Day, a friend told me it was based on Chrome. So I install chromium drivers it works for me.
sudo apt-get update -y
sudo apt-get install -y chromium-chromedriver
After installing this restart Discord.
I hope this resolves your problem.

@Fuseteam
Copy link

Fuseteam commented Jan 20, 2021

.......wut? does this mean it's an electron issue?

@a1eaiactaest
Copy link

I think it's stiil a thing right now

@Fuseteam
Copy link

i still don't experience this with snap on ubuntu 18.04

@a1eaiactaest
Copy link

Does this stop if you issue snap connect discord:process-control

I did this and I think it worked, I'll see later today.

@usachev63
Copy link

I had the same issue on Ubuntu 20.04.1. It seems that this solution fixed it: I don't get the annoying log messages anymore. Hopefully, the crashes will be gone as well.

@merlijn-sebrechts
Copy link
Member

Thanks for reporting everyone!!

This appears to be fixed now in the latest version of the snap, so I'm closing this issue now. Please comment if this is not the case.

@niyazikemer
Copy link

niyazikemer commented Aug 7, 2024

Hey, it might be happening again, causing random restarts.
discord_logs.txt
these are my Discord only logs for five hours is 8.7 MB . Removing the discord seems to help it.
tons of:
Aug 06 12:52:06 niyazi-MS-7D67 kernel: audit: type=1400 audit(1722937926.215:223651): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.discord.discord" pid=15442 comm="Utils" requested_mask="read" denied_mask="read" peer="unconfined" Aug 06 12:52:06 niyazi-MS-7D67 kernel: audit: type=1400 audit(1722937926.215:223652): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.discord.discord" pid=15442 comm="Utils" requested_mask="read" denied_mask="read" peer="unconfined" Aug 06 12:52:06 niyazi-MS-7D67 kernel: audit: type=1400 audit(1722937926.215:223653): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.discord.discord" pid=15442 comm="Utils" requested_mask="read" denied_mask="read" peer="unconfined" Aug 06 12:52:06 niyazi-MS-7D67 kernel: audit: type=1400 audit(1722937926.215:223654): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.discord.discord" pid=15442 comm="Utils" requested_mask="read" denied_mask="read" peer="unconfined"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests