aarondoet / AccountSwitcher

BetterDiscord plugin to switch between multiple accounts
MIT License
229 stars 79 forks source link

[Issue] discord crashing #8

Open Gryphon109 opened 4 years ago

Gryphon109 commented 4 years ago

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):

Kyvski commented 4 years ago

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.

xenorio commented 4 years ago
  • Discord version: Enhanced Discord

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

aarondoet commented 4 years ago
  • 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.

luni3359 commented 4 years ago

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 commented 4 years ago

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.