Closed stealth-program closed 2 years ago
There has been no additional information for months. Closing this due to being stale.
Same here. This happens occasionally every few weeks which is very problematic for my voice based bot.
Here's a crash report that should provide some more information: hs_err_pid1.log
It's not an ordinary crash so I have no clue what the cause of this is. I didn't manage to reproduce it. Any help is really REALLY appreciated (my users keep asking why the bot is occasionally offline ;-;)
The source code of the bot can be found here. The bot also uses a slightly modified version of the JDA for the its functionality. Here's the last commit when the bot crashed.
My bot crashed when I received opus packet and library started to decode it. It happened only once, the rest of the time jda works perfectly.
JDA version: net.dv8tion:JDA:4.2.1_264
It is extremely rare, so I don't think you can reproduce it. But maybe you can add some sort of opus packet validation?