Frequent Mac hard reboot when uploading to teensy

jarkman

Member
I'm running Teensyduino 1.53 (Arduino 1.8.13) on macOS Catalina 10.15.7, using a Teensy 4.0.

Often (about 1 time in 3) my Mac does a hard reboot during the upload process. Black screen with multilingual text, progress bar while it reboots, the whole thing.

No idea if this depends on my sketch or not, but it is attached.

What can I do to fix or help debug this ?

Thanks!

Richard
 

Attachments

  • resonator.ino
    4 KB · Views: 50
If it were me, I would run some type of check on Mac to make sure there is not something corrupted or going bad.

Then would probably delete arduino install, and install fresh copy and see if that helps
 
Nearly all other Arduino boards use 12 Mbit/sec USB speed, and most of those have a combination of slow processors and inefficient software that can't manage to use even half that speed. Teensy 4.0 has 480 Mbit/sec USB and a fast processor and pretty efficient software.

This problem may or may not necessarily be speed related. But the point is Teensy 4.0 isn't really comparable to most other Arduino boards.
 
Thanks, I understand.

Update: Still not fixed. Here's what I've done:

Ran Apple hardware diagnostics, showed no error.

Removed & reinstalled Arduino & Teensyduino.

Uninstalled assorted apps with kernel extensions.

Switched USB type to 'Serial + MIDI'

Still crashes about 1 time in 3. Crash report is below, in case it tells anyone anything.

panic(cpu 3 caller 0xffffff80036469aa): Kernel trap at 0xffffff8003aab953, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000018, CR3: 0x000000045b1bc057, CR4: 0x00000000001626e0
RAX: 0x0000000000000000, RBX: 0xffffff80487df300, RCX: 0x0000000000000000, RDX: 0x0000000003000000
RSP: 0xffffff9215c83ca0, RBP: 0xffffff9215c83cb0, RSI: 0xffffff802c8b2800, RDI: 0x0000000000000000
R8: 0x0000000000000000, R9: 0x0000000000000000, R10: 0x0000000000000020, R11: 0xffffff9215c83e80
R12: 0xffffff8024f67ce0, R13: 0xffffff80487df300, R14: 0xffffff802c8b2800, R15: 0xffffff80487df300
RFL: 0x0000000000010207, RIP: 0xffffff8003aab953, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x0000000000000018, Error code: 0x0000000000000000, Fault CPU: 0x3, PL: 0, VF: 0

Backtrace (CPU 3), Frame : Return Address
0xffffff9215c83700 : 0xffffff800351a65d
0xffffff9215c83750 : 0xffffff8003654a75
0xffffff9215c83790 : 0xffffff80036465fe
0xffffff9215c837e0 : 0xffffff80034c0a40
0xffffff9215c83800 : 0xffffff8003519d27
0xffffff9215c83900 : 0xffffff800351a117
0xffffff9215c83950 : 0xffffff8003cc1a6c
0xffffff9215c839c0 : 0xffffff80036469aa
0xffffff9215c83b40 : 0xffffff80036466a8
0xffffff9215c83b90 : 0xffffff80034c0a40
0xffffff9215c83bb0 : 0xffffff8003aab953
0xffffff9215c83cb0 : 0xffffff8003a52321
0xffffff9215c83d10 : 0xffffff8003a53d54
0xffffff9215c83df0 : 0xffffff8003a57cc5
0xffffff9215c83ef0 : 0xffffff8003a578bc
0xffffff9215c83f40 : 0xffffff8003b84be7
0xffffff9215c83fa0 : 0xffffff80034c1206

BSD process name corresponding to current thread: node
Boot args: kext-dev-mode=1

Mac OS version:
19H2

Kernel version:
Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64
Kernel UUID: 05D51A3D-3A87-3FF0-98C3-9CF3827A3EDD
Kernel slide: 0x0000000003200000
Kernel text base: 0xffffff8003400000
__HIB text base: 0xffffff8003300000
System model name: MacBookPro11,1 (Mac-189A3D4F975D5FFC)
System shutdown begun: NO
Panic diags file available: YES (0x0)

