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

1.6.8 Arduino closes instantly if GPS-receiver is connected to any COM (1.6.7 works) #4696

Closed
OrakelKSL opened this issue Mar 15, 2016 · 12 comments
Labels
libListSerial Java native library used in the Arduino IDE's source code to find serial ports on the computer

Comments

@OrakelKSL
Copy link

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000087bc, pid=3932, tid=6152
#
# 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  0x000087bc
#
# Failed to write core dump.
...
  0x057bb000 JavaThread "cc.arduino.packages.discoverers.network.NetworkChecker" [_thread_blocked, id=1488, stack(0x067a0000,0x067f0000)]
=>0x057ee800 JavaThread "cc.arduino.packages.discoverers.serial.SerialBoardsLister" [_thread_in_native, id=6152, stack(0x06710000,0x06760000)]
  0x05775400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=6628, stack(0x05c20000,0x05c70000)]
...
@facchinm
Copy link
Member

Hi @OrakelKSL ,
1.6.8 ships with the new serial port listener which should perform significantly better than the previous one (less resources, more info, faster board recognition).
It looks like you are experiencing some sort of corner case with your gps receiver.
Could you post here the GPS receiver infos as reported by Windows Device Manager (like VendorID, ProductID and so on)?
Also, it would be interesting if you could paste the output of listSerialC.exe (inside windows folder in the attached zip) from a command shell (cmd)
liblistSerials-1.0.7.zip

@OrakelKSL
Copy link
Author

Hello Martino,

Please see my answers:

Windows device Manager:

I have several GPS-Receivers. As example 2 different ublox Neo 7 are routed to com 7 and 8 via Hub and USB. See list.txt. One is enough to close Arduino.

Device-Manager:

USB\VID_1546&PID_01A7\7&2bad6eb&0&2

USB\VID_1546&PID_01A7\7&2bad6eb&0&4

Output of listSerialC.exe : list.txt

NMEA on Com7:

9600 8n1 Standard NMEA output:

$GPRMC,225227.00,A,4920.95079,N,01106.73472,E,0.085,,160316,,,A*72

$GPVTG,,T,,M,0.085,N,0.157,K,A*2D

$GPGGA,225227.00,4920.95079,N,01106.73472,E,1,08,1.13,347.5,M,47.0,M,,*5D

$GPGSA,A,3,27,16,26,21,10,20,08,18,,,,,2.31,1.13,2.02*06

$GPGSV,4,1,15,04,39,173,34,07,11,328,23,08,18,289,28,10,32,162,33*76

$GPGSV,4,2,15,13,04,038,12,15,07,073,21,16,68,239,23,18,49,116,33*73

$GPGSV,4,3,15,20,22,047,18,21,58,065,13,26,49,187,33,27,49,294,30*7E

$GPGSV,4,4,15,29,05,103,22,33,28,213,,39,32,162,*45

$GPGLL,4920.95079,N,01106.73472,E,225227.00,A,A*65

$GPTXT,01,01,02,u-blox ag - www.u-blox.com*50

$GPTXT,01,01,02,HW UBX-G70xx 00070000 EFFFFFFFo*1B

$GPTXT,01,01,02,EXT CORE 1.00 (59843) Jun 27 2012 18:25:33*49

$GPTXT,01,01,02,ROM BASE 1.00 (59842) Jun 27 2012 17:43:52*57

$GPTXT,01,01,02,MOD NEO-7N-0*26

$GPTXT,01,01,02,PROTVER 14.00*1E

$GPTXT,01,01,02,ANTSUPERV=AC SD PDoS SR*20

$GPTXT,01,01,02,ANTSTATUS=OK*3B

$GPTXT,01,01,02,FIS 0xEF4015 found*2C

$GPTXT,01,01,02,LLC FFFFFFFF-FFFFFFED-FFFFFFFF-FFFFFFFF-FFFFFF69*20

$GPRMC,225228.00,A,4920.95073,N,01106.73467,E,0.029,,160316,,,A*75

$GPVTG,,T,,M,0.029,N,0.054,K,A*29

$GPGGA,225228.00,4920.95073,N,01106.73467,E,1,08,1.13,347.7,M,47.0,M,,*5E

$GPGSA,A,3,27,16,26,21,10,20,08,18,,,,,2.31,1.13,2.02*06

$GPGSV,4,1,15,04,39,173,30,07,11,328,22,08,18,289,27,10,32,162,30*7F

$GPGSV,4,2,15,13,04,038,10,15,07,073,20,16,68,239,22,18,49,116,31*73

$GPGSV,4,3,15,20,22,047,17,21,58,065,13,26,49,187,31,27,49,294,29*7B

$GPGSV,4,4,15,29,05,103,21,33,28,213,,39,32,162,*46

$GPGLL,4920.95073,N,01106.73467,E,225228.00,A,A*64

$GPRMC,225229.00,A,4920.95068,N,01106.73463,E,0.163,,160316,,,A*75

Hope it helps.

Best regards

mit freundlichen Grüßen
Manfred Detterbeck


Kornburger Strasse 9
D-90530 Wendelstein

Pos: N 49°20.960 E011°06.755

Adresse in Google Maps http://maps.google.com/maps?q=N49.349294+E11.112450+(Manfred%20Detterbeck)&t=h&hl=de&z=18

Tel: +49 9129 3425
Mobil: +49 176 56895712

E-Mail privat: mailto:manfred.detterbeck5@freenet.de mailto:manfred.detterbeck5@freenet.de
E-Mail dienstlich: mailto:Manfred.Detterbeck@siemens.com mailto:Manfred.Detterbeck@siemens.com


Von: Martino Facchin [mailto:notifications@github.com]
Gesendet: Mittwoch, 16. März 2016 09:48
An: arduino/Arduino
Cc: OrakelKSL
Betreff: Re: [Arduino] 1.6.8 Arduino closes instantly if GPS-receiver is connected to any COM (1.6.7 works) (#4696)

Hi @OrakelKSL https://github.com/OrakelKSL ,
1.6.8 ships with the new serial port listener which should perform significantly better than the previous one (less resources, more info, faster board recognition).
It looks like you are experiencing some sort of corner case with your gps receiver.
Could you post here the GPS receiver infos as reported by Windows Device Manager (like VendorID, ProductID and so on)?
Also, it would be interesting if you could paste the output of listSerialC.exe (inside windows folder in the attached zip) from a command shell (cmd)
liblistSerials-1.0.7.zip https://github.com/arduino/Arduino/files/175529/liblistSerials-1.0.7.zip


You are receiving this because you were mentioned.
Reply to this email directly or #4696 (comment) view it on GitHub https://github.com/notifications/beacon/ARCDI3D5NKMdxfsqsekXJGxPLmYc-Bd7ks5pt8PNgaJpZM4HxV-C.gif

COM7 | 1546:01A7 | (null) (null) (null)
COM8 | 1546:01A7 | (null) (null) (null)

@facchinm
Copy link
Member

Hi Manfred,
there seems to be no problem with your setup, the GPS receivers are missing a serial number (but it's not a problem).
Before investigating further, could you test if the same crash happens when using this version of the IDE?

@OrakelKSL
Copy link
Author

Hi Martino,

i tried it (a veeeery slow download).

Result: With connected GPS: Refuses to start (closes after “Boards werden installiert”)

Without connected GPS: Starts, but if I connect one gps it closes instantly.

Same behavior of 1.6.8.

PS: Thank you for the very quick response!

mit freundlichen Grüßen
Manfred Detterbeck


Kornburger Strasse 9
D-90530 Wendelstein

Pos: N 49°20.960 E011°06.755

Adresse in Google Maps http://maps.google.com/maps?q=N49.349294+E11.112450+(Manfred%20Detterbeck)&t=h&hl=de&z=18

Tel: +49 9129 3425
Mobil: +49 176 56895712

E-Mail privat: mailto:manfred.detterbeck5@freenet.de mailto:manfred.detterbeck5@freenet.de
E-Mail dienstlich: mailto:Manfred.Detterbeck@siemens.com mailto:Manfred.Detterbeck@siemens.com


Von: Martino Facchin [mailto:notifications@github.com]
Gesendet: Donnerstag, 17. März 2016 09:24
An: arduino/Arduino
Cc: OrakelKSL
Betreff: Re: [Arduino] 1.6.8 Arduino closes instantly if GPS-receiver is connected to any COM (1.6.7 works) (#4696)

Hi Manfred,
there seems to be no problem with your setup, the GPS receivers are missing a serial number (but it's not a problem).
Before investigating further, could you test if the same crash happens when using this http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-4482-BUILD-524-windows.zip version of the IDE?


You are receiving this because you were mentioned.
Reply to this email directly or #4696 (comment) view it on GitHub https://github.com/notifications/beacon/ARCDI1FB083nrEVLqWl-GzCPE-21khEpks5puQ-EgaJpZM4HxV-C.gif

@ArdWar
Copy link

ArdWar commented Apr 23, 2016

Is there already any fix for this bug?

@facchinm
Copy link
Member

facchinm commented May 2, 2016

I still couldn't reproduce this bug with my GPS receiver, is this bug still happening in nightly version?

@OrakelKSL
Copy link
Author

Hello,

i tested it with a version about 1 week ago, the bug exists also in this version. (1.6.9 ???)

Today morning i started a trip to Spitzbergen and will return at 13.5. I cannot verify it now. (My laptop has no GPS receiver)

After returning home, i will test and report.

The GPS receivers are of ublox NEO7 type.

mit freundlichen Grüßen

Manfred Detterbeck


Von: Martino Facchin [mailto:notifications@github.com]
Gesendet: Montag, 2. Mai 2016 11:22
An: arduino/Arduino
Cc: OrakelKSL; Mention
Betreff: Re: [arduino/Arduino] 1.6.8 Arduino closes instantly if GPS-receiver is connected to any COM (1.6.7 works) (#4696)

I still couldn't reproduce this bug with my GPS receiver, is this bug still happening in nightly version?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub #4696 (comment) https://github.com/notifications/beacon/ARCDI3TbTRySGo-UgqqpeEU_IZ5tXGtRks5p9cI6gaJpZM4HxV-C.gif

@HorstBaerbel
Copy link

I have the same issue here with Windows 7 x64, a recent Java install and Arduino 1.6.9. I can start it ONCE after rebooting, but after that it initializes with the splash screen showing and the crashes.
Crash log:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00008a2c, pid=2888, tid=5316
#
# 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 (0x256f8c00):  JavaThread "cc.arduino.packages.discoverers.serial.SerialBoardsLister" [_thread_in_native, id=5316, stack(0x26310000,0x26360000)]

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

Registers:
EAX=0x0076f720, EBX=0x00000000, ECX=0x0076f73b, EDX=0x2635e706
ESP=0x2635e740, EBP=0x0076f1f8, ESI=0x00000302, EDI=0x2635e870
EIP=0x00008a2c, EFLAGS=0x00010206

Top of Stack: (sp=0x2635e740)
0x2635e740:   000007c8 00220410 2635e765 0000010b
0x2635e750:   2635e765 0000010b 2635e760 00000000
0x2635e760:   00000042 00000500 02068000 ff000003
0x2635e770:   48033600 41005500 45005700 20004900
0x2635e780:   4f004d00 49004200 45004c00 57002000
0x2635e790:   44004300 41004d00 45002000 37004d00
0x2635e7a0:   30003700 00005700 00000000 00000000
0x2635e7b0:   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=0x0076f720 is an unknown value
EBX=0x00000000 is an unknown value
ECX=0x0076f73b is an unknown value
EDX=0x2635e706 is pointing into the stack for thread: 0x256f8c00
ESP=0x2635e740 is pointing into the stack for thread: 0x256f8c00
EBP=0x0076f1f8 is an unknown value
ESI=0x00000302 is an unknown value
EDI=0x2635e870 is pointing into the stack for thread: 0x256f8c00


Stack: [0x26310000,0x26360000],  sp=0x2635e740,  free space=313k
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 )
  0x272d7000 JavaThread "JmDNS(mycomputer.local.).Timer" daemon [_thread_blocked, id=5700, stack(0x28720000,0x28770000)]
  0x272d6c00 JavaThread "JmDNS(mycomputer.local.).State.Timer" [_thread_blocked, id=5880, stack(0x284e0000,0x28530000)]
  0x272d6400 JavaThread "JmDNS(mycomputer.local.).Timer" daemon [_thread_blocked, id=4460, stack(0x285c0000,0x28610000)]
  0x272d6000 JavaThread "SocketListener(mycomputer.local.)" daemon [_thread_in_native, id=5772, stack(0x286d0000,0x28720000)]
  0x272d5800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=5784, stack(0x27f10000,0x27f60000)]
  0x272d5400 JavaThread "AWT-Shutdown" [_thread_blocked, id=5516, stack(0x28330000,0x28380000)]
  0x272d4c00 JavaThread "JmDNS(mycomputer.local.).Timer" daemon [_thread_blocked, id=4504, stack(0x28480000,0x284d0000)]
  0x272d4400 JavaThread "JmDNS(mycomputer.local.).State.Timer" [_thread_blocked, id=3476, stack(0x283f0000,0x28440000)]
  0x272d4000 JavaThread "JmDNS(mycomputer.local.).Timer" daemon [_thread_blocked, id=3472, stack(0x280c0000,0x28110000)]
  0x25940c00 JavaThread "SocketListener(mycomputer.local.)" daemon [_thread_in_native, id=6024, stack(0x27ec0000,0x27f10000)]
  0x25940400 JavaThread "JmDNS(mycomputer.local.).Timer" daemon [_thread_blocked, id=1088, stack(0x28120000,0x28170000)]
  0x25940000 JavaThread "JmDNS(mycomputer.local.).State.Timer" [_thread_blocked, id=2608, stack(0x28070000,0x280c0000)]
  0x2593f800 JavaThread "JmDNS(mycomputer.local.).Timer" daemon [_thread_blocked, id=2544, stack(0x27f60000,0x27fb0000)]
  0x2593f400 JavaThread "SocketListener(mycomputer.local.)" daemon [_thread_in_native, id=6012, stack(0x27bf0000,0x27c40000)]
  0x2593ec00 JavaThread "JmDNS(mycomputer.local.).Timer" daemon [_thread_blocked, id=1532, stack(0x27dd0000,0x27e20000)]
  0x2593e800 JavaThread "JmDNS(mycomputer.local.).State.Timer" [_thread_blocked, id=5136, stack(0x27c90000,0x27ce0000)]
  0x2593e000 JavaThread "JmDNS(mycomputer.local.).Timer" daemon [_thread_blocked, id=3388, stack(0x26ea0000,0x26ef0000)]
  0x2593d800 JavaThread "SocketListener(mycomputer.local.)" daemon [_thread_in_native, id=5740, stack(0x260f0000,0x26140000)]
  0x2593d400 JavaThread "JmDNS(mycomputer-router.local.).Timer" daemon [_thread_blocked, id=5976, stack(0x26d70000,0x26dc0000)]
  0x25972000 JavaThread "JmDNS(mycomputer-router.local.).State.Timer" [_thread_blocked, id=2196, stack(0x27000000,0x27050000)]
  0x25970000 JavaThread "JmDNS(mycomputer-router.local.).Timer" daemon [_thread_blocked, id=5720, stack(0x26f10000,0x26f60000)]
  0x2596f800 JavaThread "SocketListener(mycomputer-router.local.)" daemon [_thread_in_native, id=1380, stack(0x26e50000,0x26ea0000)]
  0x2573fc00 JavaThread "cc.arduino.packages.discoverers.network.BoardReachabilityFilter" [_thread_blocked, id=1204, stack(0x26360000,0x263b0000)]
  0x256e4c00 JavaThread "cc.arduino.packages.discoverers.network.NetworkChecker" [_thread_in_native, id=3728, stack(0x25f70000,0x25fc0000)]
=>0x256f8c00 JavaThread "cc.arduino.packages.discoverers.serial.SerialBoardsLister" [_thread_in_native, id=5316, stack(0x26310000,0x26360000)]
  0x256da000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2844, stack(0x26270000,0x262c0000)]
  0x256d4400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5508, stack(0x25ff0000,0x26040000)]
  0x24eae400 JavaThread "Service Thread" daemon [_thread_blocked, id=880, stack(0x25100000,0x25150000)]
  0x24e90000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=4496, stack(0x25530000,0x25580000)]
  0x24e8ec00 JavaThread "Attach Listener" daemon [_thread_blocked, id=3784, stack(0x25460000,0x254b0000)]
  0x24e8bc00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5648, stack(0x253a0000,0x253f0000)]
  0x24e55400 JavaThread "Finalizer" daemon [_thread_blocked, id=3252, stack(0x251e0000,0x25230000)]
  0x24e4f800 JavaThread "Reference Handler" daemon [_thread_blocked, id=5540, stack(0x04780000,0x047d0000)]
  0x00bbe800 JavaThread "main" [_thread_in_native, id=2192, stack(0x00d10000,0x00d60000)]

