Code center > Bugs and fixes

Large sim won't load

(1/3) > >>

Sprotiel:
I have a (very) large sim which I can't load, no matter what I do. I've tried to strip the mutation details, successfully I believe since it works for other files, but the resulting file won't load either, with DB giving the same error message it gives for the full file: "blablabla Invalid property value DarwinBots 380 0".

I'm adding both files, in case my procedure is incorrect.

PS: Seeing the trouble I had to upload the small one, I won't upload the large file here.

EricL:
You sim file is corrupt.  Why, I'm not sure.

The invalid property errror is beacase the field size is 0x0.  But the root problem happened long before that when reading in the sim file.  A whole bunch of stuff is zero including a bunch of the bots (there are 2508 bots in the file.  The first few look okay but by the time it gets to the last, they are all zero.)

What's strange is that the file goes all 0's.  It's not truncated, it's 0'ed out.  You didn't load it into an editior or anything did you?  

Have you had any file systems issues?  Did you defrag overnight or anything?  Are you running FAT or NTFS?

I'm not sure how far I will get with the sim file.  There could be a bug on writing sim files, reading sim files or it could be something outside DB that messed with the file.  I'll do some more digging and let you know if I find anything...

EricL:
Hey, is it possible that a bot in your sim has >32000 mutations?

EricL:
The problem is with the mutation details in bot 2319.  The length of the mutation details is negative, which is an old old bug back when the program didn't allow more than 16k worth of mutation strings (about 300 mutations).

Did this sim originate in an older version of DB like 2.37.6?  Was it ever saved with an older version?

Sprotiel:

--- Quote from: EricL ---The problem is with the mutation details in bot 2319.  The length of the mutation details is negative, which is an old old bug back when the program didn't allow more than 16k worth of mutation strings (about 300 mutations).

Did this sim originate in an older version of DB like 2.37.6?  Was it ever saved with an older version?
--- End quote ---
The sim was always run with 2.42.9t. I edited it to remove the mutations details, making sure that DB would read it correctly. I'm quite sure I didn't introduce a negative length.

Navigation

[0] Message Index

[#] Next page

Go to full version