2024-03-28 22:40 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003015Spring engineGeneralpublic2012-03-14 02:27
Reporterabma 
Assigned Tozerver 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version87.0 
Target VersionFixed in Version87.0.1+git 
Summary0003015: valgrind warning "Conditional jump or move depends on uninitialised value(s)" in FBO.cpp:375
Description==9456== Conditional jump or move depends on uninitialised value(s)
==9456== at 0x72C837: FBO::Detach(unsigned int) (FBO.cpp:375)
==9456== by 0x72C91C: FBO::DetachAll() (FBO.cpp:403)
==9456== by 0x728C35: CFarTextureHandler::CheckResizeAtlas(unsigned int) (FarTextureHandler.cpp:339)
==9456== by 0x7294EC: CFarTextureHandler::Draw() (FarTextureHandler.cpp:243)
==9456== by 0x79D900: CUnitDrawer::Draw(bool, bool) (UnitDrawer.cpp:516)
==9456== by 0x7A3D94: CWorldDrawer::Draw() (WorldDrawer.cpp:144)
==9456== by 0x4C7125: CGame::Draw() (Game.cpp:1144)
==9456== by 0x9720CE: SpringApp::Update() (SpringApp.cpp:932)
==9456== by 0x9775D2: SpringApp::Run(int, char**) (SpringApp.cpp:1008)
==9456== by 0x956BF6: MainFunc(int, char**, int*) (Main.cpp:51)
==9456== by 0x9571D6: Run(int, char**) (Main.cpp:62)
==9456== by 0x6AE630C: (below main) (libc-start.c:226)
==9456==
==9456== Conditional jump or move depends on uninitialised value(s)
==9456== at 0x72C837: FBO::Detach(unsigned int) (FBO.cpp:375)
==9456== by 0x72C931: FBO::DetachAll() (FBO.cpp:405)
==9456== by 0x728C35: CFarTextureHandler::CheckResizeAtlas(unsigned int) (FarTextureHandler.cpp:339)
==9456== by 0x7294EC: CFarTextureHandler::Draw() (FarTextureHandler.cpp:243)
==9456== by 0x79D900: CUnitDrawer::Draw(bool, bool) (UnitDrawer.cpp:516)
==9456== by 0x7A3D94: CWorldDrawer::Draw() (WorldDrawer.cpp:144)
==9456== by 0x4C7125: CGame::Draw() (Game.cpp:1144)
==9456== by 0x9720CE: SpringApp::Update() (SpringApp.cpp:932)
==9456== by 0x9775D2: SpringApp::Run(int, char**) (SpringApp.cpp:1008)
==9456== by 0x956BF6: MainFunc(int, char**, int*) (Main.cpp:51)
==9456== by 0x9571D6: Run(int, char**) (Main.cpp:62)
==9456== by 0x6AE630C: (below main) (libc-start.c:226)
==9456==
==9456== Conditional jump or move depends on uninitialised value(s)
==9456== at 0x72C837: FBO::Detach(unsigned int) (FBO.cpp:375)
==9456== by 0x728C35: CFarTextureHandler::CheckResizeAtlas(unsigned int) (FarTextureHandler.cpp:339)
==9456== by 0x7294EC: CFarTextureHandler::Draw() (FarTextureHandler.cpp:243)
==9456== by 0x79D900: CUnitDrawer::Draw(bool, bool) (UnitDrawer.cpp:516)
==9456== by 0x7A3D94: CWorldDrawer::Draw() (WorldDrawer.cpp:144)
==9456== by 0x4C7125: CGame::Draw() (Game.cpp:1144)
==9456== by 0x9720CE: SpringApp::Update() (SpringApp.cpp:932)
==9456== by 0x9775D2: SpringApp::Run(int, char**) (SpringApp.cpp:1008)
==9456== by 0x956BF6: MainFunc(int, char**, int*) (Main.cpp:51)
==9456== by 0x9571D6: Run(int, char**) (Main.cpp:62)
==9456== by 0x6AE630C: (below main) (libc-start.c:226)
==9456==
[f=0001547] Warning: FBO-FARTEXTURE error: 0x0
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
related to 0003011resolvedabma Crash in game in Unit.cpp:1103 
related to 0003005resolvedjK Crash in Unit.cpp:1103 
+Relationships

-Notes

~0008447

abma (administrator)

for replay see first demo of 0003011

~0008448

abma (administrator)

https://github.com/spring/spring/blob/87.0/rts/Rendering/GL/FBO.cpp#L305

~0008449

zerver (reporter)

https://github.com/spring/spring/commit/603370451212fc79cad0fb07ee5c88312fee5930
+Notes

-Issue History
Date Modified Username Field Change
2012-03-13 22:15 abma New Issue
2012-03-13 22:15 abma Note Added: 0008447
2012-03-13 22:16 abma Relationship added related to 0003011
2012-03-13 22:17 abma Relationship added related to 0003005
2012-03-13 22:20 abma Note Added: 0008448
2012-03-14 02:27 zerver Note Added: 0008449
2012-03-14 02:27 zerver Status new => resolved
2012-03-14 02:27 zerver Fixed in Version => 87.0.1+git
2012-03-14 02:27 zerver Resolution open => fixed
2012-03-14 02:27 zerver Assigned To => zerver
+Issue History