View Issue Details

IDProjectCategoryView StatusLast Update
0002804Spring engineGeneralpublic2011-12-04 12:48
ReporterKenku Assigned ToKloot  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version84.0 
Fixed in Version85.0 
Summary0002804: Mid Game Crash in ZK
DescriptionWas playing Zero-K and the game crashed in the middle of play.
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
20111202_223236_unnamed_84.0.sdf (Attachment missing)
Checked infolog.txt for Errors

Relationships

has duplicate 0002802 resolvedabma crash in onlinegame :-/ 
has duplicate 0002808 resolvedzerver C++ runtime error 

Activities

abma

2011-12-03 05:35

administrator   ~0007798

Last edited: 2011-12-03 05:35

can you please attach the demofile?

Kenku

2011-12-03 05:38

reporter   ~0007799

Where would I find that?

abma

2011-12-03 06:25

administrator   ~0007800

Last edited: 2011-12-03 15:41

should be
C:\Users\William\Documents\My Games\Spring\demos\20111202_223236_Evergreen_Haven-Redux-v02_84.0.sdf

(or C:\Users\William\Documents\My Games\Spring\demos\20111202_223236_* )

Kenku

2011-12-03 22:39

reporter   ~0007811

I didn't see one for Evergreen, but that fits the number.

zerver

2011-12-04 02:25

reporter   ~0007814

The stacktrace is not very useful

https://github.com/spring/spring/tree/e95c0d2ec6e1c78e05435e426be6c4cec83383e7/rts/System/EventHandler.cpp#L82
https://github.com/spring/spring/tree/e95c0d2ec6e1c78e05435e426be6c4cec83383e7/rts/System/EventHandler.cpp#L56
https://github.com/spring/spring/tree/e95c0d2ec6e1c78e05435e426be6c4cec83383e7/rts/System/EventHandler.cpp#L71
https://github.com/spring/spring/tree/e95c0d2ec6e1c78e05435e426be6c4cec83383e7/rts/System/EventHandler.cpp#L68
/usr/lib/gcc/i586-mingw32msvc/4.4.4/include/c++/bits/char_traits.h#L259
/usr/lib/gcc/i586-mingw32msvc/4.4.4/include/c++/bits/basic_string.h#L236
??#L0
??#L0
??#L0
??#L0
??#L0

abma

2011-12-04 12:40

administrator   ~0007818

Last edited: 2011-12-04 12:49

running replay aborts with SIGFPE at frame 15978:

(gdb) bt full
#0 0x0000000000aa593f in float3::operator/ (this=0x7fffffffcfb0, f=0)
    at /home/abma/spring/rts/System/float3.h:254
        inv = 0
#1 0x0000000000f94177 in CBeamLaserProjectile::Update (this=0xf08b110)
    at /home/abma/spring/rts/Sim/Projectiles/WeaponProjectiles/BeamLaserProjectile.cpp:95
No locals.
#2 0x0000000000f6d7ac in CProjectileHandler::UpdateProjectileContainer (this=0x67b59a0, pc=..., synced=true)
    at /home/abma/spring/rts/Sim/Projectiles/ProjectileHandler.cpp:224
        p = 0xf08b110
        pci =
        __PRETTY_FUNCTION__ = "void CProjectileHandler::UpdateProjectileContainer(ProjectileContainer&, bool)"
0000003 0x0000000000f6dab2 in CProjectileHandler::Update (this=0x67b59a0)
    at /home/abma/spring/rts/Sim/Projectiles/ProjectileHandler.cpp:245
        myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>},
            name = "ProjectileHandler::Update", starttime = 112731}, autoShowGraph = false}
        gfi = <error reading variable gfi (Cannot access memory at address 0x10)>
0000004 0x0000000000ac42bf in CGame::SimFrame (this=0x1f5d920) at /home/abma/spring/rts/Game/Game.cpp:1430
        cputimer = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name =
    "Game::SimFrame", starttime = 112724}, autoShowGraph = true}
        forced = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name =
    "Game::SimFrame (Update)", starttime = 112724}, autoShowGraph = false}
