-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Kernel Panic while uploading [imported] #350
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
Comments
This problem is still in the lastest arduino version 1.0.5 and with OS X 10.8.3. Interval Since Last Panic Report: 46216 sec Anonymous UUID: B11EFFFD-7D06-B052-FD31-B1AEBA94B0CD Mon May 27 21:07:51 2013 Backtrace (CPU 1), Frame : Return Address BSD process name corresponding to current thread: Unknown Mac OS version: Kernel version: System uptime in nanoseconds: 10716275668718 |
Isn't this more of a bug in MacOS than in the Arduino software? Or does the Arduino software include a kernel driver on MacOS? |
Yup, its seems a bug in the CDC ACM driver shipped with MacOSX, it is triggered by some rare conditions from the interaction of RXTX and the 32u4 firmware. I have no idea on how to solve this one, and the core dump didn't help because we have no access to Apple's source code. It would be useful to find also a workaround to put inside the 32u4 firmware (to avoid triggering the bug until is fixed upstream), but this is unlike to happen until we find a reliable way to reproduce the bug. C |
Using Arduino 1.5.5 and OS X 10.9 still produces regular kernel panics. Below is a report of the last one on my MacBook Air for reference. This time with an Arduino Due (Programming Port) connected via a Apple Thunderbolt Display, however the problem also occurs when connected directly to the MacBook. Not only the Due is having this problem; it also occurs with my Arduino Mega2560, Esplora and Nano r3. Besides this I never had any kernel panics on this machine. I'm also filing a bug report with Apple and will do my best further investigating my issue.
|
This will hopefully be fixed in the upcoming 1.5.6. We replaced RXTX with JSSC and @Lauszus reported it's working fine #1656 (comment) . We have recently merged the jssc branch into 1.5.x branch. Therefore you can try one of the nightly from http://arduino.cc/en/Main/Software#toc4 |
Can this issue also happen with the Arduino Due's native USB port, as that isn't connected to the 16u2? I thought it couldn't and tried to use that as a workaround -- but the panics are back now, so I guess it can. I'm downloading a nightly right now. I'm hoping that solves the issue! Edit: Uploading doesn't work at all right now, but that could be another bug in the current nightly, I suppose. I'm pretty sure I've selected the right serial port ;-) Edit 2: Nevermind that first edit. After a few restarting and replugging everything a few times it seems to work now. Let's have a look at the kernel panics now (their being-away, preferably)! |
After using it for a few hours I can indeed confirm the problem is solved for me! Although using the nightly, I cannot upload to the Due using the native port; I assume that's another bug by itself. But where previously I would often (but not always) get kernel panics while uploading to a Arduino Nano, Esplora, Due, Mega or Uno (I've tried these boards) uploading sketches to any of these boards is fine now, even after 50+ uploads this evening. |
Good to know, thanks! And yes please, file a new issue for the Due upload problem. I guess, kernel problem aside, you have no issues using 1.5.5, is that true? |
That's right; aside from that, 1.5.5 is working fine for me. I'll have a closer look at the uploading issues with the Due this evening and will file a issue if necessary. Uploading to the native port did always work with 1.5.5. |
Hi, i've tried 1.0.5 and 1.5.5 and both produced kernel panics randomly on my mac mini. I recall being a happy user of 1.0.X version before updating to Mavericks. I've downloaded the nighly build to test it. I know it won't help but this is the report i've get
|
Is this kernel panic generated by the nightly build? |
No, in fact i'm using the nightly build since yesterday successfully. Thx! |
Fixed in 1.5.6 by replacing RXTX with JSSC |
This is Issue 350 moved from a Google Code project.
Added by 2010-09-14T04:35:46.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Defect, Priority-Medium
Original description
What version of the Arduino software are you using? On what operating
system? Which Arduino board are you using?
Arduino Alpha 0019, with a Arduino Duemilanove connected via USB. Running Mac OS 10.5.8.
Sorry I can't provide any more than this - if this is enough to go on, great, otherwise I understand closing as Invalid. In the 20 minutes since it occured, I've been unable to reproduce it.
Please provide any additional information below.
Panic report:
Interval Since Last Panic Report: 5574505 sec
Panics Since Last Report: 1
Anonymous UUID: 809513D0-B203-42E7-A20B-7662B89BCC4E
Mon Sep 13 22:35:23 2010
panic(cpu 0 caller 0x001AA802): Double fault at 0x0200622a, thread:0x7821a78, trapno:0x8, err:0x0),registers:
CR0: 0x8001003b, CR2: 0x7c2801e8, CR3: 0x00d15000, CR4: 0x00000660
EAX: 0x0595e400, EBX: 0x00000000, ECX: 0x03e9a7ff, EDX: 0x066dd002
ESP: 0x7c2801ff, EBP: 0x342d3b08, ESI: 0x0d00002e, EDI: 0x03e9c450
EFL: 0x00210283, EIP: 0x0200622a
Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
0x4f4e28 : 0x12b4c6 (0x45f91c 0x4f4e5c 0x13355c 0x0)
0x4f4e78 : 0x1aa802 (0x46951c 0x200622a 0x7821a78 0x8)
0x4f4f58 : 0x1a2543 (0x4f4f70 0x0 0x0 0x0)
0x342d3b08 : 0x348196a5 (0x3e9c400 0xd00002e 0x20007 0x2000)
0x342d3b48 : 0x204d10 (0xd00002e 0x20007 0x2000 0x478d58c)
0x342d3bc8 : 0x1f870b (0x342d3bf0 0x3cd7198 0x6 0x7830e44)
0x342d3c18 : 0x1ed792 (0x86b1be0 0x20007 0x7830e44 0x7830e44)
0x342d3c78 : 0x1e3bd4 (0x342d3d38 0x342d3cec 0x342d3e8c 0x7830e44)
0x342d3d08 : 0x1e4253 (0x7830e44 0x342d3d38 0x20006 0x342d3e8c)
0x342d3f78 : 0x3e3a7f (0x478d58c 0x7830d40 0x7830d84 0xb11bb920)
0x342d3fc8 : 0x1a1c0a (0x81da5e0 0x0 0x1a40b5 0x3aa5998)
No mapping exists for frame pointer
Backtrace terminated-invalid frame pointer 0xb11bba08
Kernel loadable modules in backtrace (with dependencies):
com.apple.iokit.IOSerialFamily(9.4)@0x34815000->0x3481dfff
BSD process name corresponding to current thread: JavaApplicationS
Mac OS version:
9L31a
Kernel version:
Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386
System model name: MacBookPro4,1 (Mac-F42C89C8)
System uptime in nanoseconds: 152269765362411
unloaded kexts:
com.FTDI.driver.FTDIUSBSerialDriver 2.2.14 - last unloaded 150796344583000
loaded kexts:
com.FTDI.driver.FTDIUSBSerialDriver 2.2.14 - last loaded 1519
System Configuration (from panic report):
Model: MacBookPro4,1, BootROM MBP41.00C1.B03, 2 processors, Intel Core 2 Duo, 2.4 GHz, 2 GB
Graphics: GeForce 8600M GT, GeForce 8600M GT, spdisplays_pcie_device, 256 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8C), Broadcom BCM43xx 1.0 (5.10.91.21)
Bluetooth: Version 2.1.9f10, 2 service, 0 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: FUJITSU MHY2200BH, 186.31 GB
Parallel ATA Device: HL-DT-ST DVDRW GSA-S10N
USB Device: Built-in iSight, (null) mA
USB Device: BRCM2046 Hub, (null) mA
USB Device: Bluetooth USB Host Controller, (null) mA
USB Device: Apple Internal Keyboard / Trackpad, (null) mA
USB Device: IR Receiver, (null) mA
The text was updated successfully, but these errors were encountered: