Arduino 1.0.1 causes Mac OS X to crash regularly. Ideas?

Forget Arduino 1.0.1. This kernel panic is happening to me with my 24" iMac running 10.8.2 and Arduino 1.0.3. I even upgraded to the latest 10.8.3 beta (I’m a registered developer) and am still getting the panic. Here are the details:

In the Arduino Editor, all that I have to do is click the checkmark button to compile the code in the window. IF there are no compile errors, then about 1 out of every 8 times when I click this, the mouse stops moving, and 1 second later the screen goes black and I get the grey panic screen.

This is so frustrating. It makes development a crapshoot because I don’t know when the panic will occur. It appears more likely to occur if I do a number of successive compiles in short order (after fixing bugs or adding small features), but it could also happen if I wait minutes or hours to do a compile.

Here is my panic report. Granted, the stack has little information to go on.

Interval Since Last Panic Report:  142025 sec
Panics Since Last Report:          1
Anonymous UUID:                    C9D979AD-BC62-8A09-D830-6AE020D91210

Tue Jan 29 06:53:45 2013
panic(cpu 1 caller 0xffffff80080b7e95): Kernel trap at 0xffffff80083665c3, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000154, CR3: 0x00000000527dc000, CR4: 0x0000000000000660
RAX: 0x0000000000000000, RBX: 0xffffff8019da2660, RCX: 0xffffff80b91150b8, RDX: 0xffffff8017a67070
RSP: 0xffffff8012ccbd90, RBP: 0xffffff8012ccbe50, RSI: 0x000000000000001f, RDI: 0xffffff8019ddb550
R8:  0x000000000000003c, R9:  0x00000000000003ff, R10: 0xffffffffffffffff, R11: 0x00000000ffffffff
R12: 0x0000000000000000, R13: 0x0000000000000004, R14: 0xffffff8017a67020, R15: 0x0000000000080000
RFL: 0x0000000000010246, RIP: 0xffffff80083665c3, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x0000000000000154, Error code: 0x0000000000000000, Fault CPU: 0x1

Backtrace (CPU 1), Frame : Return Address
0xffffff8012ccba30 : 0xffffff800801d626 
0xffffff8012ccbaa0 : 0xffffff80080b7e95 
0xffffff8012ccbc70 : 0xffffff80080cd4dd 
0xffffff8012ccbc90 : 0xffffff80083665c3 
0xffffff8012ccbe50 : 0xffffff8008356082 
0xffffff8012ccbec0 : 0xffffff8008039ce9 
0xffffff8012ccbef0 : 0xffffff800803c7e8 
0xffffff8012ccbf20 : 0xffffff800803c65e 
0xffffff8012ccbf50 : 0xffffff800801b70d 
0xffffff8012ccbf90 : 0xffffff80080b84a3 
0xffffff8012ccbfb0 : 0xffffff80080cd4ac 

BSD process name corresponding to current thread: Unknown

Mac OS version:

Kernel version:
Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64
Kernel UUID: 3EB7D8A7-C2D3-32EC-80F4-AB37D61492C6
Kernel slide:     0x0000000007e00000
Kernel text base: 0xffffff8008000000
System model name: iMac7,1 (Mac-F42386C8)

System uptime in nanoseconds: 146999748730101
last loaded kext at 143699045128632:	2.9.0f6 (addr 0xffffff7f8a254000, size 262144)
last unloaded kext at 144811937227386: com.silabs.driver.CP210xVCPDriver64	3.1.0d1 (addr 0xffffff7f8a20d000, size 28672)
loaded kexts:
com.vmware.kext.vmioplug.10.1.24	10.1.24
com.vmware.kext.vmx86	0090.04.91
com.vmware.kext.vmnet	0090.04.91
com.vmware.kext.vsockets	90.4.22
com.vmware.kext.vmci	90.4.18
com.FTDI.driver.FTDIUSBSerialDriver	2.2.18
tc.tctechnologies.driver.AlesisFirewire	3.5.6 11675	1.8	75.19	3.0	1.60	4.1.3f3	1.9.5d0	2.3.7fc4	4.1.23	4.1.3f3	1.0.0	1.6.0	170.2.5	4.1.23	3.5.10	1.1.11	8.1.0	8.1.0	1.0.0d1	4.1.3f3	7.0.0	3.3.0	3.1.7	320.15	3.5.5	1.0.0d1	1.0.0d1	34	404	2.3.1	1.5	5.5.5	3.2.3b1	600.36.17	4.9.6	2.5.1	2.5.1	5.5.0	5.2.5	1.7	1.8	1.7	1.9	1.7	1.6	196.0.0	4.0.39	2	196.0.0	4.1.3f3	235.29	1.0	2.3.7fc4	2.2.5	4.1.3f3	4.1.23	2.3.7fc4	2.3.7fc4	1.0.0	5.3.0d51	1.0.4	1.0.11d0	8.1.0	8.1.0	86.0.4	10.0.6	4.1.3f3	3.1.4d2	1.8.9fc11	1.6	3.3.0	2.3.7	2.3.7	170.2	170.2	3.5.5	3.5.1	5.2.5	5.5.5	5.2.5	3.5.5	1.7	1.7.1	1.7.1	3.5.0	3.5.5	5.5.5	522.4	3.0	4.5.5	2.3.1	2.5.1	5.5.5	1.7	1.8.1	1.1	220.2	1.0.0d1	7	345	1.8	28.21	1.7	2.7.3	1.4	1.0

Moderator edit:
</mark> <mark>[code]</mark> <mark>

</mark> <mark>[/code]</mark> <mark>
tags added.

I am having nearly the exact same issue with my mid-2012 macbook. My mac does a kernel panic randomly when I unplug the Arduino. This is incredibly frustrating for development as it seems the only way I can reliably stop the code/serial monitor and upload a new version is to unplug the usb cable from the Arduino. The Kernel Panic happens randomly somewhere between the 2nd and 10th unplugging of the Arduino. Always on the *un*plugging.

Here is my environment: macbook 2.7Ghz Core i7 OS X 10.7.5 Arduino 1.0.2 Boards: Happens when working with both UNO and MEGA boards

This is a serious bummer and I would appreciate any recommendations if anyone has solved this problem.

Thanks, Dave

ralfieroo: the only way I can reliably stop the code/serial monitor and upload a new version is to unplug the usb cable from the Arduino.

The only time this has even been an issue for me was when the code on the Arduino was sending (too much?) Serial data at a near constant rate. Small delays helped.

Just an update:

Not to be a "quitter" but I really had too much development to keep fiddling with the mac and I had a perfectly good Ubuntu linux PC sitting right next to it. I've switched my Arduino development to that linux PC and I've had no problems. Can plug and unplug Arduino's to my heart's content.


Currently running version 152 on OSX 10.8.3 with no problems.!

Running all sorts of things on 10.7.5 and never had a problem. OTOH, I don't unplug my Arduinos while they're generating serial data, either. Hardly ever.

Has anyone found a solution, or an idea of where this is coming from yet? It just happened again using IDE version 1.0.4 and uploading a sketch. I have a late '08, 17" Macbook Pro running 10.8.3. My panic report is just as uninformative as the one already posted.

Another detail, this crash always happens when uploading to a board. In my case, a genuine Arduino UNO R3. It has not happened with the Leonardo yet.

When my Mac crashed this morning, I had only the Arduino IDE and Google Chrome running, in addition to the normal Mac processes. In order to eliminate the possibility of another USB device confusing the OS, all external devices, other than the Uno, were disconnected.

After posting the last message, I updated to IDE version 1.0.5. It took 25 or 30 uploads before my Mac crashed, but it did crash. At the time of the crash, Chrome was not running, but other USB devices were connected and iTunes was running. Also, it crashed uploading to a Leonardo. As before, the panic report did not show anything interesting.


the same problem has been biting me for a while now, with various versions of the Arduino IDE on a late 2009 MBP running Snow Leopard first and now Mountain Lion. I only use official Arduine so far, Uno and Leonardo. Both exhibit the behavior. It usually happens after a couple of uploads to the board. The Mac freezes for a few seconds (including mouse pointer and everything), then goes to a grey "sorry,there was a problem" screen, then reboots. I find it extremely annoying, since I regularly lose unsaved data due to this. Any possible workaround is greatly appreciated.

Best regards, Joerg

The same happens to me with all these combinations: macbook 17 early 2009 Osx 10.9 (but it was the same on the old one) Arduino 0.22 / Arduino 1.0.x ARDUINO MEGA2560 AND ONE R3 via USB my custom atmel atmega328P chip based via USB2SERIAL Oracle Java 7 / Open JDK 7 / Open JDK 6 Crash after some uploads, during upload. I'm working on arduino for three years. This time I upgraded several osx versions and my feeling is that it depends on osx upgrades. Infact in this period I've kept stable ide (0.22) and hardware, but only upgraded OSX, and it seems to be worse and worse. What about Arduino Team? Are they investigating about it? I think also that it should be related with RXTX native of java, but I think that it could be also caused by some bug in the IDE. bye Paolo

I found a trick to avoid OSX to crash… simply use a USB hub to connect to arduino. I’ve done this and it stop crashing.
Hope this helps someone.

Ah. Was it a USB 3.0 port that you were connecting to? That would explain why so many people weren't seeing the problem.

Exactly the same to me. With OSX 10.7 it works fine. Just since I changed to 10.9 kernel panic accour regularly while uploading. (Today it crashed the HD or better something of the "user" ... so I had to restore startdisc to be able to login again.)


1) Will test it by using an external USB Host. If it is the USB voltage supply 2) Will check usb drivers.

This is my first post here and I'd like to say Hello to everybody in the Arduino world! And I would like to say, that my English could be better, but I think it's ok.

I looked for a solution for the problem, that Mac OS-X crashes. So I found this thread. I've a late 2008 Macbook (first 13" unibody), running "Maverick". Even by using the suggested USB-Hub the macbook crashes completely and does only start again after plugging off the Arduino (Arduino Uno R3). But I do also have a late 2010 11" MacbookAir also running Maverick. And there I do not have the crash problem after several hours of using until now.

This post may not be very helpful to solve the problem actually, but it shows, that the same Arduino-hardware and software (1.0.5) can cause crashing a macbook or run stable.


I seem to be having crashes on osx with Maverics on a 13" mid 2009 unibody while uploading to arduino.
Here’s a message (attached) I get on screen after a hard reset.

Hi All

I have also been having problems with version 1.0.5 on Mavericks on a 2010 Air. I'm using a genuine Leonardo.

There seems to be two different issues:

  1. Serial data. When sending lots of data from the board to the mac using the serial monitor the mac will lock up without giving me a grey screen. Mouse moves and that's about it. If I use screen or a third party terminal this is not an issue.

  2. Programming / Compiling. As mentioned earlier when doing frequent uploads I have had the mac crash and give me a grey screen. Happened 3 times in 15 minutes yesterday evening. (See pic in previous post).

In normal day to day use my mac is reliable and does not have any issues.

I have 2 questions, what is the best method of getting these issues resolved, and is there an alternative development environment?



I just received an email yesterday from the Arduino group regarding this:

"JSSC has been released wih 1.5.6, this problem should be fixed now."


“JSSC has been released wih 1.5.6, this problem should be fixed now.”

Hi All,

I am new to this forum. I have the same problems once in a while when uploading a sketch from my iMac (Mid 2010) to an (official) Arduino UNO (Rev 3) board. What do I have to do? Do I need to switch from version 1.0.1 of the IDE to version 1.5.6? As I already installed this a couple of months ago - do I have to re-install it? Any suggestions are highly appreciated.



My symptoms were pretty much identical to what has already been reported in this thread. After suffering a couple of computer crashes today, I upgraded to Arduino IDE 1.5.6-r2. So far, I haven't been able to provoke any crashes.

[quote author=Nick Gammon link=topic=123901.msg931448#msg931448 date=1348285971] People would be screaming if the normal Arduino IDE crashed the entire computer every hour. It just doesn't. [/quote]

I'm running a Sunfounder Mega 2560 using Arduino 1.0.5 on my Mac (Mavericks) and I've crashed my system twice this morning when clicking to upload to the arduino. :(