-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Component: IDEThe Arduino IDEThe Arduino IDEOS: LinuxSpecific to the Linux version of the Arduino IDESpecific to the Linux version of the Arduino IDEType: Bug
Description
On the Ubuntu version of the Arduino IDE 1.0.5, disconnecting (unplugging) the USB cable from the PC to the Arduino Uno causes CPU usage for the Java IDE runtime to jump to 100%. What is it doing?
Code:
top - 09:43:14 up 1 day, 23:54, 4 users, load average: 0.71, 0.60, 0.60
Tasks: 246 total, 1 running, 244 sleeping, 0 stopped, 1 zombie
%Cpu(s): 8.8 us, 5.7 sy, 0.0 ni, 85.5 id, 0.1 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 16376056 total, 16104688 used, 271368 free, 641840 buffers
KiB Swap: 31249404 total, 0 used, 31249404 free. 9019168 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2142 nick 20 0 6874812 163476 25408 S 100.1 1.0 0:27.44 java
^^^^^
Steps to reproduce:
- Compile and upload Blink sketch
- Open Serial monitor
- Run the "top" command in a console window
- Unplug the USB cable from the Arduino
- Note that the java process CPU climbs from around 7% to 100%
Metadata
Metadata
Assignees
Labels
Component: IDEThe Arduino IDEThe Arduino IDEOS: LinuxSpecific to the Linux version of the Arduino IDESpecific to the Linux version of the Arduino IDEType: Bug