2025-07-23 17:50 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003378Spring engineGeneralpublic2013-01-02 23:03
Reportersilentwings 
Assigned ToKloot 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version91.0 
Target Version92.0Fixed in Version 
Summary0003378: Error handler invoked during a ffa game, don't know the cause.
DescriptionSee infolog+demo, about 15 mins in.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0009537

zerver (reporter)

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

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

~0009544

Google_Frog (reporter)

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

~0009545

abma (administrator)

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

~0009546

Kloot (developer)

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...

~0009547

abma (administrator)

Last edited: 2013-01-02 19:56

View 2 revisions

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

~0009548

abma (administrator)

Last edited: 2013-01-02 20:16

View 2 revisions

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

~0009553

Kloot (developer)

Last edited: 2013-01-02 22:23

View 3 revisions

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.

+Notes

-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 View Revisions
2013-01-02 20:15 abma Note Added: 0009548
2013-01-02 20:16 abma Note Edited: 0009548 View Revisions
2013-01-02 22:19 Kloot Note Added: 0009553
2013-01-02 22:22 Kloot Note Edited: 0009553 View Revisions
2013-01-02 22:23 Kloot Note Edited: 0009553 View Revisions
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
+Issue History