2025-07-21 21:46 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001874Spring engineGeneralpublic2011-11-06 18:47
ReporterNemo 
Assigned Toabma 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionunable to reproduce 
Product Version0.81.2 
Target VersionFixed in Version 
Summary0001874: crash related to transports
DescriptionJust had a CTD while playing a S44 game on Folsom Dam Flooded, potentially related to water transports. See stacktrace below:
Additional Informationrts/Sim/Units/CommandAI/TransportCAI.cpp:1010
rts/Sim/Units/CommandAI/TransportCAI.cpp:140
/home/mingw_cross_env-mingw_gcc440/usr/bin/../lib/gcc/i386-mingw32msvc/4.4.0/include/c++/bits/list.tcc:68 [std::_List_base >::_M_clear()]
/home/mingw_cross_env-mingw_gcc440/usr/bin/../lib/gcc/i386-mingw32msvc/4.4.0/include/c++/bits/stl_list.h:1132 [std::list >::clear()]
rts/Sim/Units/CommandAI/TransportCAI.cpp:103
rts/Sim/Units/Unit.cpp:764
/home/mingw_cross_env-mingw_gcc440/usr/bin/../lib/gcc/i386-mingw32msvc/4.4.0/include/c++/bits/stl_list.h:143 [std::_List_iterator::operator++()]
rts/Sim/Units/UnitHandler.cpp:302
rts/Game/Game.cpp:3508
rts/Game/Game.cpp:3812
rts/Game/Game.cpp:2790
rts/System/SpringApp.cpp:862
rts/System/SpringApp.cpp:990
rts/System/Main.cpp:64 [Run(int, char**)]
rts/System/Main.cpp:136 [WinMain@16]
dyncast.cc:0
Messages.cpp:0
Messages.cpp:0
UNTRANSLATED: C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C817077]
--
 profile=default file=http://s44.no-ip.org/infolog.txt buildsys=cmake toolchain=mingw32 auto=yes vcs=git rev=0.81.2-0-g76e4cf5 tag=0.81.2 links=yes

TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0004778

Kloot (developer)

Please upload the demo if you still have it. :)

~0004779

Nemo (reporter)

Added the demo. Unfortunately Spring doesn't crash with the demo - it simply ends. Here are the mod links: http://spring1944.net/files/Build/S44Pre-M_v170.sd7 + http://spring1944.net/files/Build/S44Pre-M_v250.sdz

~0004793

Nemo (reporter)

Pintle had the same crash this evening - no water on the map, but transports in play. Here's the trace:

rts/Sim/Units/CommandAI/TransportCAI.cpp:1010
rts/Sim/Units/CommandAI/TransportCAI.cpp:140
/home/mingw_cross_env-mingw_gcc440/usr/bin/../lib/gcc/i386-mingw32msvc/4.4.0/include/c++/bits/list.tcc:68 [std::_List_base >::_M_clear()]
/home/mingw_cross_env-mingw_gcc440/usr/bin/../lib/gcc/i386-mingw32msvc/4.4.0/include/c++/bits/stl_list.h:1132 [std::list >::clear()]
rts/Sim/Units/CommandAI/TransportCAI.cpp:103
rts/Sim/Units/Unit.cpp:764
/home/mingw_cross_env-mingw_gcc440/usr/bin/../lib/gcc/i386-mingw32msvc/4.4.0/include/c++/bits/stl_list.h:143 [std::_List_iterator::operator++()]
rts/Sim/Units/UnitHandler.cpp:302
rts/Game/Game.cpp:3508
rts/Game/Game.cpp:3812
rts/Game/Game.cpp:2790
rts/System/SpringApp.cpp:862
rts/System/SpringApp.cpp:990
rts/System/Main.cpp:64 [Run(int, char**)]
rts/System/Main.cpp:136 [WinMain@16]
dyncast.cc:0
Messages.cpp:0
Messages.cpp:0
UNTRANSLATED: C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C817077]
--
 profile=default file=http://s44.no-ip.org/aB3fNHB2.txt buildsys=cmake toolchain=mingw32 auto=yes vcs=git rev=0.81.2-0-g76e4cf5 tag=0.81.2 links=yes

