Code center > Bugs and fixes

Errors when starting RESOLVED (NO REPRO)

(1/6) > >>

Peter:
Ok, any time I start darwinbots 2.44t I get some errors. Bitmap attached, the upper error is the one I inmidiatly get after starting the program, the program doesn't hang or anything, the second one os the one I get after going to start simulation.

EricL:
Please post your lastexit.sim.

Peter:
Ok, posting sim. And deleting it is taking care of the problem, as I am interested where he gets the sim from it is loading now in the beginning.

It loads somehow a sim

EricL:
When you exit DB, it saves the sim it is running as lastexit.sim.

When you start DB, it loads and runs this sim from the last exit if it exists.  If it does not, it assumes you are a new user.

The lastexit.sim you posted is corrupt.  The error is occurring downstream do to bogus values in the simopts structure.  In particular, a fieldwidth of 0.

Did you have a problem exiting DB the last time before upgrading to 2.43t?  Say, did you turn off the computer before it was done or did windows reboot you overnight installing a patch?

As you have determined, deleting or renaming lastexit.sim will allow you to start and proceed without loading this corrupt save.

Unless you have some idea how the last exit sim became corrupt, this is going to be impossible to repro...

Peter:

--- Quote ---When you start DB, it loads and runs this sim from the last exit if it exists.  If it does not, it assumes you are a new user.
--- End quote ---
I know, and I know it starts IM then, but somehow it loaded a sim, and in the whole DB-save-folder there isn't a sim file(I deleted all), the sim it loaded could in fact be the last one. It was the league and I did run the league to have a idea about the bp-size.


--- Quote ---Did you have a problem exiting DB the last time before upgrading to 2.43t?  Say, did you turn off the computer before it was done or did windows reboot you overnight installing a patch?
--- End quote ---
Could been DB has shut down a few times without a reason, in fact it did shut down just. Still wondering what causes it. And no I didn't turn the computer off before it was done(could be very rare if the harddisk in just in that file cousing an error if it was), new patches aren't installed.


--- Quote ---As you have determined, deleting or renaming lastexit.sim will allow you to start and proceed without loading this corrupt save.
--- End quote ---
Yep  


--- Quote ---Unless you have some idea how the last exit sim became corrupt, this is going to be impossible to repro...
--- End quote ---
It probably has to do with one of the times(probably the last) DB shut down. This has happened more often.

Navigation

[0] Message Index

[#] Next page

Go to full version