Without realizing it, I left the Arduino IDE open overnight with the serial monitor window open (And no Arduino connected)
There are multiple "console.tmp" directories in my temp directory. Combined, they take over 10GB. I have one specific file that is taking 8.7GB
mckaym@dev1 /cygdrive/c/Users/mckaym/AppData/Local/Temp/console65554090507124094.tmp
$ du -h stderr.txt
8.7G stderr.txt
mckaym@dev1 /cygdrive/c/Users/mckaym/AppData/Local/Temp/console65554090507124094.tmp
$ tail stderr.txt
at gnu.io.RXTXPort.nativeavailable(Native Method)
at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1532)
at processing.app.Serial.serialEvent(Serial.java:215)
at gnu.io.RXTXPort.sendEvent(RXTXPort.java:732)
at gnu.io.RXTXPort.eventLoop(Native Method)
at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1575)
Error inside Serial.serialEvent()
java.io.IOException: Bad file descriptor in nativeavailable
at gnu.io.RXTXPort.nativeavailable(Native Method)
at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1532)
Obviously I did.
It isn't exactly a user-friendly feature. No one is expecting to have their temporary directory explode. I didn't think there would be any harm in reporting this behavior.
It isn't exactly a user-friendly feature. No one is expecting to have their temporary directory explode. I didn't think there would be any harm in reporting this behavior.
You are right.
Lets try to investigate this a little.
Which version of the Arduino IDE are you running.
Which version of the operating system are you running
32bit or 64bit
When you start up the IDE from the commandline it prints the version information for the RXTX library. What version is installed?
How did that happen ?
I left the Arduino IDE open overnight with the serial monitor window open (And no Arduino connected)
You had the serial monitor connected to the board and then you simply unplugged it ?
6) Can you replicate this error?
Wayoda, I saw the same thing - when disconnect Arduino when terminal window is open and connected, IDE's log area is flooding with error messages until I close terminal window. These are Java errors about connection. I rapidly delete log files, so I didn't get 10 GB
My system - winXP 32bit, IDE: 0017. I don't know about rxtx version - .dll don't give me version number and command line is very silent.