Go Down

Topic: Arduino.exe keeps crashing (Read 779 times) previous topic - next topic

CodeCruncher

Tried several different versions of arduino.exe but they all exhibit the same behaviour. It opens up fine and I click "new" which creates a basic setup and loop, but the moment I hit verify or upload it crashes without fail.

Because there is no real code I don't think the problem is associated with the "new" code. BTW I'm running Windows 7 64bit.

Any thoughts or suggestions would be most welcome.

ballscrewbob

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

CodeCruncher

Thanks for your prompt response Ballscrewbob. I followed the instructions and manually picked through the registry looking for any signs of arduino, and deleted everything to no avail.

I did however find a solution to the problem... It seems that the extracted zip file is fussy where it is run from. I was running arduino.exe from the downloads folder since there doesn't appear to be an installer, an it works fine from there as long as you don't try verify or upload.

Figuring it might be trying to use typical Windows paths I moved the whole folder to C:\Program Files (x86) and ran it again. No errors and it verified and uploaded fine.

I did notice though it takes an extremely long to time to either verify or upload. Something like 5+ minutes just to verify a blank "new" file.

Since the verification is taking place on my laptop shouldn't this take fractions of a second?

ballscrewbob

Slow uploads and compiles are usually related to antivirus / antimalware issues.

Which is a good thing as it means they are doing thier job.

However you can add the Arduino locations to the excluded / white lists in those programs and it often helps.

BUT before you do that ensure you have a clean machine to start with.
Last thing you want to do is leave things open to risk if you are prone to wandering nefarious web sites or use borrowed software whilst playing with programming software as well.
It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

CodeCruncher

Thanks for the tip. CCleaner wasn't the culprit, but Search and Destroy + AV was. If I disable Live Protection it loads much quicker. Unfortunately there doesn't seem to be a quick and easy way to include *.ino files to an exclusion list like there is in a lot of other similar software.

No real biggy I can just disconnect from the internet while I am using arduino.exe and disable Live Protection.


ballscrewbob

CCLEANER was a suggestion to clean up not a suspect LOL.

Here I actually excluded the sketches folder and the Arduino install folder not the ino's

Which AV are you using ?

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

CodeCruncher

Sorry I should have been slightly clearer. I already had "CCleaner" already installed on my PC as well as "Search & Destroy + AV".

I disabled both just to see if I could get it to verify faster, it did (less than a minute). I then proceeded to see which one (or both was causing the slowdown) I ascertained that CCleaner didn't slow it down, but Search & Destroy + AV did.

Search & Destroy + AV doesn't have a conventional exclusion folder, so it is easier to just disable the Live Protection. I use it predominantly for malware removal anyway.

The ignore list won't allow you to add your own files or folders just the ones listed (and looking at the names they don't look like things I want to allow) the other 3 tabs have no way to add either. Apparently the entries are added via other apps picking them up and adding them.

Go Up