2025-06-14 04:38 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002593Spring engineGeneralpublic2011-08-01 22:45
Reporterabma 
Assigned ToKloot 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version0.82.7+git 
Summary0002593: (master) assertion in ProjectileHandler.cpp:219
Description0.82.3-3017-g1a04205, client crashed:

spring-headless: /home/abma/dev/spring/master/rts/Sim/Projectiles/ProjectileHandler.cpp:219: void CProjectileHandler::UpdateProjectileContainer(ProjectileContainer&, bool): Assertion `p->pos.y <= MAX_PROJECTILE_HEIGHT' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff5dced05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
    in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt full
#0 0x00007ffff5dced05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        resultvar = 0
        pid = <value optimized out>
        selftid = 30771
#1 0x00007ffff5dd2ab6 in abort () at abort.c:92
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0xdb, sa_sigaction = 0xdb}, sa_mask = {__val = {
              140737319462542, 22675744, 140737319454426, 140737488343872, 140737318492258,
              206158430232, 140737488343888, 140737488343664, 140737318403444, 206158430256,
              140737488343912, 125147840, 140737321804224, 241, 5283922227690951248,
              140737488348363}}, sa_flags = -168900902, sa_restorer = 0x159fd18}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007ffff5dc77c5 in __assert_fail (assertion=0x159fee8 "p->pos.y <= MAX_PROJECTILE_HEIGHT",
    file=<value optimized out>, line=219, function=<value optimized out>) at assert.c:81
        buf = 0x7759ac0 "spring-headless: /home/abma/dev/spring/master/rts/Sim/Projectiles/ProjectileHandler.cpp:219: void CProjectileHandler::UpdateProjectileContainer(ProjectileContainer&, bool): Assertion `p->pos.y <= MAX_"...
0000003 0x0000000000e67ef2 in CProjectileHandler::UpdateProjectileContainer (this=0x4fa1400, pc=...,
    synced=false) at /home/abma/dev/spring/master/rts/Sim/Projectiles/ProjectileHandler.cpp:219
        p = 0x74dca70
        pci = {_M_node = 0x6c39780}
        __PRETTY_FUNCTION__ = "void CProjectileHandler::UpdateProjectileContainer(ProjectileContainer&, bool)"
0000004 0x0000000000e67fab in CProjectileHandler::Update (this=0x4fa1400)
---Type <return> to continue, or q <return> to quit---
    at /home/abma/dev/spring/master/rts/Sim/Projectiles/ProjectileHandler.cpp:238
        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 = 0x7cd1348 "ProjectileHandler::Update"}}, starttime = 79188},
          autoShowGraph = false}
        gfi = {_M_node = 0x7ff7228}
0000005 0x00000000009477d9 in CGame::SimFrame (this=0x1f59380)
    at /home/abma/dev/spring/master/rts/Game/Game.cpp:1519
        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 = 0x7897fa8 "Game::SimFrame"}}, starttime = 79184},
          autoShowGraph = true}
        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 = 0x2350738 "Game::SimFrame (Update)"}}, starttime = 79184},
          autoShowGraph = false}
#6 0x00000000009c99b3 in CGame::ClientReadNet (this=0x1f59380)
    at /home/abma/dev/spring/master/rts/Game/NetCommands.cpp:364
        inbuf = 0x8027d90 "\002\242\022\366\377\177"
        dataLength = 1
        packetCode = 2 '\002'
---Type <return> to continue, or q <return> to quit---
        packet = {px = 0x8025820, pn = {pi_ = 0x8027db0}}
        procstarttime = 79177
        __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()"
#7 0x0000000000944150 in CGame::Update (this=0x1f59380)
    at /home/abma/dev/spring/master/rts/Game/Game.cpp:906
        timeNow = 79177
        difTime = 1
        dif = 0.00100000005
#8 0x00000000010003c7 in SpringApp::UpdateSim (this=0x7fffffffe000, ac=0x1f59380)
    at /home/abma/dev/spring/master/rts/System/SpringApp.cpp:980
        ret = false
#9 0x000000000100043d in SpringApp::Update (this=0x7fffffffe000)
    at /home/abma/dev/spring/master/rts/System/SpringApp.cpp:1058
        ret = 1
0000010 0x0000000001000692 in SpringApp::Run (this=0x7fffffffe000, argc=2, argv=0x7fffffffe1c8)
    at /home/abma/dev/spring/master/rts/System/SpringApp.cpp:1162
No locals.
#11 0x0000000000fdcece in MainFunc (argc=2, argv=0x7fffffffe1c8, ret=0x7fffffffe0ac)
    at /home/abma/dev/spring/master/rts/System/Main.cpp:54
        app = {cmdline = 0x1d66c10, lastRequiredDraw = 11286, static ogc = 0x0}
0000012 0x0000000000fdd1bc in Run (argc=2, argv=0x7fffffffe1c8)
    at /home/abma/dev/spring/master/rts/System/Main.cpp:65
        ret = -1
        err = 0x20a
---Type <return> to continue, or q <return> to quit---
0000013 0x0000000000fdd25c in main (argc=2, argv=0x7fffffffe1c8)
    at /home/abma/dev/spring/master/rts/System/Main.cpp:95
No locals.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
related to 0002592resolvedKloot (master) SIGFPE in float3.h:529 
+Relationships

-Notes

~0007183

abma (administrator)

Last edited: 2011-08-01 20:12

an other one, this time debug3:
http://pastebin.com/JXaA8ZQR

again on the client (client means, connect script, no ai's)

~0007184

abma (administrator)

http://pastebin.com/BEQefKSz

again client

~0007185

abma (administrator)

Last edited: 2011-08-01 20:30

tried a few times more, always the client crashes. 6/6 runs or so...

~0007186

Kloot (developer)

For once I can reproduce this too, working on it.

~0007187

Kloot (developer)

was a near-div0
+Notes

-Issue History
Date Modified Username Field Change
2011-08-01 19:57 abma New Issue
2011-08-01 19:58 abma Description Updated
2011-08-01 20:11 abma Note Added: 0007183
2011-08-01 20:12 abma Note Edited: 0007183
2011-08-01 20:14 abma Note Added: 0007184
2011-08-01 20:29 abma Note Added: 0007185
2011-08-01 20:30 abma Note Edited: 0007185
2011-08-01 20:41 Kloot Note Added: 0007186
2011-08-01 22:45 Kloot Note Added: 0007187
2011-08-01 22:45 Kloot Status new => resolved
2011-08-01 22:45 Kloot Fixed in Version => 0.82.7+git
2011-08-01 22:45 Kloot Resolution open => fixed
2011-08-01 22:45 Kloot Assigned To => Kloot
2011-08-01 22:48 Kloot Relationship added related to 0002592
+Issue History