View Issue Details

IDProjectCategoryView StatusLast Update
0003378Spring engineGeneralpublic2013-01-02 23:03
Reportersilentwings Assigned ToKloot  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version91.0 
Target Version92.0 
Summary0003378: Error handler invoked during a ffa game, don't know the cause.
DescriptionSee infolog+demo, about 15 mins in.
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
20121225_233054_Throne Acidic_91.sdf (Attachment missing)
infolog_bug.txt (Attachment missing)
20130103_023415_Ravaged_v2_91.sdf (Attachment missing)
Checked infolog.txt for Errors

Activities

zerver

2012-12-27 16:49

reporter   ~0009537

[f=0030530] Error: [safe_element const] index 3 out of bounds! (size 3)

Thanks a lot, it looks like we have a severe bug!

Google_Frog

2013-01-02 16:55

reporter   ~0009544

Noticed similar error.

"[f=0008766] Error: [safe_element const] index 2 out of bounds! (size 2)"
infolog_bug.txt
20130103_023415_Ravaged_v2_91.sdf
http://zero-k.info/Battles/Detail/134854

abma

2013-01-02 18:35

administrator   ~0009545

so, the bug is inside spring, too...

Kloot

2013-01-02 19:52

developer   ~0009546

before spending time to fix this severe bug it would be nice to know if 92.0 is at least *planned* for release somewhere in 2013...

abma

2013-01-02 19:55

administrator   ~0009547

Last edited: 2013-01-02 19:56

yep, it is: http://springrts.com/mantis/roadmap_page.php only big thing left is refactoring the buildbot stuff, but this is...hm.. not really a fun project

abma

2013-01-02 20:15

administrator   ~0009548

Last edited: 2013-01-02 20:16

Translated infolog_bug.txt: http://paste.springfiles.com/view/f790ba02

rts/System/Platform/Win/CrashHandler.cpp:177
rts/System/Platform/Win/CrashHandler.cpp:325
rts/System/SafeVector.cpp:22
rts/System/SafeVector.h:27
/usr/lib/gcc/i586-mingw32msvc/4.4.4/include/c++/bits/stl_tree.h:259
rts/Rendering/WorldDrawer.cpp:207
rts/Game/Game.cpp:1172
rts/System/SpringApp.cpp:940
rts/System/SpringApp.cpp:1018
rts/System/Main.cpp:51
rts/System/Main.cpp:65
rts/System/Main.cpp:101
BumpWater.cpp:0
/root/mingw/mingw32-runtime-3.15.2/build_dir/src/mingwrt-3.15.2-mingw32/crt1.c:237
/root/mingw/mingw32-runtime-3.15.2/build_dir/src/mingwrt-3.15.2-mingw32/crt1.c:271

Kloot

2013-01-02 22:19

developer   ~0009553

Last edited: 2013-01-02 22:23

Replaying 20130103_023415_Ravaged_v2_91.sdf doesn't trigger anything for me but 20121225_233054_Throne Acidic_91.sdf does:

#0 safe_vector<float>::safe_element (this=0x7fffffffd108, idx=3) at rts/System/SafeVector.cpp:17
#1 0x00000000008f6c04 in operator[] (this=0x7fffffffd108, i=<optimized out>) at rts/System/SafeVector.h:27
#2 AllowedCommand (fromSynced=<optimized out>, c=..., this=0x7fffe86f1f00)
    at rts/Sim/Units/CommandAI/TransportCAI.cpp:982
0000003 CTransportCAI::AllowedCommand (this=0x7fffe86f1f00, c=..., fromSynced=<optimized out>)
    at rts/Sim/Units/CommandAI/TransportCAI.cpp:957
0000004 0x00000000008e17e4 in CCommandAI::ExecuteInsert (this=0x7fffe86f1f00, c=..., fromSynced=true)
    at rts/Sim/Units/CommandAI/CommandAI.cpp:872
0000005 0x00000000008e1f9f in CCommandAI::GiveAllowedCommand (this=0x7fffe86f1f00, c=..., fromSynced=true)
    at rts/Sim/Units/CommandAI/CommandAI.cpp:720
#6 0x00000000008f0558 in GiveCommandReal (c=..., this=0x7fffe86f1f00, fromSynced=<optimized out>)
    at rts/Sim/Units/CommandAI/MobileCAI.cpp:279
#7 CMobileCAI::GiveCommandReal (this=0x7fffe86f1f00, c=..., fromSynced=<optimized out>)
    at rts/Sim/Units/CommandAI/MobileCAI.cpp:205
#8 0x000000000052f5fe in CGame::ClientReadNet (this=0x7fffe01a6f60) at rts/Game/NetCommands.cpp:544

(gdb) frame 2
#2 AllowedCommand (fromSynced=<optimized out>, c=..., this=0x7fffe86f1f00)
    at rts/Sim/Units/CommandAI/TransportCAI.cpp:982
982 const float radius = (c.GetID() == CMD_UNLOAD_UNITS)? c.params[3]: 0.0f;

--> some widget inserted a malformed unload-command into some transport's queue (because it arrived through a NETMSG_AICOMMAND and LuaUnsyncedCtrl :: GiveOrderToUnit is the only part of Spring that sends those, apart from actual AI's) --> I really CBA to find out which.

Issue History

Date Modified Username Field Change
2012-12-26 00:47 silentwings New Issue
2012-12-26 00:47 silentwings File Added: infolog.txt
2012-12-26 00:48 silentwings File Added: 20121225_233054_Throne Acidic_91.sdf
2012-12-26 15:45 abma Category General => Spring MT
2012-12-26 15:46 abma Product Version => 91.0
2012-12-26 15:52 abma Severity minor => major
2012-12-27 16:49 zerver Note Added: 0009537
2012-12-27 16:51 zerver Target Version => 92.0
2013-01-02 16:52 Google_Frog File Added: infolog_bug.txt
2013-01-02 16:54 Google_Frog File Added: 20130103_023415_Ravaged_v2_91.sdf
2013-01-02 16:55 Google_Frog Note Added: 0009544
2013-01-02 18:35 abma Note Added: 0009545
2013-01-02 18:35 abma Severity major => crash
2013-01-02 18:35 abma Category Spring MT => General
2013-01-02 19:52 Kloot Note Added: 0009546
2013-01-02 19:55 abma Note Added: 0009547
2013-01-02 19:56 abma Note Edited: 0009547
2013-01-02 20:15 abma Note Added: 0009548
2013-01-02 20:16 abma Note Edited: 0009548
2013-01-02 22:19 Kloot Note Added: 0009553
2013-01-02 22:22 Kloot Note Edited: 0009553
2013-01-02 22:23 Kloot Note Edited: 0009553
2013-01-02 23:03 Kloot Changeset attached => spring develop 9d714d06
2013-01-02 23:03 Kloot Assigned To => Kloot
2013-01-02 23:03 Kloot Status new => resolved
2013-01-02 23:03 Kloot Resolution open => fixed