Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 5 of 5

Thread: teensy_serialmon crashed my Mac (Catalina)

  1. #1
    Junior Member
    Join Date
    Oct 2020
    Location
    Oakland, CA
    Posts
    18

    teensy_serialmon crashed my Mac (Catalina)

    panic(cpu 7 caller 0xffffff801aa469aa): Kernel trap at 0xffffff801aeab953, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0x0000000000000018, CR3: 0x000000031a62c23d, CR4: 0x00000000003626e0
    RAX: 0x0000000000000000, RBX: 0xffffff806d0be900, RCX: 0x0000000000000000, RDX: 0x0000000003000000
    RSP: 0xffffff9231c03c90, RBP: 0xffffff9231c03ca0, RSI: 0xffffff80601c0000, RDI: 0x0000000000000000
    R8: 0xffffff801b20a180, R9: 0x0000000000000002, R10: 0xffffff80500c2510, R11: 0xffffff8037d1e000
    R12: 0xffffff80630a64a0, R13: 0x000000000000000f, R14: 0xffffff80601c0000, R15: 0xffffff806d0be900
    RFL: 0x0000000000010207, RIP: 0xffffff801aeab953, CS: 0x0000000000000008, SS: 0x0000000000000010
    Fault CR2: 0x0000000000000018, Error code: 0x0000000000000000, Fault CPU: 0x7, PL: 0, VF: 0

    Backtrace (CPU 7), Frame : Return Address
    0xffffff9231c036f0 : 0xffffff801a91a65d
    0xffffff9231c03740 : 0xffffff801aa54a75
    0xffffff9231c03780 : 0xffffff801aa465fe
    0xffffff9231c037d0 : 0xffffff801a8c0a40
    0xffffff9231c037f0 : 0xffffff801a919d27
    0xffffff9231c038f0 : 0xffffff801a91a117
    0xffffff9231c03940 : 0xffffff801b0c1a6c
    0xffffff9231c039b0 : 0xffffff801aa469aa
    0xffffff9231c03b30 : 0xffffff801aa466a8
    0xffffff9231c03b80 : 0xffffff801a8c0a40
    0xffffff9231c03ba0 : 0xffffff801aeab953
    0xffffff9231c03ca0 : 0xffffff801ae52321
    0xffffff9231c03d00 : 0xffffff801ae5315b
    0xffffff9231c03d50 : 0xffffff801ae4c3c6
    0xffffff9231c03d90 : 0xffffff801ae6a9ed
    0xffffff9231c03e40 : 0xffffff801a9565e0
    0xffffff9231c03ec0 : 0xffffff801a959f9a
    0xffffff9231c03ef0 : 0xffffff801a911ffc
    0xffffff9231c03f30 : 0xffffff801a8c0a0c

    BSD process name corresponding to current thread: teensy_serialmon

    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: 0x000000001a600000
    Kernel text base: 0xffffff801a800000
    __HIB text base: 0xffffff801a700000
    System model name: MacBookPro13,3 (Mac-A5C67F76ED83108C)
    System shutdown begun: NO
    Panic diags file available: YES (0x0)

    System uptime in nanoseconds: 1247544963084166
    last loaded kext at 470492378679688: >Core!SFsck 551 (addr 0xffffff7f9f5bf000, size 106496)
    last unloaded kext at 450643545782533: com.parallels.kext.hypervisor 16.0.1 48919 (addr 0xffffff7f9f5bf000, size 192512)
    loaded kexts:
    com.mhlabs.kext.MHLinkEnetFilter 2.0.97
    >Core!SFsck 551
    >!AFIVRDriver 4.1.0
    @nke.rvi 2.0.0
    |IOUSBAttachedSCSI 1.1.6
    >iPodSBCDriver 1.7.0
    |SCSITaskUserClient 422.120.3
    >!U!SCoexistentDriver 489.120.1
    >!AMikeyHIDDriver 131
    @kext.AMDFramebuffer 3.1.0
    @kext.AMDRadeonX4000 3.1.0
    @kext.AMDRadeonServiceManager 3.1.0
    >!AGraphicsDevicePolicy 5.2.6
    @fileutil 20.036.15
    @AGDCPluginDisplayMetrics 5.2.6
    >!AHV 1
    |IOUserEthernet 1.0.1
    |IO!BSerialManager 7.0.6f7
    >pmtelemetry 1
    >AGPM 111.4.4
    >!APlatformEnabler 2.7.0d0
    >X86PlatformShim 1.0.0
    >!AUpstreamUserClient 3.6.8
    @Dont_Steal_Mac_OS_X 7.0.0
    >!AHIDALSService 1
    >AudioAUUC 1.70
    >!A!ISKLGraphics 14.0.7
    >AGDCBacklightControl 5.2.6
    >!AHDA 283.15
    >!A!II210Ethernet 2.3.1
    @kext.AMD9500!C 3.1.0
    >!AThunderboltIP 3.1.4
    >eficheck 1
    >!A!ISlowAdaptiveClocking 4.0.0
    >!AMuxControl 5.2.6
    |!ABCM5701Ethernet 10.3.5
    >!A!IPCHPMC 2.0.1
    >SMCMotionSensor 3.0.4d1
    >!AGFXHDA 100.1.429
    >!AEmbeddedOSSupportHost 1
    >AirPort.BrcmNIC 1400.1.1
    >!A!ISKLGraphicsFramebuffer 14.0.7
    >!AMCCSControl 1.14
    @filesystems.autofs 3.0
    >usb.!UHostBillboardDevice 1.0
    >!AVirtIO 1.0
    @filesystems.hfs.kext 522.100.5
    @!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1
    @BootCache 40
    @!AFSCompression.!AFSCompressionTypeZlib 1.0.0
    >!ATopCaseHIDEventDriver 3430.1
    @filesystems.apfs 1412.141.1
    @private.KextAudit 1.0
    >!ASmartBatteryManager 161.0.0
    >!AACPIButtons 6.1
    >!ARTC 2.0
    >!ASMBIOS 2.1
    >!AACPIEC 6.1
    >!AAPIC 1.7
    $!AImage4 1
    @nke.applicationfirewall 303
    $TMSafetyNet 8
    @!ASystemPolicy 2.0.0
    |EndpointSecurity 1
    >!ASMBusPCI 1.0.14d1
    >usb.!UHostPacketFilter 1.0
    >!AThunderboltEDMSink 4.2.3
    |IOUSBMass!SClass 4.0.4
    >usb.cdc.ecm 5.0.0
    >usb.cdc.acm 5.0.0
    >usb.serial 6.0.0
    >usb.IOUSBHostHIDDevice 1.2
    >!AXsanScheme 3
    @kext.AMDRadeonX4100HWLibs 1.0
    @kext.AMDRadeonX4000HWServices 3.1.0
    |IOAVB!F 850.1
    >DspFuncLib 283.15
    @kext.OSvKernDSPLib 529
    @!AGPUWrangler 5.2.6
    |IO!BHost!CUARTTransport 7.0.6f7
    |IO!BHost!CTransport 7.0.6f7
    >!ABacklightExpert 1.1.0
    >!UAudio 323.4
    >!AHDA!C 283.15
    |IOHDA!F 283.15
    |IOSlowAdaptiveClocking!F 1.0.0
    >X86PlatformPlugin 1.0.0
    @plugin.IOgPTPPlugin 840.3
    >!AGraphicsControl 5.2.6
    |IOEthernetAVB!C 1.1.0
    >IOPlatformPlugin!F 6.0.0d8
    |IONDRVSupport 576.1
    >!A!ILpssUARTv1 3.0.60
    >!A!ILpssUARTCommon 3.0.60
    >!AOnboardSerial 1.0
    |IO80211!F 1200.12.2b1
    >mDNSOffloadUserClient 1.0.1b8
    >corecapture 1.0.4
    |IOSkywalk!F 1
    @kext.AMDSupport 3.1.0
    @!AGraphicsDeviceControl 5.2.6
    |IOAccelerator!F2 438.7.3
    >!ASMBus!C 1.0.18d1
    |IOGraphics!F 576.1
    @kext.triggers 1.0
    >usb.cdc.ncm 5.0.0
    >usb.!UiBridge 1.0
    >Core!S 551
    >usb.!UHub 1.2
    >usb.cdc 5.0.0
    >usb.networking 5.0.0
    >usb.!UHostCompositeDevice 1.2
    >!AThunderboltDPOutAdapter 6.2.6
    >!AThunderboltDPInAdapter 6.2.6
    >!AThunderboltDPAdapter!F 6.2.6
    >!AThunderboltPCIUpAdapter 2.5.4
    >!AThunderboltPCIDownAdapter 2.5.4
    |IOAudio!F 300.2
    @vecLib.kext 1.2.0
    |IOSerial!F 11
    |IOSurface 269.11
    @filesystems.hfs.encodings.kext 1
    >!AActuatorDriver 3440.1
    >!AHIDKeyboard 209
    >!AHS!BDriver 3430.1
    >IO!BHIDDriver 7.0.6f7
    |IO!B!F 7.0.6f7
    |IO!BPacketLogger 7.0.6f7
    >!AMultitouchDriver 3440.1
    >!AInputDeviceSupport 3440.8
    >!AHSSPIHIDDriver 59
    >!AHSSPISupport 59
    >!A!ILpssSpi!C 3.0.60
    |IONVMe!F 2.1.0
    >!AThunderboltNHI 5.8.6
    >!AHPM 3.4.4
    |IOThunderbolt!F 7.6.1
    >!A!ILpssI2C!C 3.0.60
    >!A!ILpssDmac 3.0.60
    >!A!ILpssGspi 3.0.60
    >!A!ILpssI2C 3.0.60
    >usb.!UXHCIPCI 1.2
    >usb.!UXHCI 1.2
    |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
    |IOTimeSync!F 840.3
    |IONetworking!F 3.4
    |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
    |IOReport!F 47
    >!AACPIPlatform 6.1
    >!ASMC 3.1.9
    >watchdog 1
    |IOPCI!F 2.9
    |IOACPI!F 1.4
    @kec.pthread 1
    @kec.Libm 1
    @kec.corecrypto 1.0

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    12,719
    Is that using the latest Combined Arduino IDE and TeensyDuino 1.53 installer from PJRC?

  3. #3
    Junior Member
    Join Date
    Oct 2020
    Location
    Oakland, CA
    Posts
    18
    Yep. It has been working fine since I first installed (2-3 weeks). This morning I got an "error uploading code" from Teensyduino... I retried a few times (clicking the upload button in Teensyduino) and then boom, the Mac died. Everything works fine again after restart.

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,061
    Teensyduino doesn't install any kernel level code. Nothing runs as root. The teensy_serialmon program uses only Apple's public user-level APIs.

    Maybe we're triggering a bug in MacOS?

    Quote Originally Posted by darrenji View Post
    last loaded kext at 470492378679688: >Core!SFsck 551 (addr 0xffffff7f9f5bf000, size 106496)
    last unloaded kext at 450643545782533: com.parallels.kext.hypervisor 16.0.1 48919 (addr 0xffffff7f9f5bf000, size 192512)
    Or maybe drivers associated with a Parallels virtual machine are somehow at play in this unpleasant situation?

  5. #5
    Junior Member
    Join Date
    Oct 2020
    Location
    Oakland, CA
    Posts
    18
    Yeah, is hard to say much with only one data point. If it happens again I'll report back.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •