Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework serial ports handling #4792

Merged
merged 12 commits into from
Apr 6, 2016
Merged

Conversation

facchinm
Copy link
Member

@facchinm facchinm commented Apr 1, 2016

This PR should solve #4700 and #4777
The serial polling on Windows now behaves exactly as in 1.6.7 with its pros and cons (3 seconds poll rate, high cpu usage but no problem with port being occupied by the process).

All platform need to be tested since the underlying handling of the ports has been strongly modified.

The libSerialPort 1.0.8 source code is here (for reference https://github.com/arduino/listSerialPortsC/tree/test_usbSearch)

@waiweng83 @steronydh @ElektorLabs @ozligia @TMRh20 @pfeerick please test the build produced by @ArduinoBot and report ANY problem you encounter.

Everyone else, please test this before it gets merged (thanks 😄 )

Disable Compile/Run buttons as they get press, and reenable only on function exit.
The launched upload process has now a 2minutes timeout before being terminated forcefully.
10 second after pressing "Upload" the button comes pressable again, but this time the previous upload command gets killed explicitely
This commit introduces the concept of stateful board list (vs. original stateless) and board serial number.

The board is now an "entity" composed by the triplet port/vid/pid. These informations come from libListSerial "light" function. When the board list changes, it triggers a request for the additional infos to libListSerial. These information contains the serial number of the boards.

These brings a lighter and faster scanning process. Some logic has been introduced to handle a board with the S/N only exposed in the bootloader (like 32u4).
In this case the disappearing port acquires the bootloader's S/N

A menu (under Ports menu) shows the currently connected port info and can be used for bugreporting
@TMRh20
Copy link

TMRh20 commented Apr 1, 2016

No joke?

This build seems to crash for me shortly after showing the splash screen.

If I run arduino_debug I get the following:

Initializing packages...
Preparing boards...
Starting...
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x749908f5, pid=4448, tid=4564
#
# JRE version: Java(TM) SE Runtime Environment (8.0_66-b17) (build 1.8.0_66-b17)

# Java VM: Java HotSpot(TM) Client VM (25.66-b17 mixed mode windows-x86 )
# Problematic frame:
# C  [msvcrt.dll+0x108f5]
#
# Failed to write core dump. Minidumps are not enabled by default on client vers
ions of Windows
#
# An error report file with more information is saved as:
# C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\hs_err_pid4448.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

@facchinm
Copy link
Member Author

facchinm commented Apr 1, 2016

@TMRh20, on Windows10 and Windows 7 x86_64 it's running correctly, can you post your pc specs?

@cmaglie
Copy link
Member

cmaglie commented Apr 1, 2016

Please post also the content of:
C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\hs_err_pid4448.log

@TMRh20
Copy link

TMRh20 commented Apr 1, 2016

Well its not a new system:

Windows 7 Home Premium
Pentium Dual-Core CPU E5500 @2.80GHz
4GB RAM
64-bit

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x749908f5, pid=4448, tid=4564
#
# JRE version: Java(TM) SE Runtime Environment (8.0_66-b17) (build 1.8.0_66-b17)
# Java VM: Java HotSpot(TM) Client VM (25.66-b17 mixed mode windows-x86 )
# Problematic frame:
# C  [msvcrt.dll+0x108f5]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x25556800):  JavaThread "cc.arduino.packages.discoverers.serial.SerialBoardsLister" [_thread_in_native, id=4564, stack(0x25c40000,0x25c90000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000004

Registers:
EAX=0x25c8f5cf, EBX=0x00000004, ECX=0x00000001, EDX=0x7efefeff
ESP=0x25c8f590, EBP=0x25c8f728, ESI=0x00000004, EDI=0x25c8f5cf
EIP=0x749908f5, EFLAGS=0x00010202

Top of Stack: (sp=0x25c8f590)
0x25c8f590:   5a246130 25539858 25c8f6f0 61941892
0x25c8f5a0:   25c8f5cf 00000004 00000004 61950130
0x25c8f5b0:   00000403 00006001 2556ff40 00000000
0x25c8f5c0:   25c8f6f8 5a2baab6 00000000 361df7ce
0x25c8f5d0:   25313030 27a71bf4 00655f44 279a0af0
0x25c8f5e0:   279b50a0 25ec0810 279a0918 279b6408
0x25c8f5f0:   344d4f43 3034305f 30365f33 00003130
0x25c8f600:   00000000 00000000 00000000 00000000 

Instructions: (pc=0x749908f5)
0x749908d5:   e9 01 74 5b 84 c0 0f 84 5d 01 02 00 f7 c6 03 00
0x749908e5:   00 00 75 e1 8b d9 c1 e9 02 74 28 ba ff fe fe 7e
0x749908f5:   8b 06 03 d0 83 f0 ff 33 c2 8b 16 83 c6 04 a9 00
0x74990905:   01 01 81 0f 85 7e 8c 00 00 89 17 83 c7 04 83 e9 


Register to memory mapping:

EAX=0x25c8f5cf is pointing into the stack for thread: 0x25556800
EBX=0x00000004 is an unknown value
ECX=0x00000001 is an unknown value
EDX=0x7efefeff is an unknown value
ESP=0x25c8f590 is pointing into the stack for thread: 0x25556800
EBP=0x25c8f728 is pointing into the stack for thread: 0x25556800
ESI=0x00000004 is an unknown value
EDI=0x25c8f5cf is pointing into the stack for thread: 0x25556800


Stack: [0x25c40000,0x25c90000],  sp=0x25c8f590,  free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [msvcrt.dll+0x108f5]
j  processing.app.Platform.listSerialsNative()[Ljava/lang/String;+0
j  processing.app.Platform.listSerials()Ljava/util/List;+5
j  cc.arduino.packages.discoverers.serial.SerialBoardsLister.retriggerDiscovery(Z)V+22
j  cc.arduino.packages.discoverers.serial.SerialBoardsLister.run()V+9
j  java.util.TimerThread.mainLoop()V+221
j  java.util.TimerThread.run()V+1
v  ~StubRoutines::call_stub
V  [jvm.dll+0x158ba5]
V  [jvm.dll+0x21e12e]
V  [jvm.dll+0x158c3e]
V  [jvm.dll+0x158dc6]
V  [jvm.dll+0x158e37]
V  [jvm.dll+0xfd84f]
V  [jvm.dll+0x17c07c]
V  [jvm.dll+0x17c16a]
V  [jvm.dll+0x1c06f6]
C  [msvcr100.dll+0x5c556]
C  [msvcr100.dll+0x5c600]
C  [kernel32.dll+0x1338a]
C  [ntdll.dll+0x39a02]
C  [ntdll.dll+0x399d5]
C  0x00000000

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  processing.app.Platform.listSerialsNative()[Ljava/lang/String;+0
j  processing.app.Platform.listSerials()Ljava/util/List;+5
j  cc.arduino.packages.discoverers.serial.SerialBoardsLister.retriggerDiscovery(Z)V+22
j  cc.arduino.packages.discoverers.serial.SerialBoardsLister.run()V+9
j  java.util.TimerThread.mainLoop()V+221
j  java.util.TimerThread.run()V+1
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x25652800 JavaThread "JmDNS(fe80:0:0:0:3961:d4b0:63bc:cec1%eth3.local.).Timer" daemon [_thread_blocked, id=5868, stack(0x26630000,0x26680000)]
  0x25652000 JavaThread "JmDNS(fe80:0:0:0:3961:d4b0:63bc:cec1%eth3.local.).State.Timer" [_thread_blocked, id=3836, stack(0x265a0000,0x265f0000)]
  0x25651c00 JavaThread "JmDNS(fe80:0:0:0:3961:d4b0:63bc:cec1%eth3.local.).Timer" daemon [_thread_blocked, id=6980, stack(0x26730000,0x26780000)]
  0x25651400 JavaThread "SocketListener(fe80:0:0:0:3961:d4b0:63bc:cec1%eth3.local.)" daemon [_thread_in_native, id=4232, stack(0x266d0000,0x26720000)]
  0x25651000 JavaThread "JmDNS(10-10-1-50.local.).Timer" daemon [_thread_blocked, id=6832, stack(0x26430000,0x26480000)]
  0x2564e000 JavaThread "JmDNS(10-10-1-50.local.).State.Timer" [_thread_blocked, id=1268, stack(0x25cf0000,0x25d40000)]
  0x2564d000 JavaThread "JmDNS(10-10-1-50.local.).Timer" daemon [_thread_blocked, id=4104, stack(0x262e0000,0x26330000)]
  0x2563e400 JavaThread "SocketListener(10-10-1-50.local.)" daemon [_thread_in_native, id=6436, stack(0x26220000,0x26270000)]
  0x255b2000 JavaThread "cc.arduino.packages.discoverers.network.BoardReachabilityFilter" [_thread_blocked, id=6616, stack(0x25d50000,0x25da0000)]
  0x2555b000 JavaThread "cc.arduino.packages.discoverers.network.NetworkChecker" [_thread_blocked, id=4672, stack(0x25c90000,0x25ce0000)]
=>0x25556800 JavaThread "cc.arduino.packages.discoverers.serial.SerialBoardsLister" [_thread_in_native, id=4564, stack(0x25c40000,0x25c90000)]
  0x2554f800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4592, stack(0x25bd0000,0x25c20000)]
  0x2554b800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=6364, stack(0x25aa0000,0x25af0000)]
  0x24cd6000 JavaThread "Service Thread" daemon [_thread_blocked, id=4340, stack(0x253b0000,0x25400000)]
  0x24cae400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=3320, stack(0x25350000,0x253a0000)]
  0x24cad000 JavaThread "Attach Listener" daemon [_thread_blocked, id=3556, stack(0x25200000,0x25250000)]
  0x24cbb000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4752, stack(0x25070000,0x250c0000)]
  0x24c79000 JavaThread "Finalizer" daemon [_thread_blocked, id=7004, stack(0x24f10000,0x24f60000)]
  0x24c73400 JavaThread "Reference Handler" daemon [_thread_blocked, id=6648, stack(0x24ea0000,0x24ef0000)]
  0x00f2d800 JavaThread "main" [_thread_in_Java, id=2756, stack(0x00240000,0x00290000)]

Other Threads:
  0x24c6e000 VMThread [stack: 0x00f50000,0x00fa0000] [id=5680]
  0x24cb7800 WatcherThread [stack: 0x25260000,0x252b0000] [id=5024]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 def new generation   total 39296K, used 18336K [0x04800000, 0x072a0000, 0x0f2a0000)
  eden space 34944K,  50% used [0x04800000, 0x0592bb60, 0x06a20000)
  from space 4352K,  17% used [0x06e60000, 0x06f1c770, 0x072a0000)
  to   space 4352K,   0% used [0x06a20000, 0x06a20000, 0x06e60000)
 tenured generation   total 87424K, used 11152K [0x0f2a0000, 0x14800000, 0x24800000)
   the space 87424K,  12% used [0x0f2a0000, 0x0fd843b0, 0x0fd84400, 0x14800000)
 Metaspace       used 11795K, capacity 12195K, committed 12288K, reserved 12672K

Card table byte_map: [0x00d40000,0x00e50000] byte_map_base: 0x00d1c000

Polling page: 0x00210000

CodeCache: size=32768Kb used=1997Kb max_used=1997Kb free=30770Kb
 bounds [0x026e0000, 0x028d8000, 0x046e0000]
 total_blobs=1269 nmethods=1036 adapters=164
 compilation: enabled

Compilation events (10 events):
Event: 3.663 Thread 0x24cae400 1045             java.awt.Component::isFocusOwner (5 bytes)
Event: 3.663 Thread 0x24cae400 nmethod 1045 0x028d2088 code [0x028d21a0, 0x028d2274]
Event: 3.663 Thread 0x24cae400 1046             java.awt.Component::hasFocus (16 bytes)
Event: 3.663 Thread 0x24cae400 nmethod 1046 0x028d2388 code [0x028d24a0, 0x028d2574]
Event: 3.687 Thread 0x24cae400 1047             javax.jmdns.impl.DNSOutgoing$MessageOutputStream::writeUTF (207 bytes)
Event: 3.688 Thread 0x24cae400 nmethod 1047 0x028d2648 code [0x028d27c0, 0x028d2b1c]
Event: 3.709 Thread 0x24cae400 1049             javax.swing.DefaultButtonModel::addChangeListener (11 bytes)
Event: 3.710 Thread 0x24cae400 nmethod 1049 0x028d3248 code [0x028d3350, 0x028d33ec]
Event: 3.713 Thread 0x24cae400 1050             javax.swing.UIManager::getBoolean (8 bytes)
Event: 3.713 Thread 0x24cae400 nmethod 1050 0x028d3488 code [0x028d35b0, 0x028d36d4]

GC Heap History (6 events):
Event: 0.862 GC heap before
{Heap before GC invocations=0 (full 0):
 def new generation   total 39296K, used 34944K [0x04800000, 0x072a0000, 0x0f2a0000)
  eden space 34944K, 100% used [0x04800000, 0x06a20000, 0x06a20000)
  from space 4352K,   0% used [0x06a20000, 0x06a20000, 0x06e60000)
  to   space 4352K,   0% used [0x06e60000, 0x06e60000, 0x072a0000)
 tenured generation   total 87424K, used 0K [0x0f2a0000, 0x14800000, 0x24800000)
   the space 87424K,   0% used [0x0f2a0000, 0x0f2a0000, 0x0f2a0200, 0x14800000)
 Metaspace       used 7578K, capacity 7758K, committed 7808K, reserved 8576K
Event: 0.877 GC heap after
Heap after GC invocations=1 (full 0):
 def new generation   total 39296K, used 4352K [0x04800000, 0x072a0000, 0x0f2a0000)
  eden space 34944K,   0% used [0x04800000, 0x04800000, 0x06a20000)
  from space 4352K, 100% used [0x06e60000, 0x072a0000, 0x072a0000)
  to   space 4352K,   0% used [0x06a20000, 0x06a20000, 0x06e60000)
 tenured generation   total 87424K, used 1205K [0x0f2a0000, 0x14800000, 0x24800000)
   the space 87424K,   1% used [0x0f2a0000, 0x0f3cd7b0, 0x0f3cd800, 0x14800000)
 Metaspace       used 7578K, capacity 7758K, committed 7808K, reserved 8576K
}
Event: 1.548 GC heap before
{Heap before GC invocations=1 (full 0):
 def new generation   total 39296K, used 39296K [0x04800000, 0x072a0000, 0x0f2a0000)
  eden space 34944K, 100% used [0x04800000, 0x06a20000, 0x06a20000)
  from space 4352K, 100% used [0x06e60000, 0x072a0000, 0x072a0000)
  to   space 4352K,   0% used [0x06a20000, 0x06a20000, 0x06e60000)
 tenured generation   total 87424K, used 1205K [0x0f2a0000, 0x14800000, 0x24800000)
   the space 87424K,   1% used [0x0f2a0000, 0x0f3cd7b0, 0x0f3cd800, 0x14800000)
 Metaspace       used 10988K, capacity 11345K, committed 11392K, reserved 11648K
Event: 1.573 GC heap after
Heap after GC invocations=2 (full 0):
 def new generation   total 39296K, used 4352K [0x04800000, 0x072a0000, 0x0f2a0000)
  eden space 34944K,   0% used [0x04800000, 0x04800000, 0x06a20000)
  from space 4352K, 100% used [0x06a20000, 0x06e60000, 0x06e60000)
  to   space 4352K,   0% used [0x06e60000, 0x06e60000, 0x072a0000)
 tenured generation   total 87424K, used 6947K [0x0f2a0000, 0x14800000, 0x24800000)
   the space 87424K,   7% used [0x0f2a0000, 0x0f968c60, 0x0f968e00, 0x14800000)
 Metaspace       used 10988K, capacity 11345K, committed 11392K, reserved 11648K
}
Event: 2.172 GC heap before
{Heap before GC invocations=2 (full 0):
 def new generation   total 39296K, used 39296K [0x04800000, 0x072a0000, 0x0f2a0000)
  eden space 34944K, 100% used [0x04800000, 0x06a20000, 0x06a20000)
  from space 4352K, 100% used [0x06a20000, 0x06e60000, 0x06e60000)
  to   space 4352K,   0% used [0x06e60000, 0x06e60000, 0x072a0000)
 tenured generation   total 87424K, used 6947K [0x0f2a0000, 0x14800000, 0x24800000)
   the space 87424K,   7% used [0x0f2a0000, 0x0f968c60, 0x0f968e00, 0x14800000)
 Metaspace       used 11343K, capacity 11697K, committed 11776K, reserved 12672K
Event: 2.184 GC heap after
Heap after GC invocations=3 (full 0):
 def new generation   total 39296K, used 753K [0x04800000, 0x072a0000, 0x0f2a0000)
  eden space 34944K,   0% used [0x04800000, 0x04800000, 0x06a20000)
  from space 4352K,  17% used [0x06e60000, 0x06f1c770, 0x072a0000)
  to   space 4352K,   0% used [0x06a20000, 0x06a20000, 0x06e60000)
 tenured generation   total 87424K, used 11152K [0x0f2a0000, 0x14800000, 0x24800000)
   the space 87424K,  12% used [0x0f2a0000, 0x0fd843b0, 0x0fd84400, 0x14800000)
 Metaspace       used 11343K, capacity 11697K, committed 11776K, reserved 12672K
}

Deoptimization events (0 events):
No events

Internal exceptions (10 events):
Event: 2.279 Thread 0x00f2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04dad718) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.279 Thread 0x00f2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04dadca8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.280 Thread 0x00f2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04dbaf18) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.280 Thread 0x00f2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04dbb458) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.281 Thread 0x00f2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04dd2fa8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.281 Thread 0x00f2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04dd3500) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.281 Thread 0x00f2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04de9418) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.281 Thread 0x00f2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04de9970) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.282 Thread 0x00f2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04df4a78) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.282 Thread 0x00f2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04df4fe0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]

Events (10 events):
Event: 2.758 loading class java/awt/event/InputMethodEvent done
Event: 2.758 loading class java/util/concurrent/locks/LockSupport
Event: 2.758 loading class java/util/concurrent/locks/LockSupport done
Event: 2.759 loading class processing/app/Base$14
Event: 2.759 loading class processing/app/Base$14 done
Event: 2.760 loading class processing/app/Base$15
Event: 2.760 loading class processing/app/Base$15 done
Event: 3.409 Thread 0x24cae400 flushing nmethod 0x027e09c8
Event: 3.599 loading class javax/jmdns/impl/tasks/state/Announcer
Event: 3.599 loading class javax/jmdns/impl/tasks/state/Announcer done


Dynamic libraries:
0x00fd0000 - 0x01003000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\java.exe
0x76f20000 - 0x770a0000     C:\Windows\SysWOW64\ntdll.dll
0x74ac0000 - 0x74bd0000     C:\Windows\syswow64\kernel32.dll
0x74dd0000 - 0x74e17000     C:\Windows\syswow64\KERNELBASE.dll
0x756e0000 - 0x75781000     C:\Windows\syswow64\ADVAPI32.dll
0x74980000 - 0x74a2c000     C:\Windows\syswow64\msvcrt.dll
0x74ff0000 - 0x75009000     C:\Windows\SysWOW64\sechost.dll
0x75200000 - 0x752f0000     C:\Windows\syswow64\RPCRT4.dll
0x74870000 - 0x748d0000     C:\Windows\syswow64\SspiCli.dll
0x74860000 - 0x7486c000     C:\Windows\syswow64\CRYPTBASE.dll
0x74e20000 - 0x74f20000     C:\Windows\syswow64\USER32.dll
0x74a30000 - 0x74ac0000     C:\Windows\syswow64\GDI32.dll
0x76a70000 - 0x76a7a000     C:\Windows\syswow64\LPK.dll
0x752f0000 - 0x7538d000     C:\Windows\syswow64\USP10.dll
0x70660000 - 0x707fe000     C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_41e855142bd5705d\COMCTL32.dll
0x75670000 - 0x756c7000     C:\Windows\syswow64\SHLWAPI.dll
0x767f0000 - 0x76850000     C:\Windows\system32\IMM32.DLL
0x75970000 - 0x75a3c000     C:\Windows\syswow64\MSCTF.dll
0x6f690000 - 0x6f6bc000     C:\Program Files (x86)\AVG\AVG2015\avghookx.dll
0x6de40000 - 0x6deff000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\msvcr100.dll
0x5a160000 - 0x5a525000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\client\jvm.dll
0x733d0000 - 0x733d7000     C:\Windows\system32\WSOCK32.dll
0x74bd0000 - 0x74c05000     C:\Windows\syswow64\WS2_32.dll
0x76a80000 - 0x76a86000     C:\Windows\syswow64\NSI.dll
0x6f320000 - 0x6f352000     C:\Windows\system32\WINMM.dll
0x70b30000 - 0x70b39000     C:\Windows\system32\VERSION.dll
0x74c10000 - 0x74c15000     C:\Windows\syswow64\PSAPI.DLL
0x74810000 - 0x7481c000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\verify.dll
0x74520000 - 0x74541000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\java.dll
0x74500000 - 0x74513000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\zip.dll
0x75ba0000 - 0x767eb000     C:\Windows\syswow64\SHELL32.dll
0x75a40000 - 0x75b9c000     C:\Windows\syswow64\ole32.dll
0x74970000 - 0x7497b000     C:\Windows\syswow64\profapi.dll
0x6f230000 - 0x6f261000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\splashscreen.dll
0x6d7d0000 - 0x6d915000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\awt.dll
0x74f20000 - 0x74faf000     C:\Windows\syswow64\OLEAUT32.dll
0x6f3e0000 - 0x6f3f6000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\net.dll
0x696b0000 - 0x696ec000     C:\Windows\system32\mswsock.dll
0x69eb0000 - 0x69eb6000     C:\Windows\System32\wship6.dll
0x704a0000 - 0x704bc000     C:\Windows\system32\IPHLPAPI.DLL
0x70490000 - 0x70497000     C:\Windows\system32\WINNSI.DLL
0x61940000 - 0x61984000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\listSerialsj.dll
0x74c20000 - 0x74dbd000     C:\Windows\syswow64\SETUPAPI.dll
0x75640000 - 0x75667000     C:\Windows\syswow64\CFGMGR32.dll
0x75390000 - 0x753a2000     C:\Windows\syswow64\DEVOBJ.dll
0x6ec80000 - 0x6ec8d000     C:\Windows\system32\dhcpcsvc6.DLL
0x69ec0000 - 0x69ed2000     C:\Windows\system32\dhcpcsvc.DLL
0x6fde0000 - 0x6fdf7000     C:\Windows\system32\CRYPTSP.dll
0x6fda0000 - 0x6fddb000     C:\Windows\system32\rsaenh.dll
0x76b00000 - 0x76b17000     C:\Windows\syswow64\USERENV.dll
0x6f420000 - 0x6f42f000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\nio.dll
0x69620000 - 0x69664000     C:\Windows\system32\DNSAPI.dll
0x695f0000 - 0x69611000     C:\Program Files (x86)\Bonjour\mdnsNSP.dll
0x695e0000 - 0x695e5000     C:\Windows\System32\wshtcpip.dll
0x695d0000 - 0x695d6000     C:\Windows\system32\rasadhlp.dll
0x04740000 - 0x0477d000     C:\Users\tmrh20\AppData\Local\Temp\jna--869824275\jna7173334216629432528.dll
0x744b0000 - 0x744c3000     C:\Windows\system32\DWMAPI.DLL
0x6f000000 - 0x6f039000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\fontmanager.dll
0x6efd0000 - 0x6f000000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\t2k.dll
0x75790000 - 0x75813000     C:\Windows\syswow64\CLBCatQ.DLL
0x73380000 - 0x733b1000     C:\Windows\system32\wbem\wbemdisp.dll
0x6fe00000 - 0x6fe5c000     C:\Windows\system32\wbemcomn.dll
0x6fe60000 - 0x6fe6a000     C:\Windows\system32\wbem\wbemprox.dll
0x74820000 - 0x74837000     C:\Windows\system32\wbem\wmiutils.dll
0x6fd90000 - 0x6fd9e000     C:\Windows\system32\RpcRtRemote.dll
0x704e0000 - 0x704ef000     C:\Windows\system32\wbem\wbemsvc.dll
0x6f710000 - 0x6f7a6000     C:\Windows\system32\wbem\fastprox.dll
0x6f6f0000 - 0x6f708000     C:\Windows\system32\NTDSAPI.dll
0x69fb0000 - 0x6a00f000     C:\Windows\system32\SXS.DLL
0x74fb0000 - 0x74fdf000     C:\Windows\syswow64\WINTRUST.dll
0x75020000 - 0x75141000     C:\Windows\syswow64\CRYPT32.dll
0x76ef0000 - 0x76efc000     C:\Windows\syswow64\MSASN1.dll
0x6dd50000 - 0x6de3b000     C:\Windows\system32\dbghelp.dll

VM Arguments:
jvm_args: -Dsun.java2d.d3d=false -DAPP_DIR=C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534 -DDEBUG=true -Xms128M -Xmx512M 
java_command: processing.app.Base
java_class_path (initial): C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\apple.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\arduino-core.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-anim-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-awt-util-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-bridge-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-codec-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-css-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-dom-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-ext-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-gvt-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-parser-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-rasterizer-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-script-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-squiggle-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-svg-dom-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-svgpp-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-transcoder-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-util-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-xml-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\bcpg-jdk15on-152.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\bcprov-jdk15on-152.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\commons-codec-1.7.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\commons-compress-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\commons-exec-1.1.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\commons-httpclient-3.1.jar;C:\Users\tmrh20\Desktop\arduino-PR-479
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\Python27\;C:\Python27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static;C:\Program Files\doxygen\bin;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin
USERNAME=tmrh20
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows 7 , 64 bit Build 7601 (6.1.7601.19160)

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, tsc

Memory: 4k page, physical 4158520k(1862160k free), swap 8315204k(5682708k free)

vm_info: Java HotSpot(TM) Client VM (25.66-b17) for windows-x86 JRE (1.8.0_66-b17), built on Oct  6 2015 19:59:47 by "java_re" with MS VC++ 10.0 (VS2010)

time: Fri Apr 01 05:16:40 2016
elapsed time: 3 seconds (0d 0h 0m 3s)

@facchinm
Copy link
Member Author

facchinm commented Apr 1, 2016

I've updated the jni lib with an extra safety check, jenkins is producing the build and it should post it here in a couple of minutes.
@TMRh20 sorry for bothering you, if you wish you can download only the updated library (from the attached zip, folder windows) and replace the file libSerialsJ.dll in arduino-PR-4792-BUILD-534\lib with that one
liblistSerials-1.0.9.zip

@TMRh20
Copy link

TMRh20 commented Apr 1, 2016

@facchinm No prob, but unfortunately I am getting much the same. I tried replacing the file and then grabbed the full build. I hope its not just my PC, but 1.6.7 is working.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x753808f5, pid=4652, tid=5380
#
# JRE version: Java(TM) SE Runtime Environment (8.0_66-b17) (build 1.8.0_66-b17)
# Java VM: Java HotSpot(TM) Client VM (25.66-b17 mixed mode windows-x86 )
# Problematic frame:
# C  [msvcrt.dll+0x108f5]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x25636000):  JavaThread "cc.arduino.packages.discoverers.serial.SerialBoardsLister" [_thread_in_native, id=5380, stack(0x25d50000,0x25da0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000004

Registers:
EAX=0x25d9f26f, EBX=0x00000004, ECX=0x00000001, EDX=0x7efefeff
ESP=0x25d9f230, EBP=0x25d9f3c8, ESI=0x00000004, EDI=0x25d9f26f
EIP=0x753808f5, EFLAGS=0x00010202

Top of Stack: (sp=0x25d9f230)
0x25d9f230:   61a46130 255fc918 25d9f390 00e01923
0x25d9f240:   25d9f26f 00000004 00000004 00e1012e
0x25d9f250:   00000403 00006001 25651100 00000000
0x25d9f260:   25d9f398 61abaab6 00000000 369df7ce
0x25d9f270:   25313030 00381504 003874ac 27910af0
0x25d9f280:   279250a0 27910918 27926408 00573d00
0x25d9f290:   344d4f43 3034305f 30365f33 00003130
0x25d9f2a0:   00000000 00000000 00000000 00000000 

Instructions: (pc=0x753808f5)
0x753808d5:   e9 01 74 5b 84 c0 0f 84 5d 01 02 00 f7 c6 03 00
0x753808e5:   00 00 75 e1 8b d9 c1 e9 02 74 28 ba ff fe fe 7e
0x753808f5:   8b 06 03 d0 83 f0 ff 33 c2 8b 16 83 c6 04 a9 00
0x75380905:   01 01 81 0f 85 7e 8c 00 00 89 17 83 c7 04 83 e9 


Register to memory mapping:

EAX=0x25d9f26f is pointing into the stack for thread: 0x25636000
EBX=0x00000004 is an unknown value
ECX=0x00000001 is an unknown value
EDX=0x7efefeff is an unknown value
ESP=0x25d9f230 is pointing into the stack for thread: 0x25636000
EBP=0x25d9f3c8 is pointing into the stack for thread: 0x25636000
ESI=0x00000004 is an unknown value
EDI=0x25d9f26f is pointing into the stack for thread: 0x25636000


Stack: [0x25d50000,0x25da0000],  sp=0x25d9f230,  free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [msvcrt.dll+0x108f5]
j  processing.app.Platform.listSerialsNative()[Ljava/lang/String;+0
j  processing.app.Platform.listSerials()Ljava/util/List;+5
j  cc.arduino.packages.discoverers.serial.SerialBoardsLister.retriggerDiscovery(Z)V+22
j  cc.arduino.packages.discoverers.serial.SerialBoardsLister.run()V+9
j  java.util.TimerThread.mainLoop()V+221
j  java.util.TimerThread.run()V+1
v  ~StubRoutines::call_stub
V  [jvm.dll+0x158ba5]
V  [jvm.dll+0x21e12e]
V  [jvm.dll+0x158c3e]
V  [jvm.dll+0x158dc6]
V  [jvm.dll+0x158e37]
V  [jvm.dll+0xfd84f]
V  [jvm.dll+0x17c07c]
V  [jvm.dll+0x17c16a]
V  [jvm.dll+0x1c06f6]
C  [msvcr100.dll+0x5c556]
C  [msvcr100.dll+0x5c600]
C  [kernel32.dll+0x1338a]
C  [ntdll.dll+0x39a02]
C  [ntdll.dll+0x399d5]
C  0x00000000

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  processing.app.Platform.listSerialsNative()[Ljava/lang/String;+0
j  processing.app.Platform.listSerials()Ljava/util/List;+5
j  cc.arduino.packages.discoverers.serial.SerialBoardsLister.retriggerDiscovery(Z)V+22
j  cc.arduino.packages.discoverers.serial.SerialBoardsLister.run()V+9
j  java.util.TimerThread.mainLoop()V+221
j  java.util.TimerThread.run()V+1
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x257cb800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=5188, stack(0x276b0000,0x27700000)]
  0x257cb000 JavaThread "AWT-Shutdown" [_thread_blocked, id=3524, stack(0x25ac0000,0x25b10000)]
  0x257cac00 JavaThread "JmDNS(fe80:0:0:0:3961:d4b0:63bc:cec1%eth3.local.).Timer" daemon [_thread_blocked, id=5892, stack(0x269d0000,0x26a20000)]
  0x257ca400 JavaThread "JmDNS(fe80:0:0:0:3961:d4b0:63bc:cec1%eth3.local.).State.Timer" [_thread_blocked, id=400, stack(0x268b0000,0x26900000)]
  0x257c9c00 JavaThread "JmDNS(fe80:0:0:0:3961:d4b0:63bc:cec1%eth3.local.).Timer" daemon [_thread_blocked, id=4112, stack(0x26910000,0x26960000)]
  0x257c9800 JavaThread "SocketListener(fe80:0:0:0:3961:d4b0:63bc:cec1%eth3.local.)" daemon [_thread_in_native, id=2832, stack(0x266d0000,0x26720000)]
  0x257c9000 JavaThread "JmDNS(10-10-1-50.local.).Timer" daemon [_thread_blocked, id=6128, stack(0x26620000,0x26670000)]
  0x2579d000 JavaThread "JmDNS(10-10-1-50.local.).State.Timer" [_thread_blocked, id=3844, stack(0x25290000,0x252e0000)]
  0x2579c800 JavaThread "JmDNS(10-10-1-50.local.).Timer" daemon [_thread_blocked, id=1536, stack(0x25cf0000,0x25d40000)]
  0x256f2800 JavaThread "SocketListener(10-10-1-50.local.)" daemon [_thread_in_native, id=4048, stack(0x263f0000,0x26440000)]
  0x25694000 JavaThread "cc.arduino.packages.discoverers.network.BoardReachabilityFilter" [_thread_blocked, id=4848, stack(0x25e30000,0x25e80000)]
  0x2563b400 JavaThread "cc.arduino.packages.discoverers.network.NetworkChecker" [_thread_blocked, id=5680, stack(0x25ca0000,0x25cf0000)]
=>0x25636000 JavaThread "cc.arduino.packages.discoverers.serial.SerialBoardsLister" [_thread_in_native, id=5380, stack(0x25d50000,0x25da0000)]
  0x2562f400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5548, stack(0x25c40000,0x25c90000)]
  0x2562b400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5308, stack(0x25a60000,0x25ab0000)]
  0x24c74800 JavaThread "Service Thread" daemon [_thread_blocked, id=6132, stack(0x25430000,0x25480000)]
  0x24c6e400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=3248, stack(0x253c0000,0x25410000)]
  0x24c6d400 JavaThread "Attach Listener" daemon [_thread_blocked, id=6076, stack(0x00d60000,0x00db0000)]
  0x24c7b000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2248, stack(0x24f20000,0x24f70000)]
  0x24c39000 JavaThread "Finalizer" daemon [_thread_blocked, id=1704, stack(0x250f0000,0x25140000)]
  0x24c33400 JavaThread "Reference Handler" daemon [_thread_blocked, id=2820, stack(0x24f70000,0x24fc0000)]
  0x00c2d800 JavaThread "main" [_thread_in_native, id=5700, stack(0x00b40000,0x00b90000)]

Other Threads:
  0x24c2e000 VMThread [stack: 0x24e20000,0x24e70000] [id=5564]
  0x24c77800 WatcherThread [stack: 0x25490000,0x254e0000] [id=5128]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 def new generation   total 39296K, used 16962K [0x04600000, 0x070a0000, 0x0f0a0000)
  eden space 34944K,  46% used [0x04600000, 0x055d46f0, 0x06820000)
  from space 4352K,  17% used [0x06c60000, 0x06d1c230, 0x070a0000)
  to   space 4352K,   0% used [0x06820000, 0x06820000, 0x06c60000)
 tenured generation   total 87424K, used 11166K [0x0f0a0000, 0x14600000, 0x24600000)
   the space 87424K,  12% used [0x0f0a0000, 0x0fb879d8, 0x0fb87a00, 0x14600000)
 Metaspace       used 11796K, capacity 12195K, committed 12288K, reserved 12672K

Card table byte_map: [0x24600000,0x24710000] byte_map_base: 0x245dd000

Polling page: 0x00280000

CodeCache: size=32768Kb used=1991Kb max_used=1991Kb free=30777Kb
 bounds [0x02560000, 0x02758000, 0x04560000]
 total_blobs=1264 nmethods=1031 adapters=164
 compilation: enabled

Compilation events (10 events):
Event: 3.576 Thread 0x24c6e400 1041             java.util.TimSort::countRunAndMakeAscending (128 bytes)
Event: 3.576 Thread 0x24c6e400 nmethod 1041 0x02750408 code [0x02750550, 0x027508c4]
Event: 3.599 Thread 0x24c6e400 1042   !         javax.swing.JComponent::putClientProperty (107 bytes)
Event: 3.599 Thread 0x24c6e400 nmethod 1042 0x02750c88 code [0x02750de0, 0x027511c8]
Event: 3.605 Thread 0x24c6e400 1043             javax.swing.AbstractButton::setBorderPainted (40 bytes)
Event: 3.605 Thread 0x24c6e400 nmethod 1043 0x0265b708 code [0x0265b840, 0x0265b9fc]
Event: 3.605 Thread 0x24c6e400 1044             javax.swing.UIManager::getIcon (8 bytes)
Event: 3.605 Thread 0x24c6e400 nmethod 1044 0x02751408 code [0x02751530, 0x02751694]
Event: 3.605 Thread 0x24c6e400 1045             javax.swing.UIDefaults::getIcon (22 bytes)
Event: 3.606 Thread 0x24c6e400 nmethod 1045 0x027517c8 code [0x027518e0, 0x02751a1c]

GC Heap History (6 events):
Event: 0.823 GC heap before
{Heap before GC invocations=0 (full 0):
 def new generation   total 39296K, used 34944K [0x04600000, 0x070a0000, 0x0f0a0000)
  eden space 34944K, 100% used [0x04600000, 0x06820000, 0x06820000)
  from space 4352K,   0% used [0x06820000, 0x06820000, 0x06c60000)
  to   space 4352K,   0% used [0x06c60000, 0x06c60000, 0x070a0000)
 tenured generation   total 87424K, used 0K [0x0f0a0000, 0x14600000, 0x24600000)
   the space 87424K,   0% used [0x0f0a0000, 0x0f0a0000, 0x0f0a0200, 0x14600000)
 Metaspace       used 7558K, capacity 7726K, committed 7808K, reserved 8576K
Event: 0.839 GC heap after
Heap after GC invocations=1 (full 0):
 def new generation   total 39296K, used 4352K [0x04600000, 0x070a0000, 0x0f0a0000)
  eden space 34944K,   0% used [0x04600000, 0x04600000, 0x06820000)
  from space 4352K, 100% used [0x06c60000, 0x070a0000, 0x070a0000)
  to   space 4352K,   0% used [0x06820000, 0x06820000, 0x06c60000)
 tenured generation   total 87424K, used 1174K [0x0f0a0000, 0x14600000, 0x24600000)
   the space 87424K,   1% used [0x0f0a0000, 0x0f1c5908, 0x0f1c5a00, 0x14600000)
 Metaspace       used 7558K, capacity 7726K, committed 7808K, reserved 8576K
}
Event: 1.515 GC heap before
{Heap before GC invocations=1 (full 0):
 def new generation   total 39296K, used 39296K [0x04600000, 0x070a0000, 0x0f0a0000)
  eden space 34944K, 100% used [0x04600000, 0x06820000, 0x06820000)
  from space 4352K, 100% used [0x06c60000, 0x070a0000, 0x070a0000)
  to   space 4352K,   0% used [0x06820000, 0x06820000, 0x06c60000)
 tenured generation   total 87424K, used 1174K [0x0f0a0000, 0x14600000, 0x24600000)
   the space 87424K,   1% used [0x0f0a0000, 0x0f1c5908, 0x0f1c5a00, 0x14600000)
 Metaspace       used 10983K, capacity 11345K, committed 11392K, reserved 11648K
Event: 1.541 GC heap after
Heap after GC invocations=2 (full 0):
 def new generation   total 39296K, used 4352K [0x04600000, 0x070a0000, 0x0f0a0000)
  eden space 34944K,   0% used [0x04600000, 0x04600000, 0x06820000)
  from space 4352K, 100% used [0x06820000, 0x06c60000, 0x06c60000)
  to   space 4352K,   0% used [0x06c60000, 0x06c60000, 0x070a0000)
 tenured generation   total 87424K, used 6955K [0x0f0a0000, 0x14600000, 0x24600000)
   the space 87424K,   7% used [0x0f0a0000, 0x0f76ae98, 0x0f76b000, 0x14600000)
 Metaspace       used 10983K, capacity 11345K, committed 11392K, reserved 11648K
}
Event: 2.166 GC heap before
{Heap before GC invocations=2 (full 0):
 def new generation   total 39296K, used 39296K [0x04600000, 0x070a0000, 0x0f0a0000)
  eden space 34944K, 100% used [0x04600000, 0x06820000, 0x06820000)
  from space 4352K, 100% used [0x06820000, 0x06c60000, 0x06c60000)
  to   space 4352K,   0% used [0x06c60000, 0x06c60000, 0x070a0000)
 tenured generation   total 87424K, used 6955K [0x0f0a0000, 0x14600000, 0x24600000)
   the space 87424K,   7% used [0x0f0a0000, 0x0f76ae98, 0x0f76b000, 0x14600000)
 Metaspace       used 11344K, capacity 11697K, committed 11776K, reserved 12672K
Event: 2.179 GC heap after
Heap after GC invocations=3 (full 0):
 def new generation   total 39296K, used 752K [0x04600000, 0x070a0000, 0x0f0a0000)
  eden space 34944K,   0% used [0x04600000, 0x04600000, 0x06820000)
  from space 4352K,  17% used [0x06c60000, 0x06d1c230, 0x070a0000)
  to   space 4352K,   0% used [0x06820000, 0x06820000, 0x06c60000)
 tenured generation   total 87424K, used 11166K [0x0f0a0000, 0x14600000, 0x24600000)
   the space 87424K,  12% used [0x0f0a0000, 0x0fb879d8, 0x0fb87a00, 0x14600000)
 Metaspace       used 11344K, capacity 11697K, committed 11776K, reserved 12672K
}

Deoptimization events (0 events):
No events

Internal exceptions (10 events):
Event: 2.280 Thread 0x00c2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04c18ba8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.280 Thread 0x00c2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04c19138) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.280 Thread 0x00c2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04c263a8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.281 Thread 0x00c2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04c268e8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.282 Thread 0x00c2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04c3ce80) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.282 Thread 0x00c2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04c3d3d8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.282 Thread 0x00c2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04c532f0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.282 Thread 0x00c2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04c53848) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.283 Thread 0x00c2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04c5e950) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.283 Thread 0x00c2d800 Exception <a 'sun/nio/fs/WindowsException'> (0x04c5eeb8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]

Events (10 events):
Event: 2.719 loading class java/awt/event/InputMethodEvent done
Event: 2.719 loading class java/util/concurrent/locks/LockSupport
Event: 2.719 loading class java/util/concurrent/locks/LockSupport done
Event: 2.720 loading class processing/app/Base$14
Event: 2.720 loading class processing/app/Base$14 done
Event: 2.720 loading class processing/app/Base$15
Event: 2.720 loading class processing/app/Base$15 done
Event: 3.344 Thread 0x24c6e400 flushing nmethod 0x0265b508
Event: 3.600 loading class javax/jmdns/impl/tasks/state/Announcer
Event: 3.600 loading class javax/jmdns/impl/tasks/state/Announcer done


Dynamic libraries:
0x00e50000 - 0x00e83000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\java.exe
0x77930000 - 0x77ab0000     C:\Windows\SysWOW64\ntdll.dll
0x76690000 - 0x767a0000     C:\Windows\syswow64\kernel32.dll
0x76dd0000 - 0x76e17000     C:\Windows\syswow64\KERNELBASE.dll
0x77400000 - 0x774a1000     C:\Windows\syswow64\ADVAPI32.dll
0x75370000 - 0x7541c000     C:\Windows\syswow64\msvcrt.dll
0x764d0000 - 0x764e9000     C:\Windows\SysWOW64\sechost.dll
0x763d0000 - 0x764c0000     C:\Windows\syswow64\RPCRT4.dll
0x75280000 - 0x752e0000     C:\Windows\syswow64\SspiCli.dll
0x75270000 - 0x7527c000     C:\Windows\syswow64\CRYPTBASE.dll
0x77240000 - 0x77340000     C:\Windows\syswow64\USER32.dll
0x755a0000 - 0x75630000     C:\Windows\syswow64\GDI32.dll
0x76f40000 - 0x76f4a000     C:\Windows\syswow64\LPK.dll
0x771a0000 - 0x7723d000     C:\Windows\syswow64\USP10.dll
0x71690000 - 0x7182e000     C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_41e855142bd5705d\COMCTL32.dll
0x76d70000 - 0x76dc7000     C:\Windows\syswow64\SHLWAPI.dll
0x75540000 - 0x755a0000     C:\Windows\system32\IMM32.DLL
0x767e0000 - 0x768ac000     C:\Windows\syswow64\MSCTF.dll
0x708d0000 - 0x708fc000     C:\Program Files (x86)\AVG\AVG2015\avghookx.dll
0x61d30000 - 0x61def000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\msvcr100.dll
0x61960000 - 0x61d25000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\client\jvm.dll
0x743a0000 - 0x743a7000     C:\Windows\system32\WSOCK32.dll
0x75430000 - 0x75465000     C:\Windows\syswow64\WS2_32.dll
0x752e0000 - 0x752e6000     C:\Windows\syswow64\NSI.dll
0x6fbd0000 - 0x6fc02000     C:\Windows\system32\WINMM.dll
0x710a0000 - 0x710a9000     C:\Windows\system32\VERSION.dll
0x77190000 - 0x77195000     C:\Windows\syswow64\PSAPI.DLL
0x61ea0000 - 0x61eac000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\verify.dll
0x61e70000 - 0x61e91000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\java.dll
0x61e50000 - 0x61e63000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\zip.dll
0x75630000 - 0x7627b000     C:\Windows\syswow64\SHELL32.dll
0x768b0000 - 0x76a0c000     C:\Windows\syswow64\ole32.dll
0x75420000 - 0x7542b000     C:\Windows\syswow64\profapi.dll
0x61e10000 - 0x61e41000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\splashscreen.dll
0x61810000 - 0x61955000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\awt.dll
0x75490000 - 0x7551f000     C:\Windows\syswow64\OLEAUT32.dll
0x61df0000 - 0x61e06000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\net.dll
0x67750000 - 0x6778c000     C:\Windows\system32\mswsock.dll
0x74de0000 - 0x74de6000     C:\Windows\System32\wship6.dll
0x715d0000 - 0x715ec000     C:\Windows\system32\IPHLPAPI.DLL
0x71610000 - 0x71617000     C:\Windows\system32\WINNSI.DLL
0x74820000 - 0x7482d000     C:\Windows\system32\dhcpcsvc6.DLL
0x74800000 - 0x74812000     C:\Windows\system32\dhcpcsvc.DLL
0x00e00000 - 0x00e44000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\listSerialsj.dll
0x764f0000 - 0x7668d000     C:\Windows\syswow64\SETUPAPI.dll
0x774b0000 - 0x774d7000     C:\Windows\syswow64\CFGMGR32.dll
0x76d50000 - 0x76d62000     C:\Windows\syswow64\DEVOBJ.dll
0x70730000 - 0x70747000     C:\Windows\system32\CRYPTSP.dll
0x706f0000 - 0x7072b000     C:\Windows\system32\rsaenh.dll
0x76f20000 - 0x76f37000     C:\Windows\syswow64\USERENV.dll
0x674b0000 - 0x674bf000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\nio.dll
0x67540000 - 0x67584000     C:\Windows\system32\DNSAPI.dll
0x74db0000 - 0x74dd1000     C:\Program Files (x86)\Bonjour\mdnsNSP.dll
0x74df0000 - 0x74df5000     C:\Windows\System32\wshtcpip.dll
0x705f0000 - 0x705f6000     C:\Windows\system32\rasadhlp.dll
0x00780000 - 0x007bd000     C:\Users\tmrh20\AppData\Local\Temp\jna--869824275\jna7845293829406785616.dll
0x6fca0000 - 0x6fcb3000     C:\Windows\system32\DWMAPI.DLL
0x617d0000 - 0x61809000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\fontmanager.dll
0x61770000 - 0x617a0000     C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin\t2k.dll
0x77340000 - 0x7736f000     C:\Windows\syswow64\WINTRUST.dll
0x76c20000 - 0x76d41000     C:\Windows\syswow64\CRYPT32.dll
0x76eb0000 - 0x76ebc000     C:\Windows\syswow64\MSASN1.dll
0x77370000 - 0x773f3000     C:\Windows\syswow64\CLBCatQ.DLL
0x70330000 - 0x70361000     C:\Windows\system32\wbem\wbemdisp.dll
0x70750000 - 0x707ac000     C:\Windows\system32\wbemcomn.dll
0x707b0000 - 0x707ba000     C:\Windows\system32\wbem\wbemprox.dll
0x742d0000 - 0x742e7000     C:\Windows\system32\wbem\wmiutils.dll
0x706e0000 - 0x706ee000     C:\Windows\system32\RpcRtRemote.dll
0x706d0000 - 0x706df000     C:\Windows\system32\wbem\wbemsvc.dll
0x70630000 - 0x706c6000     C:\Windows\system32\wbem\fastprox.dll
0x70610000 - 0x70628000     C:\Windows\system32\NTDSAPI.dll
0x702d0000 - 0x7032f000     C:\Windows\system32\SXS.DLL
0x61680000 - 0x6176b000     C:\Windows\system32\dbghelp.dll

VM Arguments:
jvm_args: -Dsun.java2d.d3d=false -DAPP_DIR=C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534 -DDEBUG=true -Xms128M -Xmx512M 
java_command: processing.app.Base
java_class_path (initial): C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\apple.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\arduino-core.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-anim-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-awt-util-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-bridge-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-codec-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-css-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-dom-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-ext-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-gvt-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-parser-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-rasterizer-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-script-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-squiggle-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-svg-dom-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-svgpp-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-transcoder-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-util-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\batik-xml-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\bcpg-jdk15on-152.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\bcprov-jdk15on-152.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\commons-codec-1.7.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\commons-compress-1.8.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\commons-exec-1.1.jar;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\lib\commons-httpclient-3.1.jar;C:\Users\tmrh20\Desktop\arduino-PR-479
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\Python27\;C:\Python27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static;C:\Program Files\doxygen\bin;C:\Users\tmrh20\Desktop\arduino-PR-4792-BUILD-534\java\bin
USERNAME=tmrh20
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows 7 , 64 bit Build 7601 (6.1.7601.19160)

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, tsc

Memory: 4k page, physical 4158520k(1802448k free), swap 8315204k(5612040k free)

vm_info: Java HotSpot(TM) Client VM (25.66-b17) for windows-x86 JRE (1.8.0_66-b17), built on Oct  6 2015 19:59:47 by "java_re" with MS VC++ 10.0 (VS2010)

time: Fri Apr 01 10:13:02 2016
elapsed time: 3 seconds (0d 0h 0m 3s)

@per1234
Copy link
Collaborator

per1234 commented Apr 2, 2016

I'm relaying the test results of a forum user from http://forum.arduino.cc/index.php?topic=390855. Using Windows:

  • Arduino IDE 1.6.8: avrdude: ser_open(): can't open device "\\.\COM1": Access is denied "on most uploads".
  • arduino-PR-4792-BUILD-538: "does the exact same thing" as 1.6.8
  • Arduino IDE 1.6.7: "Works perfectly"

@pfeerick
Copy link
Contributor

pfeerick commented Apr 3, 2016

Just tested PR-4792-BUILD-538-windows.zip (twice - as I walked away the first time and though I mustn't have actually run it until I saw the log file), and got nothing other than the splash screen and a error log (attached). I also noticed another behaviour about PR-4482-BUILD-531-windows - it stopped doing the resets after I had uploaded a sketch - until I opened and closed the serial monitor. (Let me know if you prefer in-line logs in future to zipped ones)

arduino-PR-4792-BUILD-538.zip

@waiweng83
Copy link

I have also just tested the arduino-PR-4792-BUILD-538-windows.zip on Windows 10 64-bit and just like the others, it crashed after the splash screen.

These is the content of my log file.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77259404, pid=12752, tid=12644
#
# JRE version: Java(TM) SE Runtime Environment (8.0_66-b17) (build 1.8.0_66-b17)
# Java VM: Java HotSpot(TM) Client VM (25.66-b17 mixed mode windows-x86 )
# Problematic frame:
# C  [msvcrt.dll+0x89404]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x25802000):  JavaThread "cc.arduino.packages.discoverers.serial.SerialBoardsLister" [_thread_in_native, id=12644, stack(0x268a0000,0x268f0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000004

Registers:
EAX=0x268ef4ef, EBX=0x00000004, ECX=0x00000001, EDX=0x7efefeff
ESP=0x268ef4b0, EBP=0x268ef648, ESI=0x00000004, EDI=0x268ef4ef
EIP=0x77259404, EFLAGS=0x00010202

Top of Stack: (sp=0x268ef4b0)
0x268ef4b0:   6cfe5ee0 2569e978 268ef610 61941923
0x268ef4c0:   268ef4ef 00000004 00000004 6195012e
0x268ef4d0:   619500bc 268ef4e8 257c9640 00000000
0x268ef4e0:   268ef618 6d05aab6 00000000 6cf7f7ce
0x268ef4f0:   257c9640 00b9655c 00bb6554 00bb6598
0x268ef500:   00bba138 00b84840 00bdf978 00d4ba28
0x268ef510:   00000020 00000000 00000000 00000000
0x268ef520:   00000000 00000000 00000000 00000000 

Instructions: (pc=0x77259404)
0x772593e4:   07 83 c7 01 83 eb 01 75 f6 5b 5e 8b 44 24 08 5f
0x772593f4:   c3 89 17 83 c7 04 83 e9 01 74 9f ba ff fe fe 7e
0x77259404:   8b 06 03 d0 83 f0 ff 33 c2 8b 16 83 c6 04 a9 00
0x77259414:   01 01 81 74 dc 84 d2 74 2c 84 f6 74 1e f7 c2 00 


Register to memory mapping:

EAX=0x268ef4ef is pointing into the stack for thread: 0x25802000
EBX=0x00000004 is an unknown value
ECX=0x00000001 is an unknown value
EDX=0x7efefeff is an unknown value
ESP=0x268ef4b0 is pointing into the stack for thread: 0x25802000
EBP=0x268ef648 is pointing into the stack for thread: 0x25802000
ESI=0x00000004 is an unknown value
EDI=0x268ef4ef is pointing into the stack for thread: 0x25802000


Stack: [0x268a0000,0x268f0000],  sp=0x268ef4b0,  free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [msvcrt.dll+0x89404]
j  processing.app.Platform.listSerialsNative()[Ljava/lang/String;+0
j  processing.app.Platform.listSerials()Ljava/util/List;+5
j  cc.arduino.packages.discoverers.serial.SerialBoardsLister.retriggerDiscovery(Z)V+22
j  cc.arduino.packages.discoverers.serial.SerialBoardsLister.run()V+9
j  java.util.TimerThread.mainLoop()V+221
j  java.util.TimerThread.run()V+1
v  ~StubRoutines::call_stub
V  [jvm.dll+0x158ba5]
V  [jvm.dll+0x21e12e]
V  [jvm.dll+0x158c3e]
V  [jvm.dll+0x158dc6]
V  [jvm.dll+0x158e37]
V  [jvm.dll+0xfd84f]
V  [jvm.dll+0x17c07c]
V  [jvm.dll+0x17c16a]
V  [jvm.dll+0x1c06f6]
C  [msvcr100.dll+0x5c556]
C  [msvcr100.dll+0x5c600]
C  [KERNEL32.DLL+0x138f4]
C  [ntdll.dll+0x65de3]
C  [ntdll.dll+0x65dae]
C  0x00000000

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  processing.app.Platform.listSerialsNative()[Ljava/lang/String;+0
j  processing.app.Platform.listSerials()Ljava/util/List;+5
j  cc.arduino.packages.discoverers.serial.SerialBoardsLister.retriggerDiscovery(Z)V+22
j  cc.arduino.packages.discoverers.serial.SerialBoardsLister.run()V+9
j  java.util.TimerThread.mainLoop()V+221
j  java.util.TimerThread.run()V+1
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x26b10400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=5152, stack(0x277a0000,0x277f0000)]
  0x26b10800 JavaThread "AWT-Shutdown" [_thread_blocked, id=7748, stack(0x25c70000,0x25cc0000)]
  0x26b13400 JavaThread "JmDNS(WaiWeng.local.).Timer" daemon [_thread_blocked, id=11324, stack(0x27310000,0x27360000)]
  0x26b13000 JavaThread "JmDNS(WaiWeng.local.).State.Timer" [_thread_blocked, id=13208, stack(0x267b0000,0x26800000)]
  0x26b13c00 JavaThread "JmDNS(WaiWeng.local.).Timer" daemon [_thread_blocked, id=10760, stack(0x26540000,0x26590000)]
  0x26b12800 JavaThread "SocketListener(WaiWeng.local.)" daemon [_thread_in_native, id=4876, stack(0x264b0000,0x26500000)]
  0x26b11400 JavaThread "JmDNS(WaiWeng.local.).Timer" daemon [_thread_blocked, id=9420, stack(0x26320000,0x26370000)]
  0x25943800 JavaThread "JmDNS(WaiWeng.local.).State.Timer" [_thread_blocked, id=10624, stack(0x26290000,0x262e0000)]
  0x25942000 JavaThread "JmDNS(WaiWeng.local.).Timer" daemon [_thread_blocked, id=9340, stack(0x25f90000,0x25fe0000)]
  0x258e4800 JavaThread "SocketListener(WaiWeng.local.)" daemon [_thread_in_native, id=4936, stack(0x00c70000,0x00cc0000)]
  0x25814400 JavaThread "cc.arduino.packages.discoverers.network.BoardReachabilityFilter" [_thread_blocked, id=13064, stack(0x269c0000,0x26a10000)]
  0x25802c00 JavaThread "cc.arduino.packages.discoverers.network.NetworkChecker" [_thread_blocked, id=13416, stack(0x26930000,0x26980000)]
=>0x25802000 JavaThread "cc.arduino.packages.discoverers.serial.SerialBoardsLister" [_thread_in_native, id=12644, stack(0x268a0000,0x268f0000)]
  0x256ce800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5796, stack(0x25d00000,0x25d50000)]
  0x256cc000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=14196, stack(0x25be0000,0x25c30000)]
  0x25117800 JavaThread "Service Thread" daemon [_thread_blocked, id=8448, stack(0x25490000,0x254e0000)]
  0x25111800 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=8560, stack(0x25400000,0x25450000)]
  0x25110400 JavaThread "Attach Listener" daemon [_thread_blocked, id=13008, stack(0x25370000,0x253c0000)]
  0x2510b800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=764, stack(0x252e0000,0x25330000)]
  0x250e6400 JavaThread "Finalizer" daemon [_thread_blocked, id=14264, stack(0x24ea0000,0x24ef0000)]
  0x250e4c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=1816, stack(0x049b0000,0x04a00000)]
  0x025ee000 JavaThread "main" [_thread_in_native, id=7384, stack(0x009d0000,0x00a20000)]

Other Threads:
  0x025ce800 VMThread [stack: 0x00ce0000,0x00d30000] [id=10452]
  0x251c9400 WatcherThread [stack: 0x25520000,0x25570000] [id=6268]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 def new generation   total 39424K, used 15322K [0x04a00000, 0x074c0000, 0x0f4a0000)
  eden space 35072K,  43% used [0x04a00000, 0x058f6b30, 0x06c40000)
  from space 4352K,   0% used [0x06c40000, 0x06c40000, 0x07080000)
  to   space 4352K,   0% used [0x07080000, 0x07080000, 0x074c0000)
 tenured generation   total 87424K, used 13113K [0x0f4a0000, 0x14a00000, 0x24a00000)
   the space 87424K,  14% used [0x0f4a0000, 0x1016e480, 0x1016e600, 0x14a00000)
 Metaspace       used 12155K, capacity 12533K, committed 12544K, reserved 12672K

Card table byte_map: [0x04820000,0x04930000] byte_map_base: 0x047fb000

Polling page: 0x00af0000

CodeCache: size=32768Kb used=2303Kb max_used=2303Kb free=30464Kb
 bounds [0x02820000, 0x02a68000, 0x04820000]
 total_blobs=1526 nmethods=1279 adapters=177
 compilation: enabled

Compilation events (10 events):
Event: 3.565 Thread 0x25111800 1289             javax.swing.JComponent::isManagingFocus (2 bytes)
Event: 3.565 Thread 0x25111800 nmethod 1289 0x02a5ed48 code [0x02a5ee40, 0x02a5eec0]
Event: 3.565 Thread 0x25111800 1290             javax.swing.JComponent::setUI (59 bytes)
Event: 3.565 Thread 0x25111800 nmethod 1290 0x02a5ef08 code [0x02a5f080, 0x02a5f288]
Event: 3.565 Thread 0x25111800 1291   !         javax.swing.JComponent::uninstallUIAndProperties (98 bytes)
Event: 3.565 Thread 0x25111800 nmethod 1291 0x02a5f548 code [0x02a5f680, 0x02a5f994]
Event: 3.566 Thread 0x25111800 1292             java.lang.String::lastIndexOf (11 bytes)
Event: 3.566 Thread 0x25111800 nmethod 1292 0x02a5fbc8 code [0x02a5fcd0, 0x02a5fd9c]
Event: 3.566 Thread 0x25111800 1293             java.lang.String::lastIndexOf (25 bytes)
Event: 3.567 Thread 0x25111800 nmethod 1293 0x02a5fe88 code [0x02a5ff90, 0x02a6005c]

GC Heap History (10 events):
Event: 1.079 GC heap before
{Heap before GC invocations=0 (full 0):
 def new generation   total 39296K, used 34944K [0x04a00000, 0x074a0000, 0x0f4a0000)
  eden space 34944K, 100% used [0x04a00000, 0x06c20000, 0x06c20000)
  from space 4352K,   0% used [0x06c20000, 0x06c20000, 0x07060000)
  to   space 4352K,   0% used [0x07060000, 0x07060000, 0x074a0000)
 tenured generation   total 87424K, used 0K [0x0f4a0000, 0x14a00000, 0x24a00000)
   the space 87424K,   0% used [0x0f4a0000, 0x0f4a0000, 0x0f4a0200, 0x14a00000)
 Metaspace       used 7809K, capacity 7976K, committed 8064K, reserved 8576K
Event: 1.090 GC heap after
Heap after GC invocations=1 (full 0):
 def new generation   total 39296K, used 4352K [0x04a00000, 0x074a0000, 0x0f4a0000)
  eden space 34944K,   0% used [0x04a00000, 0x04a00000, 0x06c20000)
  from space 4352K, 100% used [0x07060000, 0x074a0000, 0x074a0000)
  to   space 4352K,   0% used [0x06c20000, 0x06c20000, 0x07060000)
 tenured generation   total 87424K, used 1621K [0x0f4a0000, 0x14a00000, 0x24a00000)
   the space 87424K,   1% used [0x0f4a0000, 0x0f6357a8, 0x0f635800, 0x14a00000)
 Metaspace       used 7809K, capacity 7976K, committed 8064K, reserved 8576K
}
Event: 1.564 GC heap before
{Heap before GC invocations=1 (full 0):
 def new generation   total 39296K, used 39296K [0x04a00000, 0x074a0000, 0x0f4a0000)
  eden space 34944K, 100% used [0x04a00000, 0x06c20000, 0x06c20000)
  from space 4352K, 100% used [0x07060000, 0x074a0000, 0x074a0000)
  to   space 4352K,   0% used [0x06c20000, 0x06c20000, 0x07060000)
 tenured generation   total 87424K, used 1621K [0x0f4a0000, 0x14a00000, 0x24a00000)
   the space 87424K,   1% used [0x0f4a0000, 0x0f6357a8, 0x0f635800, 0x14a00000)
 Metaspace       used 11207K, capacity 11538K, committed 11648K, reserved 11648K
Event: 1.581 GC heap after
Heap after GC invocations=2 (full 0):
 def new generation   total 39296K, used 4352K [0x04a00000, 0x074a0000, 0x0f4a0000)
  eden space 34944K,   0% used [0x04a00000, 0x04a00000, 0x06c20000)
  from space 4352K, 100% used [0x06c20000, 0x07060000, 0x07060000)
  to   space 4352K,   0% used [0x07060000, 0x07060000, 0x074a0000)
 tenured generation   total 87424K, used 8548K [0x0f4a0000, 0x14a00000, 0x24a00000)
   the space 87424K,   9% used [0x0f4a0000, 0x0fcf9210, 0x0fcf9400, 0x14a00000)
 Metaspace       used 11207K, capacity 11538K, committed 11648K, reserved 11648K
}
Event: 2.142 GC heap before
{Heap before GC invocations=2 (full 0):
 def new generation   total 39296K, used 39296K [0x04a00000, 0x074a0000, 0x0f4a0000)
  eden space 34944K, 100% used [0x04a00000, 0x06c20000, 0x06c20000)
  from space 4352K, 100% used [0x06c20000, 0x07060000, 0x07060000)
  to   space 4352K,   0% used [0x07060000, 0x07060000, 0x074a0000)
 tenured generation   total 87424K, used 8548K [0x0f4a0000, 0x14a00000, 0x24a00000)
   the space 87424K,   9% used [0x0f4a0000, 0x0fcf9210, 0x0fcf9400, 0x14a00000)
 Metaspace       used 11420K, capacity 11750K, committed 11776K, reserved 12672K
Event: 2.150 GC heap after
Heap after GC invocations=3 (full 0):
 def new generation   total 39296K, used 710K [0x04a00000, 0x074a0000, 0x0f4a0000)
  eden space 34944K,   0% used [0x04a00000, 0x04a00000, 0x06c20000)
  from space 4352K,  16% used [0x07060000, 0x07111a48, 0x074a0000)
  to   space 4352K,   0% used [0x06c20000, 0x06c20000, 0x07060000)
 tenured generation   total 87424K, used 12467K [0x0f4a0000, 0x14a00000, 0x24a00000)
   the space 87424K,  14% used [0x0f4a0000, 0x100ccf58, 0x100cd000, 0x14a00000)
 Metaspace       used 11420K, capacity 11750K, committed 11776K, reserved 12672K
}
Event: 2.748 GC heap before
{Heap before GC invocations=3 (full 0):
 def new generation   total 39296K, used 35654K [0x04a00000, 0x074a0000, 0x0f4a0000)
  eden space 34944K, 100% used [0x04a00000, 0x06c20000, 0x06c20000)
  from space 4352K,  16% used [0x07060000, 0x07111a48, 0x074a0000)
  to   space 4352K,   0% used [0x06c20000, 0x06c20000, 0x07060000)
 tenured generation   total 87424K, used 12467K [0x0f4a0000, 0x14a00000, 0x24a00000)
   the space 87424K,  14% used [0x0f4a0000, 0x100ccf58, 0x100cd000, 0x14a00000)
 Metaspace       used 11606K, capacity 11942K, committed 12032K, reserved 12672K
Event: 2.750 GC heap after
Heap after GC invocations=4 (full 0):
 def new generation   total 39296K, used 743K [0x04a00000, 0x074a0000, 0x0f4a0000)
  eden space 34944K,   0% used [0x04a00000, 0x04a00000, 0x06c20000)
  from space 4352K,  17% used [0x06c20000, 0x06cd9fd0, 0x07060000)
  to   space 4352K,   0% used [0x07060000, 0x07060000, 0x074a0000)
 tenured generation   total 87424K, used 12467K [0x0f4a0000, 0x14a00000, 0x24a00000)
   the space 87424K,  14% used [0x0f4a0000, 0x100ccf58, 0x100cd000, 0x14a00000)
 Metaspace       used 11606K, capacity 11942K, committed 12032K, reserved 12672K
}
Event: 2.800 GC heap before
{Heap before GC invocations=4 (full 0):
 def new generation   total 39296K, used 4711K [0x04a00000, 0x074a0000, 0x0f4a0000)
  eden space 34944K,  11% used [0x04a00000, 0x04ddff68, 0x06c20000)
  from space 4352K,  17% used [0x06c20000, 0x06cd9fd0, 0x07060000)
  to   space 4352K,   0% used [0x07060000, 0x07060000, 0x074a0000)
 tenured generation   total 87424K, used 12467K [0x0f4a0000, 0x14a00000, 0x24a00000)
   the space 87424K,  14% used [0x0f4a0000, 0x100ccf58, 0x100cd000, 0x14a00000)
 Metaspace       used 11907K, capacity 12240K, committed 12288K, reserved 12672K
Event: 2.818 GC heap after
Heap after GC invocations=5 (full 1):
 def new generation   total 39424K, used 0K [0x04a00000, 0x074c0000, 0x0f4a0000)
  eden space 35072K,   0% used [0x04a00000, 0x04a00000, 0x06c40000)
  from space 4352K,   0% used [0x06c40000, 0x06c40000, 0x07080000)
  to   space 4352K,   0% used [0x07080000, 0x07080000, 0x074c0000)
 tenured generation   total 87424K, used 13113K [0x0f4a0000, 0x14a00000, 0x24a00000)
   the space 87424K,  14% used [0x0f4a0000, 0x1016e480, 0x1016e600, 0x14a00000)
 Metaspace       used 11907K, capacity 12240K, committed 12288K, reserved 12672K
}

Deoptimization events (0 events):
No events

Internal exceptions (10 events):
Event: 2.751 Thread 0x025ee000 Exception <a 'sun/nio/fs/WindowsException'> (0x04a06fd8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.751 Thread 0x025ee000 Exception <a 'sun/nio/fs/WindowsException'> (0x04a13d78) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.751 Thread 0x025ee000 Exception <a 'sun/nio/fs/WindowsException'> (0x04a142e0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.752 Thread 0x025ee000 Exception <a 'sun/nio/fs/WindowsException'> (0x04a207b8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.752 Thread 0x025ee000 Exception <a 'sun/nio/fs/WindowsException'> (0x04a20d48) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.753 Thread 0x025ee000 Exception <a 'sun/nio/fs/WindowsException'> (0x04a2b8a0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.753 Thread 0x025ee000 Exception <a 'sun/nio/fs/WindowsException'> (0x04a2be48) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.754 Thread 0x025ee000 Exception <a 'sun/nio/fs/WindowsException'> (0x04a38560) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.754 Thread 0x025ee000 Exception <a 'sun/nio/fs/WindowsException'> (0x04a38ac8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 3.017 Thread 0x025ee000 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.lambda$negate$11(Ljava/lang/Object;)Z> (0x04db8338) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\interpreter\linkResolver.cpp, line 582]

Events (10 events):
Event: 3.564 loading class processing/app/Editor$37
Event: 3.564 loading class processing/app/Editor$37 done
Event: 3.564 loading class processing/app/Editor$38
Event: 3.564 loading class processing/app/Editor$38 done
Event: 3.565 loading class processing/app/Editor$39
Event: 3.565 loading class processing/app/Editor$39 done
Event: 3.565 loading class java/awt/event/HierarchyEvent
Event: 3.566 loading class java/awt/event/HierarchyEvent done
Event: 3.566 loading class processing/app/Base$5
Event: 3.566 loading class processing/app/Base$5 done


Dynamic libraries:
0x00d50000 - 0x00d83000     C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\java\bin\javaw.exe
0x77b20000 - 0x77c9b000     C:\WINDOWS\SYSTEM32\ntdll.dll
0x776a0000 - 0x77780000     C:\WINDOWS\SYSTEM32\KERNEL32.DLL
0x77320000 - 0x7749e000     C:\WINDOWS\SYSTEM32\KERNELBASE.dll
0x74b00000 - 0x74b7b000     C:\WINDOWS\SYSTEM32\ADVAPI32.dll
0x771d0000 - 0x7728e000     C:\WINDOWS\SYSTEM32\msvcrt.dll
0x774f0000 - 0x77534000     C:\WINDOWS\SYSTEM32\sechost.dll
0x75990000 - 0x75a3d000     C:\WINDOWS\SYSTEM32\RPCRT4.dll
0x74850000 - 0x7486e000     C:\WINDOWS\SYSTEM32\SspiCli.dll
0x74840000 - 0x7484a000     C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
0x75450000 - 0x754a8000     C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll
0x75a50000 - 0x75b97000     C:\WINDOWS\SYSTEM32\USER32.dll
0x77810000 - 0x7795f000     C:\WINDOWS\SYSTEM32\GDI32.dll
0x6fe20000 - 0x7002f000     C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.10586.0_none_d3c2e4e965da4528\COMCTL32.dll
0x77960000 - 0x77b1d000     C:\WINDOWS\SYSTEM32\combase.dll
0x77290000 - 0x772bb000     C:\WINDOWS\SYSTEM32\IMM32.DLL
0x61c90000 - 0x61d4f000     C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\java\bin\msvcr100.dll
0x6cf00000 - 0x6d2c5000     C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\java\bin\client\jvm.dll
0x75440000 - 0x75446000     C:\WINDOWS\SYSTEM32\PSAPI.DLL
0x743b0000 - 0x743b8000     C:\WINDOWS\SYSTEM32\VERSION.dll
0x74480000 - 0x74488000     C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x729d0000 - 0x729f4000     C:\WINDOWS\SYSTEM32\WINMM.dll
0x74870000 - 0x748cf000     C:\WINDOWS\SYSTEM32\WS2_32.dll
0x00ab0000 - 0x00ad3000     C:\WINDOWS\SYSTEM32\WINMMBASE.dll
0x774a0000 - 0x774d7000     C:\WINDOWS\SYSTEM32\cfgmgr32.dll
0x62a50000 - 0x62a81000     C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\java\bin\splashscreen.dll
0x728f0000 - 0x72965000     C:\WINDOWS\system32\uxtheme.dll
0x6be20000 - 0x6be2c000     C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\java\bin\verify.dll
0x74bd0000 - 0x74cef000     C:\WINDOWS\SYSTEM32\MSCTF.dll
0x61e70000 - 0x61e91000     C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\java\bin\java.dll
0x6be00000 - 0x6be13000     C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\java\bin\zip.dll
0x771c0000 - 0x771cc000     C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x75db0000 - 0x771ae000     C:\WINDOWS\SYSTEM32\SHELL32.dll
0x74cf0000 - 0x751ea000     C:\WINDOWS\SYSTEM32\windows.storage.dll
0x74ab0000 - 0x74af5000     C:\WINDOWS\SYSTEM32\shlwapi.dll
0x75ba0000 - 0x75c2d000     C:\WINDOWS\SYSTEM32\shcore.dll
0x74b80000 - 0x74bc4000     C:\WINDOWS\SYSTEM32\powrprof.dll
0x771b0000 - 0x771bf000     C:\WINDOWS\SYSTEM32\profapi.dll
0x25970000 - 0x25ab5000     C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\java\bin\awt.dll
0x758e0000 - 0x75972000     C:\WINDOWS\SYSTEM32\OLEAUT32.dll
0x73270000 - 0x73302000     C:\WINDOWS\system32\apphelp.dll
0x714f0000 - 0x7150d000     C:\WINDOWS\system32\dwmapi.dll
0x75350000 - 0x7543b000     C:\WINDOWS\SYSTEM32\ole32.dll
0x61e30000 - 0x61e69000     C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\java\bin\fontmanager.dll
0x62a30000 - 0x62a46000     C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\java\bin\net.dll
0x71f80000 - 0x71fcf000     C:\WINDOWS\system32\mswsock.dll
0x61e20000 - 0x61e2f000     C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\java\bin\nio.dll
0x5bdf0000 - 0x5be20000     C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\java\bin\t2k.dll
0x74150000 - 0x7417f000     C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
0x774e0000 - 0x774e7000     C:\WINDOWS\SYSTEM32\NSI.dll
0x72fc0000 - 0x72fd3000     C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
0x72fa0000 - 0x72fb4000     C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
0x61940000 - 0x61984000     C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\listSerialsj.dll
0x754d0000 - 0x758db000     C:\WINDOWS\SYSTEM32\SETUPAPI.dll
0x73be0000 - 0x73bf3000     C:\WINDOWS\SYSTEM32\CRYPTSP.dll
0x73b90000 - 0x73bbf000     C:\WINDOWS\system32\rsaenh.dll
0x73bc0000 - 0x73bdb000     C:\WINDOWS\SYSTEM32\bcrypt.dll
0x73390000 - 0x733a9000     C:\WINDOWS\SYSTEM32\USERENV.dll
0x25f10000 - 0x25f4d000     C:\Users\WaiWeng\AppData\Local\Temp\jna--1514868634\jna8123874853180866459.dll
0x74010000 - 0x74094000     C:\WINDOWS\SYSTEM32\DNSAPI.dll
0x71ea0000 - 0x71ec1000     C:\Program Files (x86)\Bonjour\mdnsNSP.dll
0x71e90000 - 0x71e98000     C:\Windows\System32\rasadhlp.dll
0x71aa0000 - 0x71ae7000     C:\WINDOWS\System32\fwpuclnt.dll
0x6e0e0000 - 0x6e102000     C:\WINDOWS\SYSTEM32\DEVOBJ.dll
0x748d0000 - 0x74912000     C:\WINDOWS\SYSTEM32\WINTRUST.dll
0x75a40000 - 0x75a4e000     C:\WINDOWS\SYSTEM32\MSASN1.dll
0x75c30000 - 0x75da8000     C:\WINDOWS\SYSTEM32\CRYPT32.dll
0x77780000 - 0x77804000     C:\WINDOWS\SYSTEM32\clbcatq.dll
0x6e370000 - 0x6e3b2000     C:\WINDOWS\system32\wbem\wbemdisp.dll
0x6e300000 - 0x6e367000     C:\WINDOWS\SYSTEM32\wbemcomn.dll
0x72cc0000 - 0x72ccd000     C:\WINDOWS\system32\wbem\wbemprox.dll
0x729b0000 - 0x729cc000     C:\WINDOWS\system32\wbem\wmiutils.dll
0x6e2e0000 - 0x6e2f1000     C:\WINDOWS\system32\wbem\wbemsvc.dll
0x64910000 - 0x649cf000     C:\WINDOWS\system32\wbem\fastprox.dll
0x704a0000 - 0x70521000     C:\WINDOWS\SYSTEM32\sxs.dll
0x5bd80000 - 0x5bde9000     C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\msvcp100.dll
0x78a90000 - 0x78b4e000     C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\msvcr100.dll
0x279d0000 - 0x27a02000     C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\AStylej.dll
0x722f0000 - 0x7242f000     C:\WINDOWS\SYSTEM32\dbghelp.dll

VM Arguments:
jvm_args: -Dsun.java2d.d3d=false -DAPP_DIR=C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538 -Xms128M -Xmx512M 
java_command: processing.app.Base
java_class_path (initial): C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\apple.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\arduino-core.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-anim-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-awt-util-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-bridge-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-codec-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-css-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-dom-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-ext-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-gvt-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-parser-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-rasterizer-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-script-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-squiggle-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-svg-dom-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-svgpp-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-transcoder-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-util-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\batik-xml-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\bcpg-jdk15on-152.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\bcprov-jdk15on-152.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\commons-codec-1.7.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\commons-compress-1.8.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\commons-exec-1.1.jar;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\lib\commons-httpclient-3.1.jar;C:\Users\Wai
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_60\
PATH=C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Microchip\xc32\v1.21\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Microchip\xc8\v1.30\bin;C:\Program Files (x86)\Microchip\xc16\v1.21\bin;C:\Program Files (x86)\Microchip\xc32\v1.31\bin;C:\Program Files (x86)\Altium Designer S09 Viewer\System;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\Skype\Phone\;C:\Users\WaiWeng\AppData\Local\Programs\Python\Python35-32\Scripts\;C:\Users\WaiWeng\AppData\Local\Programs\Python\Python35-32\;C:\Users\WaiWeng\AppData\Local\atom\bin;C:\Users\WaiWeng\Desktop\arduino-PR-4792-BUILD-538\java\bin
USERNAME=WaiWeng
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows 10.0 , 64 bit Build 10586 (10.0.10586.0)

CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 60 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2

Memory: 4k page, physical 8134936k(3782640k free), swap 10035480k(3253200k free)

vm_info: Java HotSpot(TM) Client VM (25.66-b17) for windows-x86 JRE (1.8.0_66-b17), built on Oct  6 2015 19:59:47 by "java_re" with MS VC++ 10.0 (VS2010)

time: Tue Apr 05 16:34:59 2016
elapsed time: 3 seconds (0d 0h 0m 3s)

@facchinm
Copy link
Member Author

facchinm commented Apr 5, 2016

@TMRh20 @per1234 @pfeerick @waiweng83 a new build is ongoing, in the meantime you can test using http://downloads.arduino.cc/liblistSerials/liblistSerials-1.1.0.zip
Let's hope it works this time, testing with a Duemilanove with Win10 was successful (on my side)

@waiweng83
Copy link

Tested the arduino-PR-4792-BUILD-547-windows.zip on Windows 10 64-bit and it's working perfectly now.

Thanks :)

@pfeerick
Copy link
Contributor

pfeerick commented Apr 6, 2016

@facchinm Tested arduino-PR-4792-BUILD-538 with the substituted liblistSerials-1.1.0.zip file on Windows 10 with my two Sparkfun RedBoards and a just arrived FTDI nerO board (don't have any ordinary Arudino's on hand at the moment). Works perfect now for me - no constant reboot cycle, no constant flashing and no IDE crash on startup ;)

@kravlost
Copy link

kravlost commented Apr 6, 2016

arduino-PR-4792-BUILD-547-windows.zip looks good to me. No problems so far!

@TMRh20
Copy link

TMRh20 commented Apr 6, 2016

Tested w/arduino-PR-4792-BUILD-538 + liblistSerials1.1.0 & all working with Due clone, Mega2560, Pro Minis etc!

@facchinm
Copy link
Member Author

facchinm commented Apr 6, 2016

Merging to give it some testing in the wild :rage4: 😄
@TMRh20 @steronydh @pfeerick @waiweng83 could test the hourly build tomorrow and confirm that everything is still working correctly? Thank you very much for the really useful feedbacks!

@facchinm facchinm merged commit f6880fe into arduino:master Apr 6, 2016
@pfeerick
Copy link
Contributor

pfeerick commented Apr 7, 2016

Running the "Arduino 1.6.9 2016/04/06 07:33" on Windows 10, no issues at all with resets or upload with an Arduino Uno, Arduino Mega, Sparkfun RedBoard or FTDI NerO. Checking a bit further since I had these four boards out, and on 1.6.8, neither the Arduino Uno or Arduino Mega were having issues. It seems (as far as I can tell from this sample) that the FTDI UART boards were the ones having issues with resets - the Atmega16U2 UARTs seemed just fine. :(

@facchinm
Copy link
Member Author

facchinm commented Apr 7, 2016

Yep, the "reset" issue was for FTDI devices only (16u2 devices could have randomly experienced the "PORT is in use" issue which has been solved by pausing polling during upload

@pfeerick
Copy link
Contributor

pfeerick commented Apr 7, 2016

Great! I half wonder if it is may actually be a flaw in the driver, as I noticed another behaviour sometimes when the Arduino IDE wasn't running was that if you disconnected another (either the Uno/Mega or a FTDI based) device from the hub, both the FTDI boards would immediately reset. It isn't 100% consistent when the IDE is closed, but does seem consistent when it is open. Now I'm wondering what my CH340 UARTs will think of this! xD EDIT: Doesn't look like my super expensive $1.78 CH340 UARTs are affected either :)

@kravlost
Copy link

kravlost commented Apr 7, 2016

Hourly build "1.6.9 hourly build 2016/04/07 12:33" is looking good, thanks.

@xpiolx
Copy link

xpiolx commented May 25, 2016

Arduino 1.6.8 and 1.6.9 crashes right after splash screen or when I plug my breakout board mcp2221. This seems to be problem when arduino try list serial ports available.


#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00008a2c, pid=4696, tid=5112
#
# JRE version: Java(TM) SE Runtime Environment (8.0_66-b17) (build 1.8.0_66-b17)
# Java VM: Java HotSpot(TM) Client VM (25.66-b17 mixed mode windows-x86 )
# Problematic frame:
# C  0x00008a2c
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x256ff000):  JavaThread "cc.arduino.packages.discoverers.serial.SerialBoardsLister" [_thread_in_native, id=5112, stack(0x264f0000,0x26540000)]

siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x00000008 0x00008a2c

Registers:
EAX=0x006be1d0, EBX=0x00000000, ECX=0x2f9b97ff, EDX=0x2653ea76
ESP=0x2653eab0, EBP=0x0000e178, ESI=0x00000302, EDI=0x2653ebe0
EIP=0x00008a2c, EFLAGS=0x00010206

Top of Stack: (sp=0x2653eab0)
0x2653eab0:   000006dc 00220410 2653ead5 0000010b
0x2653eac0:   2653ead5 0000010b 2653ead0 00000000
0x2653ead0:   00000042 00000203 02068000 ff000003
0x2653eae0:   4d033600 50004300 32003200 31003200
0x2653eaf0:   55002000 42005300 49002d00 43003200
0x2653eb00:   55002f00 52004100 20005400 6f004300
0x2653eb10:   62006d00 00006f00 00000000 00000000
0x2653eb20:   00000000 00000000 00000000 00000000 

Instructions: (pc=0x00008a2c)
0x00008a0c:   
[error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xc0000005]

Register to memory mapping:

EAX=0x006be1d0 is an unknown value
EBX=0x00000000 is an unknown value
ECX=0x2f9b97ff is an unknown value
EDX=0x2653ea76 is pointing into the stack for thread: 0x256ff000
ESP=0x2653eab0 is pointing into the stack for thread: 0x256ff000
EBP=0x0000e178 is an unknown value
ESI=0x00000302 is an unknown value
EDI=0x2653ebe0 is pointing into the stack for thread: 0x256ff000


Stack: [0x264f0000,0x26540000],  sp=0x2653eab0,  free space=314k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  0x00008a2c

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  processing.app.Platform.resolveDeviceAttachedToNative(Ljava/lang/String;)Ljava/lang/String;+0
j  processing.app.Platform.resolveDeviceByVendorIdProductId(Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;+2
j  cc.arduino.packages.discoverers.serial.SerialBoardsLister.retriggerDiscovery(Z)V+309
j  cc.arduino.packages.discoverers.serial.SerialBoardsLister.run()V+9
j  java.util.TimerThread.mainLoop()V+221
j  java.util.TimerThread.run()V+1
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x27324c00 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=1624, stack(0x00ae0000,0x00b30000)]
  0x27323800 JavaThread "DestroyJavaVM" [_thread_blocked, id=3268, stack(0x00b70000,0x00bc0000)]
  0x27321400 JavaThread "Timer-0" [_thread_blocked, id=3816, stack(0x02190000,0x021e0000)]
  0x25780c00 JavaThread "TimerQueue" daemon [_thread_blocked, id=5164, stack(0x28230000,0x28280000)]
  0x2577f400 JavaThread "Batik CleanerThread" daemon [_thread_blocked, id=1284, stack(0x27f50000,0x27fa0000)]
  0x25782c00 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3640, stack(0x27c30000,0x27c80000)]
  0x25782400 JavaThread "JmDNS(DESKTOP-3OTRDPN.local.).Timer" daemon [_thread_blocked, id=5428, stack(0x26bf0000,0x26c40000)]
  0x25782000 JavaThread "JmDNS(DESKTOP-3OTRDPN.local.).State.Timer" [_thread_blocked, id=2924, stack(0x26b60000,0x26bb0000)]
  0x2577f800 JavaThread "JmDNS(DESKTOP-3OTRDPN.local.).Timer" daemon [_thread_blocked, id=5640, stack(0x26ad0000,0x26b20000)]
  0x25781800 JavaThread "SocketListener(DESKTOP-3OTRDPN.local.)" daemon [_thread_in_native, id=1028, stack(0x26a40000,0x26a90000)]
  0x25780400 JavaThread "JmDNS(DESKTOP-3OTRDPN.local.).Timer" daemon [_thread_blocked, id=1788, stack(0x269b0000,0x26a00000)]
  0x25746400 JavaThread "JmDNS(DESKTOP-3OTRDPN.local.).State.Timer" [_thread_blocked, id=5628, stack(0x26920000,0x26970000)]
  0x25745c00 JavaThread "JmDNS(DESKTOP-3OTRDPN.local.).Timer" daemon [_thread_blocked, id=4668, stack(0x26890000,0x268e0000)]
  0x25744400 JavaThread "SocketListener(DESKTOP-3OTRDPN.local.)" daemon [_thread_in_native, id=4912, stack(0x26800000,0x26850000)]
  0x2572d000 JavaThread "cc.arduino.packages.discoverers.network.BoardReachabilityFilter" [_thread_blocked, id=1808, stack(0x26610000,0x26660000)]
  0x256c7c00 JavaThread "cc.arduino.packages.discoverers.network.NetworkChecker" [_thread_blocked, id=5728, stack(0x26580000,0x265d0000)]
=>0x256ff000 JavaThread "cc.arduino.packages.discoverers.serial.SerialBoardsLister" [_thread_in_native, id=5112, stack(0x264f0000,0x26540000)]
  0x256c1400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3576, stack(0x25bb0000,0x25c00000)]
  0x256c0c00 JavaThread "AWT-Shutdown" [_thread_blocked, id=5396, stack(0x25b20000,0x25b70000)]
  0x256c0400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4700, stack(0x25a90000,0x25ae0000)]
  0x250b3800 JavaThread "Service Thread" daemon [_thread_blocked, id=1988, stack(0x25470000,0x254c0000)]
  0x250b9400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=4552, stack(0x253e0000,0x25430000)]
  0x250b7800 JavaThread "Attach Listener" daemon [_thread_blocked, id=4472, stack(0x25350000,0x253a0000)]
  0x250b5800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4732, stack(0x252c0000,0x25310000)]
  0x25087400 JavaThread "Finalizer" daemon [_thread_blocked, id=3140, stack(0x24bf0000,0x24c40000)]
  0x25082400 JavaThread "Reference Handler" daemon [_thread_blocked, id=5480, stack(0x24b60000,0x24bb0000)]

Other Threads:
  0x0211c400 VMThread [stack: 0x245c0000,0x24610000] [id=1056]
  0x250e3c00 WatcherThread [stack: 0x25500000,0x25550000] [id=2076]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 def new generation   total 39424K, used 15445K [0x04400000, 0x06ec0000, 0x0eea0000)
  eden space 35072K,  31% used [0x04400000, 0x04ed57a0, 0x06640000)
  from space 4352K, 100% used [0x06a80000, 0x06ec0000, 0x06ec0000)
  to   space 4352K,   0% used [0x06640000, 0x06640000, 0x06a80000)
 tenured generation   total 87424K, used 14661K [0x0eea0000, 0x14400000, 0x24400000)
   the space 87424K,  16% used [0x0eea0000, 0x0fcf17a0, 0x0fcf1800, 0x14400000)
 Metaspace       used 17469K, capacity 17863K, committed 17920K, reserved 18816K

Card table byte_map: [0x24400000,0x24510000] byte_map_base: 0x243de000

Polling page: 0x00680000

CodeCache: size=32768Kb used=2266Kb max_used=2266Kb free=30501Kb
 bounds [0x02380000, 0x025b8000, 0x04380000]
 total_blobs=1398 nmethods=1129 adapters=199
 compilation: enabled

Compilation events (10 events):
Event: 4.328 Thread 0x250b9400 1138             javax.jmdns.impl.DNSOutgoing$MessageOutputStream::writeByte (10 bytes)
Event: 4.328 Thread 0x250b9400 nmethod 1138 0x025b44c8 code [0x025b45d0, 0x025b482c]
Event: 4.329 Thread 0x250b9400 1139             javax.jmdns.impl.DNSOutgoing$MessageOutputStream::writeUTF (207 bytes)
Event: 4.329 Thread 0x250b9400 nmethod 1139 0x025b4a48 code [0x025b4bc0, 0x025b4f1c]
Event: 4.770 Thread 0x250b9400 1140             java.util.concurrent.locks.AbstractQueuedSynchronizer::compareAndSetState (13 bytes)
Event: 4.771 Thread 0x250b9400 nmethod 1140 0x025b5388 code [0x025b5480, 0x025b5520]
Event: 4.771 Thread 0x250b9400 1141             java.security.AccessControlContext::optimize (318 bytes)
Event: 4.772 Thread 0x250b9400 nmethod 1141 0x025b5588 code [0x025b5790, 0x025b6098]
Event: 6.793 Thread 0x250b9400 1143             java.util.IdentityHashMap::clear (39 bytes)
Event: 6.793 Thread 0x250b9400 nmethod 1143 0x025b6c48 code [0x025b6d40, 0x025b6e00]

GC Heap History (6 events):
Event: 0.574 GC heap before
{Heap before GC invocations=0 (full 0):
 def new generation   total 39296K, used 34944K [0x04400000, 0x06ea0000, 0x0eea0000)
  eden space 34944K, 100% used [0x04400000, 0x06620000, 0x06620000)
  from space 4352K,   0% used [0x06620000, 0x06620000, 0x06a60000)
  to   space 4352K,   0% used [0x06a60000, 0x06a60000, 0x06ea0000)
 tenured generation   total 87424K, used 0K [0x0eea0000, 0x14400000, 0x24400000)
   the space 87424K,   0% used [0x0eea0000, 0x0eea0000, 0x0eea0200, 0x14400000)
 Metaspace       used 8226K, capacity 8436K, committed 8576K, reserved 8576K
Event: 0.584 GC heap after
Heap after GC invocations=1 (full 0):
 def new generation   total 39296K, used 4352K [0x04400000, 0x06ea0000, 0x0eea0000)
  eden space 34944K,   0% used [0x04400000, 0x04400000, 0x06620000)
  from space 4352K, 100% used [0x06a60000, 0x06ea0000, 0x06ea0000)
  to   space 4352K,   0% used [0x06620000, 0x06620000, 0x06a60000)
 tenured generation   total 87424K, used 1982K [0x0eea0000, 0x14400000, 0x24400000)
   the space 87424K,   2% used [0x0eea0000, 0x0f08fbb8, 0x0f08fc00, 0x14400000)
 Metaspace       used 8226K, capacity 8436K, committed 8576K, reserved 8576K
}
Event: 1.098 GC heap before
{Heap before GC invocations=1 (full 0):
 def new generation   total 39296K, used 38866K [0x04400000, 0x06ea0000, 0x0eea0000)
  eden space 34944K,  98% used [0x04400000, 0x065b49b8, 0x06620000)
  from space 4352K, 100% used [0x06a60000, 0x06ea0000, 0x06ea0000)
  to   space 4352K,   0% used [0x06620000, 0x06620000, 0x06a60000)
 tenured generation   total 87424K, used 1982K [0x0eea0000, 0x14400000, 0x24400000)
   the space 87424K,   2% used [0x0eea0000, 0x0f08fbb8, 0x0f08fc00, 0x14400000)
 Metaspace       used 11925K, capacity 12246K, committed 12288K, reserved 12672K
Event: 1.126 GC heap after
Heap after GC invocations=2 (full 1):
 def new generation   total 39424K, used 0K [0x04400000, 0x06ec0000, 0x0eea0000)
  eden space 35072K,   0% used [0x04400000, 0x04400000, 0x06640000)
  from space 4352K,   0% used [0x06640000, 0x06640000, 0x06a80000)
  to   space 4352K,   0% used [0x06a80000, 0x06a80000, 0x06ec0000)
 tenured generation   total 87424K, used 13107K [0x0eea0000, 0x14400000, 0x24400000)
   the space 87424K,  14% used [0x0eea0000, 0x0fb6cff0, 0x0fb6d000, 0x14400000)
 Metaspace       used 11925K, capacity 12246K, committed 12288K, reserved 12672K
}
Event: 1.963 GC heap before
{Heap before GC invocations=2 (full 1):
 def new generation   total 39424K, used 35072K [0x04400000, 0x06ec0000, 0x0eea0000)
  eden space 35072K, 100% used [0x04400000, 0x06640000, 0x06640000)
  from space 4352K,   0% used [0x06640000, 0x06640000, 0x06a80000)
  to   space 4352K,   0% used [0x06a80000, 0x06a80000, 0x06ec0000)
 tenured generation   total 87424K, used 13107K [0x0eea0000, 0x14400000, 0x24400000)
   the space 87424K,  14% used [0x0eea0000, 0x0fb6cff0, 0x0fb6d000, 0x14400000)
 Metaspace       used 16029K, capacity 16413K, committed 16512K, reserved 16768K
Event: 1.972 GC heap after
Heap after GC invocations=3 (full 1):
 def new generation   total 39424K, used 4352K [0x04400000, 0x06ec0000, 0x0eea0000)
  eden space 35072K,   0% used [0x04400000, 0x04400000, 0x06640000)
  from space 4352K, 100% used [0x06a80000, 0x06ec0000, 0x06ec0000)
  to   space 4352K,   0% used [0x06640000, 0x06640000, 0x06a80000)
 tenured generation   total 87424K, used 14661K [0x0eea0000, 0x14400000, 0x24400000)
   the space 87424K,  16% used [0x0eea0000, 0x0fcf17a0, 0x0fcf1800, 0x14400000)
 Metaspace       used 16029K, capacity 16413K, committed 16512K, reserved 16768K
}

Deoptimization events (0 events):
No events

Internal exceptions (10 events):
Event: 1.052 Thread 0x0214cc00 Exception <a 'sun/nio/fs/WindowsException'> (0x06324b20) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.052 Thread 0x0214cc00 Exception <a 'sun/nio/fs/WindowsException'> (0x0632def0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.052 Thread 0x0214cc00 Exception <a 'sun/nio/fs/WindowsException'> (0x0632e498) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.053 Thread 0x0214cc00 Exception <a 'sun/nio/fs/WindowsException'> (0x06334150) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.053 Thread 0x0214cc00 Exception <a 'sun/nio/fs/WindowsException'> (0x06334770) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.053 Thread 0x0214cc00 Exception <a 'sun/nio/fs/WindowsException'> (0x06342130) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.053 Thread 0x0214cc00 Exception <a 'sun/nio/fs/WindowsException'> (0x063426d8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.054 Thread 0x0214cc00 Exception <a 'sun/nio/fs/WindowsException'> (0x0634bde0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.054 Thread 0x0214cc00 Exception <a 'sun/nio/fs/WindowsException'> (0x0634c398) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.165 Thread 0x0214cc00 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.lambda$negate$11(Ljava/lang/Object;)Z> (0x045d5288) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\interpreter\linkResolver.cpp, line 582]

Events (10 events):
Event: 2.753 loading class javax/swing/Timer$1
Event: 2.753 loading class javax/swing/Timer$1 done
Event: 3.308 loading class javax/jmdns/impl/tasks/state/Announcer
Event: 3.308 loading class javax/jmdns/impl/tasks/state/Announcer done
Event: 4.101 Executing VM operation: EnableBiasedLocking
Event: 4.101 Executing VM operation: EnableBiasedLocking done
Event: 5.324 loading class javax/jmdns/impl/tasks/state/Renewer
Event: 5.324 loading class javax/jmdns/impl/tasks/state/Renewer done
Event: 7.032 Thread 0x25780000 Thread exited: 0x25780000
Event: 7.259 Thread 0x25781400 Thread exited: 0x25781400


Dynamic libraries:
0x00be0000 - 0x00c13000     C:\Softs\arduino-1.6.9\java\bin\javaw.exe
0x77760000 - 0x778db000     C:\WINDOWS\SYSTEM32\ntdll.dll
0x75830000 - 0x75910000     C:\WINDOWS\SYSTEM32\KERNEL32.DLL
0x75b50000 - 0x75cce000     C:\WINDOWS\SYSTEM32\KERNELBASE.dll
0x774f0000 - 0x7756b000     C:\WINDOWS\SYSTEM32\ADVAPI32.dll
0x77570000 - 0x7762e000     C:\WINDOWS\SYSTEM32\msvcrt.dll
0x74500000 - 0x74544000     C:\WINDOWS\SYSTEM32\sechost.dll
0x77630000 - 0x776dd000     C:\WINDOWS\SYSTEM32\RPCRT4.dll
0x74c40000 - 0x74c5e000     C:\WINDOWS\SYSTEM32\SspiCli.dll
0x74c30000 - 0x74c3a000     C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
0x77490000 - 0x774e8000     C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll
0x75a00000 - 0x75b47000     C:\WINDOWS\SYSTEM32\USER32.dll
0x755e0000 - 0x7572f000     C:\WINDOWS\SYSTEM32\GDI32.dll
0x72000000 - 0x7220f000     C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.10586.0_none_d3c2e4e965da4528\COMCTL32.dll
0x75e40000 - 0x75ffd000     C:\WINDOWS\SYSTEM32\combase.dll
0x74dd0000 - 0x74dfb000     C:\WINDOWS\SYSTEM32\IMM32.DLL
0x6c7d0000 - 0x6c88f000     C:\Softs\arduino-1.6.9\java\bin\msvcr100.dll
0x6c010000 - 0x6c3d5000     C:\Softs\arduino-1.6.9\java\bin\client\jvm.dll
0x75030000 - 0x75036000     C:\WINDOWS\SYSTEM32\PSAPI.DLL
0x74360000 - 0x74384000     C:\WINDOWS\SYSTEM32\WINMM.dll
0x74c20000 - 0x74c28000     C:\WINDOWS\SYSTEM32\VERSION.dll
0x735f0000 - 0x735f8000     C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x74c70000 - 0x74ccf000     C:\WINDOWS\SYSTEM32\WS2_32.dll
0x00600000 - 0x00623000     C:\WINDOWS\SYSTEM32\WINMMBASE.dll
0x75ce0000 - 0x75d17000     C:\WINDOWS\SYSTEM32\cfgmgr32.dll
0x6c790000 - 0x6c7c1000     C:\Softs\arduino-1.6.9\java\bin\splashscreen.dll
0x73af0000 - 0x73b65000     C:\WINDOWS\system32\uxtheme.dll
0x6cdc0000 - 0x6cdcc000     C:\Softs\arduino-1.6.9\java\bin\verify.dll
0x6cc60000 - 0x6cc81000     C:\Softs\arduino-1.6.9\java\bin\java.dll
0x75d20000 - 0x75e3f000     C:\WINDOWS\SYSTEM32\MSCTF.dll
0x6c770000 - 0x6c783000     C:\Softs\arduino-1.6.9\java\bin\zip.dll
0x77700000 - 0x7770c000     C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x76090000 - 0x7748e000     C:\WINDOWS\SYSTEM32\SHELL32.dll
0x74640000 - 0x74b3a000     C:\WINDOWS\SYSTEM32\windows.storage.dll
0x77710000 - 0x77755000     C:\WINDOWS\SYSTEM32\shlwapi.dll
0x74e00000 - 0x74e8d000     C:\WINDOWS\SYSTEM32\shcore.dll
0x74fe0000 - 0x75024000     C:\WINDOWS\SYSTEM32\powrprof.dll
0x75cd0000 - 0x75cdf000     C:\WINDOWS\SYSTEM32\profapi.dll
0x6bec0000 - 0x6c005000     C:\Softs\arduino-1.6.9\java\bin\awt.dll
0x745a0000 - 0x74632000     C:\WINDOWS\SYSTEM32\OLEAUT32.dll
0x73380000 - 0x73412000     C:\WINDOWS\system32\apphelp.dll
0x73ad0000 - 0x73aed000     C:\WINDOWS\system32\dwmapi.dll
0x74ef0000 - 0x74fdb000     C:\WINDOWS\SYSTEM32\ole32.dll
0x6c750000 - 0x6c766000     C:\Softs\arduino-1.6.9\java\bin\net.dll
0x73a30000 - 0x73a7f000     C:\WINDOWS\system32\mswsock.dll
0x73c40000 - 0x73c6f000     C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
0x76000000 - 0x76007000     C:\WINDOWS\SYSTEM32\NSI.dll
0x71080000 - 0x71093000     C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
0x71060000 - 0x71074000     C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
0x61940000 - 0x61976000     C:\Softs\arduino-1.6.9\lib\listSerialsj.dll
0x75050000 - 0x7545b000     C:\WINDOWS\SYSTEM32\SETUPAPI.dll
0x73ab0000 - 0x73ac3000     C:\WINDOWS\SYSTEM32\CRYPTSP.dll
0x73a80000 - 0x73aaf000     C:\WINDOWS\system32\rsaenh.dll
0x74060000 - 0x7407b000     C:\WINDOWS\SYSTEM32\bcrypt.dll
0x659c0000 - 0x659d9000     C:\WINDOWS\SYSTEM32\USERENV.dll
0x6c9d0000 - 0x6ca54000     C:\WINDOWS\SYSTEM32\DNSAPI.dll
0x6c9c0000 - 0x6c9c8000     C:\Windows\System32\rasadhlp.dll
0x6b910000 - 0x6b957000     C:\WINDOWS\System32\fwpuclnt.dll
0x6cdb0000 - 0x6cdbf000     C:\Softs\arduino-1.6.9\java\bin\nio.dll
0x26780000 - 0x267bd000     C:\Users\RPiol\AppData\Local\Temp\jna-78216456\jna4406844763833703541.dll
0x6c490000 - 0x6c4c9000     C:\Softs\arduino-1.6.9\java\bin\fontmanager.dll
0x6c720000 - 0x6c750000     C:\Softs\arduino-1.6.9\java\bin\t2k.dll
0x6be50000 - 0x6beb9000     C:\Softs\arduino-1.6.9\msvcp100.dll
0x6bd90000 - 0x6be4e000     C:\Softs\arduino-1.6.9\msvcr100.dll
0x27c80000 - 0x27cb2000     C:\Softs\arduino-1.6.9\lib\AStylej.dll
0x6c460000 - 0x6c484000     C:\Softs\arduino-1.6.9\java\bin\dcpr.dll
0x75970000 - 0x759f4000     C:\WINDOWS\SYSTEM32\clbcatq.dll
0x64700000 - 0x64873000     C:\WINDOWS\SYSTEM32\WindowsCodecs.dll
0x65870000 - 0x658b1000     C:\WINDOWS\system32\dataexchange.dll
0x657c0000 - 0x65867000     C:\WINDOWS\system32\dcomp.dll
0x655a0000 - 0x657ba000     C:\WINDOWS\system32\d3d11.dll
0x658d0000 - 0x65952000     C:\WINDOWS\system32\dxgi.dll
0x74080000 - 0x7414d000     C:\WINDOWS\system32\twinapi.appcore.dll
0x742a0000 - 0x742c2000     C:\WINDOWS\SYSTEM32\DEVOBJ.dll
0x74550000 - 0x74592000     C:\WINDOWS\SYSTEM32\WINTRUST.dll
0x75040000 - 0x7504e000     C:\WINDOWS\SYSTEM32\MSASN1.dll
0x75460000 - 0x755d9000     C:\WINDOWS\SYSTEM32\CRYPT32.dll
0x71780000 - 0x718bf000     C:\WINDOWS\SYSTEM32\dbghelp.dll

VM Arguments:
jvm_args: -Dsun.java2d.d3d=false -DAPP_DIR=C:\Softs\arduino-1.6.9 -Xms128M -Xmx512M 
java_command: processing.app.Base
java_class_path (initial): C:\Softs\arduino-1.6.9\lib\apple.jar;C:\Softs\arduino-1.6.9\lib\arduino-core.jar;C:\Softs\arduino-1.6.9\lib\batik-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-anim-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-awt-util-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-bridge-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-codec-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-css-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-dom-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-ext-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-gvt-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-parser-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-rasterizer-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-script-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-squiggle-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-svg-dom-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-svgpp-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-transcoder-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-util-1.8.jar;C:\Softs\arduino-1.6.9\lib\batik-xml-1.8.jar;C:\Softs\arduino-1.6.9\lib\bcpg-jdk15on-152.jar;C:\Softs\arduino-1.6.9\lib\bcprov-jdk15on-152.jar;C:\Softs\arduino-1.6.9\lib\commons-codec-1.7.jar;C:\Softs\arduino-1.6.9\lib\commons-compress-1.8.jar;C:\Softs\arduino-1.6.9\lib\commons-exec-1.1.jar;C:\Softs\arduino-1.6.9\lib\commons-httpclient-3.1.jar;C:\Softs\arduino-1.6.9\lib\commons-lang3-3.3.2.jar;C:\Softs\arduino-1.6.9\lib\commons-logging-1.0.4.jar;C:\Softs\arduino-1.6.9\lib\commons-net-3.3.jar;C:\Softs\arduino-1.6.9\lib\jackson-annotations-2.6.3.jar;C:\Softs\arduino-1.6.9\lib\jackson-core-2.6.3.jar;C:\Softs\arduino-1.6.9\lib\jackson-databind-2.6.3.jar;C:\Softs\arduino-1.6.9\lib\jackson-module-mrbean-2.6.3.jar;C:\Softs\arduino-1.6.9\lib\java-semver-0.8.0.jar;C:\Softs\arduino-1.6.9\lib\jmdns-3.4.1.jar;C:\Softs\arduino-1.6.9\lib\jna-4.1.0.jar;C:\Softs\arduino-1.6.9\lib\jna-platform-4.1.0.jar;C:\Softs\arduino-1.6.9\lib\jsch-0.1.50.jar;C:\Softs\arduino-1.6.9\lib\jssc-2.8.0.jar;C:\Softs\arduino-1.6.9\lib\pde.jar;C:\Softs\arduino-1.6.9\lib\rsyntaxtextarea-2.5.8.1+arduino.jar;C:\
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Softs\arduino-1.6.9\java\bin
USERNAME=RPiol
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows 10.0 , 64 bit Build 10586 (10.0.10586.0)

CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, clmul, ht, tsc, tscinvbit

Memory: 4k page, physical 8370832k(5692088k free), swap 8575632k(5468796k free)

vm_info: Java HotSpot(TM) Client VM (25.66-b17) for windows-x86 JRE (1.8.0_66-b17), built on Oct  6 2015 19:59:47 by "java_re" with MS VC++ 10.0 (VS2010)

time: Wed May 25 18:25:13 2016
elapsed time: 8 seconds (0d 0h 0m 8s)

@facchinm
Copy link
Member Author

Hi @xpiolx , could you please test the IDE here ans see if it solve your issue?

@xpiolx
Copy link

xpiolx commented Sep 27, 2016

Version liblistSerials-1.1.3 solved my problem! Thanks!

MCP2221 working great with Arduino IDE 1.6.8 - 1.6.9.

@facchinm facchinm deleted the solve_serial_windows branch January 4, 2017 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants