Skip to content

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

Closed
cmaglie opened this issue Nov 15, 2012 · 13 comments
Closed

Kernel Panic while uploading [imported] #350

cmaglie opened this issue Nov 15, 2012 · 13 comments

Comments

@cmaglie
Copy link
Member

cmaglie commented Nov 15, 2012

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

@jbeyerstedt
Copy link

This problem is still in the lastest arduino version 1.0.5 and with OS X 10.8.3.
Some times at uploading code to my original Arduino Uno R3 board my MacBook restarts instantly and shows this kernel panic report to me.

Interval Since Last Panic Report: 46216 sec
Panics Since Last Report: 1
Anonymous UUID: B11EFFFD-7D06-B052-FD31-B1AEBA94B0CD

Anonymous UUID: B11EFFFD-7D06-B052-FD31-B1AEBA94B0CD

Mon May 27 21:07:51 2013
panic(cpu 1 caller 0xffffff80016b7e95): Kernel trap at 0xffffff80019665c3, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000154, CR3: 0x000000005e006000, CR4: 0x0000000000000660
RAX: 0x0000000000000000, RBX: 0xffffff80176dea00, RCX: 0xffffff80e313d0b8, RDX: 0xffffff8015f94070
RSP: 0xffffff80eaf9bd90, RBP: 0xffffff80eaf9be50, RSI: 0x000000000000001f, RDI: 0xffffff80163a1000
R8: 0x000000000000003c, R9: 0x00000000000003ff, R10: 0xffffffffffffffff, R11: 0x00000000ffffffff
R12: 0x0000000000000000, R13: 0x0000000000000004, R14: 0xffffff8015f94020, R15: 0x0000000000080000
RFL: 0x0000000000010246, RIP: 0xffffff80019665c3, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x0000000000000154, Error code: 0x0000000000000000, Fault CPU: 0x1

Backtrace (CPU 1), Frame : Return Address
0xffffff80eaf9ba30 : 0xffffff800161d626
0xffffff80eaf9baa0 : 0xffffff80016b7e95
0xffffff80eaf9bc70 : 0xffffff80016cd4dd
0xffffff80eaf9bc90 : 0xffffff80019665c3
0xffffff80eaf9be50 : 0xffffff8001956082
0xffffff80eaf9bec0 : 0xffffff8001639ce9
0xffffff80eaf9bef0 : 0xffffff800163c7e8
0xffffff80eaf9bf20 : 0xffffff800163c65e
0xffffff80eaf9bf50 : 0xffffff800161b70d
0xffffff80eaf9bf90 : 0xffffff80016b84a3
0xffffff80eaf9bfb0 : 0xffffff80016cd4ac

BSD process name corresponding to current thread: Unknown

Mac OS version:
12D78

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: 0x0000000001400000
Kernel text base: 0xffffff8001600000
System model name: MacBook7,1 (Mac-F22C89C8)

System uptime in nanoseconds: 10716275668718
last loaded kext at 10261325297339: com.apple.driver.AppleUSBCDCECMData 4.1.23 (addr 0xffffff7f838f2000, size 28672)
last unloaded kext at 10321376720748: com.apple.driver.AppleUSBCDCECMData 4.1.23 (addr 0xffffff7f838f2000, size 20480)
loaded kexts:
com.apple.driver.AppleUSBCDCACMData 4.1.23
com.apple.driver.AppleUSBCDC 4.1.23
com.apple.filesystems.smbfs 1.8
com.apple.driver.AppleBluetoothMultitouch 75.19
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AGPM 100.12.87
com.apple.driver.AudioAUUC 1.60
com.apple.driver.IOBluetoothA2DPAudioDriver 4.1.3f3
com.apple.filesystems.autofs 3.0
com.apple.iokit.IOBluetoothSerialManager 4.1.3f3
com.apple.driver.AppleHDA 2.3.7fc4
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleMikeyDriver 2.3.7fc4
com.apple.driver.ApplePolicyControl 3.3.0
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleUpstreamUserClient 3.5.10
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport 4.1.3f3
com.apple.driver.AppleLPC 1.6.0
com.apple.GeForce 8.1.0
com.apple.driver.AppleBacklight 170.2.5
com.apple.driver.AppleMCCSControl 1.1.11
com.apple.driver.SMCMotionSensor 3.0.3d1
com.apple.driver.AppleUSBTCButtons 237.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.driver.AppleUSBTCKeyboard 237.1
com.apple.iokit.SCSITaskUserClient 3.5.5
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.3.1
com.apple.driver.AirPort.Brcm4331 614.20.16
com.apple.driver.AppleUSBHub 5.5.5
com.apple.driver.AppleAHCIPort 2.5.1
com.apple.nvenet 2.0.19
com.apple.driver.AppleUSBEHCI 5.5.0
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleUSBOHCI 5.2.5
com.apple.driver.AppleEFINVRAM 1.7
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleACPIButtons 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.7
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.driver.AppleUSBCDCACMControl 4.1.23
com.apple.driver.IOBluetoothHIDDriver 4.1.3f3
com.apple.driver.AppleMultitouchDriver 235.29
com.apple.driver.AppleUSBHIDKeyboard 170.2
com.apple.driver.AppleHIDKeyboard 170.2
com.apple.kext.triggers 1.0
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.driver.DspFuncLib 2.3.7fc4
com.apple.iokit.IOAudioFamily 1.8.9fc11
com.apple.kext.OSvKernDSPLib 1.6
com.apple.iokit.IOSurface 86.0.4
com.apple.iokit.IOBluetoothFamily 4.1.3f3
com.apple.driver.AppleHDAController 2.3.7fc4
com.apple.iokit.IOHDAFamily 2.3.7fc4
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.AppleSMBusPCI 1.0.11d0
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport 4.1.3f3
com.apple.driver.IOPlatformPluginFamily 5.3.0d51
com.apple.nvidia.nv50hal 8.1.0
com.apple.NVDAResman 8.1.0
com.apple.driver.AppleGraphicsControl 3.3.0
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.AppleSMBusController 1.0.11d0
com.apple.iokit.IONDRVSupport 2.3.7
com.apple.iokit.IOGraphicsFamily 2.3.7
com.apple.driver.AppleSMC 3.1.4d2
com.apple.driver.AppleUSBMultitouch 237.3
com.apple.iokit.IOUSBHIDDriver 5.2.5
com.apple.driver.AppleUSBMergeNub 5.5.5
com.apple.driver.AppleUSBComposite 5.2.5
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.5.5
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOAHCISerialATAPI 2.5.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.5
com.apple.iokit.IO80211Family 522.4
com.apple.iokit.IOUSBUserClient 5.5.5
com.apple.iokit.IOAHCIFamily 2.3.1
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOUSBFamily 5.5.5
com.apple.driver.NVSMU 2.2.9
com.apple.driver.AppleEFIRuntime 1.7
com.apple.iokit.IOHIDFamily 1.8.1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220.2
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 345
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.21
com.apple.driver.AppleACPIPlatform 1.7
com.apple.iokit.IOPCIFamily 2.7.3
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
System Profile:
Model: MacBook7,1, BootROM MB71.0039.B0E, 2 processors, Intel Core 2 Duo, 2.4 GHz, 8 GB, SMC 1.60f6
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x014F, 0x4A4D313036364B534E2D3447202020202020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x014F, 0x4A4D313036364B534E2D3447202020202020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.106.98.100.16)
Bluetooth: Version 4.1.3f3 11349, 2 service, 18 devices, 3 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: Hitachi HTS545025B9SA02, 250,06 GB
Serial ATA Device: MATSHITADVD-R UJ-898
USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0x24100000 / 3
USB Device: Apple Keyboard, apple_vendor_id, 0x0250, 0x24120000 / 4
USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0x24600000 / 2
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06600000 / 3
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8218, 0x06630000 / 5
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0237, 0x06300000 / 2
Model: MacBook7,1, BootROM MB71.0039.B0E, 2 processors, Intel Core 2 Duo, 2.4 GHz, 8 GB, SMC 1.60f6
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x014F, 0x4A4D313036364B534E2D3447202020202020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x014F, 0x4A4D313036364B534E2D3447202020202020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.106.98.100.16)
Bluetooth: Version 4.1.3f3 11349, 2 service, 18 devices, 3 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: Hitachi HTS545025B9SA02, 250,06 GB
Serial ATA Device: MATSHITADVD-R UJ-898
USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0x24100000 / 3
USB Device: Apple Keyboard, apple_vendor_id, 0x0250, 0x24120000 / 4
USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0x24600000 / 2
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06600000 / 3
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8218, 0x06630000 / 5
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0237, 0x06300000 / 2

@matthijskooijman
Copy link
Collaborator

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?

@cmaglie
Copy link
Member Author

cmaglie commented Jun 6, 2013

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

@Obbut
Copy link

Obbut commented Dec 3, 2013

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.

Anonymous UUID:       BE0E927B-2E7E-1E62-701D-282AEF3366B4

Tue Dec  3 18:18:19 2013
panic(cpu 0 caller 0xffffff801dedc19e): Kernel trap at 0xffffff801e1de357, type 13=general protection, registers:
CR0: 0x000000008001003b, CR2: 0x0000000003299fd8, CR3: 0x000000001317806d, CR4: 0x00000000001606e0
RAX: 0xdeadbeefdeadbeef, RBX: 0x0000000000000004, RCX: 0xffffff801e4ca530, RDX: 0xffffff803767a2f8
RSP: 0xffffff810e743d20, RBP: 0xffffff810e743de0, RSI: 0x000000001c4fecbf, RDI: 0xffffff80368a2000
R8:  0x000000000000003c, R9:  0xffffff801e401910, R10: 0x00000000000003ff, R11: 0xffffffffffffffff
R12: 0xdeadbeefdeadbeef, R13: 0xffffff803767a2a0, R14: 0x0000000000000000, R15: 0x0000000000080000
RFL: 0x0000000000010246, RIP: 0xffffff801e1de357, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x0000000003299fd8, Error code: 0x0000000000000000, Fault CPU: 0x0

Backtrace (CPU 0), Frame : Return Address
0xffffff8100b49c50 : 0xffffff801de22f69 
0xffffff8100b49cd0 : 0xffffff801dedc19e 
0xffffff8100b49ea0 : 0xffffff801def3606 
0xffffff8100b49ec0 : 0xffffff801e1de357 
0xffffff810e743de0 : 0xffffff801e1cccc9 
0xffffff810e743e60 : 0xffffff801de45629 
0xffffff810e743e90 : 0xffffff801de486d9 
0xffffff810e743ec0 : 0xffffff801de4853e 
0xffffff810e743ef0 : 0xffffff801de20b53 
0xffffff810e743f20 : 0xffffff801dedc7d3 
0xffffff810e743f40 : 0xffffff801def35d2 

BSD process name corresponding to current thread: Unknown

Mac OS version:
13A603

Kernel version:
Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
Kernel UUID: 1D9369E3-D0A5-31B6-8D16-BFFBBB390393
Kernel slide:     0x000000001dc00000
Kernel text base: 0xffffff801de00000
System model name: MacBookAir6,2 (Mac-7DF21CB3ED6977E5)

System uptime in nanoseconds: 53600304651863
last loaded kext at 50495747843304: com.apple.driver.AppleBluetoothMultitouch   80.14 (addr 0xffffff7fa013d000, size 73728)
last unloaded kext at 33286918057027: com.apple.iokit.IOFireWireFamily  4.5.5 (addr 0xffffff7f9e9b6000, size 471040)
loaded kexts:
com.logitech.driver.LogiGamingMouseFilter   1
com.parallels.virtualsound  1.0 22731.929773
com.avatron.AVExFramebuffer 1.7
com.Cycling74.driver.Soundflower    1.6.6
com.avatron.AVExVideo   1.7
com.driver.LogJoystick  2.0
com.intel.driver.EnergyDriver   2.0
com.apple.driver.AppleBluetoothMultitouch   80.14
com.apple.driver.AppleUSBCDCECMData 4.2.1b2
com.apple.driver.AppleUSBCDCACMData 4.2.1b2
com.apple.iokit.SCSITaskUserClient  3.6.0
com.apple.driver.AppleUSBDisplays   360.8.14
com.apple.driver.AppleUSBOHCI   650.4.1
com.apple.driver.AppleFWOHCI    4.9.9
com.apple.iokit.AppleBCM5701Ethernet    3.6.9b9
com.apple.macos.driver.AppleUSBEthernetHost 7.0
com.apple.driver.AppleUSBCDC    4.2.1b2
com.apple.filesystems.afpfs 11.0
com.apple.nke.asp-tcp   8.0.0
com.apple.filesystems.smbfs 2.0.0
com.apple.filesystems.autofs    3.0
com.apple.driver.AGPM   100.14.11
com.apple.driver.X86PlatformShim    1.0.0
com.apple.driver.ApplePlatformEnabler   2.0.9d1
com.apple.iokit.IOBluetoothSerialManager    4.2.0f6
com.apple.driver.AudioAUUC  1.60
com.apple.driver.AppleHDA   2.5.2fc2
com.apple.iokit.IOUserEthernet  1.0.0d1
com.apple.driver.AppleBacklight 170.3.5
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.0f6
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AppleSMCLMU    2.0.4d1
com.apple.driver.AppleUpstreamUserClient    3.5.13
com.apple.driver.AppleMCCSControl   1.1.12
com.apple.driver.AppleLPC   1.7.0
com.apple.driver.AppleHWAccess  1
com.apple.driver.AppleCameraInterface   4.16.2
com.apple.driver.AppleThunderboltIP 1.0.10
com.apple.driver.AppleIntelHD5000Graphics   8.1.8
com.apple.driver.AppleIntelFramebufferAzul  8.1.8
com.apple.driver.AppleUSBCardReader 3.3.5
com.apple.driver.AppleTopCaseHIDEventDriver 10.21
com.apple.driver.AppleRAID  4.0.6
com.apple.driver.XsanFilter 404
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 35
com.apple.iokit.IOAHCIBlockStorage  2.4.0
com.apple.driver.AppleUSBEHCI   650.4.1
com.apple.driver.AppleAHCIPort  2.9.5
com.apple.driver.AppleUSBHub    650.4.4
com.apple.driver.AirPort.Brcm4360   800.21.45
com.apple.driver.AppleUSBXHCI   650.4.3
com.apple.driver.AppleSmartBatteryManager   161.0.0
com.apple.driver.AppleACPIButtons   2.0
com.apple.driver.AppleRTC   2.0
com.apple.driver.AppleHPET  1.8
com.apple.driver.AppleSMBIOS    2.0
com.apple.driver.AppleACPIEC    2.0
com.apple.driver.AppleAPIC  1.7
com.apple.nke.applicationfirewall   153
com.apple.security.quarantine   3
com.apple.driver.AppleUSBCDCACMControl  4.2.1b2
com.apple.driver.AppleBluetoothHIDKeyboard  170.15
com.apple.driver.IOBluetoothHIDDriver   4.2.0f6
com.apple.iokit.IOSCSIMultimediaCommandsDevice  3.6.0
com.apple.iokit.IOBDStorageFamily   1.7
com.apple.iokit.IOUSBHIDDriver  650.4.4
com.apple.driver.AppleUSBAudio  2.9.3f17
com.apple.iokit.IOFireWireIP    2.2.5
com.apple.iokit.IOFireWireFamily    4.5.5
com.apple.iokit.IOEthernetAVBController 1.0.3b3
com.apple.driver.AppleThunderboltPCIUpAdapter   1.4.0
com.apple.driver.AppleThunderboltDPOutAdapter   2.5.0
com.apple.security.SecureRemotePassword 1.0
com.apple.kext.triggers 1.0
com.apple.iokit.IOSerialFamily  10.0.7
com.apple.driver.DspFuncLib 2.5.2fc2
com.apple.vecLib.kext   1.0.0
com.apple.iokit.IOAudioFamily   1.9.4fc11
com.apple.kext.OSvKernDSPLib    1.14
com.apple.driver.AppleBacklightExpert   1.0.4
com.apple.iokit.IOBluetoothHostControllerUSBTransport   4.2.0f6
com.apple.iokit.IOBluetoothFamily   4.2.0f6
com.apple.driver.AppleSMBusController   1.0.11d1
com.apple.driver.X86PlatformPlugin  1.0.0
com.apple.driver.AppleSMC   3.1.6d1
com.apple.driver.IOPlatformPluginFamily 5.5.1d27
com.apple.driver.AppleHDAController 2.5.2fc2
com.apple.iokit.IOHDAFamily 2.5.2fc2
com.apple.iokit.IOSurface   91
com.apple.iokit.IONDRVSupport   2.3.6
com.apple.iokit.IOAcceleratorFamily2    98.7.1
com.apple.AppleGraphicsDeviceControl    3.4.12
com.apple.iokit.IOGraphicsFamily    2.3.6
com.apple.iokit.IODVDStorageFamily  1.7.1
com.apple.iokit.IOCDStorageFamily   1.7.1
com.apple.driver.AppleThunderboltDPInAdapter    2.5.0
com.apple.driver.AppleThunderboltDPAdapterFamily    2.5.0
com.apple.driver.AppleThunderboltPCIDownAdapter 1.4.0
com.apple.iokit.IOSCSIBlockCommandsDevice   3.6.0
com.apple.iokit.IOUSBMassStorageClass   3.6.0
com.apple.iokit.IOSCSIArchitectureModelFamily   3.6.0
com.apple.driver.AppleUSBMergeNub   650.4.0
com.apple.driver.AppleUSBComposite  650.4.0
com.apple.driver.AppleHIDKeyboard   170.15
com.apple.driver.AppleHSSPIHIDDriver    24
com.apple.driver.AppleMultitouchDriver  245.13
com.apple.driver.CoreStorage    380
com.apple.iokit.IOAHCIFamily    2.6.0
com.apple.iokit.IOUSBUserClient 650.4.4
com.apple.driver.AppleThunderboltNHI    1.9.2
com.apple.iokit.IOThunderboltFamily 2.8.5
com.apple.iokit.IO80211Family   600.34
com.apple.driver.mDNSOffloadUserClient  1.0.1b4
com.apple.iokit.IONetworkingFamily  3.2
com.apple.driver.AppleHSSPISupport  24
com.apple.driver.AppleIntelLpssSpiController    2.0.34
com.apple.driver.AppleIntelLpssGspi 2.0.34
com.apple.iokit.IOUSBFamily 650.4.4
com.apple.driver.AppleIntelLpssDmac 2.0.34
com.apple.driver.AppleEFINVRAM  2.0
com.apple.driver.AppleEFIRuntime    2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.iokit.IOSMBusFamily   1.1
com.apple.security.sandbox  278.10
com.apple.kext.AppleMatch   1.0.0d1
com.apple.security.TMSafetyNet  7
com.apple.driver.AppleKeyStore  2
com.apple.driver.DiskImages 371.1
com.apple.iokit.IOStorageFamily 1.9
com.apple.iokit.IOReportFamily  21
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.driver.AppleACPIPlatform  2.0
com.apple.iokit.IOPCIFamily 2.8
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.pthread   1
com.apple.kec.corecrypto    1.0
Model: MacBookAir6,2, BootROM MBA61.0099.B04, 2 processors, Intel Core i5, 1.3 GHz, 8 GB, SMC 2.13f7
Graphics: Intel HD Graphics 5000, Intel HD Graphics 5000, Built-In, 1024 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E384A544D4C41522D4E544D
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E384A544D4C41522D4E544D
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x117), Broadcom BCM43xx 1.0 (6.30.223.154.45)
Bluetooth: Version 4.2.0f6 12982, 3 services, 23 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Network Service: Display Ethernet, Ethernet, en3
PCI Card: Apple 57761-B0, Ethernet Controller, Thunderbolt@12,0,0
PCI Card: pci11c1,5901, IEEE 1394 Open HCI, Thunderbolt@11,0,0
PCI Card: pci12d8,400e, USB Open Host Controller, Thunderbolt@15,0,0
PCI Card: pci12d8,400e, USB Open Host Controller, Thunderbolt@15,0,1
PCI Card: pci12d8,400f, USB Enhanced Host Controller, Thunderbolt@15,0,2
PCI Card: pci1b21,612, AHCI Controller, Thunderbolt@19,0,0
Serial ATA Device: APPLE SSD SD0128F, 121,33 GB
Serial ATA Device: WDC WD20EURS-63S48Y0, 2 TB
Serial ATA Device: WDC WD20EURS-63S48Y0, 2 TB
USB Device: Hub
USB Device: Arduino Due Prog. Port
USB Device: Display Audio
USB Device: Apple Thunderbolt Display
USB Device: FaceTime HD Camera (Display)
USB Device: Internal Memory Card Reader
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Air, Apple Inc., 23.6
Thunderbolt Device: Thunderbolt Display, Apple Inc., 1, 22.2

