2025-07-27 14:23 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003872Spring engineGeneralpublic2013-07-03 09:38
Reportermsafwan 
Assigned Tocleanrock 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version94.1.1+git 
Target VersionFixed in Version 
Summary0003872: 94.1.1-659-g0c84527 & 94.1.1-662-g75f533b crash
DescriptionSpring 94.1.1-662-g75f533b & Spring 94.1.1-659-g0c84527 crashed at gamestart

The minimap was pure white, then the game exit to desktop and report access violation.

FYI:
Spring 94.1.1-645-g34c768b was OK for me.
Tagsminimap white
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0010933

msafwan (reporter)

Last edited: 2013-07-01 04:23

View 4 revisions

OPS I forgot about infolog. Here it is:
http://pastebin.com/Aiu8yyNR Spring 94.1.1-662-g75f533b
http://pastebin.com/YQvYBxLX Spring 94.1.1-659-g0c84527

Spring 94.1.1-675-g53efc3a also show white minimap at start and crash
infolog: http://pastebin.com/zMGSz6tg

Here is a screenshot http://s515.photobucket.com/user/xponen/media/P1070467low.jpg.html
ZK test 10637
Spring 94.1.1-675-g53efc3a

~0010950

abma (administrator)

C:\\Users\\User\\Documents\\My Games\\Spring\\engine\\94.1.1-662-g75f533b\\spring.exe 0x0062783E rts/Rendering/GL/FBO.cpp:445
C:\\Users\\User\\Documents\\My Games\\Spring\\engine\\94.1.1-662-g75f533b\\spring.exe 0x00451108 /usr/lib/gcc/i686-mingw32/4.7.2/include/g++-v4/bits/stl_vector.h:88

&

C:\\Users\\User\\Documents\\My Games\\Spring\\engine\\94.1.1-659-g0c84527\\spring.exe 0x00627A3E rts/Rendering/GL/FBO.cpp:445
C:\\Users\\User\\Documents\\My Games\\Spring\\engine\\94.1.1-659-g0c84527\\spring.exe 0x00448F6A rts/Game/TraceRay.cpp:349

~0010951

cleanrock (reporter)

rts/Rendering/GL/FBO.cpp:445 is
glRenderbufferStorageMultisampleEXT(GL_RENDERBUFFER_EXT, samples, format, width, height);

I did a bit of search and i wonder if GLEW_ARB_framebuffer_object is enough to try a multisampled render buffer, perhaps GLEW_EXT_framebuffer_multisample is needed.

~0010952

cleanrock (reporter)

Last edited: 2013-07-02 15:19

View 2 revisions

Forget my comment above, GLEW_ARB_framebuffer_object includes GLEW_EXT_framebuffer_multisample.

Btw, we use a hardcoded samples of 16, i think we should check GL_MAX_SAMPLES.

~0010953

cleanrock (reporter)

Last edited: 2013-07-02 15:29

View 2 revisions

Here is an interesting thread about multisampling on intel:
http://www.opengl.org/discussion_boards/showthread.php/181269-Yet-another-Intel-multisample-thread

Last post seem like a possible solution:
FWIW, I check (GL_ARB_multisample &&GL_EXT_framebuffer_multisample) for whether MSAA is supported and then cache the GL_MAX_SAMPLES value as the indicator of whether to use MSAA. ie if it returns 0, its going down the non-MSAA code path.

~0010954

cleanrock (reporter)

I now see that we check GL_MAX_SAMPLES_EXT but i suspect its a bit too late, we already gone down the multisample branch.

~0010955

cleanrock (reporter)

msafwan, please test this on your intel machine.

jk, this is probably something you want to cleanup if it solves the problem. If it dont solve the problem we revert it.

~0010956

msafwan (reporter)

Spring 94.1.1-679-gb84cb15 don't crash for me anymore! thanks for the solution... looks like difficult investigation stuff!
+Notes

-Issue History
Date Modified Username Field Change
2013-06-25 10:06 msafwan New Issue
2013-06-25 10:07 msafwan Tag Attached: minimap white
2013-06-25 11:24 msafwan Note Added: 0010933
2013-07-01 02:08 msafwan Note Edited: 0010933 View Revisions
2013-07-01 04:22 msafwan Note Edited: 0010933 View Revisions
2013-07-01 04:23 msafwan Note Edited: 0010933 View Revisions
2013-07-02 13:56 abma Note Added: 0010950
2013-07-02 14:38 cleanrock Note Added: 0010951
2013-07-02 15:16 cleanrock Note Added: 0010952
2013-07-02 15:19 cleanrock Note Edited: 0010952 View Revisions
2013-07-02 15:25 cleanrock Note Added: 0010953
2013-07-02 15:29 cleanrock Note Edited: 0010953 View Revisions
2013-07-02 16:44 cleanrock Note Added: 0010954
2013-07-02 17:48 cleanrock Changeset attached => spring develop b84cb15e
2013-07-02 17:48 cleanrock Assigned To => cleanrock
2013-07-02 17:48 cleanrock Status new => resolved
2013-07-02 17:48 cleanrock Resolution open => fixed
2013-07-02 17:51 cleanrock Note Added: 0010955
2013-07-02 17:51 cleanrock Status resolved => feedback
2013-07-02 17:51 cleanrock Resolution fixed => reopened
2013-07-02 19:12 msafwan Note Added: 0010956
2013-07-02 19:12 msafwan Status feedback => assigned
2013-07-03 09:38 cleanrock Status assigned => resolved
2013-07-03 09:38 cleanrock Resolution reopened => fixed
+Issue History