2025-06-27 20:31 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001544Spring engineGeneralpublic2009-11-16 14:56
Reporterxyz 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionno change required 
Product Version 
Target VersionFixed in Version 
Summary0001544: Spring crashes on ALT+TAB
Descriptionversion: spring_0.80.0-21-ge6dbed3
Spring will freez pon alt+tab
Additional Informationinfolog:
http://pastebin.com/m670fd14c
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
related to 0001546closed 80.0.0 RC - Black map after alt-tabbing 
related to 0001548closed 80.0.0 RC - Crash when Alt-tabbing during "waiting for players, press return to start" 
+Relationships

-Notes

~0003907

Auswaschbar (reporter)

Stacktrace unusable.

~0003908

xyz (reporter)

well the game freezes up when I press ALT+TAB, and that is all it writes to infolog. I have to use taskmanager to kill it.

~0003954

imbaczek (reporter)

Last edited: 2009-08-19 17:47

download glintercept: http://glintercept.nutty.org/

follow the instructions (ie. copy gliconfig.ini, or better - gliconfig_full.ini as gliconfig.ini - and opengl32.dll to spring dir), start the game. it'll run very slowly and will create a gliInterceptLog.txt file. paste about 20 last lines.

~0003955

xyz (reporter)

When I use this library for OpenGL the game no longer freezes, it will crash completely.
The last 20 lines won't help much. I've pasted some snapshots where the log changes (if you want the full story http://www.queeq.com/testbuild.zip its a 1M file):
gliLog.txt:

:
:
:
GL ERROR - Function glGetFramebufferAttachmentParameterivEXT(GL_FRAMEBUFFER_EXT,GL_COLOR_ATTACHMENT13_EXT,GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT,0x22fa10) generated error GL_INVALID_ENUM
GL ERROR - Function glGetFramebufferAttachmentParameterivEXT(GL_FRAMEBUFFER_EXT,GL_COLOR_ATTACHMENT14_EXT,GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT,0x22fa14) generated error GL_INVALID_ENUM
GL ERROR - Function glGetFramebufferAttachmentParameterivEXT(GL_FRAMEBUFFER_EXT,GL_COLOR_ATTACHMENT14_EXT,GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT,0x22fa10) generated error GL_INVALID_ENUM
ImageManager::Destructor - OpenGL id 1 is still active. (Image Memory leak?)
ImageManager::Destructor - OpenGL id 2 is still active. (Image Memory leak?)
ImageManager::Destructor - OpenGL id 3 is still active. (Image Memory leak?)
ImageManager::Destructor - OpenGL id 4 is still active. (Image Memory leak?)
:
:
:
ShaderManager::Destructor - OpenGL id 18 is still active. (Shader Memory leak?)
ShaderManager::Destructor - OpenGL id 19 is still active. (Shader Memory leak?)
ShaderManager::Destructor - OpenGL id 20 is still active. (Shader Memory leak?)
ShaderManager::Destructor - OpenGL id 21 is still active. (Shader Memory leak?)
ShaderGLSLManager::Destructor - OpenGL id 2 is still active. (ShaderGLSL Memory leak?)
ShaderGLSLManager::Destructor - OpenGL id 5 is still active. (ShaderGLSL Memory leak?)
ShaderGLSLManager::Destructor - OpenGL id 7 is still active. (ShaderGLSL Memory leak?)
ShaderGLSLManager::Destructor - OpenGL id 10 is still active. (ShaderGLSL Memory leak?)
:
:
:
: all the way to the end



gliInterceptLog.txt:

glGetFramebufferAttachmentParameterivEXT(GL_FRAMEBUFFER_EXT,GL_STENCIL_ATTACHMENT_EXT,GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT,0x22fa10)
glReadBuffer(GL_COLOR_ATTACHMENT0_EXT)
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT,6)
glGetIntegerv(GL_READ_BUFFER,0x22fa58)
glGetFramebufferAttachmentParameterivEXT(GL_FRAMEBUFFER_EXT,GL_COLOR_ATTACHMENT0_EXT,GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT,0x22fa14)
glGetFramebufferAttachmentParameterivEXT(GL_FRAMEBUFFER_EXT,GL_COLOR_ATTACHMENT0_EXT,GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT,0x22fa10)
glBindTexture(GL_TEXTURE_2D,326)
glGetTexLevelParameteriv(GL_TEXTURE_2D,0,GL_TEXTURE_COMPONENTS,0x22f9a8)
glBindTexture(GL_TEXTURE_2D,326)
glGetTexLevelParameteriv(GL_TEXTURE_2D,0,GL_TEXTURE_WIDTH,0x1565baf8)
glGetTexLevelParameteriv(GL_TEXTURE_2D,0,GL_TEXTURE_HEIGHT,0x1565bafc)
glGetTexLevelParameteriv(GL_TEXTURE_2D,0,GL_TEXTURE_DEPTH,0x1565bb00)
glGetTexLevelParameteriv(GL_TEXTURE_2D,0,GL_TEXTURE_COMPONENTS,0x1565bb08)
glGetTexLevelParameteriv(GL_TEXTURE_2D,0,GL_TEXTURE_RED_SIZE,0x22fa0c)
glGetTexLevelParameteriv(GL_TEXTURE_2D,0,GL_TEXTURE_GREEN_SIZE,0x22fa0c)
glGetTexLevelParameteriv(GL_TEXTURE_2D,0,GL_TEXTURE_BLUE_SIZE,0x22fa0c)
glGetTexLevelParameteriv(GL_TEXTURE_2D,0,GL_TEXTURE_ALPHA_SIZE,0x22fa0c)
glGetTexLevelParameteriv(GL_TEXTURE_2D,0,GL_TEXTURE_DEPTH_SIZE,0x22fa0c)
glGetTexImage(GL_TEXTURE_2D,0,GL_RGBA,GL_UNSIGNED_BYTE,0x1f030020)
----->wglMakeCurrent(0x0000,0x0000)=true
----->wglDeleteContext(0x20000)=true


Thanks

~0003956

imbaczek (reporter)

Last edited: 2009-08-19 20:11

can you paste the infolog of the crash, too?

edit: found it in the zip, thanks.

~0003975

xyz (reporter)

Hi,
 I managed to compile spring so I got the crash stacktrace from VS8 (Also you can check the screen shot that I have uploaded). I wasn't able to track down the freezing one yet.
 Hope this helps:

     0380dcf0()
     nvoglnt.dll!698a6475()
     [Frames below may be incorrect and/or missing, no symbols loaded for nvoglnt.dll]
     nvoglnt.dll!698ae630()
     nvoglnt.dll!698aec0e()
     nvoglnt.dll!6991389d()
     ntdll.dll!7c927764()
     ntdll.dll!7c927553()
     msvcp80.dll!7c44c52c()
     ntdll.dll!7c911432()
     ntdll.dll!7c91003d()
     msvcr80.dll!78134c39()
     ntdll.dll!7c91003d()
     msvcr80.dll!78134c39()
     msvcr80.dll!78134c58()
     msvcp80.dll!7c44f692()
     msvcp80.dll!7c44f69d()
     msvcp80.dll!7c44cb59()
     msvcp80.dll!7c42dabc()
> spring.exe!ConfigHandler::Get<bool>(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & name={...}, const bool & def=) Line 84 + 0x19 bytes C++
     spring.exe!FBO::GLContextLost() Line 157 + 0xc bytes C++
     user32.dll!7e418734()
     user32.dll!7e418816()
     user32.dll!7e428ea0()
     user32.dll!7e428eec()
     ntdll.dll!7c90e453()
     user32.dll!7e4193e9()
     user32.dll!7e4193a8()
     user32.dll!7e4196b8()
     user32.dll!7e42a43b()
     user32.dll!7e42772b()
     user32.dll!7e42a340()
     user32.dll!7e4196b8()
     SDL.dll!00372c77()
     SDL.dll!0037ab79()
     spring.exe!SpringApp::Run(int argc=1, char * * argv=0x0000012c) Line 951 + 0x9 bytes C++
     spring.exe!Run(int argc=1, char * * argv=0x02765628) Line 115 + 0x1b bytes C++
     spring.exe!WinMain(HINSTANCE__ * hInstanceIn=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00151f14, int nCmdShow=1) Line 141 + 0x16 bytes C++
     spring.exe!__tmainCRTStartup() Line 589 + 0x1d bytes C
     kernel32.dll!7c817067()
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CExploSpikeProjectileMemberRegistrator::RegisterMembers(creg::Class * class_=0x0073006f) Line 24 + 0x155 bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CExploSpikeProjectileMemberRegistrator::RegisterMembers(creg::Class * class_=0x0073006f) Line 24 + 0x155 bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CExploSpikeProjectileMemberRegistrator::RegisterMembers(creg::Class * class_=0x0073006f) Line 24 + 0x155 bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CExploSpikeProjectileMemberRegistrator::RegisterMembers(creg::Class * class_=0x0073006f) Line 24 + 0x155 bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CExploSpikeProjectileMemberRegistrator::RegisterMembers(creg::Class * class_=0x0073006f) Line 24 + 0x155 bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CExploSpikeProjectileMemberRegistrator::RegisterMembers(creg::Class * class_=0x0073006f) Line 24 + 0x155 bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CExploSpikeProjectileMemberRegistrator::RegisterMembers(creg::Class * class_=0x0073006f) Line 24 + 0x155 bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++
     spring.exe!CProjectileHandler::UpdatePerlin() Line 1149 + 0xe bytes C++

~0003977

MelTraX (reporter)

I also have freezes whenever a popup or overlay tries to steal focus. I'm guessing it's the same issue. Minimizing my fullscreen Spring (as opposed to alt-tabbing) seems to work just fine though.

~0004006

xyz (reporter)

Looks like it was a driver bug, the latest drivers from NVidia (190.62) no longer have the problem.
 But the problem that spring takes about 1 min to come back from an ALT+TAB is still there.

Thanks.

~0004343

hoijui (reporter)

driver bug
+Notes

-Issue History
Date Modified Username Field Change
2009-08-14 02:40 xyz New Issue
2009-08-14 11:13 hoijui Project AI => Spring engine
2009-08-14 20:45 Auswaschbar Note Added: 0003907
2009-08-14 22:56 xyz Note Added: 0003908
2009-08-15 10:57 imbaczek Relationship added related to 0001546
2009-08-15 10:57 imbaczek Relationship added related to 0001548
2009-08-19 17:46 imbaczek Note Added: 0003954
2009-08-19 17:47 imbaczek Note Edited: 0003954
2009-08-19 18:18 xyz Note Added: 0003955
2009-08-19 20:10 imbaczek Note Added: 0003956
2009-08-19 20:11 imbaczek Note Edited: 0003956
2009-08-23 03:22 xyz File Added: crash.png
2009-08-23 03:26 xyz Note Added: 0003975
2009-08-23 10:58 MelTraX Note Added: 0003977
2009-08-27 01:13 xyz Note Added: 0004006
2009-11-16 14:56 hoijui Note Added: 0004343
2009-11-16 14:56 hoijui Status new => closed
2009-11-16 14:56 hoijui Resolution open => no change required
+Issue History