2025-07-20 01:16 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004422Spring engineGeneralpublic2014-06-06 21:44
Reporterabma 
Assigned Toabma 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version97.0.1+git 
Target Version98.0Fixed in Version 
Summary0004422: GrassDrawer.cpp:999: void CGrassDrawer::RemoveGrass(const float3&): Assertion `z >= 0 && z < (gs->mapy - 1) / grassSquareSize' f
Descriptionspring: rts/Rendering/Env/GrassDrawer.cpp:999: void CGrassDrawer::RemoveGrass(const float3&): Assertion `z >= 0 && z < (gs->mapy - 1) / grassSquareSize' failed.
Additional Information[f=0000176] Error: Aborted (SIGABRT) in spring 97.0.1-8-g91c053e release (Debug)
[f=0000176] Error: Stacktrace for Spring 97.0.1-8-g91c053e release (Debug):
[f=0000176] Error: <0> /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7ff66941e340]
[f=0000176] Error: <1> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7ff665d9cf79]
[f=0000176] Error: <2> /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7ff665da0388]
[f=0000176] Error: <3> /lib/x86_64-linux-gnu/libc.so.6(+0x2fe36) [0x7ff665d95e36]
[f=0000176] Error: <4> /lib/x86_64-linux-gnu/libc.so.6(+0x2fee2) [0x7ff665d95ee2]
[f=0000176] Error: <5> /home/abma/dev/spring/develop/rts/Rendering/Env/GrassDrawer.cpp:1001
[f=0000176] Error: <6> /var/tmp/home/dev/spring/develop/rts/Rendering/Env/AdvTreeDrawer.cpp:1155
[f=0000176] Error: <7> /var/tmp/home/dev/spring/develop/rts/Map/BasicMapDamage.cpp:89
[f=0000176] Error: <8> /var/tmp/home/dev/spring/develop/rts/Game/GameHelper.cpp:302
[f=0000176] Error: <9> /usr/include/c++/4.8/bits/stl_tree.h:1432
[f=0000176] Error: <10> /usr/include/c++/4.8/bits/stl_tree.h:202
[f=0000176] Error: <11> /var/tmp/home/dev/spring/develop/rts/Game/GameHelper.cpp:1344
[f=0000176] Error: <12> /var/tmp/home/dev/spring/develop/rts/Game/Game.cpp:1550
[f=0000176] Error: <13> /home/abma/dev/spring/develop/rts/Net/NetCommands.cpp:512
[f=0000176] Error: <14> /var/tmp/home/dev/spring/develop/rts/Game/Game.cpp:975
[f=0000176] Error: <15> /var/tmp/home/dev/spring/develop/rts/Rendering/Env/AdvTreeDrawer.cpp:636 (discriminator 1)
[f=0000176] Error: <16> /var/tmp/home/dev/spring/develop/rts/Rendering/Env/AdvTreeDrawer.cpp:645
[f=0000176] Error: <17> /usr/include/c++/4.8/functional:2445
[f=0000176] Error: <18> /usr/include/c++/4.8/functional:1809
[f=0000176] Error: <19> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7ff665d87ec5]
[f=0000176] Error: <20> ??:?
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0013223

abma (administrator)

(gdb) bt
#0 0x00007ffff4245f79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff4249388 in __GI_abort () at abort.c:89
#2 0x00007ffff423ee36 in __assert_fail_base (fmt=0x7ffff4390718 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=assertion@entry=0x125d9c8 "x >= 0 && x < (gs->mapx - 1) / grassSquareSize",
    file=file@entry=0x125d980 "rts/Rendering/Env/GrassDrawer.cpp", line=line@entry=998,
    function=function@entry=0x125dc80 <CGrassDrawer::RemoveGrass(float3 const&)::__PRETTY_FUNCTION__> "void CGrassDrawer::RemoveGrass(const float3&)")
    at assert.c:92
0000003 0x00007ffff423eee2 in __GI___assert_fail (assertion=0x125d9c8 "x >= 0 && x < (gs->mapx - 1) / grassSquareSize",
    file=0x125d980 "rts/Rendering/Env/GrassDrawer.cpp", line=998,
    function=0x125dc80 <CGrassDrawer::RemoveGrass(float3 const&)::__PRETTY_FUNCTION__> "void CGrassDrawer::RemoveGrass(const float3&)")
    at assert.c:101
0000004 0x0000000000909925 in CGrassDrawer::RemoveGrass (this=0x7fffb93b12b0, pos=...) at rts/Rendering/Env/GrassDrawer.cpp:998
0000005 0x00000000008d2046 in CAdvTreeDrawer::RemoveGrass (this=0x7fffb7a0ef20, pos=...) at rts/Rendering/Env/AdvTreeDrawer.cpp:1154
#6 0x0000000000854eca in CBasicMapDamage::Explosion (this=0x7fffb58d4ac0, pos=..., strength=7600,23975, radius=2850)
    at rts/Map/BasicMapDamage.cpp:119
#7 0x00000000005e2a83 in CGameHelper::Explosion (this=0x7fffc00059a0, params=...) at rts/Game/GameHelper.cpp:297
#8 0x0000000000bf59fc in CUnit::KillUnit (this=0xbd713b0, attacker=0x0, selfDestruct=false, reclaimed=false, showDeathSequence=true)
    at rts/Sim/Units/Unit.cpp:1966
#9 0x0000000000bf2814 in CUnit::DoDamage (this=0xbd713b0, damages=..., impulse=..., attacker=0x0, weaponDefID=677, projectileID=-1)
    at rts/Sim/Units/Unit.cpp:1205
0000010 0x00000000005e66f9 in CGameHelper::Update (this=0x7fffc00059a0) at rts/Game/GameHelper.cpp:1342
#11 0x00000000005ce989 in CGame::SimFrame (this=0x2282200) at rts/Game/Game.cpp:1549
0000012 0x0000000000740a8e in CGame::ClientReadNet (this=0x2282200) at rts/Net/NetCommands.cpp:506
---Type <return> to continue, or q <return> to quit---
0000013 0x00000000005cbcda in CGame::Update (this=0x2282200) at rts/Game/Game.cpp:973
0000014 0x0000000000ccf8b3 in SpringApp::Update (this=0x7fffffffe1f0) at rts/System/SpringApp.cpp:892
#15 0x0000000000ccf9fd in SpringApp::Run (this=0x7fffffffe1f0) at rts/System/SpringApp.cpp:923
#16 0x0000000000c9c08e in Run (argc=1, argv=0x7fffffffe3d8) at rts/System/Main.cpp:48
#17 0x0000000000c9c8bc in main (argc=1, argv=0x7fffffffe3d8) at rts/System/Main.cpp:107
+Notes

-Issue History
Date Modified Username Field Change
2014-06-06 20:24 abma New Issue
2014-06-06 20:25 abma Note Added: 0013223
2014-06-06 21:44 abma Changeset attached => spring release 14642299
2014-06-06 21:44 abma Assigned To => abma
2014-06-06 21:44 abma Status new => resolved
2014-06-06 21:44 abma Resolution open => fixed
+Issue History