Author Topic: Errors when starting RESOLVED (NO REPRO)  (Read 11981 times)

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Errors when starting RESOLVED (NO REPRO)
« on: November 26, 2007, 11:36:32 AM »
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.
« Last Edit: November 28, 2007, 01:07:20 PM by EricL »
Oh my god, who the hell cares.

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Errors when starting RESOLVED (NO REPRO)
« Reply #1 on: November 26, 2007, 12:02:19 PM »
Please post your lastexit.sim.
Many beers....

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Errors when starting RESOLVED (NO REPRO)
« Reply #2 on: November 26, 2007, 01:36:16 PM »
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
Oh my god, who the hell cares.

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Errors when starting RESOLVED (NO REPRO)
« Reply #3 on: November 26, 2007, 01:57:34 PM »
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...
Many beers....

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Errors when starting RESOLVED (NO REPRO)
« Reply #4 on: November 26, 2007, 02:15:19 PM »
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.
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?
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.
Yep  

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

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Errors when starting RESOLVED (NO REPRO)
« Reply #5 on: November 26, 2007, 02:34:41 PM »
I'm going to resolve this specific bug as no repro and chalk the sim corruption up to a previous crash.

But I would like to know more about the mysterious DB shutdowns you mention.  Can you open another bug with whatever details you have on that?  How long after running, exactly what do you mean by "shutdown" (I.e. is there still a process in the process list?) and is there is no error dialog? Nothing indicating a crash?  That kind of thing.  Thanks.
Many beers....

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Errors when starting RESOLVED (NO REPRO)
« Reply #6 on: November 26, 2007, 03:07:06 PM »
Somewhy, I don't even know why, I had renamed some of earlier lastexit.sim, all of them are corrupted as appears now.
Oh my god, who the hell cares.

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Errors when starting RESOLVED (NO REPRO)
« Reply #7 on: November 26, 2007, 03:15:33 PM »
Moved your post to this topic.

Post them if you want.  I'll take a look.

The lastexit.sim you posted above is truncated at bot 108.
Many beers....

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Errors when starting RESOLVED (NO REPRO)
« Reply #8 on: November 26, 2007, 03:38:34 PM »
Ok, I thought you couldn't do anything with the sims.

I deleted most of them, .I had already thrown them in the recycle bin, and before you posted, windows whined about diskspace shortage, lesser than 200mb so I'd empty the recycle bin. Ok, gotta uninstall some stuff.  

One another is left, left in the save-folder here you have it.
Oh my god, who the hell cares.

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Errors when starting RESOLVED (NO REPRO)
« Reply #9 on: November 26, 2007, 03:47:34 PM »
This one is also truncated (at bot 308 out of 2011).

If you were nearly out of disk space when you exited DB, that would explain this.  It's details like that I need to know...
Many beers....

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Errors when starting RESOLVED (NO REPRO)
« Reply #10 on: November 27, 2007, 02:32:44 PM »
Well, in fact I was getting and error, later then running DB so I  didn't knew this at the time.  

I am not completely sure about the way windows completely works, but isn't it emptying the recycling a little bin if it really needs the space(there was plenty)  , well so far I am sure I had the same error some time ago too, before the computer was completely full, and have something left like a few gigs.

Oke, I don't know what kind of details I would have to provide you further.

Well I am running windows XP SP2. Well that seems pretty common, so would that help.

Okay further specs.

Celeron 2,6 Ghz
2,59 Ghz, 192MB of Ram

Well okay not a total power computer, and yes it seriously needs ram-memory.
Oh my god, who the hell cares.

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Errors when starting RESOLVED (NO REPRO)
« Reply #11 on: November 27, 2007, 03:28:00 PM »
Quote from: Peter
I am not completely sure about the way windows completely works, but isn't it emptying the recycling a little bin if it really needs the space(there was plenty)

Windows does not do this.  You must manually empty the recycle bin to free up space.
Many beers....

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Errors when starting RESOLVED (NO REPRO)
« Reply #12 on: November 27, 2007, 03:40:50 PM »
Quote from: EricL
Quote from: Peter
I am not completely sure about the way windows completely works, but isn't it emptying the recycling a little bin if it really needs the space(there was plenty)

Windows does not do this.  You must manually empty the recycle bin to free up space.
Well, okay I did romove the files manuelly, my idea here was if windows uses hard disk space, windows is creating files that are newer and the oldere files are automated removed(as it is if you copy new files to your computer), but okay could be wrong there.

But more importent(or even more useless knowledge)  

The post you just made was the 20000 post.  

 
Oh my god, who the hell cares.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Errors when starting RESOLVED (NO REPRO)
« Reply #13 on: November 27, 2007, 03:51:11 PM »
Quote from: Peter
Celeron 2,6 Ghz
2,59 Ghz, 192MB of Ram

You have a 2.6 gig processor running with 192 Megs of Ram in XP?  That the computer will even boot boggles my mind.  I didn't even think they made processors for boards that still used 128 and 64 meg RAM cards.  A computer with 2.6 gig processor should have a minimum of 256 - 512 Megs of Ram.  Minimum.  1 - 2 Gigs ram would be optimal.  Just wow.

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Errors when starting RESOLVED (NO REPRO)
« Reply #14 on: November 27, 2007, 04:24:05 PM »
Quote from: Numsgil
Quote from: Peter
Celeron 2,6 Ghz
2,59 Ghz, 192MB of Ram

You have a 2.6 gig processor running with 192 Megs of Ram in XP?  That the computer will even boot boggles my mind.  I didn't even think they made processors for boards that still used 128 and 64 meg RAM cards.  A computer with 2.6 gig processor should have a minimum of 256 - 512 Megs of Ram.  Minimum.  1 - 2 Gigs ram would be optimal.  Just wow.
Just to say it isn't using 128MB and 64MB ram-cards, it has 256 RAM and a 64 onboard videocard.

I know it is low, maybe strange to say but it runs (exept DB) pretty stable, further then windows itself it loads a virusscanner and hamachi and opera(witch has somehow entered the bar)  .It isn't really slowing down or anything, sometimes it is, true.
All the graphic stuff of XP is also shut down, just looks like win95

As it is I know it is too less RAM and instead of the 256MB, I am going to put 1GB(2X 512), it is the maximun the motherboard can take.
Oh my god, who the hell cares.