Arduino-pro-ide: Kernel panic

Created on 24 Apr 2020  路  10Comments  路  Source: arduino/arduino-pro-ide

Describe the bug
Mac goes into Kernel Panic and reboots.

To Reproduce
Steps to reproduce the behavior:

  • Have not been able to identify trigger for action.
  • Workspace is open with three tabs open and file is being edited
  • Has happened on a number of occasions both when using the app and also when app has been in focus but doing nothing

Expected behavior
Kernel Panic

Panic report

Anonymous UUID:       C76CC140-418E-8598-0B62-8E57A13DBB1A

Fri Apr 24 02:14:40 2020

*** Panic Report ***
panic(cpu 3 caller 0xffffff8022ebb45d): "a freed zone element has been modified in zone kalloc.32: expected 0xe4988e2bbdaa42aa but found 0xffa440, bits changed 0xe4988e2bbd55e6ea, at offset 0 of 32 in element 0xffffff80668e2860, cookies 0x3f00110c960f5580 0x53521c8f508a9c5"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4570.71.73/osfmk/kern/zalloc.c:1122
Backtrace (CPU 3), Frame : Return Address
0xffffff820c8c3720 : 0xffffff8022e6ce56 
0xffffff820c8c3770 : 0xffffff8022f96434 
0xffffff820c8c37b0 : 0xffffff8022f88604 
0xffffff820c8c3820 : 0xffffff8022e1ee60 
0xffffff820c8c3840 : 0xffffff8022e6c8cc 
0xffffff820c8c3970 : 0xffffff8022e6c68c 
0xffffff820c8c39d0 : 0xffffff8022ebb45d 
0xffffff820c8c3a30 : 0xffffff8022ebad30 
0xffffff820c8c3a80 : 0xffffff8022eb9733 
0xffffff820c8c3bb0 : 0xffffff8022e78894 
0xffffff820c8c3c20 : 0xffffff8022e78ab1 
0xffffff820c8c3c40 : 0xffffff7fa4c5302c 
0xffffff820c8c3c80 : 0xffffff7fa4c5fbb0 
0xffffff820c8c3d60 : 0xffffff80230cd9ea 
0xffffff820c8c3dd0 : 0xffffff80230bff67 
0xffffff820c8c3e40 : 0xffffff802334684a 
0xffffff820c8c3ee0 : 0xffffff80233466ba 
0xffffff820c8c3f40 : 0xffffff8023403f48 
0xffffff820c8c3fa0 : 0xffffff8022e1f646 
      Kernel Extensions in backtrace:
         com.apple.filesystems.hfs.kext(407.50.6)[09445723-F283-31E5-B409-43D905BA81C6]@0xffffff7fa4c40000->0xffffff7fa4ca6fff
            dependency: com.apple.filesystems.hfs.encodings.kext(1)[F737F125-223E-3B67-B4FF-5AB56291D4FE]@0xffffff7fa4c38000

BSD process name corresponding to current thread: ReportCrash

Mac OS version:
17G12034

Kernel version:
Darwin Kernel Version 17.7.0: Tue Feb 18 22:51:29 PST 2020; root:xnu-4570.71.73~1/RELEASE_X86_64
Kernel UUID: F9494C59-371A-38C9-BA91-8A8AA7582B96
Kernel slide:     0x0000000022c00000
Kernel text base: 0xffffff8022e00000
__HIB  text base: 0xffffff8022d00000
System model name: iMac12,2 (Mac-942B59F58194171B)

System uptime in nanoseconds: 16125866593465
last loaded kext at 687679539711: com.apple.filesystems.msdosfs 1.10 (addr 0xffffff7fa3c3f000, size 69632)
last unloaded kext at 1091795067158: com.apple.filesystems.msdosfs  1.10 (addr 0xffffff7fa3c3f000, size 61440)
loaded kexts:
org.virtualbox.kext.VBoxNetAdp  5.2.18
org.virtualbox.kext.VBoxNetFlt  5.2.18
org.virtualbox.kext.VBoxUSB 5.2.18
com.wch.usbserial   1
org.virtualbox.kext.VBoxDrv 5.2.18
com.Cycling74.driver.Soundflower    1.6.7
com.apple.driver.AppleHWSensor  1.9.5d0
com.apple.driver.AppleTopCaseHIDEventDriver 135
com.apple.driver.AGPM   110.23.37
com.apple.filesystems.autofs    3.0
com.apple.driver.AppleMikeyHIDDriver    131
com.apple.driver.AppleMikeyDriver   281.52
com.apple.driver.AppleHDA   281.52
com.apple.driver.AudioAUUC  1.70
com.apple.AGDCPluginDisplayMetrics  3.20.18
com.apple.driver.pmtelemetry    1
com.apple.iokit.IOUserEthernet  1.0.1
com.apple.driver.AppleUpstreamUserClient    3.6.5
com.apple.iokit.IOBluetoothSerialManager    6.0.7f18
com.apple.kext.AMDLegacyFramebuffer 1.6.8
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AppleIntelHD3000Graphics   10.0.4
com.apple.driver.AppleHV    1
com.apple.driver.eficheck   1
com.apple.kext.AMDRadeonX3000   1.6.8
com.apple.driver.AppleSMCPDRC   1.0.0
com.apple.driver.AppleSMCLMU    211
com.apple.driver.AppleThunderboltIP 3.1.1
com.apple.driver.AppleIntelSNBGraphicsFB    10.0.4
com.apple.driver.AppleOSXWatchdog   1
com.apple.driver.AppleLPC   3.1
com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0
com.apple.kext.AMD6000Controller    1.6.8
com.apple.driver.AppleBacklight 170.12.6
com.apple.driver.AppleMCCSControl   1.5.5
com.apple.iokit.SCSITaskUserClient  404.30.3
com.apple.driver.AppleIRController  353
com.apple.driver.AppleUSBCardReader 439.70.3
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.AppleSystemPolicy 1.0
com.apple.BootCache 40
com.apple.filesystems.hfs.kext  407.50.6
com.apple.driver.AppleFWOHCI    5.5.9
com.apple.iokit.AppleBCM5701Ethernet    10.3.1
com.apple.driver.AppleAHCIPort  329.50.2
com.apple.driver.AirPort.Atheros40  700.74.5
com.apple.driver.AppleRTC   2.0
com.apple.driver.AppleACPIButtons   6.1
com.apple.driver.AppleHPET  1.8
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleACPIEC    6.1
com.apple.driver.AppleAPIC  1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 220.50.1
com.apple.nke.applicationfirewall   186
com.apple.security.quarantine   3
com.apple.security.TMSafetyNet  8
com.apple.driver.AppleIntelCPUPowerManagement   220.50.1
com.apple.driver.usb.cdc.ncm    5.0.0
com.apple.iokit.IOUSBUserClient 900.4.1
com.apple.driver.AppleMultitouchDriver  1614.1
com.apple.driver.AppleInputDeviceSupport    1614.13
com.apple.driver.AppleHSBluetoothDriver 135
com.apple.driver.AppleBluetoothHIDKeyboard  205.1
com.apple.driver.IOBluetoothHIDDriver   6.0.7f18
com.apple.driver.AppleHIDKeyboard   205.1
com.apple.kext.triggers 1.0
com.apple.driver.DspFuncLib 281.52
com.apple.kext.OSvKernDSPLib    526
com.apple.iokit.IOSerialFamily  11
com.apple.iokit.IOAVBFamily 683.1
com.apple.plugin.IOgPTPPlugin   680.15
com.apple.driver.AppleSSE   1.0
com.apple.iokit.IOFireWireIP    2.2.9
com.apple.iokit.IOAcceleratorFamily2    378.28
com.apple.iokit.IOSurface   211.15
com.apple.AppleGPUWrangler  3.20.18
com.apple.AppleGraphicsDeviceControl    3.20.18
com.apple.driver.AppleHDAController 281.52
com.apple.iokit.IOHDAFamily 281.52
com.apple.iokit.IOAudioFamily   206.5
com.apple.vecLib.kext   1.2.0
com.apple.driver.AppleThunderboltEDMSink    4.1.4
com.apple.driver.AppleSMBusPCI  1.0.14d1
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.IOPlatformPluginFamily 6.0.0d8
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.kext.AMDLegacySupport 1.6.8
com.apple.driver.AppleBacklightExpert   1.1.0
com.apple.iokit.IONDRVSupport   519.21
com.apple.driver.AppleSMBusController   1.0.18d1
com.apple.iokit.IOGraphicsFamily    519.23
com.apple.iokit.IOSCSIMultimediaCommandsDevice  404.30.3
com.apple.iokit.IOBDStorageFamily   1.8
com.apple.iokit.IODVDStorageFamily  1.8
com.apple.iokit.IOCDStorageFamily   1.8
com.apple.iokit.IOAHCISerialATAPI   267.50.1
com.apple.driver.usb.IOUSBHostHIDDevice 1.2
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 6.0.7f18
com.apple.iokit.IOBluetoothHostControllerUSBTransport   6.0.7f18
com.apple.iokit.IOBluetoothHostControllerTransport  6.0.7f18
com.apple.iokit.IOBluetoothFamily   6.0.7f18
com.apple.filesystems.hfs.encodings.kext    1
com.apple.driver.usb.cdc    5.0.0
com.apple.driver.usb.networking 5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice    1.2
com.apple.driver.usb.AppleUSBHub    1.2
com.apple.driver.AppleThunderboltDPInAdapter    5.5.5
com.apple.driver.AppleThunderboltDPOutAdapter   5.5.5
com.apple.driver.AppleThunderboltDPAdapterFamily    5.5.5
com.apple.driver.AppleThunderboltPCIDownAdapter 2.1.3
com.apple.iokit.IOAHCIBlockStorage  301.40.2
com.apple.driver.AppleThunderboltNHI    4.7.3
com.apple.iokit.IOThunderboltFamily 6.7.10
com.apple.iokit.IOFireWireFamily    4.7.2
com.apple.iokit.IOEthernetAVBController 1.1.0
com.apple.driver.mDNSOffloadUserClient  1.0.1b8
com.apple.iokit.IOAHCIFamily    288
com.apple.iokit.IO80211Family   1200.12.2
com.apple.driver.corecapture    1.0.4
com.apple.driver.usb.AppleUSBHostPacketFilter   1.0
com.apple.iokit.IOUSBFamily 900.4.1
com.apple.driver.usb.AppleUSBEHCIPCI    1.2
com.apple.driver.usb.AppleUSBEHCI   1.2
com.apple.driver.AppleEFINVRAM  2.1
com.apple.driver.AppleUSBHostMergeProperties    1.2
com.apple.driver.AppleEFIRuntime    2.1
com.apple.iokit.IOSMBusFamily   1.1
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.security.sandbox  300.0
com.apple.kext.AppleMatch   1.0.0d1
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.driver.AppleEffaceableStorage 1.0
com.apple.driver.AppleKeyStore  2
com.apple.driver.AppleUSBTDM    439.70.3
com.apple.driver.AppleMobileFileIntegrity   1.0.5
com.apple.iokit.IOUSBMassStorageDriver  140.70.2
com.apple.iokit.IOSCSIBlockCommandsDevice   404.30.3
com.apple.iokit.IOSCSIArchitectureModelFamily   404.30.3
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.KernelRelayHost    1
com.apple.iokit.IOUSBHostFamily 1.2
com.apple.driver.usb.AppleUSBCommon 1.0
com.apple.driver.AppleBusPowerController    1.0
com.apple.driver.AppleSEPManager    1.0.1
com.apple.driver.IOSlaveProcessor   1
com.apple.driver.DiskImages 480.60.3
com.apple.iokit.IOStorageFamily 2.1
com.apple.iokit.IOReportFamily  31
com.apple.iokit.IOTimeSyncFamily    680.15
com.apple.iokit.IONetworkingFamily  3.4
com.apple.driver.AppleACPIPlatform  6.1
com.apple.driver.AppleSMC   3.1.9
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.pthread   1
com.apple.kec.corecrypto    1.0
com.apple.kec.Libm  1

EOF
Unable to gather system configuration information.Model: iMac12,2, BootROM 87.0.0.0.0, 4 processors, Intel Core i5, 3.1 GHz, 16 GB, SMC 1.72f2
Graphics: AMD Radeon HD 6970M, AMD Radeon HD 6970M, PCIe
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x8502, 0x505341333447313333333253000000000000
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x8502, 0x505341333447313333333253000000000000
Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1333 MHz, 0x8502, 0x505341333447313333333253000000000000
Memory Module: BANK 1/DIMM1, 4 GB, DDR3, 1333 MHz, 0x8502, 0x505341333447313333333253000000000000
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.74.0-P2P
Bluetooth: Version 6.0.7f18, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: WDC WD20EZRX-00DC0B0, 2 TB
Serial ATA Device: OPTIARC DVD RW AD-5690H
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: USB2.1 Hub
USB Device: CTE-450
USB Device: USB2.0-Serial
USB Device: IR Receiver
USB Device: Internal Memory Card Reader
USB Device: USB 2.0 Bus
USB Device: FaceTime HD Camera (Built-in)
USB Device: Hub
USB Device: Logitech Dual Action
USB Device: BRCM2046 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: iMac, Apple Inc., 25.1

Desktop (please complete the following information):

  • Osx
  • Version 10.13.6

