Is demo file attached at first post for development version of Spring? PS. Worked anyway for release version. PSS. I liked the idea how you distributed different types of factory per each AI in a same team as starting factory.
Last edited by slogic on 11 Jul 2010, 12:04, edited 2 times in total.
Nothing was logged in BAI/0.1/logs/ or BAI/0.1/logs/archive/ ? If you are not on windows you might need to provide write permission to the following directories:
Hmm, now that's a nasty crash :) Is there a "hs_err_pid*.log" file in the Spring folder? Looks like atleast the Java code runs before it crashes, so that's something :) (based on the BAI output log). Never seen that happen tho: (0) C:\Program Files\Java\jre6\bin\java.dll(JNU_CallStaticMethodByName+0x1f) [0x6D334E46]
Not sure how to debug that, looks like Java code (trying) to be called from native, or? No idea XD Mayby hoijui has an idea :)
Otherwise, need to somehow figure out where in the Java code exactly it fails, could add debug stuff and recompile and run The output log already gives an indication where it crashes possibly :)
Hmm, what Java version are you running? (javapath/bin/java.exe -version). This is a clean Spring install?
There's no hs_err_pid*.log file in the Spring folder.
It's not a clean install in that I've run it for some time and added lots of mod and maps. But no, I'm not running it off the Kernel Panic install or anything like that. (KP is in a separate install path) Anyway, trying a clean install and seeing what works.
Command Prompt: anywhere\>java -version
java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
EDIT: from clean install generates the same error.
sounds like the AI was not compiled for the Java AI Interface version you are using. Or at least that is the most likely reason (and the only one i could think of right now).
sounds like the AI was not compiled for the Java AI Interface version you are using. Or at least that is the most likely reason (and the only one i could think of right now).
Hmmm.. He used the ai from the BAI.zip Petah made for him if I understand well.. I've tested thatone against the same Spring version as he used (based on the infolog = latest release), and it works fine. Also I think Petah would have used the latest release Spring So I don't think it's a version mismatch.
But it does have me stumped :) That method isn't called from your C code, so it's something Java does itself I guess, and there's no (C++) stacktrace either. Mayby it's a problem with the threading model BAI uses, but dunno, still a freaky crash then :) Mayby it's just some memory/pointer corruption thing? I noticed my (release, forgot for pureint) Spring always crashes when I exit after running a Java AI, mayby there's a wrong pointer or so somewhere :)
But I really don't know, it's weird Mayby we need more testers, see if it happens for more people :D
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum