View Issue Details

IDProjectCategoryView StatusLast Update
0002103Spring engineAIpublic2010-12-25 19:59
ReporterPizzi1 Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionduplicate 
Product Version0.82.5 
Summary0002103: RAI crash after a long session game when i kill last ai unit
DescriptionWhen i play with 4 or 5 allied RAI ai against me, the game go in crash when i kill the last AI unit (usually after a very long session, like 50 min)
(to reproduce the bug, in the game option you must put "kill everithing" like original TA game)
Tested in BA 7.18 under windows xp sp2, i have not used MT spring version.
Spring 0.82.5.1 ({0.82-branch}0.82.5.1)

I have added a infolog and a replay of game crashed under BA.
TagsNo tags attached.
Attached Files
Infolog + replay.zip (Attachment missing)
infolog.txt (Attachment missing)
infolog1.txt (Attachment missing)
Checked infolog.txt for Errors

Relationships

related to 0001859 closed RAI crash in Interface on end of game 

Activities

hoijui

2010-09-10 20:07

reporter   ~0005495

[ 132705] This stack trace indicates a problem with your graphic card driver. Please try upgrading or downgrading it. Specifically recommended is the latest driver, and one that is as old as your graphic card. Make sure to use a driver removal utility, before installing other drivers.

Pizzi1

2010-09-11 00:06

reporter   ~0005496

Yeap i know, i have read the infolog, but my driver seems to work well and i have this crash only when RAI go in crash. In a normal multiplayer game i have not, any problems or crash with actual drivers. Anyway i will install soon as possible a better version of my nvidia driver. (version of my driver nvidia/geforce 197.13 WHQL)

hoijui

2010-09-12 18:14

reporter   ~0005504

ok.. it is still not AI related.
the only possible relation could be, that the system is under heavy load, and thus the error is more likely to appear, or possibly a memory leak.
no way to find a bug in RAI with this report though.

abma

2010-09-22 01:23

administrator   ~0005610

did you test it, are there still crashes?

Pizzi1

2010-09-22 10:50

reporter   ~0005619

Last edited: 2010-09-22 10:52

yes i have still crashes, i have just tried today, and i have this: http://www.mediafire.com/?wh4kg6dd80r561z (no nvidia problems this time)
i can reproduce it alwais, in this condition the crash is alwais sure.
i will must try in the latest night build if there is again this problem.

Now i have used BA 7.19 and 2 allied RAI on delta siege dry map.

hoijui

2010-09-22 15:13

reporter   ~0005621

you should try with current spring master.

test with this mod:
http://filebin.ca/bajatx/BA719_masterFix.sd7
(it will show up as "Balanced Annihilation sdd" in the list)

Pizzi1

2010-09-28 21:36

reporter   ~0005674

Last edited: 2010-09-28 21:38

I have tested your BA mod with a test build (Spring 0.82+.4.0 (0.82.3-706-g5f08a1e)) and i have a crash after few second at the game start.

Edit: attached

abma

2010-09-29 01:31

administrator   ~0005675

translated (@hoijui: translate-frontend now works as expected :)

http://spring-stacktrace.pastebin.com/XPaZVQKy
http://spring-stacktrace.pastebin.com/pLnRZCki

hoijui

2010-09-29 13:00

reporter   ~0005679

hey.. good work abma! :-)
thanks you two...
but as you can see.. as usual, it can not translate the SkirmihsAI.dll symbols, which would be important here :/
i downloaded the AIs debug symbols of that build manually, and tried to translate the addresses.. neither worked.
so... maybe we should try again for me to reproduce this crash.
Pizzi1, could you please upload the script.txt of such a game that crashes?

hoijui

2010-10-05 14:23

reporter   ~0005694

Pizzi1, please try to reproduce the RAI crash with this build:
http://springrts.com/dl/buildbot/default/AITransFix/0.82.3-743-g5a44363/spring_0.82.3-743-g5a44363.exe
i changes something in the engine, which i hope will give us translatable stack traces again for AIs. You would have to use the sdd version of BA again (as this is based on spring master).

hoijui

2010-10-05 17:14

reporter   ~0005696

i did a test myself (under windows), and am crashing the same way wiht RAI.
translation is not yet fully working, but it looks very promising :-).

Pizzi1

2010-10-05 20:22

reporter   ~0005697

As you requested me i have tested your BA719 fixed with spring_0.82.3-743-g5a44363, and i have a instant crash 15-20 sec after the start of every games.
http://www.mediafire.com/?f3d96wkdbp8mqq6 here infolog + script.txt

hoijui

2010-10-05 23:18

reporter   ~0005698

Last edited: 2010-10-07 00:29

thanks :-)
there is still something left to be done.. i hope that will make it usable then. will inform you on news.

hoijui

2010-10-11 15:11

reporter   ~0005716

TADAAA! (Tobi made some fixes):
P:\Games\Spring_testTransFix\AI\Skirmish\RAI\0.601\SkirmishAI.dll 0x00028652 AI/Skirmish/RAI/BuilderPlacement.cpp:64
P:\Games\Spring_testTransFix\AI\Skirmish\RAI\0.601\SkirmishAI.dll 0x0001C264 AI/Skirmish/RAI/RAI.cpp:401
P:\Games\Spring_testTransFix\AI\Skirmish\RAI\0.601\SkirmishAI.dll 0x000705B1 AI/Wrappers/LegacyCpp/AIAICallback.cpp:361
P:\Games\Spring_testTransFix\AI\Skirmish\RAI\0.601\SkirmishAI.dll(handleEvent+0xda) 0x19CD46CA ??:0
P:\Games\Spring_testTransFix\spring.exe(skirmishAiCallback_getFeaturesIn+0x68b9) 0x00A23959 ??:0
P:\Games\Spring_testTransFix\spring.exe 0x00605D4C rts/System/Util.h:62
P:\Games\Spring_testTransFix\spring.exe 0x006322E9 /usr/lib/gcc/i586-mingw32msvc/4.4.2/include/c++/ext/atomicity.h:79
P:\Games\Spring_testTransFix\spring.exe 0x0063FE8B rts/ExternalAI/EngineOutHandler.cpp:268
P:\Games\Spring_testTransFix\spring.exe 0x004BC2C9 /usr/lib/gcc/i586-mingw32msvc/4.4.2/include/c++/bits/basic_string.h:281
P:\Games\Spring_testTransFix\spring.exe 0x004B8921 rts/Sim/Units/Unit.cpp:1417
P:\Games\Spring_testTransFix\spring.exe 0x0052EF46 rts/System/float3.h:110
P:\Games\Spring_testTransFix\spring.exe 0x0048C0FF /usr/lib/gcc/i586-mingw32msvc/4.4.2/include/c++/bits/stl_tree.h:1181
P:\Games\Spring_testTransFix\spring.exe 0x0000425F /usr/lib/gcc/i586-mingw32msvc/4.4.2/include/c++/ostream:510
P:\Games\Spring_testTransFix\spring.exe 0x000491AC /slave/mingwlibs/include/boost/smart_ptr/detail/shared_count.hpp:217
P:\Games\Spring_testTransFix\spring.exe 0x00013470 /usr/lib/gcc/i586-mingw32msvc/4.4.2/include/c++/bits/basic_string.h:231
P:\Games\Spring_testTransFix\spring.exe 0x00590201 /usr/lib/gcc/i586-mingw32msvc/4.4.2/include/c++/sstream:313
P:\Games\Spring_testTransFix\spring.exe 0x0059B4EB rts/System/OffscreenGLContext.cpp:51
P:\Games\Spring_testTransFix\spring.exe 0x0059E44B rts/System/EventClient.cpp:34
P:\Games\Spring_testTransFix\spring.exe 0x007858F0 /slave/mingwlibs/include/boost/thread/win32/thread_primitives.hpp:226
P:\Games\Spring_testTransFix\spring.exe 0x00661A65 /home/robin/src/boost_1_42_0/libs/thread/src/win32/thread.cpp:367
C:\WINDOWS\system32\MSVCRT.dll(endthreadex+0xa9) 0x77C0A3B0 ??:0
C:\WINDOWS\system32\kernel32.dll(GetModuleFileNameA+0x1ba) 0x7C80B729 ??:0

hoijui

2010-11-12 15:51

reporter   ~0005860

i can not reproduce this anymore in spring master or current RC on the release branch on my windows box.
please confirm. if it still happens, give infolog please, attached as file.

abma

2010-12-25 19:59

administrator   ~0006140

see 0001927

Issue History

Date Modified Username Field Change
2010-09-10 14:16 Pizzi1 New Issue
2010-09-10 14:16 Pizzi1 File Added: Infolog + replay.zip
2010-09-10 20:07 hoijui Note Added: 0005495
2010-09-11 00:06 Pizzi1 Note Added: 0005496
2010-09-12 18:14 hoijui Note Added: 0005504
2010-09-22 01:23 abma Note Added: 0005610
2010-09-22 01:23 abma Status new => feedback
2010-09-22 10:50 Pizzi1 Note Added: 0005619
2010-09-22 10:52 Pizzi1 Note Edited: 0005619
2010-09-22 15:13 hoijui Note Added: 0005621
2010-09-28 21:36 Pizzi1 Note Added: 0005674
2010-09-28 21:37 abma File Added: infolog.txt
2010-09-28 21:37 abma File Added: infolog1.txt
2010-09-28 21:38 abma Note Edited: 0005674
2010-09-29 01:31 abma Note Added: 0005675
2010-09-29 13:00 hoijui Note Added: 0005679
2010-09-29 17:21 hoijui Project Spring engine => AI
2010-10-05 14:23 hoijui Note Added: 0005694
2010-10-05 17:14 hoijui Note Added: 0005696
2010-10-05 20:22 Pizzi1 Note Added: 0005697
2010-10-05 23:18 hoijui Note Added: 0005698
2010-10-07 00:29 hoijui Note Edited: 0005698
2010-10-11 15:11 hoijui Note Added: 0005716
2010-11-11 19:36 abma Relationship added related to 0001859
2010-11-12 15:51 hoijui Note Added: 0005860
2010-11-23 01:46 abma Project AI => Spring engine
2010-12-25 19:59 abma Note Added: 0006140
2010-12-25 19:59 abma Status feedback => closed
2010-12-25 19:59 abma Resolution open => duplicate