Other Threads:
  0x24e4ac00 VMThread [stack: 0x24d80000,0x24dd0000] [id=5180]
  0x24e98800 WatcherThread [stack: 0x254d0000,0x25520000] [id=916]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 def new generation   total 39424K, used 9787K [0x04800000, 0x072c0000, 0x0f2a0000)
  eden space 35072K,  27% used [0x04800000, 0x0518ed68, 0x06a40000)
  from space 4352K,   0% used [0x06a40000, 0x06a40000, 0x06e80000)
  to   space 4352K,   0% used [0x06e80000, 0x06e80000, 0x072c0000)
 tenured generation   total 87424K, used 13891K [0x0f2a0000, 0x14800000, 0x24800000)
   the space 87424K,  15% used [0x0f2a0000, 0x10030e28, 0x10031000, 0x14800000)
 Metaspace       used 11957K, capacity 12309K, committed 12416K, reserved 12672K

Card table byte_map: [0x02290000,0x023a0000] byte_map_base: 0x0226c000

Polling page: 0x00160000

CodeCache: size=32768Kb used=1868Kb max_used=1868Kb free=30900Kb
 bounds [0x02760000, 0x02938000, 0x04760000]
 total_blobs=1217 nmethods=973 adapters=175
 compilation: enabled

Compilation events (10 events):
Event: 2.554 Thread 0x24e90000  981             javax.swing.DefaultButtonModel::<init> (56 bytes)
Event: 2.554 Thread 0x24e90000 nmethod 981 0x02931f08 code [0x02932010, 0x0293215c]
Event: 2.554 Thread 0x24e90000  982             javax.swing.JMenuItem::setModel (21 bytes)
Event: 2.555 Thread 0x24e90000 nmethod 982 0x02932208 code [0x02932310, 0x0293240c]
Event: 2.555 Thread 0x24e90000  983             javax.swing.DefaultButtonModel::addActionListener (11 bytes)
Event: 2.555 Thread 0x24e90000 nmethod 983 0x029324c8 code [0x029325d0, 0x0293266c]
Event: 2.555 Thread 0x24e90000  984             javax.swing.DefaultButtonModel::addItemListener (11 bytes)
Event: 2.555 Thread 0x24e90000 nmethod 984 0x02932708 code [0x02932810, 0x029328ac]
Event: 2.555 Thread 0x24e90000  985             javax.swing.DefaultButtonModel::setMenuItem (6 bytes)
Event: 2.555 Thread 0x24e90000 nmethod 985 0x02932948 code [0x02932a40, 0x02932ac0]

GC Heap History (6 events):
Event: 1.077 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 8503K, capacity 8686K, committed 8832K, reserved 9600K
Event: 1.094 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 2150K [0x0f2a0000, 0x14800000, 0x24800000)
   the space 87424K,   2% used [0x0f2a0000, 0x0f4b9b90, 0x0f4b9c00, 0x14800000)
 Metaspace       used 8503K, capacity 8686K, committed 8832K, reserved 9600K
}
Event: 1.841 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 2150K [0x0f2a0000, 0x14800000, 0x24800000)
   the space 87424K,   2% used [0x0f2a0000, 0x0f4b9b90, 0x0f4b9c00, 0x14800000)
 Metaspace       used 11395K, capacity 11780K, committed 11904K, reserved 12672K
Event: 1.867 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 8874K [0x0f2a0000, 0x14800000, 0x24800000)
   the space 87424K,  10% used [0x0f2a0000, 0x0fb4aa00, 0x0fb4aa00, 0x14800000)
 Metaspace       used 11395K, capacity 11780K, committed 11904K, reserved 12672K
}
Event: 2.041 GC heap before
{Heap before GC invocations=2 (full 0):
 def new generation   total 39296K, used 14842K [0x04800000, 0x072a0000, 0x0f2a0000)
  eden space 34944K,  30% used [0x04800000, 0x0523e938, 0x06a20000)
  from space 4352K, 100% used [0x06a20000, 0x06e60000, 0x06e60000)
  to   space 4352K,   0% used [0x06e60000, 0x06e60000, 0x072a0000)
 tenured generation   total 87424K, used 8874K [0x0f2a0000, 0x14800000, 0x24800000)
   the space 87424K,  10% used [0x0f2a0000, 0x0fb4aa00, 0x0fb4aa00, 0x14800000)
 Metaspace       used 11915K, capacity 12270K, committed 12288K, reserved 12672K
Event: 2.087 GC heap after
Heap after GC invocations=3 (full 1):
 def new generation   total 39424K, used 0K [0x04800000, 0x072c0000, 0x0f2a0000)
  eden space 35072K,   0% used [0x04800000, 0x04800000, 0x06a40000)
  from space 4352K,   0% used [0x06a40000, 0x06a40000, 0x06e80000)
  to   space 4352K,   0% used [0x06e80000, 0x06e80000, 0x072c0000)
 tenured generation   total 87424K, used 13891K [0x0f2a0000, 0x14800000, 0x24800000)
   the space 87424K,  15% used [0x0f2a0000, 0x10030e28, 0x10031000, 0x14800000)
 Metaspace       used 11915K, capacity 12270K, committed 12288K, reserved 12672K
}

Deoptimization events (0 events):
No events

Internal exceptions (10 events):
Event: 1.974 Thread 0x00bbe800 Exception <a 'sun/nio/fs/WindowsException'> (0x04eae5a0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.974 Thread 0x00bbe800 Exception <a 'sun/nio/fs/WindowsException'> (0x04eb99b0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.975 Thread 0x00bbe800 Exception <a 'sun/nio/fs/WindowsException'> (0x04eb9fa0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.975 Thread 0x00bbe800 Exception <a 'sun/nio/fs/WindowsException'> (0x04ec3d30) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.975 Thread 0x00bbe800 Exception <a 'sun/nio/fs/WindowsException'> (0x04ec4288) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.976 Thread 0x00bbe800 Exception <a 'sun/nio/fs/WindowsException'> (0x04ece680) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.976 Thread 0x00bbe800 Exception <a 'sun/nio/fs/WindowsException'> (0x04ecebd8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.977 Thread 0x00bbe800 Exception <a 'sun/nio/fs/WindowsException'> (0x04eda940) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.977 Thread 0x00bbe800 Exception <a 'sun/nio/fs/WindowsException'> (0x04edaec0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\4988\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2.314 Thread 0x00bbe800 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.lambda$negate$11(Ljava/lang/Object;)Z> (0x04e09a08) 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.314 loading class javax/swing/plaf/basic/BasicPopupMenuSeparatorUI done
Event: 2.314 loading class com/sun/java/swing/plaf/windows/WindowsPopupMenuSeparatorUI done
Event: 2.351 Thread 0x272d6000 Thread added: 0x272d6000
Event: 2.352 Thread 0x272d6400 Thread added: 0x272d6400
Event: 2.352 Thread 0x272d6c00 Thread added: 0x272d6c00
Event: 2.352 Thread 0x272d7000 Thread added: 0x272d7000
Event: 2.542 loading class java/util/ArrayList$ListItr
Event: 2.542 loading class java/util/ArrayList$ListItr done
Event: 2.542 Executing VM operation: Deoptimize
Event: 2.543 Executing VM operation: Deoptimize done


Dynamic libraries:
0x00e50000 - 0x00e83000     C:\Program Files (x86)\Arduino\java\bin\javaw.exe
0x77240000 - 0x773c0000     C:\Windows\SysWOW64\ntdll.dll
0x75e20000 - 0x75f30000     C:\Windows\syswow64\kernel32.dll
0x75020000 - 0x75067000     C:\Windows\syswow64\KERNELBASE.dll
0x75100000 - 0x751a1000     C:\Windows\syswow64\ADVAPI32.dll
0x768a0000 - 0x7694c000     C:\Windows\syswow64\msvcrt.dll
0x761f0000 - 0x76209000     C:\Windows\SysWOW64\sechost.dll
0x76780000 - 0x76870000     C:\Windows\syswow64\RPCRT4.dll
0x747c0000 - 0x74820000     C:\Windows\syswow64\SspiCli.dll
0x747b0000 - 0x747bc000     C:\Windows\syswow64\CRYPTBASE.dll
0x769f0000 - 0x76af0000     C:\Windows\syswow64\USER32.dll
0x74820000 - 0x748b0000     C:\Windows\syswow64\GDI32.dll
0x75e00000 - 0x75e0a000     C:\Windows\syswow64\LPK.dll
0x76340000 - 0x763dd000     C:\Windows\syswow64\USP10.dll
0x70b30000 - 0x70cce000     C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_41e855142bd5705d\COMCTL32.dll
0x748b0000 - 0x74907000     C:\Windows\syswow64\SHLWAPI.dll
0x76af0000 - 0x76b50000     C:\Windows\system32\IMM32.DLL
0x74b70000 - 0x74c3c000     C:\Windows\syswow64\MSCTF.dll
0x57380000 - 0x5743f000     C:\Program Files (x86)\Arduino\java\bin\msvcr100.dll
0x56fb0000 - 0x57375000     C:\Program Files (x86)\Arduino\java\bin\client\jvm.dll
0x73b60000 - 0x73b67000     C:\Windows\system32\WSOCK32.dll
0x74b20000 - 0x74b55000     C:\Windows\syswow64\WS2_32.dll
0x769e0000 - 0x769e6000     C:\Windows\syswow64\NSI.dll
0x738e0000 - 0x73912000     C:\Windows\system32\WINMM.dll
0x744d0000 - 0x744d9000     C:\Windows\system32\VERSION.dll
0x76530000 - 0x76535000     C:\Windows\syswow64\PSAPI.DLL
0x64110000 - 0x64141000     C:\Program Files (x86)\Arduino\java\bin\splashscreen.dll
0x6a660000 - 0x6a6e0000     C:\Windows\system32\uxtheme.dll
0x68700000 - 0x6870c000     C:\Program Files (x86)\Arduino\java\bin\verify.dll
0x686d0000 - 0x686f1000     C:\Program Files (x86)\Arduino\java\bin\java.dll
0x686b0000 - 0x686c3000     C:\Program Files (x86)\Arduino\java\bin\zip.dll
0x76540000 - 0x7669d000     C:\Windows\system32\ole32.dll
0x66e20000 - 0x66e2e000     C:\Program Files (x86)\KatMouse\KatMouseS.dll
0x751b0000 - 0x75dfb000     C:\Windows\syswow64\SHELL32.dll
0x75f90000 - 0x75f9b000     C:\Windows\syswow64\profapi.dll
0x76950000 - 0x769df000     C:\Windows\syswow64\OLEAUT32.DLL
0x56e60000 - 0x56fa5000     C:\Program Files (x86)\Arduino\java\bin\awt.dll
0x68880000 - 0x68893000     C:\Windows\system32\dwmapi.dll
0x640f0000 - 0x64106000     C:\Program Files (x86)\Arduino\java\bin\net.dll
0x740f0000 - 0x7412c000     C:\Windows\system32\mswsock.dll
0x74140000 - 0x74146000     C:\Windows\System32\wship6.dll
0x61940000 - 0x61976000     C:\Program Files (x86)\Arduino\lib\listSerialsj.dll
0x76c10000 - 0x76dad000     C:\Windows\syswow64\SETUPAPI.dll
0x76870000 - 0x76897000     C:\Windows\syswow64\CFGMGR32.dll
0x76bf0000 - 0x76c02000     C:\Windows\syswow64\DEVOBJ.dll
0x74560000 - 0x7457c000     C:\Windows\system32\IPHLPAPI.DLL
0x74c50000 - 0x74c57000     C:\Windows\system32\WINNSI.DLL
0x74170000 - 0x74182000     C:\Windows\system32\dhcpcsvc.DLL
0x74160000 - 0x7416d000     C:\Windows\system32\dhcpcsvc6.DLL
0x738b0000 - 0x738c7000     C:\Windows\system32\CRYPTSP.dll
0x73870000 - 0x738ab000     C:\Windows\system32\rsaenh.dll
0x766a0000 - 0x766b7000     C:\Windows\syswow64\USERENV.dll
0x6a4c0000 - 0x6a4cf000     C:\Program Files (x86)\Arduino\java\bin\nio.dll
0x00e10000 - 0x00e4d000     C:\Users\myuser\AppData\Local\Temp\jna-3493026\jna4389124597514776882.dll
0x63840000 - 0x63879000     C:\Program Files (x86)\Arduino\java\bin\fontmanager.dll
0x73c30000 - 0x73c74000     C:\Windows\system32\DNSAPI.dll
0x74150000 - 0x74155000     C:\Windows\System32\wshtcpip.dll
0x6e270000 - 0x6e276000     C:\Windows\system32\rasadhlp.dll
0x6e280000 - 0x6e2b8000     C:\Windows\System32\fwpuclnt.dll
0x63890000 - 0x638c0000     C:\Program Files (x86)\Arduino\java\bin\t2k.dll
0x76740000 - 0x7676f000     C:\Windows\syswow64\WINTRUST.dll
0x76210000 - 0x76331000     C:\Windows\syswow64\CRYPT32.dll
0x761e0000 - 0x761ec000     C:\Windows\syswow64\MSASN1.dll
0x746c0000 - 0x747ab000     C:\Windows\system32\dbghelp.dll

VM Arguments:
jvm_args: -Dsun.java2d.d3d=false -DAPP_DIR=C:\Program Files (x86)\Arduino -Xms128M -Xmx512M 
java_command: processing.app.Base E:\ARDUINO\WiFiRGBTest\WiFiRGBTest.ino
java_class_path (initial): C:\Program Files (x86)\Arduino\lib\apple.jar;C:\Program Files (x86)\Arduino\lib\arduino-core.jar;C:\Program Files (x86)\Arduino\lib\batik-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-anim-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-awt-util-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-bridge-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-codec-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-css-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-dom-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-ext-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-gvt-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-parser-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-rasterizer-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-script-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-squiggle-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-svg-dom-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-svgpp-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-transcoder-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-util-1.8.jar;C:\Program Files (x86)\Arduino\lib\batik-xml-1.8.jar;C:\Program Files (x86)\Arduino\lib\bcpg-jdk15on-152.jar;C:\Program Files (x86)\Arduino\lib\bcprov-jdk15on-152.jar;C:\Program Files (x86)\Arduino\lib\commons-codec-1.7.jar;C:\Program Files (x86)\Arduino\lib\commons-compress-1.8.jar;C:\Program Files (x86)\Arduino\lib\commons-exec-1.1.jar;C:\Program Files (x86)\Arduino\lib\commons-httpclient-3.1.jar;C:\Program Files (x86)\Arduino\lib\commons-lang3-3.3.2.jar;C:\Program Files (x86)\Arduino\lib\commons-logging-1.0.4.jar;C:\Program Files (x86)\Arduino\lib\commons-net-3.3.jar;C:\Program Files (x86)\Arduino\lib\jackson-annotations-2.6.3.jar;C:\Program Files (x86)\Arduino\lib\jackson-core-2.6.3.jar;C:\Program Files (x86)\Arduino\lib\jackson-databind-2.6.3.jar;C:\Program Files (x86)\Arduino\lib\jackson-module-mrbean-2.6.3.jar;C:\Program Files (x86)\Arduino\lib\java-semver-0.8.0.jar;C:\Program Files (x86)\Arduino\lib\jmdns-3.4.1.j
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\ProgramData\Oracle\Java\javapath;c:\devkitPro\msys\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Tools;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files (x86)\CMake\bin;C:\Program Files (x86)\Arduino\java\bin
USERNAME=myuser
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 37 Stepping 2, GenuineIntel



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

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

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

Memory: 4k page, physical 3854844k(2292004k free), swap 7707828k(5391052k 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: Sat May 14 12:44:27 2016
elapsed time: 2 seconds (0d 0h 0m 2s)

My COM ports look like this:
comports

@OrakelKSL
Copy link
Author

Hello everybody,
i'm back from arctica and i testet nightly version of 9 May 2016 18:13:3 GMT.
Same behaviour: If GPS-Receiver is connected arduino closes some ms after start.
If arduino runs and a GPS-receiver get connected, it closes instantly after COM is established.
GPS-Receiver via Bluetooth are no problem, only USB connected type. (i tested several ublox types)

@OrakelKSL OrakelKSL reopened this May 14, 2016
facchinm added a commit to facchinm/Arduino that referenced this issue May 19, 2016
facchinm added a commit to facchinm/Arduino that referenced this issue May 19, 2016
@facchinm
Copy link
Member

Hi @OrakelKSL @ArdWar @HorstBaerbel , could you test the build in #4971 and report if it works with your setups? Thx

@HorstBaerbel
Copy link

Did not work for me, see #4971 (comment)

@OrakelKSL
Copy link
Author

Works! 2 GPS receivers connected, no crashes!

Good work!

facchinm added a commit to facchinm/Arduino that referenced this issue Jul 12, 2016
facchinm added a commit to facchinm/Arduino that referenced this issue Jul 21, 2016
Solves arduino#4696, arm binaries are now rPi1 compatible (armv6)
@facchinm facchinm added the libListSerial Java native library used in the Arduino IDE's source code to find serial ports on the computer label Oct 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libListSerial Java native library used in the Arduino IDE's source code to find serial ports on the computer
Projects
None yet
Development

No branches or pull requests

4 participants