Installing Arduino IDE 1.85

I have installed Arduino for Windows7 and believe all the settings are correct. The problem is that I do not get the Arduino UNO listed in the Board Manager. All other settings - com, programmer, etc. are set. I have to select either Arduino yno or the genuine uno as my other choices for the arduino board. When I try to upload the blink sketch I get a "failure to compile" error the board selected. What am I doing wrong? The last time I used the uno I used Arduino 1.82 and all worked OK. That was at least a month ago and I have now downloaded the latest. Can you help me?

bobdeutsch:
I have to select either Arduino yno or the genuine uno as my other choices for the arduino board.

Arduino/Genuino Uno is the same as Arduino Uno. They had to use a new brand name outside the US for a little while due to a legal dispute so they created the new brand Genuino but it's the exact same thing.

bobdeutsch:
When I try to upload the blink sketch I get a "failure to compile" error the board selected.

When you encounter an error you'll see a button on the right side of the orange bar "Copy error messages". Click that button. Paste the error in a message here USING CODE TAGS (</> button on the toolbar).

[Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Uno"

Exception 0xc0000090 0x0 0x753b880 0xf2722
PC=0xf2722

syscall.Syscall12(0x75b8103d, 0xa, 0x12ab98c0, 0x12ae8000, 0x0, 0x0, 0x1, 0x400, 0x12acd200, 0x0, ...)
	/home/jenkins/go/src/runtime/syscall_windows.go:196 +0x4a
syscall.CreateProcess(0x12ab98c0, 0x12ae8000, 0x0, 0x0, 0x1, 0x400, 0x12acd200, 0x0, 0x12793328, 0x127932d4, ...)
	/home/jenkins/go/src/syscall/zsyscall_windows.go:583 +0x112
syscall.StartProcess(0x12ab3ef0, 0x41, 0x12a636c0, 0x1b, 0x1c, 0x127933e0, 0x0, 0x0, 0x0, 0x0)
	/home/jenkins/go/src/syscall/exec_windows.go:326 +0x722
os.startProcess(0x12ab3ef0, 0x41, 0x12a636c0, 0x1b, 0x1c, 0x12793514, 0x12a49ba0, 0x0, 0x0)
	/home/jenkins/go/src/os/exec_posix.go:45 +0x293
os.StartProcess(0x12ab3ef0, 0x41, 0x12a636c0, 0x1b, 0x1c, 0x12793514, 0x0, 0x0, 0x0)
	/home/jenkins/go/src/os/doc.go:28 +0x53
os/exec.(*Cmd).Start(0x12a3fc30, 0x0, 0x0)
	/home/jenkins/go/src/os/exec/exec.go:358 +0x6fa
os/exec.(*Cmd).Run(0x12a3fc30, 0x0, 0x0)
	/home/jenkins/go/src/os/exec/exec.go:276 +0x2b
arduino.cc/builder/builder_utils.ExecRecipeCollectStdErr(0x12aba280, 0x56c313, 0x15, 0x1, 0x5f4880, 0x614ef0, 0x0, 0x0, 0x0, 0x0)
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder_utils/utils.go:413 +0x118
arduino.cc/builder.(*GCCPreprocRunnerForDiscoveringIncludes).Run(0x12aba260, 0x127e0000, 0x0, 0x0)
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/gcc_preproc_runner.go:93 +0x23c
arduino.cc/builder.runCommand(0x127e0000, 0x5f39b0, 0x12aba260, 0x0, 0x0)
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:183 +0x57
arduino.cc/builder.findIncludesUntilDone(0x127e0000, 0x12aba1c0, 0x538ca0, 0x12a67aa0, 0x12a75ca0, 0xd, 0x0, 0x0)
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:331 +0x1810
arduino.cc/builder.(*ContainerFindIncludes).Run(0x614ef0, 0x127e0000, 0x0, 0x0)
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:149 +0xdfd
arduino.cc/builder.runCommands(0x127e0000, 0x12793cc0, 0x22, 0x22, 0x1, 0x0, 0x0)
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:191 +0xe2
arduino.cc/builder.(*Builder).Run(0x12793de4, 0x127e0000, 0x0, 0x0)
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:124 +0x89f
arduino.cc/builder.RunBuilder(0x127e0000, 0x0, 0x0)
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:222 +0x35
main.main()
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/arduino-builder/main.go:338 +0x1360
eax     0x0
ebx     0x330d5008
ecx     0x0
edx     0x33070000
edi     0x18f4
esi     0x330d5000
ebp     0xcf67c
esp     0xcf654
eip     0xf2722
eflags  0x10212
cs      0x23
fs      0x53
gs      0x2b
C:\Program Files (x86)\Arduino\arduino-builder returned 2
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
code]

