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
discord: use buildFHSUserEnv to avoid crashing #96246
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/discord-0-0-11-package-sometimes-randomly-crashes/8725/6 |
This probably should be using |
@jonringer are you sure this solves the root cause, and not a second crash? The error message is "Cannot upload crash dump: cannot exec /usr/bin/wget"! The crash I am aware of is #96063, which would be resolved by #93453 |
(the only place in the binary wget is referenced is in code that looks like it corresponds to this part of CEF: https://chromium.googlesource.com/chromium/src/+/470748ce474f8fce7a566eb570021273c88d04c0/components/crash/app/breakpad_linux.cc#1086 |
@JJJollyjim yes, but allowing for the initial |
done |
@jonringer sorry, I'm still not sure I understand. My conception of what's happening:
It's going to crash either way right? |
@JJJollyjim you're absolutely right, please look at #96296 I was able to "hang" in a voice channel for 3 hours, previously I was crashing every <10mins |
Motivation for this change
got tired of it crashing
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)