Darwinbots Forum

Code center => Bugs and fixes => Topic started by: Blacksmith on January 21, 2008, 07:43:31 PM

Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: Blacksmith on January 21, 2008, 07:43:31 PM
When running a Sim (any sim) I can randomly get a runtime 76 error, I think this may happen during autosave, although it can happen in sims with no autosave and no error.sim is created. For the purposes of this thread I did a sim, it was a zerobot vegtable simulation. I am using DB 2.43. Note: im pretty sure it isnt an error in the bot since I have had it with several default bots.
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: EricL on January 21, 2008, 08:42:34 PM
There have been a very large number of changes since 2.43 adn it is likly this has already been fixed.

Let me know if this reproduces on current builds.
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: Blacksmith on January 21, 2008, 10:37:08 PM
tried on 2.43z runtime error 76 happened straight away. didnt have a sim loaded, did not crash but was unable to do anything except quit using the X, quit dialog did not display. btw the error also says path not found, this also happened in 2.43
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: EricL on January 22, 2008, 12:35:29 AM
Okay, thanks.  I'll take a look.
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: EricL on January 22, 2008, 11:19:18 AM
I ran your sim overnight without problem.  Do you perhaps have one or more zombie darwinbot.exe processes still running left over from your 2.43 crash?  The path not found error may be an attempt to load lastexit.sim on DB startup.  If could be locked by another DB process.

FYI, in 2.43.1, the user is now prompted as to whether they want to load lastexit.sim at startup.
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: Blacksmith on January 22, 2008, 04:03:09 PM
Quote from: EricL
I ran your sim overnight without problem.  Do you perhaps have one or more zombie darwinbot.exe processes still running left over from your 2.43 crash?  The path not found error may be an attempt to load lastexit.sim on DB startup.  If could be locked by another DB process.

FYI, in 2.43.1, the user is now prompted as to whether they want to load lastexit.sim at startup.
Well the error started happening after several non error sims, and now usally happens with all sims, so at somepoint I must have done a bad save or something, loaded bad bot etc. is 2.43.1 different from 2.43.z, if so I shall give it a go. I was thinking that if I reinstalled DB it might be fixed?
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: EricL on January 22, 2008, 04:20:24 PM
First try deleting or renaming saves\lastexit.sim and settings\lastexit.set and then restarting DB.  USe the task manager to make sure there are no other running instances of DB first.  

If this addresses the problem, please post those files.  Thanks.
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: Blacksmith on January 22, 2008, 07:43:50 PM
deleted lastext.set, was no lastexit.sim however errors still occured.
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: EricL on January 22, 2008, 08:05:54 PM
Quote from: Blacksmith
deleted lastext.set, was no lastexit.sim however errors still occured.
This means you have never successfully exited a post 2.43 version....

Try deleting settings/default.set...
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: Blacksmith on January 22, 2008, 08:08:56 PM
Quote from: EricL
Quote from: Blacksmith
deleted lastext.set, was no lastexit.sim however errors still occured.
This means you have never successfully exited a post 2.43 version....

Try deleting settings/default.set...
I think I have exited 2.43 itslef at least once, but im not sure, and the settings folder that was in was 2.43
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: EricL on January 22, 2008, 08:16:03 PM
2.43 does not save a lastexit.sim.  Post 2.43 versions do.
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: Blacksmith on January 22, 2008, 08:20:04 PM
deleted default.set, still getting error in 2.43z how ever error has not yet been produced in 2.43
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: EricL on January 22, 2008, 09:59:08 PM
Can you tell me at exactly what point in time the error occurs using 2.43z?  During startup, before or after the bots appear, etc.   Can you perhaps post a screeen shot of the error dialog?  Thanks.
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: Blacksmith on January 22, 2008, 10:15:27 PM
error not recreated in 2.43 in 2.43z I open the prgram, says the is no settings file, I click ok and the error appears, I click ok and the program is unable to execute any commands. ie I can open the file menu and click on new simulation and nothing will happen.
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: EricL on January 22, 2008, 10:43:36 PM
Okay, gettign closer.  Sorry to keep asking questions, but unlike most bugs, this is hard to track down with your specific environment.

Try this.  Rename the intsett.ini file in the main directory of your DB install and try starting 2.43z.
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: Blacksmith on January 22, 2008, 11:12:16 PM
still happening.
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: EricL on January 23, 2008, 01:14:34 AM
It may related to the auto-internet mode for first time start up.  Here's another idea.  Try taking a sim - any sim - and naming it lastexit.sim and placing it in the saves directory....
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: Blacksmith on January 23, 2008, 02:26:16 AM
tried and failed, also tried taking the last exit.set from 2.43 and copying it into 2.43z started it, setting dialog did not show as per expectations , although error still occured.
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: EricL on January 23, 2008, 10:15:12 AM
I don't know what to tell you.  Since you are the only one seeing this and I can't reproduce it on my machine, it is no doubt specific to your install - something to do with your directory set up or the crash in 2.43 messign up 2.43z.  It's probably a real bug to be sure, but not one I am likely to find without more information.  Anything else you can tell me would be appreciated.
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: Blacksmith on January 23, 2008, 03:00:49 PM
hey, I just got the runtime error again, in 2.43, but instead of it being purely random, its during an auto save. also sometimes when starting a new sim (after at least one other in the session) the program cannot find a bot file, .
I shall reinstall
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: fulizer on January 25, 2008, 11:49:08 AM
this is happenening to me too
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: Blacksmith on January 25, 2008, 02:45:25 PM
you may have to reinstall, also check you installed properly, I think I acidentely added one folder to many. *when you reinstall your custom bots wont idsapear. Also which version are you getting it in. and which arror exactly, for me I had two error, they were the same but occured at different times.
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: EricL on February 05, 2008, 11:56:29 AM
Resolved no repro.  I can do nothing further on this bug without more info and re-installing appears to have addressed the issue.  Please re-open if it occurs again.
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: fulizer on March 11, 2008, 09:46:29 AM
this happens to me still I get it a bit after I start it and then it just closes itself this is even happening in 2.43! I cannot use any versions of the software until this is fixed.
as for now ill use a older version.
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: EricL on March 11, 2008, 10:42:51 AM
Quote from: fulizer
this happens to me still I get it a bit after I start it and then it just closes itself this is even happening in 2.43! I cannot use any versions of the software until this is fixed.
as for now ill use a older version.
It just closes itself without giving you an error?  If so, this should be posted as a new bug.   Have you re-run the installer?
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: fulizer on March 14, 2008, 09:36:55 AM
no it gives be the error then when I click on ok it closes itself but otherwis yes.
I have tried most other methods here
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: Numsgil on March 14, 2008, 12:59:25 PM
What does the error say?
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: fulizer on March 17, 2008, 09:47:16 AM
STUPID THING!!!
sorry a bit after I posted it it started working again for no reason!!!!
Title: Rumtime Error 76 RESOLVED (NO REPRO)
Post by: Numsgil on March 17, 2008, 04:14:26 PM
Ah, the elusive Heisenbug.