Crash with latest svn version int CCobInstance::Tick(...)

Crash with latest svn version int CCobInstance::Tick(...)

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Crash with latest svn version int CCobInstance::Tick(...)

Post by submarine »

I repeatedly caught a crash in CCobInstance::Tick(...) at

Code: Select all

if (done) {
	UnblockAll(*cur);
	delete *cur;
...


This is the callstack:

*,CCobThreadPtr_less>() Line 975 + 0x32 C++
spring.exe!std::priority_queue<CCobThread *,std::vector<CCobThread *,std::allocator<CCobThread *> >,CCobThreadPtr_less>::push() Line 200 + 0x2d C++
MSVCR71.dll!7c34218a()
MSVCR71.dll!7c34218a()
spring.exe!std::list<CCobThread *,std::allocator<CCobThread *> >::_Tidy() Line 933 + 0x9 C++
spring.exe!CCobInstance::Tick() Line 385 + 0xe C++
spring.exe!CCobEngine::Tick() Line 169 + 0xb C++
spring.exe!CGame::SimFrame() Line 2157 C++
spring.exe!CGame::ClientReadNet() Line 2572 C++
ntdll.dll!7c927326()
ntdll.dll!7c927304()
spring.exe!streflop_libm::__tanf() Line 39 + 0x15 C++
spring.exe!COverheadController::KeyMove() Line 193 + 0x2e C++
spring.exe!COverheadController::ScreenEdgeMove() Line 208 C++
spring.exe!CGame::UpdateUI() Line 2933 C++
spring.exe!CGame::Update() Line 1632 + 0x7 C++
spring.exe!SpringApp::Update() Line 810 + 0x5 C++
spring.exe!SpringApp::Run() Line 984 + 0x7 C++
[/code]
User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Post by yuritch »

Crashes for me, too.
Using latest svn revision (as of 04.12.2007, 22:00 GMT+2) and AAI 0.8 (available in svn now). Crash happens well into the game, like 10 minutes or so. Seems it has something to do with one of the factories being blocked by another nearby building so that a new unit cannot be created in the factory. I'm currently experimenting to see if I could reproduce the crash without AAI in the game.
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

i get that crash every game (with latest svn spring version) however everything works fine with revision 3527, so i guess it's not aai's fault
Post Reply

Return to “Help & Bugs”