I have installed Arduino and followed the instructions given to upload the Blink sketch. No matter what Sketch I try to use I get the error that compiling has failed. I have tried reloading software and using different USB cables and USB ports on my desktop but it still repeatedly fails. After one attempt I got a different error stating something was wrong with the program. I am using the Blink that came with the software so have a difficult time understanding this error. I suppose my problem could be the 328P that is on the UNO R3 board I am using.

Any suggestions?

Is it still the same problem you reported in your previous post:
http://forum.arduino.cc/index.php?topic=510235.msg3478050#msg3478050

(deleted)

I cannot compile any sketch from the Example list. I have two Arduino UNO R3 boards and am running Windows 7. I get the same error message on either board. One of the board worked right the first time with the Blink sketch and after multiple tries the second finally compiled. I have tried multiple cables, multiple USB ports which work OK with other devices. I have also tried replacing the 328p with new chips with known boot loaders but have same problem. Are both UNO boards bad? It doesn't seem likely to me that they could both be bad but I guess it's a possibility. I think I have looked at all data concerning this problem so you are my last resort. I was going to send the error message I receive for Blink but could not locate the file.

There's no way we can help you unless you post the full error message. Please use code tags (</> button on the toolbar) for the error message.

If the problem occurs when you compile (Sketch > Verify/Compile) then the problem is unrelated to your Unos since that whole process happens exclusively on your computer. If the problem only occurs when you upload (Sketch > Upload) then that is not a compilation error, it is an upload error and one possible cause of that could be a bad Uno.

Oh, I see. Looks like you're just cross posting again:
http://forum.arduino.cc/index.php?topic=510235.msg3478050#msg3478050
http://forum.arduino.cc/index.php?topic=520296

We were already trying to help you on the other thread 3.5 weeks ago but you wouldn't make the effort to answer our questions.

I can find no brackets on any tool bar. I click on the "copy error message" on the right side of the screen but all it does is a quick blink but no data or further selection is presented. It just does nothing. I know I am new at this so I must be missing a screen or selection somewhere which allows me to send the data. The only compile on the toolbar is verify/compile and the error occurs there. Forgive my stupidity!

Do you know how to copy and paste with your computer?

Assuming you're on a windows machine, after you hit the "copy error message" button, then you come to the forum and you click on the message window where you would write your reply. Right click in that and click "Paste" in the menu. It will paste in a copy of the error message.

Now highlight all of that and click the </> symbol above the reply window. That will put it in code tags to make it easier to read.

Thank you. Here is the error message when trying to compile the audinoisp sketch. Now that I know how copy and paste work with this app I feel much better about asking you for help.

Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Uno"

[code]C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Robert L. Deutsch\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Robert L. Deutsch\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Robert L. Deutsch\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path C:\Users\ROBERT~1.DEU\AppData\Local\Temp\arduino_build_265451 -warnings=all -build-cache C:\Users\ROBERT~1.DEU\AppData\Local\Temp\arduino_cache_438430 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Program Files (x86)\Arduino\examples\11.ArduinoISP\ArduinoISP\ArduinoISP.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Robert L. Deutsch\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Robert L. Deutsch\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Robert L. Deutsch\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path C:\Users\ROBERT~1.DEU\AppData\Local\Temp\arduino_build_265451 -warnings=all -build-cache C:\Users\ROBERT~1.DEU\AppData\Local\Temp\arduino_cache_438430 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Program Files (x86)\Arduino\examples\11.ArduinoISP\ArduinoISP\ArduinoISP.ino
Using board 'uno' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\ROBERT~1.DEU\AppData\Local\Temp\arduino_build_265451\sketch\ArduinoISP.ino.cpp" -o "nul"
Exception 0xc0000090 0x0 0xb2b3060 0xf2722
PC=0xf2722

syscall.Syscall12(0x774f103d, 0xa, 0x1262b0e0, 0x12628900, 0x0, 0x0, 0x1, 0x400, 0x12641200, 0x0, ...)
	/home/jenkins/go/src/runtime/syscall_windows.go:196 +0x4a
syscall.CreateProcess(0x1262b0e0, 0x12628900, 0x0, 0x0, 0x1, 0x400, 0x12641200, 0x0, 0x122f1328, 0x122f12d4, ...)
	/home/jenkins/go/src/syscall/zsyscall_windows.go:583 +0x112
syscall.StartProcess(0x1260dc70, 0x41, 0x125c16c0, 0x1b, 0x1c, 0x122f13e0, 0x0, 0x0, 0x0, 0x0)
	/home/jenkins/go/src/syscall/exec_windows.go:326 +0x722
os.startProcess(0x1260dc70, 0x41, 0x125c16c0, 0x1b, 0x1c, 0x122f1514, 0x125a4ea0, 0x0, 0x0)
	/home/jenkins/go/src/os/exec_posix.go:45 +0x293
os.StartProcess(0x1260dc70, 0x41, 0x125c16c0, 0x1b, 0x1c, 0x122f1514, 0x0, 0x0, 0x0)
	/home/jenkins/go/src/os/doc.go:28 +0x53
os/exec.(*Cmd).Start(0x1259d810, 0x0, 0x0)
	/home/jenkins/go/src/os/exec/exec.go:358 +0x6fa
os/exec.(*Cmd).Run(0x1259d810, 0x0, 0x0)
	/home/jenkins/go/src/os/exec/exec.go:276 +0x2b
arduino.cc/builder/builder_utils.ExecRecipeCollectStdErr(0x12620680, 0x56c313, 0x15, 0x101, 0x5f4880, 0x614ef0, 0x0, 0x0, 0x0, 0x0)
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder_utils/utils.go:413 +0x118
arduino.cc/builder.(*GCCPreprocRunnerForDiscoveringIncludes).Run(0x12620660, 0x1233c000, 0x0, 0x0)
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/gcc_preproc_runner.go:93 +0x23c
arduino.cc/builder.runCommand(0x1233c000, 0x5f39b0, 0x12620660, 0x0, 0x0)
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:183 +0x57
arduino.cc/builder.findIncludesUntilDone(0x1233c000, 0x12620540, 0x538ca0, 0x125c3a40, 0x12620580, 0x12, 0x0, 0x0)
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:331 +0x1810
arduino.cc/builder.(*ContainerFindIncludes).Run(0x614ef0, 0x1233c000, 0x0, 0x0)
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:149 +0xdfd
arduino.cc/builder.runCommands(0x1233c000, 0x122f1cc0, 0x22, 0x22, 0x1, 0x0, 0x0)
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:191 +0xe2
arduino.cc/builder.(*Builder).Run(0x122f1de4, 0x1233c000, 0x0, 0x0)
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:124 +0x89f
arduino.cc/builder.RunBuilder(0x1233c000, 0x0, 0x0)
	/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:222 +0x35
main.main()
	
Thank you.  Here is the error message associated with trying to compile arduinoisp


/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/arduino-builder/main.go:338 +0x1360
eax     0x0
ebx     0x33045008
ecx     0x0
edx     0x32fe0000
edi     0x1188
esi     0x33045000
ebp     0xcf67c
esp     0xcf654
eip     0xf2722
eflags  0x10212
cs      0x23
fs      0x53
gs      0x2b

C:\Program Files (x86)\Arduino\arduino-builder returned 2
Error compiling for board Arduino/Genuino Uno.[/code]

bobdeutsch:

[Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Uno"

Exception 0xc0000090 0x0 0x753b880 0xf2722
PC=0xf2722

syscall.Syscall12(0x75b8103d, 0xa, 0x12ab98c0, 0x12ae8000, 0x0, 0x0, 0x1, 0x400, 0x12acd200, 0x0, ...)
/home/jenkins/go/src/runtime/syscall_windows.go:196 +0x4a
syscall.CreateProcess(0x12ab98c0, 0x12ae8000, 0x0, 0x0, 0x1, 0x400, 0x12acd200, 0x0, 0x12793328, 0x127932d4, ...)
/home/jenkins/go/src/syscall/zsyscall_windows.go:583 +0x112
syscall.StartProcess(0x12ab3ef0, 0x41, 0x12a636c0, 0x1b, 0x1c, 0x127933e0, 0x0, 0x0, 0x0, 0x0)
/home/jenkins/go/src/syscall/exec_windows.go:326 +0x722
os.startProcess(0x12ab3ef0, 0x41, 0x12a636c0, 0x1b, 0x1c, 0x12793514, 0x12a49ba0, 0x0, 0x0)
/home/jenkins/go/src/os/exec_posix.go:45 +0x293
os.StartProcess(0x12ab3ef0, 0x41, 0x12a636c0, 0x1b, 0x1c, 0x12793514, 0x0, 0x0, 0x0)
/home/jenkins/go/src/os/doc.go:28 +0x53
os/exec.(*Cmd).Start(0x12a3fc30, 0x0, 0x0)
/home/jenkins/go/src/os/exec/exec.go:358 +0x6fa
os/exec.(*Cmd).Run(0x12a3fc30, 0x0, 0x0)
/home/jenkins/go/src/os/exec/exec.go:276 +0x2b
arduino.cc/builder/builder_utils.ExecRecipeCollectStdErr(0x12aba280, 0x56c313, 0x15, 0x1, 0x5f4880, 0x614ef0, 0x0, 0x0, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder_utils/utils.go:413 +0x118
arduino.cc/builder.(*GCCPreprocRunnerForDiscoveringIncludes).Run(0x12aba260, 0x127e0000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/gcc_preproc_runner.go:93 +0x23c
arduino.cc/builder.runCommand(0x127e0000, 0x5f39b0, 0x12aba260, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:183 +0x57
arduino.cc/builder.findIncludesUntilDone(0x127e0000, 0x12aba1c0, 0x538ca0, 0x12a67aa0, 0x12a75ca0, 0xd, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:331 +0x1810
arduino.cc/builder.(*ContainerFindIncludes).Run(0x614ef0, 0x127e0000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:149 +0xdfd
arduino.cc/builder.runCommands(0x127e0000, 0x12793cc0, 0x22, 0x22, 0x1, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:191 +0xe2
arduino.cc/builder.(*Builder).Run(0x12793de4, 0x127e0000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:124 +0x89f
arduino.cc/builder.RunBuilder(0x127e0000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:222 +0x35
main.main()
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/arduino-builder/main.go:338 +0x1360
eax    0x0
ebx    0x330d5008
ecx    0x0
edx    0x33070000
edi    0x18f4
esi    0x330d5000
ebp    0xcf67c
esp    0xcf654
eip    0xf2722
eflags  0x10212
cs      0x23
fs      0x53
gs      0x2b
C:\Program Files (x86)\Arduino\arduino-builder returned 2
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
code]

Dedicated thread for bobdeutsch's issue:
http://forum.arduino.cc/index.php?topic=525284

All threads merged.

bobdeutsch:
Now that I know how copy and paste work with this app I feel much better about asking you for help.

That's the same it works with just about every program out there. That's why it was sort of assumed that you would know. Glad we got it cleared up.

Unfortunately I don't know the true cause of this error. This sort of thing has been reported a few times in the past but I haven't seen a true resolution. Previously I had looked around the issue trackers without finding anything.

This appears to have something to do with Go. Go is only used for the arduino-builder tool so I think it's likely the problem is something related to arduino-builder.

The strange thing is that the same version of arduino-builder (1.3.25) is used by both Arduino IDE 1.8.2 and Arduino IDE 1.8.5.

I advise you to install Arduino IDE 1.8.2 again to verify that the problem only occurs with Arduino IDE 1.8.5. You can download the previous IDE releases from here:

If you can verify that the problem does occur in Arduino IDE 1.8.5 and does not occur in Arduino IDE 1.8.2, I think the next step in troubleshooting is to install Arduino IDE 1.8.3 and 1.8.4 so you can find the newest IDE version where the problem does not occur. That will narrow down the cause of the issue. Every bit of additional information is helpful when dealing with an issue like this. Even if we can't progress from there at least you will know which is the newest version of the IDE you can use.

I tried compiling the Blink again. It worked once and the upload to UNO also worked. I tried the same again and it would not compile. Attached is the error info.

Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Uno"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Robert L. Deutsch\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Robert L. Deutsch\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Robert L. Deutsch\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0001 -ide-version=10805 -build-path C:\Users\ROBERT~1.DEU\AppData\Local\Temp\arduino_build_601943 -warnings=all -build-cache C:\Users\ROBERT~1.DEU\AppData\Local\Temp\arduino_cache_459672 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Program Files (x86)\Arduino\examples\01.Basics\Blink\Blink.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Robert L. Deutsch\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Robert L. Deutsch\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Robert L. Deutsch\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0001 -ide-version=10805 -build-path C:\Users\ROBERT~1.DEU\AppData\Local\Temp\arduino_build_601943 -warnings=all -build-cache C:\Users\ROBERT~1.DEU\AppData\Local\Temp\arduino_cache_459672 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Program Files (x86)\Arduino\examples\01.Basics\Blink\Blink.ino
Using board 'uno' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\ROBERT~1.DEU\AppData\Local\Temp\arduino_build_601943\sketch\Blink.ino.cpp" -o "nul"
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\ROBERT~1.DEU\AppData\Local\Temp\arduino_build_601943\sketch\Blink.ino.cpp" -o "C:\Users\ROBERT~1.DEU\AppData\Local\Temp\arduino_build_601943\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\ROBERT~1.DEU\AppData\Local\Temp\arduino_build_601943\preproc\ctags_target_for_gcc_minus_e.cpp"
Exception 0xc0000090 0x0 0x77f0b50 0xf2722
PC=0xf2722

syscall.Syscall12(0x750b103d, 0xa, 0x12a9e500, 0x1284dd40, 0x0, 0x0, 0x1, 0x400, 0x127fd200, 0x0, ...)
/home/jenkins/go/src/runtime/syscall_windows.go:196 +0x4a
syscall.CreateProcess(0x12a9e500, 0x1284dd40, 0x0, 0x0, 0x1, 0x400, 0x127fd200, 0x0, 0x128a9738, 0x128a96e4, ...)
/home/jenkins/go/src/syscall/zsyscall_windows.go:583 +0x112
syscall.StartProcess(0x12b8e910, 0x4a, 0x12b8e7d0, 0x9, 0xa, 0x128a97f0, 0x0, 0x0, 0x0, 0x0)
/home/jenkins/go/src/syscall/exec_windows.go:326 +0x722
os.startProcess(0x12b8e910, 0x4a, 0x12b8e7d0, 0x9, 0xa, 0x128a9924, 0x12a36340, 0x0, 0x0)
/home/jenkins/go/src/os/exec_posix.go:45 +0x293
os.StartProcess(0x12b8e910, 0x4a, 0x12b8e7d0, 0x9, 0xa, 0x128a9924, 0x0, 0x0, 0x0)
/home/jenkins/go/src/os/doc.go:28 +0x53
os/exec.(*Cmd).Start(0x12a2e160, 0x0, 0x0)
/home/jenkins/go/src/os/exec/exec.go:358 +0x6fa
os/exec.(*Cmd).Run(0x12a2e160, 0x0, 0x0)
/home/jenkins/go/src/os/exec/exec.go:276 +0x2b
os/exec.(*Cmd).Output(0x12a2e160, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/jenkins/go/src/os/exec/exec.go:473 +0x183
arduino.cc/builder.(*CTagsRunner).Run(0x614ef0, 0x127d0000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/ctags_runner.go:69 +0x41b
arduino.cc/builder.(*ContainerAddPrototypes).Run(0x614ef0, 0x127d0000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_add_prototypes.go:56 +0x3b8
arduino.cc/builder.runCommands(0x127d0000, 0x128a9cc8, 0x22, 0x22, 0x1, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:191 +0xe2
arduino.cc/builder.(*Builder).Run(0x128a9dec, 0x127d0000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:124 +0x89f
arduino.cc/builder.RunBuilder(0x127d0000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:222 +0x35
main.main()
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/arduino-builder/main.go:338 +0x1360
eax 0x0
ebx 0x33175008
ecx 0x0
edx 0x33110000
edi 0x191c
esi 0x33175000
ebp 0xcf67c
esp 0xcf654
eip 0xf2722
eflags 0x10212
cs 0x23
fs 0x53
gs 0x2b
C:\Program Files (x86)\Arduino\arduino-builder returned 2
Error compiling for board Arduino/Genuino Uno.``

Did you do what I told you to do?

pert:
I advise you to install Arduino IDE 1.8.2 again to verify that the problem only occurs with Arduino IDE 1.8.5. You can download the previous IDE releases from here:
https://www.arduino.cc/en/Main/OldSoftwareReleases#previous

If you can verify that the problem does occur in Arduino IDE 1.8.5 and does not occur in Arduino IDE 1.8.2, I think the next step in troubleshooting is to install Arduino IDE 1.8.3 and 1.8.4 so you can find the newest IDE version where the problem does not occur. That will narrow down the cause of the issue. Every bit of additional information is helpful when dealing with an issue like this. Even if we can't progress from there at least you will know which is the newest version of the IDE you can use.

If so, what were your findings?

Since you're experiencing the problem intermittently I recommend doing multiple compilations with each IDE version to make sure that the problem does not occur at all in the working IDE version.

A frequent cause of strange problems with the Arduino IDE is antivirus software, though usually the problem has a different flavor (missing file or inability to access a file because it's being scanned). Try TEMPORARILY disabling your antivirus for a few repeated compilations to see if the problem goes away, then turn the antivirus back on. If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to whitelist the appropriate file, folder, or process so it doesn't interfere with compilation.

After installing Arduino 1.8.2 the error of failing to compile still exists. Shall I try to go back further?

Try running the IDE as administrator.