AccountSwitcher icon indicating copy to clipboard operation
AccountSwitcher copied to clipboard

[Issue] discord crashing

Open Gryphon109 opened this issue 4 years ago • 5 comments

Describe the bug After switching between accounts and viewing channels Discord crashes and I have to reload, this does not happen all the time but quite often it only happens when I view channels on an account, switch to another account and view a channel again.

To Reproduce Steps to reproduce the behaviour:

  1. On your first account view a channel
  2. Switch accounts and view another channel
  3. Discord will then require a reload (It doesn't always happen, I am not quite sure how to replicate exactly.

Expected behavior Discord not to require a reload

Screenshots https://gyazo.com/cdfb0f15ebfbe5c42070afe7b42c7257

Information (please complete the following information):

  • OS: Windows 10
  • Plugin Version: https://github.com/l0c4lh057/AccountSwitcher/commit/6b87496a597141fbea9f669f6472d0609325b23f
  • Discord version: Enhanced Discord
  • Compact Mode enabled? No

Gryphon109 avatar Sep 29 '19 14:09 Gryphon109

I can confirm this still happens on v1.2.8. Usually occurs when switching back-and-forth between accounts quickly, so not apparent with normal use. Before, I would get the reload message saying that Discord crashed. Recently, I've noticed outright closing with no error message.

OS: Windows 10 Plugin Version: v1.2.8 Discord Version: 55865, BandagedBD 0.2.24 Compact Mode enabled? No

I realize you couldn't reproduce, but I thought it'd be good to give my +1 on this issue.

Kyvski avatar Mar 12 '20 21:03 Kyvski

  • Discord version: Enhanced Discord

@Gryphon109 you do realize that this plugin is for BetterDiscord and not EnhancedDiscord, right?

xenorio avatar Mar 27 '20 10:03 xenorio

  • Discord version: Enhanced Discord

@Gryphon109 you do realize that this plugin is for BetterDiscord and not EnhancedDiscord, right?

Since ED has built in support for BD plugins I think that is ok. But I don't use ED and I don't support ED, that the issue exists does not change because of that though. But I think I'll just add another label for it.

aarondoet avatar Mar 27 '20 11:03 aarondoet

Another side effect to this bug is that all plugins listed in "Plugins to restart" aren't turned back on after the crash, they're left disabled and you have to manually turn them back on.

Plugin Version: v1.3.0 Discord Version: 65705, BandagedBD 0.3.5 Compact Mode enabled? No

luni3359 avatar Aug 23 '20 15:08 luni3359

I've found that removing all plugins from "Plugins to restart" except for the default plugins no longer crashes Discord. I started testing by adding one plugin at a time, switching back and forth and refreshing. In the end I managed to get all the plugins to work without crashing. This led me to believe that I had accidentally typed a plugin name incorrectly, because switching accounts after adding the name of a non-existent plugin (I put in xx) made the client crash for me. However, after removing the fake plugin from the list, the client started crashing after every switch.

When the client crashes all plugins in the list remain disabled as I mentioned previously.

luni3359 avatar Aug 23 '20 21:08 luni3359