alive icon indicating copy to clipboard operation
alive copied to clipboard

Fail to start when launched from UNC path

Open BiatuAutMiahn opened this issue 8 years ago • 4 comments

Hello, just stumbled upon this after seeking a DDV player, and i must say, brilliant work! However, the build's don't work, here is the output:

[ENTER] main
SdlAudioWrapper::SetAudioSpec [I] SetAudioSpec samples: 1024 freq 44100
[ENTER] SdlAudioWrapper::Open
SdlAudioWrapper::Open [I] Trying default audio device
[EXIT]  SdlAudioWrapper::Open
[ENTER] Actions::Actions
[EXIT]  Actions::Actions
GameFileSystem::InitBasePath [I] basePath is \\InfinitySrv\massData\Temp\OddStuffz\ALIVE-0.1.0-win32\
[ENTER] Engine::InitSubSystems
OpenGLRenderer::InitGL [I] GL settings r 8 g 8 b 8 bufferSize 24 double buffer 1
[EXIT_EXCEPTION] Engine::InitSubSystems
[ENTER] Engine::~Engine
assertOnGlError [E] GL ERROR: 1282, before glDeleteProgram(mShader)
Assertion failed: 0 && "GL ERROR", file C:\alive\src\openglrenderer.cpp, line 20

And your blog is inaccessible

BiatuAutMiahn avatar Sep 17 '17 13:09 BiatuAutMiahn

Not sure what the cause of that GL error is, but you can pass the command line -directx9 and see if directx works?

MrSapps avatar Sep 17 '17 13:09 MrSapps

Hmm actually that GL error is probably just a bad path on an exception, since you seem to have a debug build try setting break on exception to see where/what exception is being thrown? I think it would be logged out but the assert prevents it getting that far due to openglrenderer destructor issue.

Edit: You say "builds" don't work, so if this is an appveyor build try the release build to get past the assert to see the real error.

MrSapps avatar Sep 17 '17 13:09 MrSapps

you mentioned path, and I was running it on a network drive, put it on my desktop and runs without issues. UNC support?

BiatuAutMiahn avatar Sep 17 '17 15:09 BiatuAutMiahn

Ah yes UNC probably doesn't work. I'll try to repro when I get time.

MrSapps avatar Sep 17 '17 16:09 MrSapps