Darwinbots Forum

Code center => Bugs and fixes => Bug reports => Topic started by: Testlund on April 23, 2006, 06:09:03 PM

Title: Error overflow in 2.42.2
Post by: Testlund on April 23, 2006, 06:09:03 PM
Suddenly when I was running a sim I got an error message saying 'Error. Overflow. Saving file as error.sim.' Maybe you can find the cause in the error.sim file.
Title: Error overflow in 2.42.2
Post by: EricL on April 23, 2006, 11:08:02 PM
I'm running the sim now, but so far it hasn't crashed.   Could be non-deterministic.  I've fixed a devide by zero bug since 2.42.2, but no overflows so this is probably a new crash.  I'll let it run overnight and see if I can reproduce it.
Title: Error overflow in 2.42.2
Post by: PurpleYouko on April 24, 2006, 08:53:47 AM
Quote
There are 11 kinds of people in the world, those who understand binary, those who don't and Erwin Schrodenger.
Would that be kinds in the biblical sense? And if so, who let Erwin Shrodenger onto the ark?
Title: Error overflow in 2.42.2
Post by: Testlund on April 24, 2006, 10:41:04 AM
Quote from: EricL
I'm running the sim now, but so far it hasn't crashed.   Could be non-deterministic.  I've fixed a devide by zero bug since 2.42.2, but no overflows so this is probably a new crash.  I'll let it run overnight and see if I can reproduce it.

It's a rare bug. This was the first time it happend to me in this version, but everytime I loaded this save or the save I had previously it kept crashing the same, just within seconds. I decided to start over with a new sim.
Title: Error overflow in 2.42.2
Post by: Numsgil on April 24, 2006, 10:44:17 AM
Sounds like Eric's fixed it then.  You just need to wait for the next release.
Title: Error overflow in 2.42.2
Post by: EricL on April 24, 2006, 10:48:05 AM
Quote from: Numsgil
Sounds like Eric's fixed it then.  You just need to wait for the next release.
Maybe.  Ran it all night it with no crash....
Title: Error overflow in 2.42.2
Post by: EricL on April 24, 2006, 10:19:13 PM
I think I may have caught this, or at least I caught an overflow crash that might be it, though I caught it in  a different sim.  A temporary local Integer varable (totslime) could overflow when the slime from two very slimy bots was shared in shareslime().  Fixed in 2.42.3.  See #15 here (http://www.darwinbots.com/Forum/index.php?showtopic=1240).

Quote from: PurpleYouko
Would that be kinds in the biblical sense?
I wouldn't know.  Mostly I've been into non-fiction lately.  

Quote from: PurpleYouko
And if so, who let Erwin Shrodenger onto the ark?

He was probably both there and not there, only nobody looked for him so the probability wave never collasped...
Title: Error overflow in 2.42.2
Post by: PurpleYouko on April 25, 2006, 09:54:39 AM
Probably a good job they didn't keep their cats in a box then. Otherwise we might be out by one feline "kind"