Inventive Dingo forums

Mayhem Intergalactic => Features & Bugs => Topic started by: Kumlekar on March 02, 2009, 02:46:42 am



Title: arrayOutOfBounds crash bug
Post by: Kumlekar on March 02, 2009, 02:46:42 am
I know minus has encountered this before when running a server ingame.  I just got the error running my dedicated server.  The server had been running for about an hour, and I did not have the game open, but the game crash error box opened up and the process closed.


Title: Re: arrayOutOfBounds crash bug
Post by: Chris on March 02, 2009, 03:42:05 am
Can you post the exact error message? The end of the log might be helpful too.


Title: Re: arrayOutOfBounds crash bug
Post by: Kumlekar on March 03, 2009, 04:53:42 am
Sorry I was stupid and didn't right down the message. This is my most recent log, but theres no sign of an error in it.  I'm wondering if it didn't save a log for some reason, it looks like this ends around the time I rebooted the game because it was stuck at the victory screen.  The error message popped up about an hour after that.

EDIT: Removed the log due to IP's being listed,  it seems to be the incorrect log anyways, even though it is my most recent one.


Title: Re: arrayOutOfBounds crash bug
Post by: Chris on March 03, 2009, 08:34:58 am
It keeps the previous 10 logs, so it should be in there somewhere as long as you haven't restarted either the dedicated server or the client more than 10 times since the error. See if any of the logs report an error at their end.


Title: Re: arrayOutOfBounds crash bug
Post by: Kumlekar on March 03, 2009, 08:58:16 am
I know, I'm looking at log 9, I'll PM it to you, but its definatly the wrong log.  It starts on the 28th and goes to the second.  The error happened after i restarted on the second.  Log 8 is from the 28th, and there is no log 10.


Title: Re: arrayOutOfBounds crash bug
Post by: Chris on March 03, 2009, 09:00:30 am
Remember that the numbers wrap around, so e.g. mayhem1.log could be newer. Look at the dates in each one.


Title: Re: arrayOutOfBounds crash bug
Post by: Kumlekar on March 03, 2009, 04:58:06 pm
Ok, then log1 must be the correct one.   No date in it though.  The other logs are also crash bugs, but crashes on startup which i get sporadically, and it always works the second time I run it.


Title: Re: arrayOutOfBounds crash bug
Post by: Chris on March 03, 2009, 11:38:40 pm
Thanks for sending me the logs, I'll look into them.

I think it's actually logs 4 and 5, and now that I look carefully they do actually have the full error messages in them, so those should be fixable.


Title: Re: arrayOutOfBounds crash bug
Post by: Cankillar on March 17, 2009, 07:25:19 pm
Gosh danged arrays, I hate them.  (my only experience is Java [not a real language LAWL] and once I found an array class that expands I only used that.


Title: Re: arrayOutOfBounds crash bug
Post by: Kumlekar on March 18, 2009, 12:09:10 am
Wait, java has vectors? I have to look that up, whats the class name?


Title: Re: arrayOutOfBounds crash bug
Post by: Jp on March 18, 2009, 07:47:51 am
java.util.Vector. ;)

Also, java.util.ArrayList, which does basically the same thing. There's a lot of redundancy in the Java API


Title: Re: arrayOutOfBounds crash bug
Post by: Chris on March 18, 2009, 09:47:30 am
D has dynamic arrays (same thing as "vectors") built in to the language, which is really nice. :)  (It has C-like static arrays and associative arrays too. Associative arrays are sometimes called "maps".)

There's a lot of redundancy in the Java API

Tell me about it...