Page 81 of 95
Posted: 04 Dec 2007, 21:53
by AF
*_*
That was a generic AI development statement not a command.
Posted: 07 Dec 2007, 16:05
by AF
I fixed a mutex error last night. I couldnt recreate the issue after my commit though, which might be because the nvidia TDR crash came back with a vengeance, but the small changes where much needed anyway.
I'm also thinking I'll change the version number to XE10 and leave lua to XE11 rather than the perpetual curve that converges on but never reaches the 10 (2032 XE9.999999999993 released!).
Posted: 12 Dec 2007, 14:12
by DJ
I don't seem to be able to build anymore following the recent changes. I'm getting problems with the TDFParser. This maybe to do with the SDK stuff being removed....
Posted: 12 Dec 2007, 20:13
by AF
the sdk stuff was all commented out a while ago. It's nothing you cant already find in a spring svn checkout.
Posted: 15 Dec 2007, 05:57
by AF
Testing my P.U.R.E config gave an error. Some more testing identified the plan system as the culprit so i did some changes and now its running past the hour mark in my last test (and counting, it has 7 cheat spawned krogoths to beat (xta))
Posted: 15 Dec 2007, 06:19
by AF
Posted: 17 Dec 2007, 10:14
by DJ
tested this, still got a crash about 30 minutes in.
I still can't build from SVN although I haven't tried that hard. I believe the namespace changes maybe the problem
Posted: 17 Dec 2007, 10:58
by AF
The namespaces changes should not be an issue when building, otherwise neither I nor buildbot would be able to build. Namespaces would cause crashes at compiletime not runtime.
Check you have completely removed the spring headers I originally copied into the SDK folder.
Re: NTai XE9.79B2 pre-release
Posted: 29 Dec 2007, 13:02
by McLoud
Well, in the profiler/debugger issue, you can try to use kdevelop. It can debug c++ code, for linux and windows (under cygwin). It has a VS-ish look, so it may not be that hard (I didn't tried, I didn't use C/C++ in a looooong time)
kdevelop.org
Re: NTai XE9.79B2 pre-release
Posted: 29 Dec 2007, 22:15
by AF
I don't have any linux installs capable of running spring atm nm being booted.
Anyway the debugger issue seems to be gone, but a profiler would indeed be useful.
Re: NTai XE9.79B2 pre-release
Posted: 10 Jan 2008, 15:41
by AF
Re: NTai XE9.8 experimental for 0.76b1
Posted: 10 Jan 2008, 16:37
by DJ
Thanks for releasing this. As expected I guess the crash bug still remains. I've never seen it run my BA config for a full game without crashing so hopefully when you get sometime and a dev environment you should be able to run in debug mode and catch the cause.
Coincidently I tried IK's XTA config and got a crash at a similar time as well.
Re: NTai XE9.8 experimental for 0.76b1
Posted: 10 Jan 2008, 16:46
by AF
Thats likely to be the crashbug which involved simframes in an infinite recursion. That bug was in spring not NTai and was fixed before release.
The error with the mutex no longer applies as there is no longer an array of builders to track so the mutex was removed. You have to be specific that the bug your having occurs within the latest release available otherwise you're opening a huge can of worms that could lead to a year of confusion where my attempt to isolate a bug may introduce much worse and more numerous bugs when infact the bug was already fixed when work began.
NTai bug reports in general are incredibly inconsistent in that most bugs are reported in versions that arent the latest cutting edge versions available. So please retest with this build, if it wasnt tested and verified to still occur in this build then I dont want to hear about it, its probably a spring svn bug that got fixed weeks ago or something I fixed myself before christmas.
Re: NTai XE9.8 experimental for 0.76b1
Posted: 10 Jan 2008, 16:53
by DJ
OK this bug is in NTai XE9.8 experimental for 0.76b1 (the latest version i have). It's very difficult to report bug for an AI effectively. The crash happens randomy some 20 minutes into the game...
Re: NTai XE9.8 experimental for 0.76b1
Posted: 10 Jan 2008, 17:06
by AF
You should be able to get a stacktrace that buildbot can translate. If not, try again with the 24MB unstripped NTai.dll here:
http://www.darkstars.co.uk/temp/NTai.dll (giant 24MB version)
Re: NTai XE9.8 experimental for 0.76b1
Posted: 10 Jan 2008, 17:17
by Tobi
buildbot can't translate AI DLL stacktraces yet, I've just made it store debugging info but someone needs to change the PHP script.
viewtopic.php?f=12&t=13148
Re: NTai XE9.8 experimental for 0.76b1
Posted: 10 Jan 2008, 19:05
by DJ
Code: Select all
(0) C:\WINDOWS\system32\msvcrt.dll(__unguarded_readlc_active_add_func+0x3ce) [0x77C33509]
(1) C:\WINDOWS\system32\msvcrt.dll(__unguarded_readlc_active_add_func+0xae0) [0x77C33C1B]
(2) C:\WINDOWS\system32\msvcrt.dll(setlocale+0x2f) [0x77C33C60]
(3) D:\spring0_76b1\Spring\AI\Bot-libs\NTai.dll [0x6B7403A5]
(4) D:\spring0_76b1\Spring\AI\Bot-libs\NTai.dll [0x6B6D64FA]
(5) D:\spring0_76b1\Spring\AI\Bot-libs\NTai.dll [0x6B6FB148]
(6) D:\spring0_76b1\Spring\AI\Bot-libs\NTai.dll [0x6B6BB2F0]
(7) D:\spring0_76b1\Spring\AI\Bot-libs\NTai.dll [0x6B6673E3]
(8) D:\spring0_76b1\Spring\AI\Bot-libs\NTai.dll [0x6B6B943C]
(9) D:\spring0_76b1\Spring\AI\Bot-libs\NTai.dll [0x6B6C5466]
(10) D:\spring0_76b1\Spring\AI\Bot-libs\NTai.dll [0x6B6BC423]
(11) D:\spring0_76b1\Spring\AI\Bot-libs\NTai.dll [0x6B6C5466]
(12) D:\spring0_76b1\Spring\AI\Bot-libs\NTai.dll [0x6B6A83B0]
(13) C:\WINDOWS\system32\msvcrt.dll(endthreadex+0xa9) [0x77C3A3B0]
(14) C:\WINDOWS\system32\kernel32.dll(GetModuleFileNameA+0x1b4) [0x7C80B683]
-crash stack trace for when the php is updated
Re: NTai XE9.8 experimental for 0.76b1
Posted: 10 Jan 2008, 19:12
by AF
I've just made it store debugging info but someone needs to change the PHP script.
svn builds are already incompatible, so these new builds with debugging info would not work with 0.76b1. You will need to compile the AI yourself DJ and use a debugger. I would suggest that you use codeblocks rather than netbeans due to the debugging support. There should be an existing codeblocks project, it would require the removal and addition of various files though which would become obvious as you tried to compile.
Tobi is there any way of making buildbot build AIs twice against both the current tagged release and svn spring? Or any ideas on automating AI builds? If possible I'd like to be able to invoke an svn update followed by a build on my server on the odd occasion but I'm unsure how to go about doing that without starting a full spring compile which would take ages and likely get me into trouble.
Re: NTai XE9.8 experimental for 0.76b1
Posted: 10 Jan 2008, 22:31
by Tobi
Should be possible yeah by making it checkout tags/spring_0.76b1 and switching AI subdir to trunk/AI.
No clue if that can be done properly in buildbot or whether it needs an extra buildstep that manually does the svn switch (if needed). (I guess the latter)
Possibly I look at it sometime.
If you want to do it yourself, a scons configure followed by scons GlobalAI shouldn't build Spring but just AIs (or even scons NTai if you want just NTai builds). You will need all build dependencies tho or need to hack the configure to skip (a lot of) them.
Re: NTai XE9.8 experimental for 0.76b1
Posted: 11 Jan 2008, 10:02
by DJ
I've not got time to get into all that, I just had a couple of hours spare the other day so thought i'd have a look.
Best of luck with getting this working but I'm afraid other than bug reports I can't be of more help than that.