@ffissore
Copy link
Contributor

ffissore commented Dec 4, 2013

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

@Obbut
Copy link

Obbut commented Dec 14, 2013

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.
It errors on this: processing.app.debug.RunnerException: Couldn't find a Board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.

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)!

@Obbut
Copy link

Obbut commented Dec 14, 2013

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.

@ffissore
Copy link
Contributor

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?

@Obbut
Copy link

Obbut commented Dec 16, 2013

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.

@fortizpenaloza
Copy link

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

Anonymous UUID:       A1124F6D-E6DC-177D-A067-27FAC8B13474

Tue Feb  4 01:12:44 2014
panic(cpu 0 caller 0xffffff802badc19e): Kernel trap at 0xffffff802bdde357, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000128, CR3: 0x00000001cdd64065, CR4: 0x00000000000606e0
RAX: 0x0000000000000000, RBX: 0x0000000000000004, RCX: 0xffffff802c0ca530, RDX: 0xffffff8041631598
RSP: 0xffffff80384abd20, RBP: 0xffffff80384abde0, RSI: 0x000000002231db52, RDI: 0xffffff8044835590
R8:  0x000000000000003b, R9:  0xffffff802c001910, R10: 0x00000000000003ff, R11: 0xffffffffffffffff
R12: 0x0000000000000000, R13: 0xffffff8041631540, R14: 0x0000000000000000, R15: 0x0000000000080000
RFL: 0x0000000000010246, RIP: 0xffffff802bdde357, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x0000000000000128, Error code: 0x0000000000000000, Fault CPU: 0x0

Backtrace (CPU 0), Frame : Return Address
0xffffff80384ab9b0 : 0xffffff802ba22f69 
0xffffff80384aba30 : 0xffffff802badc19e 
0xffffff80384abc00 : 0xffffff802baf3606 
0xffffff80384abc20 : 0xffffff802bdde357 
0xffffff80384abde0 : 0xffffff802bdcccc9 
0xffffff80384abe60 : 0xffffff802ba45629 
0xffffff80384abe90 : 0xffffff802ba486d9 
0xffffff80384abec0 : 0xffffff802ba4853e 
0xffffff80384abef0 : 0xffffff802ba20b53 
0xffffff80384abf20 : 0xffffff802badc7d3 
0xffffff80384abf40 : 0xffffff802baf35d2 

BSD process name corresponding to current thread: Unknown

Mac OS version:
13B42

Kernel version:
Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
Kernel UUID: 1D9369E3-D0A5-31B6-8D16-BFFBBB390393
Kernel slide:     0x000000002b800000
Kernel text base: 0xffffff802ba00000
System model name: Macmini5,1 (Mac-8ED6AF5B48C039E1)

System uptime in nanoseconds: 83123323431284
last loaded kext at 295212624799: com.apple.filesystems.msdosfs 1.9 (addr 0xffffff7fad89d000, size 65536)
last unloaded kext at 355870994981: com.apple.filesystems.msdosfs   1.9 (addr 0xffffff7fad89d000, size 57344)
loaded kexts:
org.virtualbox.kext.VBoxUSB 4.2.12
org.virtualbox.kext.VBoxDrv 4.2.12
com.apple.driver.AudioAUUC  1.60
com.apple.driver.AppleHWSensor  1.9.5d0
com.apple.driver.ApplePlatformEnabler   2.0.9d1
com.apple.driver.AGPM   100.14.11
com.apple.filesystems.autofs    3.0
com.apple.driver.AppleBluetoothMultitouch   80.14
com.apple.iokit.IOBluetoothSerialManager    4.2.0f6
com.apple.driver.AppleMikeyHIDDriver    124
com.apple.driver.AppleUSBCDCACMData 4.2.1b2
com.apple.driver.AppleHDA   2.5.3fc1
com.apple.driver.AppleMikeyDriver   2.5.3fc1
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.0f6
com.apple.iokit.IOUserEthernet  1.0.0d1
com.apple.driver.AppleLPC   1.7.0
com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
com.apple.driver.AppleUpstreamUserClient    3.5.13
com.apple.driver.AppleMCCSControl   1.1.12
com.apple.driver.AppleUSBCDC    4.2.1b2
com.apple.driver.AppleSMCPDRC   1.0.0
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AppleHWAccess  1
com.apple.driver.AppleThunderboltIP 1.0.10
com.apple.driver.AppleIntelHD3000Graphics   8.1.8
com.apple.driver.AppleIntelSNBGraphicsFB    8.1.8
com.apple.driver.AppleIRController  325.7
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 35
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage  2.4.0
com.apple.driver.AppleFWOHCI    4.9.9
com.apple.driver.AppleUSBHub    650.4.4
com.apple.driver.AppleSDXC  1.4.0
com.apple.iokit.AppleBCM5701Ethernet    3.6.9b9
com.apple.driver.AppleAHCIPort  2.9.5
com.apple.driver.AirPort.Brcm4331   700.20.22
com.apple.driver.AppleUSBEHCI   650.4.1
com.apple.driver.AppleRTC   2.0
com.apple.driver.AppleACPIButtons   2.0
com.apple.driver.AppleHPET  1.8
com.apple.driver.AppleSMBIOS    2.0
com.apple.driver.AppleACPIEC    2.0
com.apple.driver.AppleAPIC  1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 216.0.0
com.apple.nke.applicationfirewall   153
com.apple.security.quarantine   3
com.apple.driver.AppleIntelCPUPowerManagement   216.0.0
com.apple.AppleGraphicsDeviceControl    3.4.12
com.apple.kext.triggers 1.0
com.apple.driver.IOBluetoothHIDDriver   4.2.0f6
com.apple.driver.AppleMultitouchDriver  245.13
com.apple.iokit.IOSerialFamily  10.0.7
com.apple.driver.AppleUSBCDCACMControl  4.2.1b2
com.apple.driver.DspFuncLib 2.5.3fc1
com.apple.vecLib.kext   1.0.0
com.apple.iokit.IOAudioFamily   1.9.4fc11
com.apple.kext.OSvKernDSPLib    1.14
com.apple.iokit.IOBluetoothHostControllerUSBTransport   4.2.0f6
com.apple.iokit.IOSurface   91
com.apple.iokit.IOFireWireIP    2.2.5
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.AppleSMBusController   1.0.11d1
com.apple.driver.AppleHDAController 2.5.3fc1
com.apple.iokit.IOHDAFamily 2.5.3fc1
com.apple.driver.IOPlatformPluginFamily 5.5.1d27
com.apple.driver.AppleSMBusPCI  1.0.12d1
com.apple.iokit.IOBluetoothFamily   4.2.0f6
com.apple.driver.AppleSMC   3.1.6d1
com.apple.iokit.IONDRVSupport   2.3.6
com.apple.iokit.IOGraphicsFamily    2.3.6
com.apple.iokit.IOSCSIArchitectureModelFamily   3.6.0
com.apple.driver.AppleUSBHIDKeyboard    170.15
com.apple.driver.AppleHIDKeyboard   170.15
com.apple.driver.AppleThunderboltDPOutAdapter   2.5.0
com.apple.driver.AppleThunderboltDPInAdapter    2.5.0
com.apple.driver.AppleThunderboltDPAdapterFamily    2.5.0
com.apple.driver.AppleThunderboltPCIDownAdapter 1.4.0
com.apple.driver.AppleUSBMergeNub   650.4.0
com.apple.iokit.IOUSBHIDDriver  650.4.4
com.apple.driver.AppleUSBComposite  650.4.0
com.apple.iokit.IOFireWireFamily    4.5.5
com.apple.driver.AppleThunderboltNHI    1.9.2
com.apple.iokit.IOThunderboltFamily 2.8.5
com.apple.iokit.IOUSBUserClient 650.4.4
com.apple.iokit.IOEthernetAVBController 1.0.3b3
com.apple.driver.mDNSOffloadUserClient  1.0.1b4
com.apple.iokit.IOAHCIFamily    2.6.0
com.apple.iokit.IO80211Family   600.34
com.apple.iokit.IONetworkingFamily  3.2
com.apple.iokit.IOUSBFamily 650.4.4
com.apple.driver.AppleEFINVRAM  2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.driver.AppleEFIRuntime    2.0
com.apple.iokit.IOSMBusFamily   1.1
com.apple.security.sandbox  278.10
com.apple.kext.AppleMatch   1.0.0d1
com.apple.security.TMSafetyNet  7
com.apple.driver.AppleKeyStore  2
com.apple.driver.DiskImages 371.1
com.apple.iokit.IOStorageFamily 1.9
com.apple.iokit.IOReportFamily  21
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.driver.AppleACPIPlatform  2.0
com.apple.iokit.IOPCIFamily 2.8
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.corecrypto    1.0
com.apple.kec.pthread   1

@ffissore
Copy link
Contributor

ffissore commented Feb 4, 2014

Is this kernel panic generated by the nightly build?

@fortizpenaloza
Copy link

No, in fact i'm using the nightly build since yesterday successfully.

Thx!

@ffissore ffissore modified the milestone: Release 1.5.6 Feb 6, 2014
@cmaglie
Copy link
Member Author

cmaglie commented Feb 21, 2014

Fixed in 1.5.6 by replacing RXTX with JSSC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants