Computer crashes using Arduino IDE 2.1.0 and earlier 2.0

With some regularity and always when I upload code to the Teensy 4.1 the computer crashes. The text below is what the "Problem report for Mac OS" is showing when I restart the computer. The crashes started when I switched to Arduino IDE 2. I approximately get one crash per day.

Is there anyone else with this problem? Are there any other log files that could help to track down what's causing this?

I am running Teensy 1.58.1 and the MacOS version is 13.3.1a. MacBook Pro 2019.
Kind Regards,
Urban

---------------------------------------------------------------------

panic(cpu 10 caller 0xffffff80089b4ad3): Kernel trap at 0xffffff8008d705d3, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000018, CR3: 0x00000007910370ae, CR4: 0x00000000003626e0
RAX: 0x0000000000000000, RBX: 0xffffff8b72f4b600, RCX: 0x0000000000000000, RDX: 0x0000000003000000
RSP: 0xfffffff3e22fbca0, RBP: 0xfffffff3e22fbcc0, RSI: 0xffffff903dde9000, RDI: 0x0000000000000000
R8: 0xffffff8008634480, R9: 0xfffffff3e22fbe38, R10: 0x0000000000000022, R11: 0xffffff804078a018
R12: 0xffffff8b71866b48, R13: 0xffffff8b72f4b600, R14: 0xffffff903dde9000, R15: 0xffffff8b71866b48
RFL: 0x0000000000010207, RIP: 0xffffff8008d705d3, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x0000000000000018, Error code: 0x0000000000000000, Fault CPU: 0xa, PL: 0, VF: 0

Panicked task 0xffffff8b7217f9d8: 10 threads: pid 427: node
Backtrace (CPU 10), panicked thread: 0xffffff903e896598, Frame : Return Address
0xfffffff3e22fb660 : 0xffffff80088705fd
0xfffffff3e22fb6b0 : 0xffffff80089c4b84
0xfffffff3e22fb6f0 : 0xffffff80089b4619
0xfffffff3e22fb750 : 0xffffff8008810951
0xfffffff3e22fb770 : 0xffffff80088708dd
0xfffffff3e22fb860 : 0xffffff800886ff87
0xfffffff3e22fb8c0 : 0xffffff8008fdd09b
0xfffffff3e22fb9b0 : 0xffffff80089b4ad3
0xfffffff3e22fbb30 : 0xffffff80089b47c4
0xfffffff3e22fbb90 : 0xffffff8008810951
0xfffffff3e22fbbb0 : 0xffffff8008d705d3
0xfffffff3e22fbcc0 : 0xffffff8008d0ef0d
0xfffffff3e22fbd10 : 0xffffff8008d10655
0xfffffff3e22fbdf0 : 0xffffff8008d14665
0xfffffff3e22fbef0 : 0xffffff8008d1426c
0xfffffff3e22fbf40 : 0xffffff8008e60020
0xfffffff3e22fbfa0 : 0xffffff8008810d96

Process name corresponding to current thread (0xffffff903e896598): node

Mac OS version:
22E261

Kernel version:
Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64
Kernel UUID: CF2A42DA-3F7C-30C6-9433-6F2076FF1F94
roots installed: 0
KernelCache slide: 0x0000000008400000
KernelCache base: 0xffffff8008600000
Kernel slide: 0x00000000084dc000
Kernel text base: 0xffffff80086dc000
__HIB text base: 0xffffff8008500000
System model name: MacBookPro16,1 (Mac-E1008331FDC96864)
System shutdown begun: NO
Hibernation exit count: 0

System uptime in nanoseconds: 11288248488377
Last Sleep: absolute base_tsc base_nano
Uptime : 0x00000a44400a9489
Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000
Wake : 0x0000000000000000 0x0000000b8963a87e 0x0000000000000000
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Zone info:
Zone map: 0xffffff803c3ce000 - 0xffffffa03c3ce000
. PGZ : 0xffffff803c3ce000 - 0xffffff80403cf000
. VM : 0xffffff80403cf000 - 0xffffff850c702000
. RO : 0xffffff850c702000 - 0xffffff86a5d68000
. GEN0 : 0xffffff86a5d68000 - 0xffffff8b7209b000
. GEN1 : 0xffffff8b7209b000 - 0xffffff903e3ce000
. GEN2 : 0xffffff903e3ce000 - 0xffffff950a701000
. GEN3 : 0xffffff950a701000 - 0xffffff99d6a34000
. DATA : 0xffffff99d6a34000 - 0xffffffa03c3ce000
Metadata: 0xffffffffd9a0c000 - 0xfffffffff9a0c000
Bitmaps : 0xfffffffff9a0c000 - 0xffffffffffa0c000
Extra : 0 - 0

last started kext at 366514325188: @filesystems.afpfs 11.4 (addr 0xffffff7f9e9d7000, size 290816)
loaded kexts:
@filesystems.afpfs 11.4
@nke.asp_tcp 8.3
>AudioAUUC 1.70
>AGPM 131
>X86PlatformShim 1.0.0
>!APlatformEnabler 2.7.0d0
@filesystems.autofs 3.0
>!AHIDALSService 1
@kext.AMDRadeonX6000 4.1.0
>!AUpstreamUserClient 3.6.9
>!ABridgeAudio!C 340.1
@kext.AMDRadeonServiceManager 4.1.0
>!AGFXHDA 240.1
>!AGraphicsDevicePolicy 7.1.18
@AGDCPluginDisplayMetrics 7.1.18
>!A!IKBLGraphics 20.0.5
>pmtelemetry 1
@filesystems.nfs 1
|IOUserEthernet 1.0.1
>usb.!UUserHCI 1
>!AHV 1
>!ADiskImages2 198.100.13
>!AMuxControl2 7.1.18
>!A!ISlowAdaptiveClocking 4.0.0
>AGDCBacklightControl 7.1.18
@UVCService 1
>!AFIVRDriver 4.1.0
>ACPI_SMC_PlatformPlugin 1.0.0
>!A!ICFLGraphicsFramebuffer 20.0.5
>!A!IPCHPMC 2.0.1
>BridgeAudioCommunication 340.1
>!AAVEBridge 6.1
>!ABacklight 180.8
>!AThunderboltIP 4.0.3
>!AMCCSControl 1.16
>!ATopCaseHIDEventDriver 6440.7
>!UTopCaseDriver 6440.7
>BCMWLANFirmware4388.Hashstore 1
>BCMWLANFirmware4387.Hashstore 1
>BCMWLANFirmware4378.Hashstore 1
>BCMWLANFirmware4377.Hashstore 1
>BCMWLANFirmware4364.Hashstore 1
>BCMWLANFirmware4355.Hashstore 1
>!AFileSystemDriver 3.0.1
@filesystems.tmpfs 1
@filesystems.lifs 1
@filesystems.hfs.kext 627.100.6
@BootCache 40
@!AFSCompression.!AFSCompressionTypeZlib 1.0.0
@!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1
@filesystems.apfs 2142.101.3
>!ABCMWLANBusInterfacePCIeMac 1
@private.KextAudit 1.0
>!ASmartBatteryManager 161.0.0
>!AACPIButtons 6.1
>!ASMBIOS 2.1
>!AACPIEC 6.1
>!AAPIC 1.7
$!AUserConsent 1
@!ASystemPolicy 2.0.0
@nke.applicationfirewall 403
|IOKitRegistryCompatibility 1
|EndpointSecurity 1
@Dont_Steal_Mac_OS_X 7.0.0
@kec.Compression 1
@kec.!AEncryptedArchive 1
$SecureRemotePassword 1.0
>usb.cdc.acm 5.0.0
>usb.serial 6.0.0
>!UAudio 540.8
>!AAudioClockLibs 240.1
@kext.AMDRadeonX6100HWLibs 1.0
@kext.AMDRadeonX6000HWServices 4.1.0
>!AHDA!C 440.2
|IOHDA!F 440.2
|IOAudio!F 440.2
@vecLib.kext 1.2.0
>!ASMBusPCI 1.0.14d1
>!A!ILpssUARTv1 3.0.60
>!A!ILpssUARTCommon 3.0.60
>!AOnboardSerial 1.0
@kext.triggers 1.0
>IOHIDPowerSource 1
>!ACallbackPowerSource 1
|IO!BSerialManager 9.0.0
|IO!BPacketLogger 9.0.0
|IO!BHost!CUSBTransport 9.0.0
|IO!BHost!CUARTTransport 9.0.0
|IO!BHost!CTransport 9.0.0
>IO!BHost!CPCIeTransport 9.0.0
|IOAVB!F 1140.6
|CSR!BHost!CUSBTransport 9.0.0
|Broadcom!BHost!CUSBTransport 9.0.0
|Broadcom!B20703USBTransport 9.0.0
>!ARSMChannel 1
|IORSM!F 1
>!AIPAppender 1.0
>!AGraphicsControl 7.1.18
@!AGPUWrangler 7.1.18
|IOSlowAdaptiveClocking!F 1.0.0
@plugin.IOgPTPPlugin 1140.25
>IOPlatformPluginLegacy 1.0.0
>X86PlatformPlugin 1.0.0
|IOAccelerator!F2 475.40.6
>IOPlatformPlugin!F 6.0.0d8
>driverkit.serial 6.0.0
>!ABacklightExpert 1.1.0
|IONDRVSupport 597
>!AThunderboltEDMSink 5.0.3
>!AThunderboltDPOutAdapter 8.5.1
>!ASMBus!C 1.0.18d1
@kext.AMDRadeonX6000Framebuffer 4.1.0
@kext.AMDSupport 4.1.0
@!AGraphicsDeviceControl 7.1.18
|IOGraphics!F 597
>!AActuatorDriver 6440.7
>!AHS!BDriver 6440.7
>IO!BHIDDriver 9.0.0
>!AMultitouchDriver 6440.7
>!AInputDeviceSupport 6440.8
>!AHIDKeyboard 231
>usb.cdc.ecm 5.0.0
>usb.IOUSBHostHIDDevice 1.2
>usb.cdc.ncm 5.0.0
>usb.!UHub 1.2
>usb.cdc 5.0.0
>usb.networking 5.0.0
>usb.!UHostCompositeDevice 1.2
>!AThunderboltPCIDownAdapter 4.1.1
>!AThunderboltDPInAdapter 8.5.1
>!AThunderboltDPAdapter!F 8.5.1
>!AHPM 3.4.4
>!A!ILpssI2C!C 3.0.60
>!A!ILpssI2C 3.0.60
>!A!ILpssDmac 3.0.60
>!ABSDKextStarter 3
|IOSurface 336.40.12
@filesystems.hfs.encodings.kext 1
>!ASyntheticGame!C 10.5.10
>!AXsanScheme 3
>!AThunderboltNHI 7.2.81
|IOThunderbolt!F 9.3.3
>usb.!UVHCIBCE 1.2
>usb.!UVHCICommonBCE 1.0
>usb.!UVHCI 1.2
>usb.!UVHCICommon 1.0
>!AEffaceableNOR 1.0
|IONVMe!F 2.1.0
|IOBufferCopy!C 1.1.0
|IOBufferCopyEngine!F 1
>!ABCMWLANCoreMac 1.0.0
|IO80211!F 1200.13.0
>IOImageLoader 1.0.0
>!AOLYHALMac 1
|IOSerial!F 11
>corecapture 1.0.4
>usb.!UHostPacketFilter 1.0
|IOUSB!F 900.4.2
>usb.!UXHCIPCI 1.2
>usb.!UXHCI 1.2
>!AEFINVRAM 2.1
>!AEFIRuntime 2.1
>!ASMCRTC 1.0
|IOSMBus!F 1.1
|IOHID!F 2.0.0
|IOTimeSync!F 1140.25
|IOSkywalk!F 1.0
>mDNSOffloadUserClient 1.0.1b8
|IONetworking!F 3.4
>DiskImages 493.0.0
|IO!B!F 9.0.0
|IOReport!F 47
$quarantine 4
$sandbox 300.0
@kext.!AMatch 1.0.0d1
>!ASSE 1.0
>!AKeyStore 2
>!UTDM 552
|IOUSBMass!SDriver 235.100.2
|IOSCSIBlockCommandsDevice 482.100.4
|IO!S!F 2.1
|IOSCSIArchitectureModel!F 482.100.4
>!AFDEKeyStore 28.30
>!AEffaceable!S 1.0
>!ACyrus 1
>!AMobileFileIntegrity 1.0.5
$!AImage4 5.0.0
@kext.CoreTrust 1
>!ACredentialManager 1.0
|CoreAnalytics!F 1
>KernelRelayHost 1
|IOUSBHost!F 1.2
>!UHostMergeProperties 1.2
>usb.!UCommon 1.0
>!ABusPower!C 1.0
>!ASEPManager 1.0.1
>IOSlaveProcessor 1
>!AACPIPlatform 6.1
>!ASMC 3.1.9
|IOPCI!F 2.9
|IOACPI!F 1.4
>watchdog 1
@kec.pthread 1
@kec.Libm 1
@kec.corecrypto 12.0
 
Sorry I cannot help you. I have a similar problem, but using Linux on a PC.

I get crashes after programming a Teensy. It's so bad, I have to do my programming via a Raspberry Pi. At least for me, the computer freezes some random time after the programming, between 10 to 60 seconds later. After that, the whole computer becomes unresponsive - cannot remote in, cannot use the mouse or keyboard. All the crash information has not led me to the issue. I've been advised it is either kernel related or hardware, but I cannot narrow it down. I have yet to be able to simplify the problem so I could hand it off, or even write up a bug report. (Basically lack the skills to pursue this.) Compared to a nice PC or a Mac, an RPi is really slow, but it's the only way I can program Teensy's.
 
Back
Top