System uptime in nanoseconds: 633694260113
last loaded kext at 610998722043: >!UAudio 323.4 (addr 0xffffff7f86f74000, size 434176)
last unloaded kext at 206218522555: >!A!ILpssGspi 3.0.60 (addr 0xffffff7f8677d000, size 45056)
loaded kexts:
@filesystems.smbfs 3.4.4
>AudioAUUC 1.70
@fileutil 20.036.15
@filesystems.autofs 3.0
>X86PlatformShim 1.0.0
>AGPM 111.4.4
>!APlatformEnabler 2.7.0d0
>!AUpstreamUserClient 3.6.8
>!AHDA 283.15
>!AGraphicsDevicePolicy 5.2.6
@AGDCPluginDisplayMetrics 5.2.6
>!A!IHD5000Graphics 14.0.7
>eficheck 1
>!AHV 1
|IOUserEthernet 1.0.1
|IO!BSerialManager 7.0.6f7
>!A!IFramebufferAzul 14.0.7
>!ALPC 3.1
>pmtelemetry 1
@Dont_Steal_Mac_OS_X 7.0.0
>!AThunderboltIP 3.1.4
>!A!ISlowAdaptiveClocking 4.0.0
>!ACameraInterface 7.6.0
>!ABacklight 180.3
>!AMCCSControl 1.14
>!ASMCLMU 212
>!UCardReader 489.120.1
>!UTCKeyboard 255
>!UTCButtons 255
>!AVirtIO 1.0
@filesystems.hfs.kext 522.100.5
@!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1
@BootCache 40
@!AFSCompression.!AFSCompressionTypeZlib 1.0.0
@filesystems.apfs 1412.141.1
>!AAHCIPort 341.140.1
>AirPort.BrcmNIC 1400.1.1
@private.KextAudit 1.0
>!ASmartBatteryManager 161.0.0
>!AACPIButtons 6.1
>!ARTC 2.0
>!AHPET 1.8
>!ASMBIOS 2.1
>!AACPIEC 6.1
>!AAPIC 1.7
$!AImage4 1
@nke.applicationfirewall 303
$TMSafetyNet 8
@!ASystemPolicy 2.0.0
|EndpointSecurity 1
>!UAudio 323.4
>usb.cdc.ecm 5.0.0
>usb.cdc.acm 5.0.0
>usb.serial 6.0.0
>usb.cdc 5.0.0
@kext.triggers 1.0
>DspFuncLib 283.15
@kext.OSvKernDSPLib 529
>!AGraphicsControl 5.2.6
|IOAVB!F 850.1
>X86PlatformPlugin 1.0.0
|IOAccelerator!F2 438.7.3
>IOPlatformPlugin!F 6.0.0d8
@!AGPUWrangler 5.2.6
|IOSlowAdaptiveClocking!F 1.0.0
@!AGraphicsDeviceControl 5.2.6
>!ABacklightExpert 1.1.0
|IONDRVSupport 576.1
>!ASMBus!C 1.0.18d1
>!AHDA!C 283.15
|IOHDA!F 283.15
|IOGraphics!F 576.1
@plugin.IOgPTPPlugin 840.3
|IOEthernetAVB!C 1.1.0
|Broadcom!BHost!CUSBTransport 7.0.6f7
|IO!BHost!CUSBTransport 7.0.6f7
|IO!BHost!CTransport 7.0.6f7
|IO!B!F 7.0.6f7
|IO!BPacketLogger 7.0.6f7
>usb.!UHub 1.2
>!UMultitouch 264
>usb.IOUSBHostHIDDevice 1.2
>usb.networking 5.0.0
>usb.!UHostCompositeDevice 1.2
|IOAudio!F 300.2
@vecLib.kext 1.2.0
|IOSerial!F 11
|IOSurface 269.11
@filesystems.hfs.encodings.kext 1
|IOAHCIBlock!S 316.100.5
|IOAHCI!F 290.0.1
>!AThunderboltDPInAdapter 6.2.6
>!AThunderboltDPAdapter!F 6.2.6
>!AThunderboltPCIDownAdapter 2.5.4
>!AThunderboltNHI 5.8.6
|IOThunderbolt!F 7.6.1
|IO80211!F 1200.12.2b1
>mDNSOffloadUserClient 1.0.1b8
>corecapture 1.0.4
|IOSkywalk!F 1
>usb.!UXHCIPCI 1.2
>usb.!UXHCI 1.2
>usb.!UHostPacketFilter 1.0
|IOUSB!F 900.4.2
>!AEFINVRAM 2.1
>!AEFIRuntime 2.1
|IOSMBus!F 1.1
|IOHID!F 2.0.0
$quarantine 4
$sandbox 300.0
@kext.!AMatch 1.0.0d1
>DiskImages 493.0.0
>!AFDEKeyStore 28.30
>!AEffaceable!S 1.0
>!ASSE 1.0
>!AKeyStore 2
>!UTDM 489.120.1
|IOSCSIBlockCommandsDevice 422.120.3
>!ACredentialManager 1.0
>KernelRelayHost 1
>!ASEPManager 1.0.1
>IOSlaveProcessor 1
|IOUSBMass!SDriver 157.140.1
|IOSCSIArchitectureModel!F 422.120.3
|IO!S!F 2.1
|IOUSBHost!F 1.2
>!UHostMergeProperties 1.2
>usb.!UCommon 1.0
>!ABusPower!C 1.0
|CoreAnalytics!F 1
>!AMobileFileIntegrity 1.0.5
@kext.CoreTrust 1
|IOTimeSync!F 840.3
|IONetworking!F 3.4
|IOReport!F 47
>!AACPIPlatform 6.1
>!ASMC 3.1.9
>watchdog 1
|IOPCI!F 2.9
|IOACPI!F 1.4
@kec.pthread 1
@kec.corecrypto 1.0
@kec.Libm 1
 
Sorry, I am not much of a MAC person. I do have an older Mac Air, that I use as secondary or third development/test machine.

But might help to know things like what version of MAC OS are your running? Answer from your first post: macOS Catalina 10.15.7

Which Teensy version did you install 1.53? I am assuming you installed a version that downloads the complete Arduino as well as Teensyduino all as one properly signed package?

Have you tried the latest 1.54 beta build? That you can download from: https://forum.pjrc.com/threads/66357-Teensyduino-1-54-Beta-7

Beyond that, again more for Paul...
 
Beyond that, again more for Paul...

I'm afraid only Apple can solve this. It's a kernel level problem, which is way out of my league! Teensyduino doesn't install any drivers on MacOS. Nothing runs in kernel space, or even with root access. Everything is user level code making use of Apple's public APIs and MacOS built-in drivers.

Best I can suggest is trying different USB Type and CPU Speed settings. Maybe some combination will avoid triggering this problem. Or if you have Parallels, maybe try using Windows from a VM.

But just to be clear, a crash from kernel space is absolutely a bug in either MacOS or some other kernel-level drivers you may have installed. Teensyduino never installs any kernel-level code.
 
Ah, I see, thanks. So removing any third-party kernel drivers that have anything to do with USB might be helpful ?
 
Parkman:
I just tried your program on my Mac. Same laptop as yours, same OS 10.15.7, same TeensyDuino 1.8.13. Uploaded program 15 times into brand New Teensy 4.0, one after another, NO PROBLEM!

You must have some strange KEXT problem as it works fine on my MacBookPro11,5. I have a lot of non apple KEXTs installed on my MacBook, but no problems with TeensyDuino.

Cheers,
Ed
 
I have seen this too.
Generally it seems more stable when I do not use a hub with various other usb peripherals.
 
Interesting. It just shows how easily I can ignore a problem if I am busy with another problem. I will watch this thread.
 
I have something of an update on this, not sure if it is at all informative, but just in case.

I've moved to a new M1 Macbook Pro running 11.3.1, and didn't see this problem at first, until I changed 'USB type' to 'MIDI'.

After that, I get a kernel panic every time. The dump is below, I see a USB driver is the last started kext:

last started kext at 103122083973: com.apple.driver.usb.IOUSBHostHIDDevice


panic(cpu 1 caller 0xfffffe002a642dc8): Kernel data abort. at pc 0xfffffe002a3c4b34, lr 0x008b7e002a3c4b04 (saved state: 0xfffffe302329b760)
x0: 0x0000000000000000 x1: 0xfffffe166870e640 x2: 0xfffffe302329bb90 x3: 0x0000000000000000
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000000 x9: 0x0000000000000000 x10: 0xfffffe166e625480 x11: 0xfffffe167211f880
x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x0000000000000000 x15: 0x0000000000000000
x16: 0xfffffe166870e640 x17: 0xd6cf7e0029e519f0 x18: 0x0000000000000000 x19: 0xfffffe23312bbc00
x20: 0xfffffe167211f880 x21: 0xfffffe1668add590 x22: 0xfffffe302329bb90 x23: 0xfffffe166791ddc0
x24: 0xfffffe16685d5f80 x25: 0xfffffe16685d6050 x26: 0x0000000000000001 x27: 0xfffffe002cde0c68
x28: 0xfffffe302329bc38 fp: 0xfffffe302329bad0 lr: 0x008b7e002a3c4b04 sp: 0xfffffe302329bab0
pc: 0xfffffe002a3c4b34 cpsr: 0x00401208 esr: 0x96000005 far: 0x0000000000000018

Debugger message: panic
Memory ID: 0x6
OS release type: User
OS version: 20E241
Kernel version: Darwin Kernel Version 20.4.0: Thu Apr 22 21:46:41 PDT 2021; root:xnu-7195.101.2~1/RELEASE_ARM64_T8101
Fileset Kernelcache UUID: 0B829878C98BF0B6E3AF7BF571B60BF2
Kernel UUID: 1DC99FEF-0771-3229-974C-9B18710700AE
iBoot version: iBoot-6723.101.4
secure boot?: YES
Paniclog version: 13
KernelCache slide: 0x0000000022234000
KernelCache base: 0xfffffe0029238000
Kernel slide: 0x0000000022d74000
Kernel text base: 0xfffffe0029d78000
Kernel text exec base: 0xfffffe0029e40000
mach_absolute_time: 0x1802965035
Epoch Time: sec usec
Boot : 0x609a3eaa 0x0000349e
Sleep : 0x00000000 0x00000000
Wake : 0x00000000 0x00000000
Calendar: 0x609a4f6c 0x00015962

CORE 0 recently retired instr at 0xfffffe0029fb1fcc
CORE 1 recently retired instr at 0xfffffe0029fb0b18
CORE 2 recently retired instr at 0xfffffe0029fb1fcc
CORE 3 recently retired instr at 0xfffffe0029fb1fcc
CORE 4 recently retired instr at 0xfffffe0029fb1fd0
CORE 5 recently retired instr at 0xfffffe0029fb1fd0
CORE 6 recently retired instr at 0xfffffe0029fb1fd0
CORE 7 recently retired instr at 0xfffffe0029fb1fd0
Panicked task 0xfffffe166870af08: 42530 pages, 11 threads: pid 84: node
Panicked thread: 0xfffffe166870e640, backtrace: 0xfffffe302329aed0, tid: 1834
lr: 0xfffffe0029e8e920 fp: 0xfffffe302329af40
lr: 0xfffffe0029e8e704 fp: 0xfffffe302329afb0
lr: 0xfffffe0029fb7330 fp: 0xfffffe302329afd0
lr: 0xfffffe0029fa8b90 fp: 0xfffffe302329b080
lr: 0xfffffe0029e477e8 fp: 0xfffffe302329b090
lr: 0xfffffe0029e8e394 fp: 0xfffffe302329b420
lr: 0xfffffe0029e8e394 fp: 0xfffffe302329b490
lr: 0xfffffe002a63e928 fp: 0xfffffe302329b4b0
lr: 0xfffffe002a642dc8 fp: 0xfffffe302329b620
lr: 0xfffffe0029faab6c fp: 0xfffffe302329b690
lr: 0xfffffe0029fa8ab8 fp: 0xfffffe302329b740
lr: 0xfffffe0029e477e8 fp: 0xfffffe302329b750
lr: 0xfffffe002a3c4b04 fp: 0xfffffe302329bad0
lr: 0xfffffe002a36aa70 fp: 0xfffffe302329bb30
lr: 0xfffffe002a36c314 fp: 0xfffffe302329bc10
lr: 0xfffffe002a36fa28 fp: 0xfffffe302329bd60
lr: 0xfffffe002a36f704 fp: 0xfffffe302329bdb0
lr: 0xfffffe002a4944b8 fp: 0xfffffe302329be40
lr: 0xfffffe0029fa886c fp: 0xfffffe302329bef0
lr: 0xfffffe0029e477e8 fp: 0xfffffe302329bf00

