Page 1 of 1

[0.12.32] crash when sound output change (probably)

Posted: Sat Apr 30, 2016 8:25 pm
by StanFear
Ok, I was playing with my bluetooth headset, then the game crashed, pretty much at the same moment where my computer changed the output for sound (no more battery in my headset -> sound output through my computer's speakers) if this is not the reason of the crash, I have no idea what could be since I wasn't doing much else other than playing ...

here is the log file:
factorio-current.log
(15.91 KiB) Downloaded 81 times

Re: [0.12.32] crash when sound output change (probably)

Posted: Sun May 01, 2016 4:03 am
by TruePikachu
DirectSound is crashing with an access violation, so it is definitly related to the sound config changing. Probably what happened was the handle to the device became invalid when it was disconnected, but I don't work with DirectX enough to know for sure.

Re: [0.12.32] crash when sound output change (probably)

Posted: Sun May 01, 2016 11:13 pm
by TruePikachu
Unable to reproduce on 0.12.31; AMD graphics on Windows 7, with "force-opengl=false". No crashes either at the menu or in the game, tested with both a Bluetooth device and disabling the builtin hardware on here.

Re: [0.12.32] crash when sound output change (probably)

Posted: Mon May 02, 2016 7:56 am
by StanFear
Actually, I think my headphone is a bit weird, when it shut down, it doesn't automatically tell the computer to change output device, I usually have to pause (when I use one) the external player I use and restart it (Spotify in this case) to make my computer realize something changed
The ways the headset works is kinda weird and it might be the reason you couldn't reproduce ? next time my headphones' battery dies, I'll try to reproduce the bug too!

also, the bug happened for me with 0.12.32, maybe a change in the release made the bug possible?

Re: [0.12.32] crash when sound output change (probably)

Posted: Mon May 02, 2016 9:29 am
by kovarex
I'm sorry, but this is too system/computer specific to be worth the time to solve it.

Re: [0.12.32] crash when sound output change (probably)

Posted: Mon May 02, 2016 12:54 pm
by StanFear
kovarex wrote:I'm sorry, but this is too system/computer specific to be worth the time to solve it.
ok, no problems, just reporting bugs as they come !