Darwinbots Forum
Code center => Bugs and fixes => Topic started by: shvarz on December 08, 2006, 02:52:05 PM
-
I'm quite impressed on how stable the latest version is. I've been running it for millions of cycles without crashes. Just got my first random crash with "overflow". I tried to attach the sim to this post, but it does not work - I get timeout errors. So I put them on the server. I had an autosave and saved every hour - the previous two saves are also messed up and give me overflow within 5-10 minutes after loading.
The links are:
http://www.darwinbots.com/shvarz/error.sim (http://www.darwinbots.com/shvarz/error.sim)
http://www.darwinbots.com/shvarz/zerobot3.sim (http://www.darwinbots.com/shvarz/zerobot3.sim)
http://www.darwinbots.com/shvarz/zerobot4.sim (http://www.darwinbots.com/shvarz/zerobot4.sim)
Hope you can figure out what went wrong.
-
Found it. A bot is trying to make a huge amount of poison and the poison cost is very small. The code performs an unprotected assignment of nrg/cost to a mem location, overflowing the integer based mem array. This bug is duplicated in the routines for making venom and other substances.
You have found a whole new pile of bugs! I'll be fixing the lot in 2.42.9L which I will release in an hour or so so you can continue with your sim.
Hope that makes up for making negative memory values work and killing your other bot...
-
Try this
2.42.9L Buddy Drop Download (http://www.darwinbots.com/FTP/Darwin2.42.9L.zip)
and tell me if your sim works okay. Thanks.
-
Maybe that's what I got too right now. I've been running version 2.43.9j on my old computer, very stable, but now it crashed. So maybe this drop is worth a try. I'll be back.