Code center > Bug reports
Overflow error RESOLVED 2.43t
EricL:
I ran this overnight without a crash. I'll run it over the long US holiday weekend (Thanksgiving). This time, I'll wire up the teleporters. That is one thing I havn't duplicated. I suspect that maybe one reason I can't reproduce it has to do with teleporters and the multi-sim topology your running. Can you tell me a few words about the number of sims you run and how they are connected and post the other sims? Thanks.
Testlund:
It could very well be related to IM, I just couldn't remember if the crashes started to appear before I switched on IM, but I know I got constant crashes in IM every 1-3 hours interval, same overflow error. I'm going to start a new sim, same evobots and run it over night, no IM first to see how it goes. Going to try some different approaches, 1 instance, then 2 instances to see if I can get an idea about the cause.
EricL:
I caught this over the weekend by running Testlund's sim under the IDE. Took several days.
One of Testlund's evolved bots has become a multibot and is attempting to set a tie to a length of 31991. An unprotected temporary integer varible overflows when I add this value to the radii of the two bots the tie is connecting.
Testlund, this a very very nice bug. Well done. You have to be a big bot, tied to another big bot, setting the tie length to something just shy of the 32000 limit for this to happen. It's no wonder it's nondeterministic. Probably only possible now that we allow bots with larger radius ranges than we did previously. Hard to find, but easy to fix.
Fixed in 2.43t.
Testlund:
Ok, how weird! The poor fella was struggling to become a multibot and the program wouldn't let him. I'm gonna check it out right away, if I can just figure out where he might be hiding. Strange though in which way this is occuring. When I was running in internet mode with two instances (two different sims and species) I got this frequently crash, but when running with just one instance it was running much longer. Glad you found it.
Testlund:
Guess what? It only took about half an hour for me to get the overflow error! Maybe this bot thrives a little better on my computer
I'm thinking that once you post 2.43t I should be able to load this error.sim file and the bot can then become the multibot it wants.
Navigation
[0] Message Index
[*] Previous page
Go to full version