Inventive Dingo forums Inventive Dingo forums
News:
 
*
Welcome, Guest. Please login or signup. November 21, 2024, 09:08:17 pm


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: arrayOutOfBounds crash bug  (Read 20712 times)
Kumlekar
Eats planets for breakfast
****
Posts: 140



View Profile
« 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.
Logged

What is Six Times Nine
Forty-Two!

Jp may have played mayhem before it was cool, but I play while its cool! *

* "Cool" is defined as the period of time in which Kumlekar plays a game.
Chris
Administrator
*****
Posts: 410


Developer


View Profile WWW
« Reply #1 on: March 02, 2009, 03:42:05 am »

Can you post the exact error message? The end of the log might be helpful too.
Logged
Kumlekar
Eats planets for breakfast
****
Posts: 140



View Profile
« Reply #2 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.
Logged

What is Six Times Nine
Forty-Two!

Jp may have played mayhem before it was cool, but I play while its cool! *

* "Cool" is defined as the period of time in which Kumlekar plays a game.
Chris
Administrator
*****
Posts: 410


Developer


View Profile WWW
« Reply #3 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.
Logged
Kumlekar
Eats planets for breakfast
****
Posts: 140



View Profile
« Reply #4 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.
Logged

What is Six Times Nine
Forty-Two!

Jp may have played mayhem before it was cool, but I play while its cool! *

* "Cool" is defined as the period of time in which Kumlekar plays a game.
Chris
Administrator
*****
Posts: 410


Developer


View Profile WWW
« Reply #5 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.
Logged
Kumlekar
Eats planets for breakfast
****
Posts: 140



View Profile
« Reply #6 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.
Logged

What is Six Times Nine
Forty-Two!

Jp may have played mayhem before it was cool, but I play while its cool! *

* "Cool" is defined as the period of time in which Kumlekar plays a game.
Chris
Administrator
*****
Posts: 410


Developer


View Profile WWW
« Reply #7 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.
« Last Edit: March 04, 2009, 12:15:11 am by Chris » Logged
Cankillar
Space cadet
*
Posts: 14


View Profile
« Reply #8 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.
Logged
Kumlekar
Eats planets for breakfast
****
Posts: 140



View Profile
« Reply #9 on: March 18, 2009, 12:09:10 am »

Wait, java has vectors? I have to look that up, whats the class name?
Logged

What is Six Times Nine
Forty-Two!

Jp may have played mayhem before it was cool, but I play while its cool! *

* "Cool" is defined as the period of time in which Kumlekar plays a game.
Jp
Pilot
**
Posts: 30


Yet Another Generic Information-Age User Name


View Profile WWW
« Reply #10 on: March 18, 2009, 07:47:51 am »

java.util.Vector. Wink

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

I used to play Mayhem Intergalactic before it was cool.
Chris
Administrator
*****
Posts: 410


Developer


View Profile WWW
« Reply #11 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. Smiley  (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...
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM