Arduino 1.8.12 released

Hi,
after I updated the IDE to 1.8.11
my IDE is crashing when I want to use it on a secondary Monitor.
Im on OSX 10.15.2.

can anyone help me ?

-Ruben

p.s. sry for my bad english ^^

Hello everyone, I also have a problem with my Arduino Genio card ... I tried everything, I looked for the problem in the error message to install in the library but nothing to do! Can you help me? Here is the program...

Arduino : 1.8.10 (Mac OS X), Carte : "Arduino Uno"

fork/exec /Users/Famille/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++: no such file or directory
Erreur de compilation pour la carte Arduino Uno

Please answer me as soon as possible!!!!

gr33nzon378:
fork/exec /Users/Famille/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++: no such file or directory

This error indicates something has gone wrong with your Arduino AVR Boards installation. The solution is to remove the installed packages. Be aware this will remove any boards you have installed via Boards Manager:

  • (In the Arduino IDE) File > Preferences
  • In the Arduino IDE, click the link on the line following "More preferences can be edited directly in the file". This will open the Arduino15 (or similar name depending on OS) folder.
  • Delete all files and folders under the Arduino15 folder except for preferences.txt. Please be very careful when deleting things from your computer. When in doubt, back up!
  • Restart the Arduino IDE

Verify that you can now use your board before reinstalling any packages via Boards Manager.

pert:
Please post the full and exact error message you're getting.

Pert,

Thanks for your support.

After the installation of Arduino IDE 1.8.11 in Win 10, when I try to open the Arduino IDE it shows a Pop-up Message:

Problem loading kewords
Could not load keywords.txt,
please re-install Arduino.

It gets the same problem after the installation/re-installation using the download from arduino site and also windows app.

Please do this:

  • Start File Explorer (AKA Windows Explorer).
  • Open the Arduino IDE's installation folder (usually C:\Program Files (x86)\Arduino)
  • In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
  • Click “Open PowerShell window here” (or “Open command window here” if using Windows 7). PowerShell (or cmd if using Windows 7) will now open with the current directory set to the Arduino IDE installation folder.
  • Type ./arduino_debug
  • Press Enter. Debug output should now be printed to the PowerShell window as the Arduino IDE starts (or fails to start).
  • Wait for the Arduino IDE to finish starting, or failing to start.
  • Switch back to the PowerShell window if the Arduino IDE window took the focus.
  • Right click on the title bar of the PowerShell window.
  • Click Edit > Select All. This will select all the text in the PowerShell window.
  • Press Ctrl + c. This will copy the contents of the PowerShell window to the clipboard.
  • In this Arduino forum thread, click on the reply field.
  • Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply, making it easier for us to read.
  • Press Ctrl + V. This will paste the output between the code tags.
  • Move the cursor outside of the code tags before you add any additional text to your reply.
  • Click the "Post" button.

Hopefully that will give us some information we can use to help you with the problem.

I'm also seeing SIGABRT from Arduino 1.8.11 on a dual-screened Mac. I'm extending the desktop (not mirroring), with macOS Catalina 10.15.3 and Java 1.8.0_102.

From /var/log/system.log:

Feb 9 20:19:28 zephyr com.apple.xpc.launchd[1] (cc.arduino.Arduino.18980[12902]): Service exited due to SIGABRT

Feb 9 21:02:39 zephyr com.apple.xpc.launchd[1] (cc.arduino.Arduino.18980[13352]): Service exited due to SIGABRT
Feb 9 21:04:14 zephyr com.apple.xpc.launchd[1] (com.apple.xpc.launchd.oneshot.0x1000001a.Arduino[27021]): Service exited due to SIGABRT

Sadly, there doesn't seem to be a lot of info there. The abort seems to occur when the Arduino software tries to open a new window on the external monitor.

Maybe this info from the crash report will be helpful:

Date/Time:             2020-02-09 21:04:14.278 -0800
OS Version:            Mac OS X 10.15.3 (19D76)
Report Version:        12
Anonymous UUID:        CF37A47B-E000-2C7F-3B88-C469EB1A00D8

Sleep/Wake UUID:       F0468D71-7D75-4004-9946-503F42AE9656

Time Awake Since Boot: 230000 seconds
Time Since Wake:       93000 seconds

System Integrity Protection: enabled

Crashed Thread:        17  Java: Java2D Queue Flusher

Exception Type:        EXC_BAD_INSTRUCTION (SIGABRT)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
-[NSOpenGLContext setView:] must be called from the main thread.

Thread 17 Crashed:: Java: Java2D Queue Flusher
0   libsystem_kernel.dylib        	0x00007fff66f047fa __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff66fc1bc1 pthread_kill + 432
2   libsystem_c.dylib             	0x00007fff66e8ba1c abort + 120
3   libjvm.dylib                  	0x000000010f8482c6 os::abort(bool) (.cold.1) + 125
4   libjvm.dylib                  	0x000000010f664fab os::abort(bool) + 33
5   libjvm.dylib                  	0x000000010f7fe2f9 VMError::report_and_die() + 2301
6   libjvm.dylib                  	0x000000010f259fe3 report_vm_error(char const*, int, char const*, char const*) + 93
7   libjvm.dylib                  	0x000000010f66a9f8 os::get_sender_for_C_frame(frame*) + 76
8   libjvm.dylib                  	0x000000010f25b234 print_native_stack(outputStream*, frame, Thread*, char*, int) + 336
9   libjvm.dylib                  	0x000000010f7fd153 VMError::report(outputStream*) + 2617
10  libjvm.dylib                  	0x000000010f7fddd7 VMError::report_and_die() + 987
11  libjvm.dylib                  	0x000000010f66ae07 JVM_handle_bsd_signal + 802
12  libjvm.dylib                  	0x000000010f66795f signalHandler(int, __siginfo*, void*) + 88
13  libsystem_platform.dylib      	0x00007fff66fb642d _sigtramp + 29
14  ???                           	000000000000000000 0 + 0
15  libawt_lwawt.dylib            	0x0000000115373281 CGLSD_MakeCurrentToScratch + 93
16  libawt_lwawt.dylib            	0x00000001153733d8 OGLSD_MakeOGLContextCurrent + 166
17  libawt_lwawt.dylib            	0x0000000115390e66 OGLContext_SetSurfaces + 188
18  libawt_lwawt.dylib            	0x00000001153956c3 Java_sun_java2d_opengl_OGLRenderQueue_flushBuffer + 1775
19  ???                           	0x0000000119b5ffad 0 + 4726325165
20  ???                           	0x0000000119b382bd 0 + 4726162109
21  ???                           	0x0000000119b382bd 0 + 4726162109
22  ???                           	0x0000000119b382bd 0 + 4726162109
23  ???                           	0x0000000119b30671 0 + 4726130289
24  libjvm.dylib                  	0x000000010f3f3c23 JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 2243
25  libjvm.dylib                  	0x000000010f3f2462 JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 626
26  libjvm.dylib                  	0x000000010f3f26af JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 111
27  libjvm.dylib                  	0x000000010f48c2ed thread_entry(JavaThread*, Thread*) + 177
28  libjvm.dylib                  	0x000000010f7a33b3 JavaThread::thread_main_inner() + 373
29  libjvm.dylib                  	0x000000010f7a314f JavaThread::run() + 847
30  libjvm.dylib                  	0x000000010f664937 java_start(Thread*) + 250
31  libsystem_pthread.dylib       	0x00007fff66fc1e65 _pthread_start + 148
32  libsystem_pthread.dylib       	0x00007fff66fbd83b thread_start + 15

Thread 17 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000700008ec2000  rcx: 0x0000700008ec04c8  rdx: 0x0000000000000000
  rdi: 0x000000000000da13  rsi: 0x0000000000000006  rbp: 0x0000700008ec04f0  rsp: 0x0000700008ec04c8
   r8: 0x0000000000000010   r9: 0x0000700008ec0500  r10: 0x0000700008ec2000  r11: 0x0000000000000246
  r12: 0x000000000000da13  r13: 0x0000700008ec0670  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: 0x00007fff66f047fa  rfl: 0x0000000000000246  cr2: 0x000000010f084feb
  
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133

jtcours:
I'm also seeing SIGABRT from Arduino 1.8.11 on a dual-screened Mac.

Thanks for reporting this! Please submit an issue on GitHub to bring this to the Arduino developers' attention:

ARDUINO 1.8.12 2020.02.13

[ide]
* Reverted the bundled Java JRE to the latest freely redistributable Oracle JRE for all
 platforms except:
   - macOS (due to notarization)
   - aarch64 (due to missing graphical support)

 Switching to AdoptJDK demonstrated to be more challenging than expected, bringing in
 some corner case bugs that were not being caught by our testing procedures:
   - https://github.com/arduino/Arduino/labels/OpenJDK

 To guarantee the best user experience we decided to revert to the latest working JRE
 until all the issues are resolved.

* Improved visualization of compiler errors (@matthijskooijman)
* Fixed: "Comparison method violates its original contract" error in library manager
* Serial monitor is no more cleared during upload, so it can be copy/pasted (@PaulStoffregen)

[arduino-builder]
* FIX REGRESSION: library priority selection for bundled libraries (like SD or Ethernet) 
* FIX REGRESSION: use AVR core installed via Board Manager (when present) instead of the one bundled in the IDE
* Improved precompiled libraries handling
* FIX: paths with spaces are now correctly printed in compiler output

pert:
Thanks for reporting this! Please submit an issue on GitHub to bring this to the Arduino developers' attention:
Issues · arduino/Arduino · GitHub

Thanks, Pert. I've opened #9764

Thanks so much @jtcours!

I have been using Arduino for a while now, I am sure that installing the original was simple. So:-

I have just downloaded arduino-1.8.12-windows.zip, and extracted it into arduino-1.8.12-windows, but where do I go from there. I have tried a few things but no installing action.

Help please.

BC

Hi Barry.

There are two versions...The ZIP and the INSTALLER.

The ZIP can be run portable / stand alone.
The installer performs the required steps to set out the directories and dependencies.

If you want it fully installed get the INSTALLER to suit your OS ?

If you want it portable then simple add a folder inside the unzipped directory called "portable" which will keep its dependencies and folders inside the zipped folder.

I'm running into the same problem as @leexande where after the Arduino splash shows up, it crashes and says, "Could not load keywords.txt, please re-install Arduino." I have tried uninstalling and reinstalling Arduino using the installer and it still throws this error afterwards. Has there been any progress on why this error occurs or how to fix it?

ZSamuels:
Has there been any progress on why this error occurs or how to fix it?

If you want progress on it, please provide the information I requested previously:

pert:
Please do this:

  • Start File Explorer (AKA Windows Explorer).
  • Open the Arduino IDE's installation folder (usually C:\Program Files (x86)\Arduino)
  • In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
  • Click “Open PowerShell window here” (or “Open command window here” if using Windows 7). PowerShell (or cmd if using Windows 7) will now open with the current directory set to the Arduino IDE installation folder.
  • Type ./arduino_debug
  • Press Enter. Debug output should now be printed to the PowerShell window as the Arduino IDE starts (or fails to start).
  • Wait for the Arduino IDE to finish starting, or failing to start.
  • Switch back to the PowerShell window if the Arduino IDE window took the focus.
  • Right click on the title bar of the PowerShell window.
  • Click Edit > Select All. This will select all the text in the PowerShell window.
  • Press Ctrl + c. This will copy the contents of the PowerShell window to the clipboard.
  • In this Arduino forum thread, click on the reply field.
  • Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply, making it easier for us to read.
  • Press Ctrl + V. This will paste the output between the code tags.
  • Move the cursor outside of the code tags before you add any additional text to your reply.
  • Click the "Post" button.

Hopefully that will give us some information we can use to help you with the problem.

Those instructions are Windows specific, because @leexande said they were using Windows. If you're using a different OS, the procedure is essentially the same, but you won't have an arduino_debug.exe, that's Windows-only. On other OSs, just run the arduino executable from the command line and post its output.

pert:
If you want progress on it, please provide the information I requested previously:Those instructions are Windows specific, because @leexande said they were using Windows. If you're using a different OS, the procedure is essentially the same, but you won't have an arduino_debug.exe, that's Windows-only. On other OSs, just run the arduino executable from the command line and post its output.

The output was too long to post in a reply, but I put it onto a hastebin here: https://hastebin.com/saqujololi.bash

I have just installed the 1.8.12 version in the portable mode. For sake of sharing information the IDE loads up and there appears no issue as it opens my last sketch that i closed on the 1.8.11 version.

kssoin:
I have just installed the 1.8.12 version in the portable mode. For sake of sharing information the IDE loads up and there appears no issue as it opens my last sketch that i closed on the 1.8.11 version.

Tried using the portable install and it still crashes with the same error.

Just for sake of expedition, tried running the arduino_debug.exe from the Powershell ISE window.
The IDE loaded and on compile of a sketch the compile verbose messages appeared in the powershell window.
Just wanted to know if this can be used as a debug tool for the sketch?

ARDUINO 1.8.12 2020.02.13

Windows 10 with Ransomware Protection enabled is flagging the install and blocks a change to a windows core file!

\Device\Harddisk0\DR0

@Makuna

That is simply a "false positive"

If in doubt run it throu VIRUSTOTAL online.