2025-07-02 07:41 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001186Spring engineGeneralpublic2008-10-26 17:05
Reporterimbaczek 
Assigned Toimbaczek 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version0.77b5 
Target VersionFixed in Version 
Summary0001186: IW + grounddecals crash
Descriptionhttp://forums.imperialwinter.com/index.php?action=dlattach;topic=179.0;attach=780

this replay generates this stacktrace:
(gdb) bt
#0 DrawBuildingDecal (decal=0x1923d5b0)
    at rts\Rendering\GroundDecalHandler.cpp:225
#1 0x005eadf8 in _fu9____glewActiveTextureARB ()
    at rts\Rendering\GroundDecalHandler.cpp:452
#2 0x00691622 in CBFGroundDrawer::Draw (this=0xbdd3328,
    drawWaterReflection=false, drawUnitReflection=false, overrideVP=0)
    at rts\Map\SMF\BFGroundDrawer.cpp:748
0000003 0x008003b2 in CGame::DrawWorld (this=0x7a35da8) at rts\Game\Game.cpp:2520
0000004 0x008086aa in CGame::Draw (this=0x7a35da8) at rts\Game\Game.cpp:2759
0000005 0x00429949 in SpringApp::Update (this=0x22feb8)
    at rts\System\SpringApp.cpp:901
#6 0x00431dce in SpringApp::Run (this=0x22feb8, argc=3, argv=0x3e4460)
    at rts\System\SpringApp.cpp:1124
#7 0x0041f887 in Run (argc=3, argv=0x3e4460) at rts\System\Main.cpp:95
#8 0x0041f909 in WinMain@16 (hInstanceIn=0x400000, hPrevInstance=0x0,
    lpCmdLine=0x241f01 "20081026_220151_unnamed_0.77b5 (spring_0.77b5-R6842).sd
", nCmdShow=10) at rts\System\Main.cpp:121
#9 0x0092710c in main ()
(gdb) p gs->frameNum
$1 = 22134
(gdb) p zh
$2 = 641
(gdb) p gsmx
$5 = 640
(gdb) p gsmy
$6 = 640
(gdb) p xh
No symbol "xh" in current context.
(gdb) p tlx
$3 = <value optimized out>
(gdb) p tlx+x
$4 = 0
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
related to 0001187resolvedKloot Crash in 77b5 , using CA, infolog attached 
+Relationships

-Notes

~0003044

imbaczek (reporter)

i think I fixed it in r6904, kloot can you comment? i'm not sure if that's enough.

~0003045

Kloot (developer)

The clipping won't be entirely correct for all facings if a building is placed right up against a map edge this way, but not so noticeable as to be distracting (and stability is rather more important). I'd say leave as-is.

~0003046

imbaczek (reporter)

crash fixed with minor side effects in r6904.
+Notes

-Issue History
Date Modified Username Field Change
2008-10-26 15:21 imbaczek New Issue
2008-10-26 16:11 imbaczek Note Added: 0003044
2008-10-26 16:34 Kloot Note Added: 0003045
2008-10-26 17:05 imbaczek Note Added: 0003046
2008-10-26 17:05 imbaczek Status new => resolved
2008-10-26 17:05 imbaczek Resolution open => fixed
2008-10-26 17:05 imbaczek Assigned To => imbaczek
2008-10-26 17:09 Kloot Relationship added related to 0001187
+Issue History