[0.17.37] Closing Discord crashes Factorio

Bugs that are actually features.
Festmester
Inserter
Inserter
Posts: 22
Joined: Sat Oct 22, 2016 5:08 am
Contact:

[0.17.37] Closing Discord crashes Factorio

Post by Festmester »

As the title says,when I quit Discord by rightclicking the tray icon and clicking "Quit Discord", Factorio spits out an error message, while still actually working until I click Yes/No on the error box (related to this perhaps? viewtopic.php?f=11&t=69785&p=424684&hil ... sh#p424684 ).

The crash can happen in every part of Factorio; the loading screen before the main menu, in the main menu, and even in game. No mods.

The error itself is the "Unexpected Error Occured", asking me to include the factorio-current file, where it to me looks like DiscordHook64.dll is to blame.
Attachments
factorio-current.log
(10.35 KiB) Downloaded 85 times
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.37] Closing Discord crashes Factorio

Post by posila »

Thanks for the report.
I was wondering how is DiscordHook64.dll crashing the game.

It is not our bug and there is no nice workaround for us to do on our side; we would have to either somehow prevent Discord from injecting their DLL to the game, or to silently ignore crashes in threads created by that DLL (but I don't know what would be consequences of this).

But now that we know how to reproduce the crash, we can forward it to Discord people for them to fix.
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.37] Closing Discord crashes Factorio

Post by posila »

When I turned on my computer this morning, DiscordHook64.dll was updated and I can't reproduce the crash anymore.
I didn't even get to reporting it yesterday.
Post Reply

Return to “Not a bug”