2024-05-17 01:18 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002481Spring engineGeneralpublic2011-06-19 10:36
Reporterabma 
Assigned ToKloot 
PrioritynormalSeveritycrashReproducibilitysometimes
StatusresolvedResolutionfixed 
Product Version0.82.7+git 
Target VersionFixed in Version0.82.7+git 
Summary0002481: (master) crash in GameHelper.cpp:205
Descriptiongit describe
0.82.3-2230-g507c23a


[f=0006786] Stacktrace:
[f=0006786] <0> /lib/x86_64-linux-gnu/libc.so.6(+0x33d80) [0x7f572b90ad80]
[f=0006786] <1> /home/abma/dev/spring/master/rts/Game/GameHelper.cpp:205
[f=0006786] <2> /home/abma/dev/spring/master/rts/Sim/Projectiles/PieceProjectile.cpp:191
[f=0006786] <3> /home/abma/dev/spring/master/rts/Sim/Projectiles/ProjectileHandler.cpp:451
[f=0006786] <4> /home/abma/dev/spring/master/rts/Sim/Projectiles/ProjectileHandler.cpp:470
[f=0006786] <5> /home/abma/dev/spring/master/rts/Sim/Projectiles/ProjectileHandler.cpp:206
[f=0006786] <6> /home/abma/dev/spring/master/rts/Game/Game.cpp:1730
[f=0006786] <7> /home/abma/dev/spring/master/rts/Game/NetCommands.cpp:369
[f=0006786] <8> /home/abma/dev/spring/master/rts/Game/Game.cpp:907
[f=0006786] <9> /home/abma/dev/spring/master/rts/System/SpringApp.cpp:973
Additional Information#0 0x00007f572ee4381d in __libc_waitpid (pid=<value optimized out>, stat_loc=<value optimized out>, options=<value optimized out>) at ../sysdeps/unix/sysv/linux/waitpid.c:41
        resultvar = 18446744073709551104
        oldtype = 0
        result = <value optimized out>
#1 0x000000000103783d in X_MessageBox (msg=0x7f570c62c4e8 "Spring has crashed:\nSegmentation fault (SIGSEGV).\n\nA stacktrace has been written to:\n /home/abma/.spring/infolog.txt",
    caption=0x7f570c64d8a8 "Spring crashed", flags=8) at /home/abma/dev/spring/master/rts/System/Platform/Linux/X_MessageBox.cpp:101
        okButton = false
        caption2 = "Spring crashed\n", '\000' <repeats 84 times>, "#"
        pid = 1361
        status = 0
        len = 117
        msg2 = "Spring has crashed:\nSegmentation fault (SIGSEGV).\n\nA stacktrace has been written to:\n /home/abma/.spring/infolog.txt\n", '\000' <repeats 881 times>
#2 0x0000000000fa2e68 in ExitMessage (msg=..., caption=..., flags=8, forced=false) at /home/abma/dev/spring/master/rts/System/Platform/errorhandler.cpp:60
No locals.
0000003 0x0000000000fa3105 in ErrorMessageBox (msg=..., caption=..., flags=8) at /home/abma/dev/spring/master/rts/System/Platform/errorhandler.cpp:118
        forcedExitThread = 0x7f570de873f0
0000004 0x0000000001032571 in CrashHandler::HandleSignal (signal=11) at /home/abma/dev/spring/master/rts/System/Platform/Linux/CrashHandler.cpp:512
        buf = <incomplete type>
        error = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
            _M_p = 0x7f56f4a65588 "Segmentation fault (SIGSEGV)"}}
        keepRunning = false
0000005 <signal handler called>
No symbol table info available.
#6 0x0000000000903118 in CGameHelper::Explosion (this=0x4787040, params=...) at /home/abma/dev/spring/master/rts/Game/GameHelper.cpp:205
        pos = @0x7f570e1f6e9c
        weaponDefID = -1
        hitUnit = 0x7fff235cb4b0
        expRad = 1.20837058e-31
        expPos = {static binder = {class_ = 0x3588750, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1a5a260, name = 0x1457b6a "float3", size = 12,
            constructor = 0xfc8be2 <float3::_ConstructInstance(void*)>, destructor = 0xfc8c12 <float3::_DestructInstance(void*)>, nextBinder = 0x1a5a200}, static memberRegistrator = 0x1a5a2f0,
          static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 10239, static maxzpos = 5119, x = -0.8211025, y = 0, z = -0.570780694}
        damages = @0x7fff235cb460
        realHeight = 4.56809286e-41
        owner = 0x7f570c000020
        hitFeature = 0x7f570c62b420
        edgeEffectiveness = 3.21390717e-35
        ignoreOwner = false
        gfxMod = 6.61272745e-42
        dir = @0x1a4fc24
        weaponDef = 0x0
        explosionGenerator = 0x7fff235cb3b0
        expSpeed = 0
        impactOnly = false
        damageGround = false
        noGfx = false
        explosionEvent = {pos = {static binder = {class_ = 0x3588750, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1a5a260, name = 0x1457b6a "float3", size = 12,
              constructor = 0xfc8be2 <float3::_ConstructInstance(void*)>, destructor = 0xfc8c12 <float3::_DestructInstance(void*)>, nextBinder = 0x1a5a200}, static memberRegistrator = 0x1a5a2f0,
            static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 10239, static maxzpos = 5119, x = -17.9320126, y = -95.3334961, z = -13.6369019}, damage = -57.8374023,
          radius = -96.5371094, weaponDef = 0x7f57c26dd780}