IDE Version

  • v0.0.5-alpha.preview

Additional context
Additional possibly related behaviour is app locking up, usually with yellow / orange status bar and the close tab icons turning into a solid circular icon. This happens randomly and does not seem to be associated with any specific behaviour. The app stops responding and the only way to gain control again is to restart the app. When I close the app I get a javascript error: KILL ESRCH (see screenshot below)

Screen Shot 2020-04-24 at 12 07 12 pm

bug

Most helpful comment

Thank you for the detailed bug report, @DeeEmm.

The KILL ESRCH issue has been fixed via https://github.com/eclipse-theia/theia/issues/7113
I would expect this issue to be resolved with the next, 0.0.6-alpha release.

All 10 comments

Updated original post to add IDE version.

Updated original post to include App status

Thank you for the detailed bug report, @DeeEmm.

The KILL ESRCH issue has been fixed via https://github.com/eclipse-theia/theia/issues/7113
I would expect this issue to be resolved with the next, 0.0.6-alpha release.

Still having the crash issue on 0.0.6-alpha, but they are less frequent.

KILL ESRCH issues has gone

Thanks for the update, @DeeEmm 馃憤

Just randomly googling for a freed zone element has been modified in zone error message, I found this and this threads. If you happen to have some time, could you please run a RAM test on your mac and get us back with an update? Thank you!

Will run one tonight.

Sorry for the delay, diagnostic test comes back fine.

I've migrated to a new mac. The issue is no longer present. I can only assume that the issue was related to the environment on the old mac.

As I can no longer recreate the error and there's no others with a similar issue, I'll close this off.

Ohh, thank you for coming back and letting us know. 馃憤

No dramas. Keep up the good work. Really digging the new IDE.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

natemara picture natemara  路  6Comments

OMGdaDPS picture OMGdaDPS  路  5Comments

DeeEmm picture DeeEmm  路  6Comments

Master811129 picture Master811129  路  6Comments

Erriez picture Erriez  路  5Comments