~0004796

FLOZi (reporter)

This first started to crop up after this gadget was added, which inteferes with transports, so it is possibly related;

http://spring1944.svn.sourceforge.net/viewvc/spring1944/trunk/S44LiteRelease.sdd/LuaRules/Gadgets/unit_hideTransported.lua?revision=2582&view=markup

The latest rev comments out some code that I don't really know why I added in the first place. (Coding at 5am is bad)

~0004798

Nemo (reporter)

note that flozi's change did not fix the crash - just had another one with the fixed gadget.

rts/Sim/Units/CommandAI/TransportCAI.cpp:1010
rts/Sim/Units/CommandAI/TransportCAI.cpp:140
/home/mingw_cross_env-mingw_gcc440/usr/bin/../lib/gcc/i386-mingw32msvc/4.4.0/include/c++/bits/list.tcc:68 [std::_List_base >::_M_clear()]
/home/mingw_cross_env-mingw_gcc440/usr/bin/../lib/gcc/i386-mingw32msvc/4.4.0/include/c++/bits/stl_list.h:1132 [std::list >::clear()]
rts/Sim/Units/CommandAI/TransportCAI.cpp:103
rts/Sim/Units/Unit.cpp:764
/home/mingw_cross_env-mingw_gcc440/usr/bin/../lib/gcc/i386-mingw32msvc/4.4.0/include/c++/bits/stl_list.h:143 [std::_List_iterator::operator++()]
rts/Sim/Units/UnitHandler.cpp:302
rts/Game/Game.cpp:3508
rts/Game/Game.cpp:3812
rts/Game/Game.cpp:2790
rts/System/SpringApp.cpp:862
rts/System/SpringApp.cpp:990
rts/System/Main.cpp:64 [Run(int, char**)]
rts/System/Main.cpp:136 [WinMain@16]
dyncast.cc:0
Messages.cpp:0
Messages.cpp:0
UNTRANSLATED: C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C817077]
--
 profile=default file=http://s44.no-ip.org/infolog1.txt buildsys=cmake toolchain=mingw32 auto=yes vcs=git rev=0.81.2-0-g76e4cf5 tag=0.81.2 links=yes

~0004799

FLOZi (reporter)

It certainly seems related, crash is in CTransportCAI::LoadStillValid(CUnit* unit) and the gadget clears the command queue (issues a stop order) for units that are trying to board a full transport (Be nice if the engine took care of this itself *nudge nudge* ;).

~0006598

abma (administrator)

did you get recently similar crashes? if not i'll close this bug...

~0006606

FLOZi (reporter)

No, but the crashes stopped after I disabled part of the gadget, which was never reenabled. It was designed to stop units chasing after full transports, arguably a bug in itself ;)

~0007504

abma (administrator)

i hope this is fixed in 83.0, if not, please reopen (as i can't reproduce this bug...)
+Notes

-Issue History
Date Modified Username Field Change
2010-03-21 22:33 Nemo New Issue
2010-03-21 23:11 Kloot Note Added: 0004778
2010-03-22 02:53 Nemo File Added: 20100321_163107_unnamed_0.81.2.sdf
2010-03-22 02:56 Nemo Note Added: 0004779
2010-03-25 06:16 Nemo Note Added: 0004793
2010-03-25 18:36 FLOZi Note Added: 0004796
2010-03-28 03:15 Nemo Note Added: 0004798
2010-03-28 03:39 FLOZi Note Added: 0004799
2011-05-03 21:54 abma Note Added: 0006598
2011-05-03 21:54 abma Status new => feedback
2011-05-04 18:11 FLOZi Note Added: 0006606
2011-05-06 18:18 abma Status feedback => new
2011-11-06 18:47 abma Note Added: 0007504
2011-11-06 18:47 abma Status new => resolved
2011-11-06 18:47 abma Resolution open => unable to reproduce
2011-11-06 18:47 abma Assigned To => abma
+Issue History