[SOLVED] [4.33 Crash] Dedicated Server crashes when exiting 3D
I’m using shtalik’s excellent custom DLL to run BMS on a GPU-less server.
Everything works really nicely so far, but bms crashes when I exit the 3d world on the server and the log tells me call the BMS police, so that’s what I’m doing now.
You can find a zipped memory dump & a crashlog here:
While I realize this configuration may not be exactly supported, it could be a very important step for BMS if we could host reliably on headless servers that don’t have a GPU (and also significantly reduce hosting costs for folks having a spare machine in datacenters with good connectivity).
Shtalik indicated the crash could be sound-related, but I’ve turned off all sounds within BMS and have disabled sound for the rdesktop session as well.
All the best & thanks in advance for any help,
I was able to solve the crashing issue when exiting 3D by
adding a sound device to the win7 qemu / kvm instance (I chose an IHC6 device which is supported out of the box by win7, no additional drivers necessary)
Specifying -sound:off on the rdesktop command line when connecting to the server (the crash would still occur without this parameter)
One more thing: In order to avoid the RDP crash when exiting the 3d world, a fellow pilot had to enable play sound on local machine in his RDP connection settings while I had to pass the “-sound:off” parameter to rdesktop on my Linux client.