Page 1 of 1

Spring crashes on reclaim (Balanced Anhialation)

Posted: 01 Sep 2007, 13:30
by iamacup
If i build a factory, any factory, on any map, reclaim it before it starts properly building, then build the same factory on that spot, spring crashes.

stacktrace :

Using script Commanders
Map: SmallDivide.smf
Mod: "Balanced Annihilation V5.61" from BA561.sd7
Created server on port 8452
Created local client with number 0
Listening to local client on connection 0
TransportHover: 0
Opening map file
Loading Map
Loading detail textures
Creating overhead texture
Creating ground shading
Loading tile file
Reading tiles
Reading tile map
Creating projectile texture
Number of damage types: 42
Loading units and weapons
Initializing map features
Generating trees
Parsing unit icons
Creating unit textures
Reading estimate path costs
Creating sky
LUARULES-MAIN (GADGETS)
LUARULES-DRAW (GADGETS)
Spring 0.75b2
Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
LuaUI: bound F11 to the widget selector
LuaUI: bound CTRL+F11 to tweak mode
LuaUI v0.2
Player IaMaCuP joined as 0
IaMaCuP added point: Start 0
AI/Bot-libs/TestGlobalAI.dll has C++ interface
Spring 0.75b2 has crashed.
Exception: Access violation (0xc0000005)
Exception Address: 0x7750b950
DLL information:
0x00400000 spring
0x774e0000 ntdll
0x76330000 kernel32
0x75840000 ADVAPI32
0x75a20000 RPCRT4
0x756e0000 Secur32
0x73950000 dsound
0x75e00000 msvcrt
0x76260000 USER32
0x75900000 GDI32
0x76440000 ole32
0x74ec0000 WINMM
0x76070000 OLEAUT32
0x74e80000 OLEACC
0x74010000 POWRPROF
0x74900000 GLU32
0x74830000 OPENGL32
0x72f80000 DDRAW
0x73cc0000 DCIMAN32
0x75b10000 SETUPAPI
0x74e70000 dwmapi
0x75740000 IMAGEHLP
0x75650000 WSOCK32
0x759f0000 WS2_32
0x774b0000 NSI
0x10000000 SDL
0x7c340000 MSVCR71
0x01200000 DevIL
0x66fc0000 freetype6
0x61b80000 zlib1
0x00290000 glew32
0x00020000 ILU
0x770c0000 IMM32
0x76100000 MSCTF
0x759e0000 LPK
0x757c0000 USP10
0x74f00000 uxtheme
0x761d0000 CLBCatQ
0x69500000 nvoglv32
0x75060000 mswsock
0x74d80000 wshtcpip
0x73bc0000 MMDevApi
0x77060000 SHLWAPI
0x753c0000 comctl32
0x751c0000 WINTRUST
0x74c30000 CRYPT32
0x74c10000 MSASN1
0x74e40000 USERENV
0x72f10000 audioses
0x72ea0000 audioeng
0x72f70000 AVRT
0x774c0000 PSAPI
0x085c0000 TestGlobalAI
0x752e0000 dbghelp
Stacktrace:
(0) C:\Windows\SysWOW64\ntdll.dll(RtlTryEnterCriticalSection+0x2ee) [0x7750B950]
(1) C:\Windows\SysWOW64\ntdll.dll(RtlDeactivateActivationContextUnsafeFast+0xc2b3) [0x7750B2DF]
(2) C:\Windows\syswow64\kernel32.dll(HeapFree+0x14) [0x763B1D27]
(3) C:\Windows\syswow64\msvcrt.dll(free+0x39) [0x75E0A097]
(4) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x48c7d1) [0x00A20231]
(5) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x1b4c73) [0x007486D3]
(6) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x1bbff1) [0x0074FA51]
(7) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x15ecdf) [0x006F273F]
(8) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x1c3c4f) [0x007576AF]
(9) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x199aae) [0x0072D50E]
(10) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x19a2f4) [0x0072DD54]
(11) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x1ad87a) [0x007412DA]
(12) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x18e799) [0x007221F9]
(13) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x198e39) [0x0072C899]
(14) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x6c01f) [0x005FFA7F]
(15) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x1f31e) [0x005B2D7E]
(16) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x4948a) [0x005DCEEA]
(17) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x4ab8e) [0x005DE5EE]
(18) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x286049) [0x00819AA9]
(19) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x28e208) [0x00821C68]
(20) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x28e5d8) [0x00822038]
(21) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x28e809) [0x00822269]
(22) C:\Program Files (x86)\Spring\spring.exe(UnitDef_GetBuildOption+0x37b6e7) [0x0090F147]
(23) C:\Program Files (x86)\Spring\spring.exe [0x00401292]
(24) C:\Program Files (x86)\Spring\spring.exe [0x004012DD]
(25) C:\Windows\syswow64\kernel32.dll(BaseThreadInitThunk+0xe) [0x763B19F1]
(26) C:\Windows\SysWOW64\ntdll.dll(RtlCreateUserProcess+0x8c) [0x7755D109]

(0) ??
??:0

(1) ??
??:0

(2) ??
??:0

(3) ??
??:0

(4) std::vector<CommandDescription, std::allocator<CommandDescription> >::_M_insert_aux(__gnu_cxx::__normal_iterator<CommandDescription*, std::vector<CommandDescription, std::allocator<CommandDescription> > >, CommandDescription const&)
/opt/mingw42/lib/gcc/i586-mingw32msvc/4.2.0/include/c++/ext/atomicity.h:0

(5) CCommandAI::CCommandAI(CUnit*)
/opt/mingw42/lib/gcc/i586-mingw32msvc/4.2.0/include/c++/bits/stl_vector.h:605

(6) CFactoryCAI::CFactoryCAI(CUnit*)
/var/lib/buildbot/spring_slave/mingw32-4.2.0/build/rts/Sim/Units/CommandAI/FactoryCAI.cpp:51

(7) CUnitLoader::LoadUnit(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float3, int, bool, int, CUnit const*)
/var/lib/buildbot/spring_slave/mingw32-4.2.0/build/rts/Sim/Units/UnitLoader.cpp:176

(8) CBuilder::StartBuild(BuildInfo&)
/var/lib/buildbot/spring_slave/mingw32-4.2.0/build/rts/Sim/Units/UnitTypes/Builder.cpp:496

(9) CBuilderCAI::SlowUpdate()
/var/lib/buildbot/spring_slave/mingw32-4.2.0/build/rts/Sim/Units/CommandAI/BuilderCAI.cpp:258

(10) CBuilderCAI::SlowUpdate()
/var/lib/buildbot/spring_slave/mingw32-4.2.0/build/rts/Sim/Units/CommandAI/BuilderCAI.cpp:308

(11) CCommandAI::GiveAllowedCommand(Command const&)
/var/lib/buildbot/spring_slave/mingw32-4.2.0/build/rts/Sim/Units/CommandAI/CommandAI.cpp:620

(12) CMobileCAI::GiveCommandReal(Command const&)
/var/lib/buildbot/spring_slave/mingw32-4.2.0/build/rts/Sim/Units/CommandAI/MobileCAI.cpp:213

(13) CBuilderCAI::GiveCommandReal(Command const&)
/var/lib/buildbot/spring_slave/mingw32-4.2.0/build/rts/Sim/Units/CommandAI/BuilderCAI.cpp:989

(14) CSelectedUnitsAI::GiveCommandNet(Command&, int)
/var/lib/buildbot/spring_slave/mingw32-4.2.0/build/rts/Game/SelectedUnitsAI.cpp:95

(15) CSelectedUnits::NetOrder(Command&, int)
/var/lib/buildbot/spring_slave/mingw32-4.2.0/build/rts/Game/SelectedUnits.cpp:511

(16) CGame::ClientReadNet()
/opt/mingw42/lib/gcc/i586-mingw32msvc/4.2.0/include/c++/bits/stl_vector.h:120

(17) CGame::Update()
/var/lib/buildbot/spring_slave/mingw32-4.2.0/build/rts/Game/Game.cpp:1776

(18) SpringApp::Update()
/var/lib/buildbot/spring_slave/mingw32-4.2.0/build/rts/System/Main.cpp:838

(19) SpringApp::Run(int, char**)
/var/lib/buildbot/spring_slave/mingw32-4.2.0/build/rts/System/Main.cpp:1023

(20) Run(int, char**)
/var/lib/buildbot/spring_slave/mingw32-4.2.0/build/rts/System/Main.cpp:1083

(21) WinMain@16
/var/lib/buildbot/spring_slave/mingw32-4.2.0/build/rts/System/Main.cpp:1146

(22) luabind::detail::create_class::stage2(lua_State*)
/var/lib/buildbot/spring_slave/mingw32-4.2.0/build/lua/luabind/src/create_class.cpp:104

(23) ??
WeaponDefHandler.cpp:0

(24) ??
WeaponDefHandler.cpp:0

(25) ??
??:0

(26) ??
??:0



latest version of BA

i cant reproduce this in XTA.

noize sucks.


can anyone else reproduce this?

Posted: 01 Sep 2007, 13:47
by iamacup
played with tombom, i crashed out and he didnt (ewww)

http://www.temp-files.com/file/629786/0 ... .75b2.zip/

replay here, but i crash out even just by watching the replay, whereas tombom does not. i dont understand.

Posted: 01 Sep 2007, 13:58
by Kloot
Yep, that demo freezes for me as well (it showed a health
of -4 for the second kbot-lab just before bombing).

Posted: 01 Sep 2007, 14:38
by Lippy
Mhh..

1) Demo doesnt crash for me
2) I'm not sure what you mean, but do you crash out even if someone else builds a factory and then reclaims it before its built (thats the way it looks like in the demo as you do not even build a factory; just walked up and down..)

Posted: 01 Sep 2007, 14:55
by iamacup
Lippy wrote:Mhh..

1) Demo doesnt crash for me
2) I'm not sure what you mean, but do you crash out even if someone else builds a factory and then reclaims it before its built (thats the way it looks like in the demo as you do not even build a factory; just walked up and down..)
yeh i crashed when tombom builds the 2nd factory (or at least im asuming he did as the demo crashes there for me aswell so i cant see beyond that point)

Posted: 01 Sep 2007, 16:22
by TradeMark
Didnt crash when i tried to reclaim unstarted building...

Maybe turn off lua/AI's and try again?

Posted: 03 Sep 2007, 01:02
by Complicated
Have you tried reinstalling? :]

Posted: 07 Sep 2007, 00:37
by LordMatt
I got this also when I reclaim an unfinished factory. It crashed immediately.

Posted: 08 Sep 2007, 08:29
by Ishach
Yeah I just tried this and did the following

started a lab, reclaimed immediately

built the same kind of lab in a different spot and built it to about 50hp

started reclaiming 2nd factory

0hp -> crash

Posted: 08 Sep 2007, 15:35
by Dragon45
im in ur enginez
dividin by ur zeroz

Posted: 10 Sep 2007, 01:54
by iamacup
bump for epic reproducable and fix plz :P

Posted: 10 Sep 2007, 02:01
by Neddie
Submit to mantis, amigos.

Posted: 10 Sep 2007, 04:21
by LordMatt
neddiedrow wrote:Submit to mantis, amigos.
Cup where have you been? In any case you heard neddie. :P

Posted: 11 Sep 2007, 00:34
by iamacup
LordMatt wrote:
neddiedrow wrote:Submit to mantis, amigos.
Cup where have you been? In any case you heard neddie. :P
devon