last started kext at 103122083973: com.apple.driver.usb.IOUSBHostHIDDevice 1.2 (addr 0xfffffe0029c00000, size 16384)
loaded kexts:
com.apple.filesystems.smbfs 3.5
com.apple.driver.AppleTopCaseHIDEventDriver 4040.11
com.apple.filesystems.autofs 3.0
com.apple.fileutil 20.036.15
com.apple.iokit.IOBluetoothSerialManager 8.0.4d18
com.apple.driver.AppleBiometricServices 1
com.apple.driver.BCMWLANFirmware4378.Hashstore 1
com.apple.driver.DiskImages.ReadWriteDiskImage 493.0.0
com.apple.driver.DiskImages.UDIFDiskImage 493.0.0
com.apple.driver.DiskImages.RAMBackingStore 493.0.0
com.apple.driver.DiskImages.FileBackingStore 493.0.0
com.apple.driver.CoreKDL 1
com.apple.driver.SEPHibernation 1
com.apple.filesystems.apfs 1677.100.114
com.apple.driver.AppleUSBDeviceNCM 5.0.0
com.apple.driver.AppleThunderboltIP 4.0.3
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.nke.l2tp 1.9
com.apple.filesystems.tmpfs 1
com.apple.driver.AppleALSColorSensor 1.0.0d1
com.apple.IOTextEncryptionFamily 1.0.0
com.apple.filesystems.hfs.kext 556.100.11
com.apple.security.BootPolicy 1
com.apple.BootCache 40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.driver.ApplePMP 1
com.apple.driver.AppleAOPVoiceTrigger 11.5
com.apple.driver.ApplePMPFirmware 1
com.apple.driver.AppleSmartIO2 1
com.apple.AppleEmbeddedSimpleSPINORFlasher 1
com.apple.driver.AppleCS42L83Audio 442.26
com.apple.driver.AppleSPMIPMU 1.0.1
com.apple.driver.AppleTAS5770LAmp 442.26
com.apple.driver.AppleDPDisplayTCON 1
com.apple.driver.AppleSummitLCD 1.0.0
com.apple.driver.AppleT8020SOCTuner 1
com.apple.driver.AppleT8103CLPCv3 1
com.apple.AGXG13G 173.22.1
com.apple.driver.AppleAVD 380
com.apple.driver.AppleAVE2 401.73.2
com.apple.driver.AppleJPEGDriver 4.6.0
com.apple.driver.AppleMobileDispH13G-DCP 140.0
com.apple.driver.usb.AppleUSBHostT8103 1
com.apple.driver.AudioDMAController-T8103 1.60.5
com.apple.driver.AppleS5L8960XNCO 1
com.apple.driver.AppleT8103PMGR 1
com.apple.driver.AppleS8000AES 1
com.apple.driver.AppleS8000DWI 1.0.0d1
com.apple.driver.AppleS5L8960XWatchDogTimer 1
com.apple.driver.AppleInterruptController 1.0.0d1
com.apple.driver.AppleBluetoothModule 1
com.apple.driver.AppleSamsungSerial 1.0.0d1
com.apple.driver.AppleBCMWLANBusInterfacePCIe 1
com.apple.driver.AppleT8020DART 1
com.apple.driver.AppleSynopsysMIPIDSI 1.0.0
com.apple.driver.AppleS5L8920XPWM 1.0.0d1
com.apple.driver.AppleS5L8940XI2C 1.0.0d2
com.apple.driver.AppleSPIMC 1
com.apple.driver.AppleT8101 1
com.apple.driver.AppleM68Buttons 1.0.0d1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.driver.usb.AppleUSBUserHCI 1
com.apple.iokit.IOKitRegistryCompatibility 1
com.apple.iokit.EndpointSecurity 1
com.apple.driver.AppleDiskImages2 1
com.apple.AppleSystemPolicy 2.0.0
com.apple.nke.applicationfirewall 311
com.apple.kec.InvalidateHmac 1
com.apple.driver.usb.IOUSBHostHIDDevice 1.2
com.apple.driver.AppleActuatorDriver 4440.3
com.apple.driver.AppleMultitouchDriver 4440.3
com.apple.driver.AppleHSBluetoothDriver 4040.11
com.apple.driver.IOBluetoothHIDDriver 8.0.4d18
com.apple.driver.AppleHIDKeyboard 224
com.apple.kext.triggers 1.0
com.apple.driver.usb.cdc.ecm 5.0.0
com.apple.driver.usb.cdc.acm 5.0.0
com.apple.driver.usb.serial 6.0.0
com.apple.iokit.IOAVBFamily 940.4
com.apple.plugin.IOgPTPPlugin 980.4
com.apple.iokit.IOEthernetAVBController 1.1.0
com.apple.driver.AppleMesaSEPDriver 100.99
com.apple.iokit.IOBiometricFamily 1
com.apple.driver.AppleUSBAudio 405.39
com.apple.iokit.IOAudioFamily 300.6.1
com.apple.vecLib.kext 1.2.0
com.apple.driver.usb.cdc 5.0.0
com.apple.driver.DiskImages.KernelBacked 493.0.0
com.apple.driver.AppleSEPHDCPManager 1.0.1
com.apple.driver.AppleTrustedAccessory 1
com.apple.iokit.AppleSEPGenericTransfer 1
com.apple.driver.AppleXsanScheme 3
com.apple.driver.IOBluetoothHostControllerPCIeTransport 8.0.4d18
com.apple.iokit.IOBluetoothHostControllerTransport 8.0.4d18
com.apple.driver.AppleConvergedIPCOLYBTControl 1
com.apple.driver.AppleConvergedPCI 1
com.apple.driver.AppleBluetoothDebug 1
com.apple.driver.usb.networking 5.0.0
com.apple.driver.AppleBTM 1.0.1
com.apple.driver.AppleThunderboltPCIDownAdapter 4.1.1
com.apple.driver.AppleThunderboltDPInAdapter 8.1.4
com.apple.driver.AppleThunderboltDPAdapterFamily 8.1.4
com.apple.driver.AppleThunderboltUSBDownAdapter 1.0.4
com.apple.nke.ppp 1.9
com.apple.driver.AppleBSDKextStarter 3
com.apple.filesystems.hfs.encodings.kext 1
com.apple.driver.AppleDCPDPTXProxy 1.0.0
com.apple.driver.DCPDPFamilyProxy 1
com.apple.driver.AppleAOPAudio 16.2
com.apple.iokit.IONVMeFamily 2.1.0
com.apple.driver.AppleDiagnosticDataAccessReadOnly 1.0.0
com.apple.driver.AppleNANDConfigAccess 1.0.0
com.apple.AGXFirmwareKextG13GRTBuddy 173.22.1
com.apple.AGXFirmwareKextRTBuddy64 173.22.1
com.apple.driver.AppleSPU 1
com.apple.driver.AppleCSEmbeddedAudio 442.26
com.apple.driver.AppleDialogPMU 1.0.1
com.apple.driver.AppleEmbeddedAudio 442.26
com.apple.iokit.AppleARMIISAudio 80.34.1
com.apple.driver.AppleStockholmControl 1.0.0
com.apple.driver.AppleHIDTransportSPI 4400.35
com.apple.driver.AppleHIDTransport 4400.35
com.apple.driver.AppleInputDeviceSupport 4400.35
com.apple.driver.AppleHPM 3.4.4
com.apple.driver.ApplePassthroughPPM 3.0
com.apple.iokit.IOGPUFamily 21.5
com.apple.driver.AppleH11ANEInterface 4.75.0
com.apple.driver.AppleH13CameraInterface 3.49.0
com.apple.driver.AppleH10PearlCameraInterface 16.15.1
com.apple.driver.DCPAVFamilyProxy 1
com.apple.iokit.IOMobileGraphicsFamily-DCP 343.0.0
com.apple.driver.AppleDCP 1
com.apple.driver.AppleFirmwareKit 1
com.apple.driver.AppleSPMI 1.0.1
com.apple.driver.AppleUSBXDCIARM 1.0
com.apple.driver.AppleUSBXDCI 1.0
com.apple.iokit.IOUSBDeviceFamily 2.0.0
com.apple.driver.usb.AppleUSBXHCIARM 1
com.apple.driver.usb.AppleUSBXHCI 1.2
com.apple.driver.AppleEmbeddedUSBHost 1
com.apple.driver.usb.AppleUSBHub 1.2
com.apple.driver.usb.AppleUSBHostCompositeDevice 1.2
com.apple.driver.AppleT8103TypeCPhy 1
com.apple.driver.AppleSART 1
com.apple.driver.ApplePMGR 1
com.apple.driver.watchdog 1
com.apple.driver.usb.AppleUSBHostPacketFilter 1.0
com.apple.driver.AppleDisplayCrossbar 1.0.0
com.apple.iokit.IODisplayPortFamily 1.0.0
com.apple.driver.AppleTypeCPhy 1
com.apple.driver.AppleThunderboltNHI 7.2.8
com.apple.driver.AppleT8103PCIeC 1
com.apple.iokit.IOThunderboltFamily 9.3.2
com.apple.driver.ApplePIODMA 1
com.apple.driver.AppleT8103PCIe 1
com.apple.driver.AppleBluetoothDebugService 1
com.apple.driver.AppleBCMWLANCore 1.0.0
com.apple.iokit.IO80211FamilyV2 1200.12.2b1
com.apple.driver.IOImageLoader 1.0.0
com.apple.driver.AppleMobileDispH13G-DFR 140.0
com.apple.iokit.IOMobileGraphicsFamily 343.0.0
com.apple.driver.AppleMCA2-T8103 540.10
com.apple.driver.AppleGPIOICController 1.0.2
com.apple.driver.AppleFireStormErrorHandler 1
com.apple.driver.AppleMultiFunctionManager 1
com.apple.driver.corecapture 1.0.4
com.apple.driver.AppleEmbeddedPCIE 1
com.apple.driver.AppleMobileApNonce 1
com.apple.iokit.IOTimeSyncFamily 980.4
com.apple.driver.DiskImages 493.0.0
com.apple.iokit.IOGraphicsFamily 585.1
com.apple.iokit.IOBluetoothFamily 8.0.4d18
com.apple.iokit.IOBluetoothPacketLogger 8.0.4d18
com.apple.driver.FairPlayIOKit 68.7.0
com.apple.iokit.CoreAnalyticsFamily 1
com.apple.driver.AppleSSE 1.0
com.apple.driver.AppleSEPKeyStore 2
com.apple.driver.AppleUSBTDM 511.101.1
com.apple.iokit.IOUSBMassStorageDriver 184.101.1
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOSCSIBlockCommandsDevice 436.100.4
com.apple.iokit.IOSCSIArchitectureModelFamily 436.100.4
com.apple.driver.AppleIPAppender 1.0
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleEffaceableStorage 1.0
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.KernelRelayHost 1
com.apple.iokit.IOUSBHostFamily 1.2
com.apple.driver.AppleUSBHostMergeProperties 1.2
com.apple.driver.usb.AppleUSBCommon 1.0
com.apple.driver.AppleSMC 3.1.9
com.apple.driver.RTBuddy 1.0.0
com.apple.driver.AppleEmbeddedTempSensor 1.0.0
com.apple.driver.AppleARMPMU 1.0
com.apple.iokit.IOAccessoryManager 1.0.0
com.apple.driver.AppleOnboardSerial 1.0
com.apple.iokit.IOSkywalkFamily 1
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.iokit.IONetworkingFamily 3.4
com.apple.iokit.IOSerialFamily 11
com.apple.driver.AppleSEPManager 1.0.1
com.apple.driver.AppleA7IOP 1.0.2
com.apple.driver.IOSlaveProcessor 1
com.apple.driver.AppleBiometricSensor 2
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.AUC 1.0
com.apple.iokit.IOAVFamily 1.0.0
com.apple.iokit.IOHDCPFamily 1.0.0
com.apple.iokit.IOCECFamily 1
com.apple.iokit.IOAudio2Family 1.0
com.apple.driver.AppleEmbeddedAudioLibs 1.17
com.apple.driver.AppleFirmwareUpdateKext 1
com.apple.driver.AppleM2ScalerCSCDriver 265.0.0
com.apple.iokit.IOSurface 290.7
com.apple.driver.IODARTFamily 1
com.apple.security.quarantine 4
com.apple.security.sandbox 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.kext.CoreTrust 1
com.apple.security.AppleImage4 3.0.0
com.apple.iokit.IOCryptoAcceleratorFamily 1.0.1
com.apple.driver.AppleARMPlatform 1.0.2
com.apple.iokit.IOStorageFamily 2.1
com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
com.apple.iokit.IOReportFamily 47
com.apple.kec.pthread 1
com.apple.kec.corecrypto 11.1
com.apple.kec.Libm 1



** Stackshot Succeeded ** Bytes Traced 285728 (Uncompressed 714144) **
 
I have something of an update on this, not sure if it is at all informative, but just in case.

I've moved to a new M1 Macbook Pro running 11.3.1, and didn't see this problem at first, until I changed 'USB type' to 'MIDI'.

After that, I get a kernel panic every time. The dump is below, I see a USB driver is the last started kext:

last started kext at 103122083973: com.apple.driver.usb.IOUSBHostHIDDevice


panic(cpu 1 caller 0xfffffe002a642dc8): Kernel data abort. at pc 0xfffffe002a3c4b34, lr 0x008b7e002a3c4b04 (saved state: 0xfffffe302329b760)
x0: 0x0000000000000000 x1: 0xfffffe166870e640 x2: 0xfffffe302329bb90 x3: 0x0000000000000000
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000000 x9: 0x0000000000000000 x10: 0xfffffe166e625480 x11: 0xfffffe167211f880
x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x0000000000000000 x15: 0x0000000000000000
x16: 0xfffffe166870e640 x17: 0xd6cf7e0029e519f0 x18: 0x0000000000000000 x19: 0xfffffe23312bbc00
x20: 0xfffffe167211f880 x21: 0xfffffe1668add590 x22: 0xfffffe302329bb90 x23: 0xfffffe166791ddc0
x24: 0xfffffe16685d5f80 x25: 0xfffffe16685d6050 x26: 0x0000000000000001 x27: 0xfffffe002cde0c68
x28: 0xfffffe302329bc38 fp: 0xfffffe302329bad0 lr: 0x008b7e002a3c4b04 sp: 0xfffffe302329bab0
pc: 0xfffffe002a3c4b34 cpsr: 0x00401208 esr: 0x96000005 far: 0x0000000000000018

Debugger message: panic
Memory ID: 0x6
OS release type: User
OS version: 20E241
Kernel version: Darwin Kernel Version 20.4.0: Thu Apr 22 21:46:41 PDT 2021; root:xnu-7195.101.2~1/RELEASE_ARM64_T8101
Fileset Kernelcache UUID: 0B829878C98BF0B6E3AF7BF571B60BF2
Kernel UUID: 1DC99FEF-0771-3229-974C-9B18710700AE
iBoot version: iBoot-6723.101.4
secure boot?: YES
Paniclog version: 13
KernelCache slide: 0x0000000022234000
KernelCache base: 0xfffffe0029238000
Kernel slide: 0x0000000022d74000
Kernel text base: 0xfffffe0029d78000
Kernel text exec base: 0xfffffe0029e40000
mach_absolute_time: 0x1802965035
Epoch Time: sec usec
Boot : 0x609a3eaa 0x0000349e
Sleep : 0x00000000 0x00000000
Wake : 0x00000000 0x00000000
Calendar: 0x609a4f6c 0x00015962

CORE 0 recently retired instr at 0xfffffe0029fb1fcc
CORE 1 recently retired instr at 0xfffffe0029fb0b18
CORE 2 recently retired instr at 0xfffffe0029fb1fcc
CORE 3 recently retired instr at 0xfffffe0029fb1fcc
CORE 4 recently retired instr at 0xfffffe0029fb1fd0
CORE 5 recently retired instr at 0xfffffe0029fb1fd0
CORE 6 recently retired instr at 0xfffffe0029fb1fd0
CORE 7 recently retired instr at 0xfffffe0029fb1fd0
Panicked task 0xfffffe166870af08: 42530 pages, 11 threads: pid 84: node
Panicked thread: 0xfffffe166870e640, backtrace: 0xfffffe302329aed0, tid: 1834
lr: 0xfffffe0029e8e920 fp: 0xfffffe302329af40
lr: 0xfffffe0029e8e704 fp: 0xfffffe302329afb0
lr: 0xfffffe0029fb7330 fp: 0xfffffe302329afd0
lr: 0xfffffe0029fa8b90 fp: 0xfffffe302329b080
lr: 0xfffffe0029e477e8 fp: 0xfffffe302329b090
lr: 0xfffffe0029e8e394 fp: 0xfffffe302329b420
lr: 0xfffffe0029e8e394 fp: 0xfffffe302329b490
lr: 0xfffffe002a63e928 fp: 0xfffffe302329b4b0
lr: 0xfffffe002a642dc8 fp: 0xfffffe302329b620
lr: 0xfffffe0029faab6c fp: 0xfffffe302329b690
lr: 0xfffffe0029fa8ab8 fp: 0xfffffe302329b740
lr: 0xfffffe0029e477e8 fp: 0xfffffe302329b750
lr: 0xfffffe002a3c4b04 fp: 0xfffffe302329bad0
lr: 0xfffffe002a36aa70 fp: 0xfffffe302329bb30
lr: 0xfffffe002a36c314 fp: 0xfffffe302329bc10
lr: 0xfffffe002a36fa28 fp: 0xfffffe302329bd60
lr: 0xfffffe002a36f704 fp: 0xfffffe302329bdb0
lr: 0xfffffe002a4944b8 fp: 0xfffffe302329be40
lr: 0xfffffe0029fa886c fp: 0xfffffe302329bef0
lr: 0xfffffe0029e477e8 fp: 0xfffffe302329bf00

