Program crash after 20-30 minutes' usage on running server
DavidGregory084 opened this issue · 10 comments
The controller works but after about 20 to 30 minutes it will lock up and I have to control alt delete to restart it. I do have java 7 and it does work..I'm just can't figure out why it locks up. Let me know if you have any thoughts.
-- Logan, Warbirds of Prey forum
Some more info from Logan:
When I start this one map it will work fine for about 5 minutes then the server start to throw errors up about different objects. As the errors scroll by the Daemond locks up. The memory usage stays around 50 to 60K. Now the other two maps I'm testing stay at or about 92k and the Daemon works fine, a few errors about missing a head 3 D0 and things like that but not like the one map. When it does lock up it still works and rotates the maps you just can click on anything or bring it up out of the task bar if it was restored down. I started testing today without the trouble map in rotation and it seems to be running well.
Here is some of what I get in the window:
java.util.NoSuchElementException
at java.util.StringTokenizer.nextToken(Unknown Source)
at com.maddox.il2.fm.Polares.loadMachParams(Polares.java:789)
at com.maddox.il2.fm.FlightModelMain.load(FlightModelMain.java:458)
at com.maddox.il2.fm.FlightModelMain.(FlightModelMain.java:719)
at com.maddox.il2.fm.FlightModel.(FlightModel.java:114)
at com.maddox.il2.fm.AIFlightModel.(AIFlightModel.java:29)
at com.maddox.il2.ai.air.Maneuver.(Maneuver.java:652)
at com.maddox.il2.ai.air.Pilot.(Pilot.java:125)
at com.maddox.il2.objects.air.Aircraft.setFM(Aircraft.java:2262)
at com.maddox.il2.objects.air.Aircraft.setFM(Aircraft.java:2253)
at com.maddox.il2.objects.air.Aircraft.load(Aircraft.java:2764)
at com.maddox.il2.game.Mission.loadAir(Mission.java:1732)
at com.maddox.il2.ai.Wing.load(Wing.java:148)
at com.maddox.il2.game.Mission$TimeOutWing.start(Mission.java:239)
at com.maddox.il2.game.Mission$1.doAction(Mission.java:1413)
at com.maddox.rts.MsgAction.invokeListener(MsgAction.java:152)
at com.maddox.rts.Message._send(Message.java:1217)
at com.maddox.rts.Message.sendToObject(Message.java:1191)
at com.maddox.rts.Message.sendTo(Message.java:1134)
at com.maddox.rts.Message.trySend(Message.java:1115)
at com.maddox.rts.Time.loopMessages(Time.java:252)
at com.maddox.rts.RTSConf.loopMsgs(RTSConf.java:101)
at com.maddox.il2.game.DServer.loopApp(DServer.java:183)
at com.maddox.il2.game.Main.exec(Main.java:439)
at com.maddox.il2.game.DServer.main(DServer.java:436)
java.util.NoSuchElementException
at java.util.StringTokenizer.nextToken(Unknown Source)
at com.maddox.il2.fm.Polares.loadMachParams(Polares.java:789)
at com.maddox.il2.fm.FlightModelMain.load(FlightModelMain.java:458)
at com.maddox.il2.fm.FlightModelMain.(FlightModelMain.java:719)
at com.maddox.il2.fm.FlightModel.(FlightModel.java:114)
at com.maddox.il2.fm.AIFlightModel.(AIFlightModel.java:29)
at com.maddox.il2.ai.air.Maneuver.(Maneuver.java:652)
at com.maddox.il2.ai.air.Pilot.(Pilot.java:125)
at com.maddox.il2.objects.air.Aircraft.setFM(Aircraft.java:2262)
at com.maddox.il2.objects.air.Aircraft.setFM(Aircraft.java:2253)
at com.maddox.il2.objects.air.Aircraft.load(Aircraft.java:2764)
at com.maddox.il2.game.Mission.loadAir(Mission.java:1732)
at com.maddox.il2.ai.Wing.load(Wing.java:148)
at com.maddox.il2.game.Mission$TimeOutWing.start(Mission.java:239)
at com.maddox.il2.game.Mission$1.doAction(Mission.java:1413)
at com.maddox.rts.MsgAction.invokeListener(MsgAction.java:152)
at com.maddox.rts.Message._send(Message.java:1217)
at com.maddox.rts.Message.sendToObject(Message.java:1191)
at com.maddox.rts.Message.sendTo(Message.java:1134)
at com.maddox.rts.Message.trySend(Message.java:1115)
at com.maddox.rts.Time.loopMessages(Time.java:252)
at com.maddox.rts.RTSConf.loopMsgs(RTSConf.java:101)
at com.maddox.il2.game.DServer.loopApp(DServer.java:183)
at com.maddox.il2.game.Main.exec(Main.java:439)
at com.maddox.il2.game.DServer.main(DServer.java:436)
INTERNAL ERROR: HierMesh: Can't find chunk 'RADL12_D0'
INTERNAL ERROR: HierMesh: Can't find chunk 'RADR12_D0'
INTERNAL ERROR: HierMesh: Can't find chunk 'RADL12_D0'
INTERNAL ERROR: HierMesh: Can't find chunk 'RADR12_D0'
INTERNAL ERROR: HierMesh: Can't find chunk 'Head3_D0'
INTERNAL ERROR: HierMesh: Can't find chunk 'Head2_D0'
INTERNAL ERROR: HierMesh: Can't find chunk 'Head4_D0'
INTERNAL ERROR: HierMesh: Can't find chunk 'Head5_D0'
INTERNAL ERROR: HierMesh: Can't find chunk 'Head6_D0'
INTERNAL ERROR: HierMesh: Can't find chunk 'Head7_D0'
Installing HSFX 7.02 on my test box to examine the problem mission in debug.
Testing, Scrollback seems to work with this problem mission (half an hour and no lock ups). Input buffers still locked up after about five minutes.
I will let it run to see what happens. Post back here later.
After running the mission in question and watching the error output, I can see how the sheer quantity of messages in one TextArea could become too much for the JavaFX runtime. It seems like this is solved by 751fe19, so unless anything else comes up I'm going to close this and release a hotfix patch release tomorrow evening.
I agree. The limit seems to have fixed it. It is still running with no
further problems. Thanks for the help on this.
On May 6, 2014 8:53 PM, "David Gregory" notifications@github.com wrote:
After running the mission in question and watching the error output, I can
see how the sheer quantity of messages in one TextArea could become too
much for the JavaFX runtime on a box with 1GB RAM. It seems like this is
solved by 751fe19751fe19,
so unless anything else comes up I'm going to close this and release a
hotfix patch release tomorrow evening.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-42377916
.
No problem, 0.2.1 will be released this evening then, thanks for your help in diagnosing the bug!
More than 18 hours and its still running bug free. Good job!
Great. posted this to WOP just an idea if you could make it run with a
program like this it might help with the whole stats thing.
"Update, After a few test installs versions and emails back and forth
Grunch was able to squash the lock up bug for me. I've had the server
running for about 20 hours with no problems. A very nice program just start
it, configure it to point at your server, load the maps, settings and let
it run. As I said before just what I was looking for. Chat control from in
game would be a plus but as it is it works just fine.
@ Grunch, I remember a program called IL2 stats I used back in the day.
Could you intergrate the Daemond with that?
http://www.acebus.com/uslg/parser/ This one, if I remember right seemed to
work well."
One thing I did like about FBDJ is the pilot tab. I could log into my
server box and see who was there online. Chat control would be number one
request in later builds from me but the pilot tab although not needed, is
nice too.
Keep up the good work!
Tim
On Wed, May 7, 2014 at 3:03 AM, David Gregory notifications@github.comwrote:
No problem, 0.2.1 will be released this evening then, thanks for your help
in diagnosing the bug!—
Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-42395664
.
Thanks for the help on this, Tim. I'm working on pilot management next, so that should be coming up pretty soon. After that, it's chat commands, which I might possibly make configurable.