0000005 0x0000000000b43010 in CGame::ClientReadNet (this=0x1f5d920)
    at /home/abma/spring/rts/Game/NetCommands.cpp:362
        inbuf = 0x7fffec0875a0 "\002\237\b\354\377\177"
---Type <return> to continue, or q <return> to quit---
        dataLength = 1
        packetCode = 2 '\002'
        packet = {px = 0x7fffec088550, pn = {pi_ = 0x7fffec089fb0}}
        procstarttime = 112612
        __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()"
#6 0x0000000000ac1aeb in CGame::Update (this=0x1f5d920) at /home/abma/spring/rts/Game/Game.cpp:884
        timeNow = 112612
        difTime = 200
        dif = 0.200000003
#7 0x00000000010d2165 in SpringApp::UpdateSim (this=0x7fffffffde80, ac=0x1f5d920)
    at /home/abma/spring/rts/System/SpringApp.cpp:988
        ret = false
#8 0x00000000010d21e3 in SpringApp::Update (this=0x7fffffffde80)
    at /home/abma/spring/rts/System/SpringApp.cpp:1057
        updateSim = true
        ret = 1
#9 0x00000000010d23eb in SpringApp::Run (this=0x7fffffffde80, argc=2, argv=0x7fffffffe048)
    at /home/abma/spring/rts/System/SpringApp.cpp:1168
No locals.
0000010 0x00000000010af32b in MainFunc (argc=2, argv=0x7fffffffe048, ret=0x7fffffffdf1c)
    at /home/abma/spring/rts/System/Main.cpp:51
        app = {cmdline = 0x1c09e60, lastRequiredDraw = 14569, static ogc = 0x0}
#11 0x00000000010af5be in Run (argc=2, argv=0x7fffffffe048) at /home/abma/spring/rts/System/Main.cpp:62
        ret = -1
---Type <return> to continue, or q <return> to quit---
        err = 0x159eac5
0000012 0x00000000010af657 in main (argc=2, argv=0x7fffffffe048) at /home/abma/spring/rts/System/Main.cpp:92
No locals.

Kloot

2011-12-04 12:48

developer   ~0007820

'twas a div0 (https://github.com/spring/spring/commit/7769b41dbc684d7509b7bbaa20612c7257a2b606)

Issue History

Date Modified Username Field Change
2011-12-03 04:48 Kenku New Issue
2011-12-03 04:48 Kenku File Added: infolog.txt
2011-12-03 05:35 abma Note Added: 0007798
2011-12-03 05:35 abma Note Edited: 0007798
2011-12-03 05:36 abma Relationship added related to 0002802
2011-12-03 05:38 Kenku Note Added: 0007799
2011-12-03 06:25 abma Note Added: 0007800
2011-12-03 15:41 abma Note Edited: 0007800
2011-12-03 15:41 abma Note Edited: 0007800
2011-12-03 15:41 abma Status new => feedback
2011-12-03 22:38 Kenku File Added: 20111202_223236_unnamed_84.0.sdf
2011-12-03 22:39 Kenku Note Added: 0007811
2011-12-04 02:25 zerver Note Added: 0007814
2011-12-04 12:40 abma Note Added: 0007818
2011-12-04 12:46 Kloot Status feedback => assigned
2011-12-04 12:46 Kloot Assigned To => Kloot
2011-12-04 12:48 Kloot Note Added: 0007820
2011-12-04 12:48 Kloot Status assigned => resolved
2011-12-04 12:48 Kloot Fixed in Version => 85.0
2011-12-04 12:48 Kloot Resolution open => fixed
2011-12-04 12:49 abma Note Edited: 0007818
2011-12-04 12:59 abma Relationship replaced has duplicate 0002802
2011-12-04 16:49 zerver Relationship added has duplicate 0002808