last started kext at 103122083973: com.apple.driver.usb.IOUSBHostHIDDevice 1.2 (addr 0xfffffe0029c00000, size 16384)
loaded kexts:
com.apple.filesystems.smbfs 3.5
com.apple.driver.AppleTopCaseHIDEventDriver 4040.11
com.apple.filesystems.autofs 3.0
com.apple.fileutil 20.036.15
com.apple.iokit.IOBluetoothSerialManager 8.0.4d18
com.apple.driver.AppleBiometricServices 1
com.apple.driver.BCMWLANFirmware4378.Hashstore 1
com.apple.driver.DiskImages.ReadWriteDiskImage 493.0.0
com.apple.driver.DiskImages.UDIFDiskImage 493.0.0
com.apple.driver.DiskImages.RAMBackingStore 493.0.0
com.apple.driver.DiskImages.FileBackingStore 493.0.0
com.apple.driver.CoreKDL 1
com.apple.driver.SEPHibernation 1
com.apple.filesystems.apfs 1677.100.114
com.apple.driver.AppleUSBDeviceNCM 5.0.0
com.apple.driver.AppleThunderboltIP 4.0.3
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.nke.l2tp 1.9
com.apple.filesystems.tmpfs 1
com.apple.driver.AppleALSColorSensor 1.0.0d1
com.apple.IOTextEncryptionFamily 1.0.0
com.apple.filesystems.hfs.kext 556.100.11
com.apple.security.BootPolicy 1
com.apple.BootCache 40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.driver.ApplePMP 1
com.apple.driver.AppleAOPVoiceTrigger 11.5
com.apple.driver.ApplePMPFirmware 1
com.apple.driver.AppleSmartIO2 1
com.apple.AppleEmbeddedSimpleSPINORFlasher 1
com.apple.driver.AppleCS42L83Audio 442.26
com.apple.driver.AppleSPMIPMU 1.0.1
com.apple.driver.AppleTAS5770LAmp 442.26
com.apple.driver.AppleDPDisplayTCON 1
com.apple.driver.AppleSummitLCD 1.0.0
com.apple.driver.AppleT8020SOCTuner 1
com.apple.driver.AppleT8103CLPCv3 1
com.apple.AGXG13G 173.22.1
com.apple.driver.AppleAVD 380
com.apple.driver.AppleAVE2 401.73.2
com.apple.driver.AppleJPEGDriver 4.6.0
com.apple.driver.AppleMobileDispH13G-DCP 140.0
com.apple.driver.usb.AppleUSBHostT8103 1
com.apple.driver.AudioDMAController-T8103 1.60.5
com.apple.driver.AppleS5L8960XNCO 1
com.apple.driver.AppleT8103PMGR 1
com.apple.driver.AppleS8000AES 1
com.apple.driver.AppleS8000DWI 1.0.0d1
com.apple.driver.AppleS5L8960XWatchDogTimer 1
com.apple.driver.AppleInterruptController 1.0.0d1
com.apple.driver.AppleBluetoothModule 1
com.apple.driver.AppleSamsungSerial 1.0.0d1
com.apple.driver.AppleBCMWLANBusInterfacePCIe 1
com.apple.driver.AppleT8020DART 1
com.apple.driver.AppleSynopsysMIPIDSI 1.0.0
com.apple.driver.AppleS5L8920XPWM 1.0.0d1
com.apple.driver.AppleS5L8940XI2C 1.0.0d2
com.apple.driver.AppleSPIMC 1
com.apple.driver.AppleT8101 1
com.apple.driver.AppleM68Buttons 1.0.0d1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.driver.usb.AppleUSBUserHCI 1
com.apple.iokit.IOKitRegistryCompatibility 1
com.apple.iokit.EndpointSecurity 1
com.apple.driver.AppleDiskImages2 1
com.apple.AppleSystemPolicy 2.0.0
com.apple.nke.applicationfirewall 311
com.apple.kec.InvalidateHmac 1
com.apple.driver.usb.IOUSBHostHIDDevice 1.2
com.apple.driver.AppleActuatorDriver 4440.3
com.apple.driver.AppleMultitouchDriver 4440.3
com.apple.driver.AppleHSBluetoothDriver 4040.11
com.apple.driver.IOBluetoothHIDDriver 8.0.4d18
com.apple.driver.AppleHIDKeyboard 224
com.apple.kext.triggers 1.0
com.apple.driver.usb.cdc.ecm 5.0.0
com.apple.driver.usb.cdc.acm 5.0.0
com.apple.driver.usb.serial 6.0.0
com.apple.iokit.IOAVBFamily 940.4
com.apple.plugin.IOgPTPPlugin 980.4
com.apple.iokit.IOEthernetAVBController 1.1.0
com.apple.driver.AppleMesaSEPDriver 100.99
com.apple.iokit.IOBiometricFamily 1
com.apple.driver.AppleUSBAudio 405.39
com.apple.iokit.IOAudioFamily 300.6.1
com.apple.vecLib.kext 1.2.0
com.apple.driver.usb.cdc 5.0.0
com.apple.driver.DiskImages.KernelBacked 493.0.0
com.apple.driver.AppleSEPHDCPManager 1.0.1
com.apple.driver.AppleTrustedAccessory 1
com.apple.iokit.AppleSEPGenericTransfer 1
com.apple.driver.AppleXsanScheme 3
com.apple.driver.IOBluetoothHostControllerPCIeTransport 8.0.4d18
com.apple.iokit.IOBluetoothHostControllerTransport 8.0.4d18
com.apple.driver.AppleConvergedIPCOLYBTControl 1
com.apple.driver.AppleConvergedPCI 1
com.apple.driver.AppleBluetoothDebug 1
com.apple.driver.usb.networking 5.0.0
com.apple.driver.AppleBTM 1.0.1
com.apple.driver.AppleThunderboltPCIDownAdapter 4.1.1
com.apple.driver.AppleThunderboltDPInAdapter 8.1.4
com.apple.driver.AppleThunderboltDPAdapterFamily 8.1.4
com.apple.driver.AppleThunderboltUSBDownAdapter 1.0.4
com.apple.nke.ppp 1.9
com.apple.driver.AppleBSDKextStarter 3
com.apple.filesystems.hfs.encodings.kext 1
com.apple.driver.AppleDCPDPTXProxy 1.0.0
com.apple.driver.DCPDPFamilyProxy 1
com.apple.driver.AppleAOPAudio 16.2
com.apple.iokit.IONVMeFamily 2.1.0
com.apple.driver.AppleDiagnosticDataAccessReadOnly 1.0.0
com.apple.driver.AppleNANDConfigAccess 1.0.0
com.apple.AGXFirmwareKextG13GRTBuddy 173.22.1
com.apple.AGXFirmwareKextRTBuddy64 173.22.1
com.apple.driver.AppleSPU 1
com.apple.driver.AppleCSEmbeddedAudio 442.26
com.apple.driver.AppleDialogPMU 1.0.1
com.apple.driver.AppleEmbeddedAudio 442.26
com.apple.iokit.AppleARMIISAudio 80.34.1
com.apple.driver.AppleStockholmControl 1.0.0
com.apple.driver.AppleHIDTransportSPI 4400.35
com.apple.driver.AppleHIDTransport 4400.35
com.apple.driver.AppleInputDeviceSupport 4400.35
com.apple.driver.AppleHPM 3.4.4
com.apple.driver.ApplePassthroughPPM 3.0
com.apple.iokit.IOGPUFamily 21.5
com.apple.driver.AppleH11ANEInterface 4.75.0
com.apple.driver.AppleH13CameraInterface 3.49.0
com.apple.driver.AppleH10PearlCameraInterface 16.15.1
com.apple.driver.DCPAVFamilyProxy 1
com.apple.iokit.IOMobileGraphicsFamily-DCP 343.0.0
com.apple.driver.AppleDCP 1
com.apple.driver.AppleFirmwareKit 1
com.apple.driver.AppleSPMI 1.0.1
com.apple.driver.AppleUSBXDCIARM 1.0
com.apple.driver.AppleUSBXDCI 1.0
com.apple.iokit.IOUSBDeviceFamily 2.0.0
com.apple.driver.usb.AppleUSBXHCIARM 1
com.apple.driver.usb.AppleUSBXHCI 1.2
com.apple.driver.AppleEmbeddedUSBHost 1
com.apple.driver.usb.AppleUSBHub 1.2
com.apple.driver.usb.AppleUSBHostCompositeDevice 1.2
com.apple.driver.AppleT8103TypeCPhy 1
com.apple.driver.AppleSART 1
com.apple.driver.ApplePMGR 1
com.apple.driver.watchdog 1
com.apple.driver.usb.AppleUSBHostPacketFilter 1.0
com.apple.driver.AppleDisplayCrossbar 1.0.0
com.apple.iokit.IODisplayPortFamily 1.0.0
com.apple.driver.AppleTypeCPhy 1
com.apple.driver.AppleThunderboltNHI 7.2.8
com.apple.driver.AppleT8103PCIeC 1
com.apple.iokit.IOThunderboltFamily 9.3.2
com.apple.driver.ApplePIODMA 1
com.apple.driver.AppleT8103PCIe 1
com.apple.driver.AppleBluetoothDebugService 1
com.apple.driver.AppleBCMWLANCore 1.0.0
com.apple.iokit.IO80211FamilyV2 1200.12.2b1
com.apple.driver.IOImageLoader 1.0.0
com.apple.driver.AppleMobileDispH13G-DFR 140.0
com.apple.iokit.IOMobileGraphicsFamily 343.0.0
com.apple.driver.AppleMCA2-T8103 540.10
com.apple.driver.AppleGPIOICController 1.0.2
com.apple.driver.AppleFireStormErrorHandler 1
com.apple.driver.AppleMultiFunctionManager 1
com.apple.driver.corecapture 1.0.4
com.apple.driver.AppleEmbeddedPCIE 1
com.apple.driver.AppleMobileApNonce 1
com.apple.iokit.IOTimeSyncFamily 980.4
com.apple.driver.DiskImages 493.0.0
com.apple.iokit.IOGraphicsFamily 585.1
com.apple.iokit.IOBluetoothFamily 8.0.4d18
com.apple.iokit.IOBluetoothPacketLogger 8.0.4d18
com.apple.driver.FairPlayIOKit 68.7.0
com.apple.iokit.CoreAnalyticsFamily 1
com.apple.driver.AppleSSE 1.0
com.apple.driver.AppleSEPKeyStore 2
com.apple.driver.AppleUSBTDM 511.101.1
com.apple.iokit.IOUSBMassStorageDriver 184.101.1
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOSCSIBlockCommandsDevice 436.100.4
com.apple.iokit.IOSCSIArchitectureModelFamily 436.100.4
com.apple.driver.AppleIPAppender 1.0
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleEffaceableStorage 1.0
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.KernelRelayHost 1
com.apple.iokit.IOUSBHostFamily 1.2
com.apple.driver.AppleUSBHostMergeProperties 1.2
com.apple.driver.usb.AppleUSBCommon 1.0
com.apple.driver.AppleSMC 3.1.9
com.apple.driver.RTBuddy 1.0.0
com.apple.driver.AppleEmbeddedTempSensor 1.0.0
com.apple.driver.AppleARMPMU 1.0
com.apple.iokit.IOAccessoryManager 1.0.0
com.apple.driver.AppleOnboardSerial 1.0
com.apple.iokit.IOSkywalkFamily 1
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.iokit.IONetworkingFamily 3.4
com.apple.iokit.IOSerialFamily 11
com.apple.driver.AppleSEPManager 1.0.1
com.apple.driver.AppleA7IOP 1.0.2
com.apple.driver.IOSlaveProcessor 1
com.apple.driver.AppleBiometricSensor 2
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.AUC 1.0
com.apple.iokit.IOAVFamily 1.0.0
com.apple.iokit.IOHDCPFamily 1.0.0
com.apple.iokit.IOCECFamily 1
com.apple.iokit.IOAudio2Family 1.0
com.apple.driver.AppleEmbeddedAudioLibs 1.17
com.apple.driver.AppleFirmwareUpdateKext 1
com.apple.driver.AppleM2ScalerCSCDriver 265.0.0
com.apple.iokit.IOSurface 290.7
com.apple.driver.IODARTFamily 1
com.apple.security.quarantine 4
com.apple.security.sandbox 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.kext.CoreTrust 1
com.apple.security.AppleImage4 3.0.0
com.apple.iokit.IOCryptoAcceleratorFamily 1.0.1
com.apple.driver.AppleARMPlatform 1.0.2
com.apple.iokit.IOStorageFamily 2.1
com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
com.apple.iokit.IOReportFamily 47
com.apple.kec.pthread 1
com.apple.kec.corecrypto 11.1
com.apple.kec.Libm 1



** Stackshot Succeeded ** Bytes Traced 285728 (Uncompressed 714144) **
 
... further update - now I can't even put blink on it without the same kernel panic. Have uninstalled all third-party MIDI software and I don't see any non-Apple kernel extensions in the list.

Not sure if there's anything else I can do, but I suspect my original problem was in some way MIDI-related.

I'm surely not the only person building Teensy MIDI apps on MacOS ?
 
Quick followup to mention recent work to avoid a MacOS crash triggered by teensy_serialmon. It definitely is a MacOS bug involving CFFileDescriptor. This new teensy_serialmon is a complete redesign to avoid all use of CFFileDescriptor.

https://forum.pjrc.com/threads/5854...ing-a-Teensy-4?p=299819&viewfull=1#post299819

If you're still experiencing MacOS crashes while using Teensy, please give this replacement teensy_serialmon a try. Does it help?
 
Back
Top