#7 0x0000000000e0d556 in CPieceProjectile::Collision (this=0x7f570e1f6e70) at /home/abma/dev/spring/master/rts/Sim/Projectiles/PieceProjectile.cpp:189
        params = {pos = @0x7f570e1f6e9c, dir = @0x1a4fc24, damages = @0x7fff235cb460, weaponDef = 0x0, explosionGenerator = 0x0, owner = 0x0, hitUnit = 0x0, hitFeature = 0x0, areaOfEffect = 5,
          edgeEffectiveness = 0, explosionSpeed = 10, gfxMod = 1, impactOnly = false, ignoreOwner = false, damageGround = true}
#8 0x0000000000e14afe in CProjectileHandler::CheckGroundCollisions (this=0x5d8ae50, pc=...) at /home/abma/dev/spring/master/rts/Sim/Projectiles/ProjectileHandler.cpp:458
        p = 0x7f570e1f6e70
        pci = {_M_node = 0x7f56f4804f80}
#9 0x0000000000e14b89 in CProjectileHandler::CheckCollisions (this=0x5d8ae50) at /home/abma/dev/spring/master/rts/Sim/Projectiles/ProjectileHandler.cpp:469
No locals.
0000010 0x0000000000e138f2 in CProjectileHandler::Update (this=0x5d8ae50) at /home/abma/dev/spring/master/rts/Sim/Projectiles/ProjectileHandler.cpp:206
        myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = {static npos = <optimized out>,
              _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7f570dcfb718 "Projectile Collisions"}},
---Type <return> to continue, or q <return> to quit---
            starttime = 244585}, <No data fields>}
#11 0x00000000008e3f0d in CGame::SimFrame (this=0x7f570c1cda80) at /home/abma/dev/spring/master/rts/Game/Game.cpp:1729
        cputimer = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = {static npos = <optimized out>,
              _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7f570e476b48 "CPU load"}}, starttime = 244584}, <No data fields>}
        forced = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = {static npos = <optimized out>,
              _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7f56f4cd6d58 "Sim time"}}, starttime = 244584}, <No data fields>}
0000012 0x0000000000962906 in CGame::ClientReadNet (this=0x7f570c1cda80) at /home/abma/dev/spring/master/rts/Game/NetCommands.cpp:366
        inbuf = 0x7f56f47638f0 "\002", <incomplete sequence \315>
        dataLength = 1
        packetCode = 2 '\002'
        packet = {px = 0x7f570e3dfcc0, pn = {pi_ = 0x7f570d00cdb0}}
        procstarttime = 244584
        __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()"
0000013 0x00000000008dfc72 in CGame::Update (this=0x7f570c1cda80) at /home/abma/dev/spring/master/rts/Game/Game.cpp:905
        timeNow = 244584
        difTime = 54
        dif = 0.0540000014
0000014 0x0000000000faaeef in SpringApp::UpdateSim (this=0x7fff235cc1c0, ac=0x7f570c1cda80) at /home/abma/dev/spring/master/rts/System/SpringApp.cpp:973
        ret = false
#15 0x0000000000faaf65 in SpringApp::Update (this=0x7fff235cc1c0) at /home/abma/dev/spring/master/rts/System/SpringApp.cpp:1051
        ret = 1
#16 0x0000000000fab213 in SpringApp::Run (this=0x7fff235cc1c0, argc=1, argv=0x7fff235cc388) at /home/abma/dev/spring/master/rts/System/SpringApp.cpp:1158
No locals.
#17 0x0000000000f85e92 in MainFunc (argc=1, argv=0x7fff235cc388, ret=0x7fff235cc26c) at /home/abma/dev/spring/master/rts/System/Main.cpp:55
        app = {cmdline = 0x3587ef0, lastRequiredDraw = 6784, static ogc = 0x0}
#18 0x0000000000f86180 in Run (argc=1, argv=0x7fff235cc388) at /home/abma/dev/spring/master/rts/System/Main.cpp:66
        ret = -1
        err = 0x205
#19 0x0000000000f86220 in main (argc=1, argv=0x7fff235cc388) at /home/abma/dev/spring/master/rts/System/Main.cpp:88
No locals.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

+Notes

-Issue History
Date Modified Username Field Change
2011-06-19 06:27 abma New Issue
2011-06-19 06:27 abma Graphics Card => unknown
2011-06-19 06:46 abma Note Added: 0006767
2011-06-19 10:36 Kloot Status new => resolved
2011-06-19 10:36 Kloot Fixed in Version => 0.82.7+git
2011-06-19 10:36 Kloot Resolution open => fixed
2011-06-19 10:36 Kloot Assigned To => Kloot
+Issue History