rxhanson / Rectangle

Move and resize windows on macOS with keyboard shortcuts and snap areas
https://rectangleapp.com
Other
25.97k stars 782 forks source link

Possible Kernel Panic #189

Closed maluramichael closed 4 years ago

maluramichael commented 4 years ago

macOS version: Catalina 10.15.5 Rectangle version: 0.31 I got a new 4k Display (BenQ PD2700U) which is connected via USB C. For weeks everything was fine till i use Rectangle. My Macbook freezes and reboots. Every hour or so it crashes. Now that i removed Rectangle i can use my Machine for 8 hours without problems. Tomorrow ill try to install Rectangle and see what happens.

Nevertheless great project. Keep on goin guys.

I got this Kernel Panic Message.

panic(cpu 10 caller 0xffffff801e84aa3a): Kernel trap at 0xffffff7fa2ef7846, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000020, CR3: 0x00000007185d5207, CR4: 0x00000000003626e0
RAX: 0x00000000405ff001, RBX: 0xffffff83b6836024, RCX: 0x0000000000000010, RDX: 0x00000000405ff000
RSP: 0xffffff83a7103910, RBP: 0xffffff83a71039a0, RSI: 0xffffff806b5df8d0, RDI: 0x0000000000000000
R8:  0xffffff801f0a4950, R9:  0x0000000000000001, R10: 0x0000000000000050, R11: 0xffffff80664f6000
R12: 0xffffff80889f5e50, R13: 0xffffff83c7783000, R14: 0x0000000000000000, R15: 0xffffff83b6836034
RFL: 0x0000000000010202, RIP: 0xffffff7fa2ef7846, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0x0000000000000020, Error code: 0x0000000000000002, Fault CPU: 0xa, PL: 0, VF: 0
Backtrace (CPU 10), Frame : Return Address
0xffffff83a7103370 : 0xffffff801e71f5cd 
0xffffff83a71033c0 : 0xffffff801e858b05 
0xffffff83a7103400 : 0xffffff801e84a68e 
0xffffff83a7103450 : 0xffffff801e6c5a40 
0xffffff83a7103470 : 0xffffff801e71ec97 
0xffffff83a7103570 : 0xffffff801e71f087 
0xffffff83a71035c0 : 0xffffff801eec27cc 
0xffffff83a7103630 : 0xffffff801e84aa3a 
0xffffff83a71037b0 : 0xffffff801e84a738 
0xffffff83a7103800 : 0xffffff801e6c5a40 
0xffffff83a7103820 : 0xffffff7fa2ef7846 
0xffffff83a71039a0 : 0xffffff7fa272d51e 
0xffffff83a71039e0 : 0xffffff7fa272da4f 
0xffffff83a7103a10 : 0xffffff7fa2ef73de 
0xffffff83a7103a40 : 0xffffff7fa272b00b 
0xffffff83a7103ac0 : 0xffffff801ee5695e 
0xffffff83a7103b10 : 0xffffff801ee54be7 
0xffffff83a7103b60 : 0xffffff801ee5dcb3 
0xffffff83a7103ca0 : 0xffffff801e8082b2 
0xffffff83a7103db0 : 0xffffff801e725328 
0xffffff83a7103e10 : 0xffffff801e6fbcc5 
0xffffff83a7103e70 : 0xffffff801e712aa2 
0xffffff83a7103f00 : 0xffffff801e830d05 
0xffffff83a7103fa0 : 0xffffff801e6c6226 
      Kernel Extensions in backtrace:
         com.apple.iokit.IOAcceleratorFamily2(438.5.4)[D695D9DA-7C20-35D6-910F-E7A332A0F515]@0xffffff7fa2724000->0xffffff7fa27e7fff
            dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[E35D090D-DB9E-3DD0-9723-651FA730AA13]@0xffffff7f9f82e000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[BE052F4D-9B80-3FCD-B36D-BACB7DEE0DF2]@0xffffff7f9f112000
            dependency: com.apple.iokit.IOSurface(269.11)[F1E7389D-2807-3C5D-8A7F-5422542E867F]@0xffffff7fa0c78000
            dependency: com.apple.iokit.IOGraphicsFamily(576.1)[B1C0006F-E1F5-37D9-9548-5F918E92B422]@0xffffff7fa23a5000
            dependency: com.apple.iokit.IOReportFamily(47)[1FB49168-0280-3F04-A99A-F830C915E994]@0xffffff7f9f049000
         com.apple.driver.AppleIntelKBLGraphics(14.0.6)[E09E2681-5119-37A7-9975-B87BC4E1AA8F]@0xffffff7fa2eda000->0xffffff7fa2fcffff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[BE052F4D-9B80-3FCD-B36D-BACB7DEE0DF2]@0xffffff7f9f112000
            dependency: com.apple.iokit.IOSurface(269.11)[F1E7389D-2807-3C5D-8A7F-5422542E867F]@0xffffff7fa0c78000
            dependency: com.apple.iokit.IOGraphicsFamily(576.1)[B1C0006F-E1F5-37D9-9548-5F918E92B422]@0xffffff7fa23a5000
            dependency: com.apple.iokit.IOAcceleratorFamily2(438.5.4)[D695D9DA-7C20-35D6-910F-E7A332A0F515]@0xffffff7fa2724000
BSD process name corresponding to current thread: com.apple.photos
Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev
Mac OS version:
19F101
Kernel version:
Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64
Kernel UUID: 54F1A78D-6F41-32BD-BFED-4381F9F6E2EF
Kernel slide:     0x000000001e400000
Kernel text base: 0xffffff801e600000
__HIB  text base: 0xffffff801e500000
System model name: MacBookPro16,1 (Mac-E1008331FDC96864)
System shutdown begun: NO
System uptime in nanoseconds: 12297974573565
last loaded kext at 42637686706: >!UAudio   323.1 (addr 0xffffff7fa5abd000, size 434176)
loaded kexts:
@filesystems.smbfs  3.4.3
>AudioAUUC  1.70
@kext.AMDRadeonX6000    3.0.9
@kext.AMDRadeonServiceManager   3.0.9
>!AGraphicsDevicePolicy 5.2.4
@fileutil   20.036.15
@AGDCPluginDisplayMetrics   5.2.4
>!AHV   1
|IOUserEthernet 1.0.1
|IO!BSerialManager  7.0.5f6
>AGPM   111.4.4
>!APlatformEnabler  2.7.0d0
>X86PlatformShim    1.0.0
>pmtelemetry    1
>!AUpstreamUserClient   3.6.8
@Dont_Steal_Mac_OS_X    7.0.0
>AGDCBacklightControl   5.2.4
>BridgeAudioCommunication   6.70.7
>!A!IKBLGraphics    14.0.6
>ACPI_SMC_PlatformPlugin    1.0.0
>!AThunderboltIP    3.1.4
>!ABacklight    180.3
>!AAVEBridge    6.1
>!AHIDALSService    1
>!ATopCaseHIDEventDriver    3430.1
>!A!ICFLGraphicsFramebuffer 14.0.6
>!A!ISlowAdaptiveClocking   4.0.0
>!AMuxControl2  5.2.4
>!ABridgeAudio!C    6.70.7
>!AGFXHDA   100.1.428
>!AMCCSControl  1.14
>!AFIVRDriver   4.1.0
>!A!IPCHPMC 2.0.1
@filesystems.autofs 3.0
>usb.realtek8153patcher 5.0.0
>usb.!UHostBillboardDevice  1.0
|SCSITaskUserClient 422.120.3
>BCMWLANFirmware4355.Hashstore  1
>BCMWLANFirmware4364.Hashstore  1
>BCMWLANFirmware4377.Hashstore  1
>!ABCMWLANBusInterfacePCIe  1
>!AFileSystemDriver 3.0.1
@filesystems.hfs.kext   522.100.5
@BootCache  40
@!AFSCompression.!AFSCompressionTypeDataless    1.0.0d1
@!AFSCompression.!AFSCompressionTypeZlib    1.0.0
>!AVirtIO   1.0
@filesystems.apfs   1412.120.2
@private.KextAudit  1.0
>!ASmartBatteryManager  161.0.0
>!AACPIButtons  6.1
>!ASMBIOS   2.1
>!AACPIEC   6.1
>!AAPIC 1.7
$!AImage4   1
@nke.applicationfirewall    303
$TMSafetyNet    8
@!ASystemPolicy 2.0.0
|EndpointSecurity   1
>!UAudio    323.1
@kext.AMDRadeonX6100HWLibs  1.0
@kext.AMDRadeonX6000HWServices  3.0.9
|IOAVB!F    850.1
>!ASSE  1.0
>IOPlatformPluginLegacy 1.0.0
@!AGPUWrangler  5.2.4
>usb.cdc.acm    5.0.0
>usb.serial 6.0.0
>!AHDA!C    283.15
|IOHDA!F    283.15
@kext.AMDRadeonX6000Framebuffer 3.0.9
>!ABacklightExpert  1.1.0
>!AActuatorDriver   3440.1
>!AHIDKeyboard  209
>!ASMBusPCI 1.0.14d1
>!AHS!BDriver   3430.1
>IO!BHIDDriver  7.0.5f6
>!AMultitouchDriver 3440.1
>!AInputDeviceSupport   3440.8
|IOAccelerator!F2   438.5.4
>X86PlatformPlugin  1.0.0
|IOSlowAdaptiveClocking!F   1.0.0
>!AGraphicsControl  5.2.4
>!AThunderboltEDMSink   4.2.3
>!AThunderboltDPOutAdapter  6.2.6
|IONDRVSupport  576.1
|IO!BHost!CUARTTransport    7.0.5f6
|IO!BHost!CTransport    7.0.5f6
>!A!ILpssUARTv1 3.0.60
>!A!ILpssUARTCommon 3.0.60
>!AOnboardSerial    1.0
@kext.AMDSupport    3.0.9
@!AGraphicsDeviceControl    5.2.4
>!ASMBus!C  1.0.18d1
|IOGraphics!F   576.1
>IOPlatformPlugin!F 6.0.0d8
@plugin.IOgPTPPlugin    840.3
|IOEthernetAVB!C    1.1.0
@kext.triggers  1.0
>usb.IOUSBHostHIDDevice 1.2
>usb.cdc.ecm    5.0.0
>usb.cdc.ncm    5.0.0
>usb.cdc    5.0.0
>usb.networking 5.0.0
>usb.!UHostCompositeDevice  1.2
>usb.!UHub  1.2
>!ABCMWLANCore  1.0.0
>mDNSOffloadUserClient  1.0.1b8
>IOImageLoader  1.0.0
|IO80211!FV2    1200.12.2b1
>corecapture    1.0.4
|IOSkywalk!F    1
|IOSurface  269.11
@filesystems.hfs.encodings.kext 1
|IOAudio!F  300.2
@vecLib.kext    1.2.0
|IOSerial!F 11
>!AXsanScheme   3
>usb.!UVHCIBCE  1.2
>usb.!UVHCI 1.2
>usb.!UVHCICommonBCE    1.0
>usb.!UVHCICommon   1.0
>!AEffaceableNOR    1.0
|IOBufferCopy!C 1.1.0
|IOBufferCopyEngine!F   1
|IONVMe!F   2.1.0
>!AThunderboltPCIDownAdapter    2.5.4
>!AThunderboltDPInAdapter   6.2.6
>!AThunderboltDPAdapter!F   6.2.6
>!AHPM  3.4.4
>!A!ILpssI2C!C  3.0.60
>!A!ILpssDmac   3.0.60
>!A!ILpssI2C    3.0.60
>!AThunderboltNHI   5.8.6
|IOThunderbolt!F    7.6.1
>usb.!UXHCIPCI  1.2
>usb.!UXHCI 1.2
>usb.!UHostPacketFilter 1.0
|IOUSB!F    900.4.2
>!AEFINVRAM 2.1
>!AEFIRuntime   2.1
>!ASMCRTC   1.0
|IOSMBus!F  1.1
|IOHID!F    2.0.0
$quarantine 4
$sandbox    300.0
@kext.!AMatch   1.0.0d1
>!AKeyStore 2
>!UTDM  489.120.1
|IOSCSIBlockCommandsDevice  422.120.3
>!ACredentialManager    1.0
>KernelRelayHost    1
>!ASEPManager   1.0.1
>IOSlaveProcessor   1
>!AFDEKeyStore  28.30
>!AEffaceable!S 1.0
>!AMobileFileIntegrity  1.0.5
@kext.CoreTrust 1
|CoreAnalytics!F    1
|IOTimeSync!F   840.3
|IONetworking!F 3.4
>DiskImages 493.0.0
|IO!B!F 7.0.5f6
|IO!BPacketLogger   7.0.5f6
|IOUSBMass!SDriver  157.121.1
|IOSCSIArchitectureModel!F  422.120.3
|IO!S!F 2.1
|IOUSBHost!F    1.2
>usb.!UCommon   1.0
>!UHostMergeProperties  1.2
>!ABusPower!C   1.0
|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
rxhanson commented 4 years ago

Thanks for reporting. From my perspective, this looks to be unrelated to Rectangle.

Kernel Panics are primarily caused by only two things, hardware faults and third-party kernel extensions.

The kernel extension backtrace is two Apple kexts, and there's

BSD process name corresponding to current thread: com.apple.photos

To me, this points to a hardware fault with your external monitor.

If you have any 3rd party kexts (I can't really tell from the kexts listed), then I would first try to disable them.

maluramichael commented 4 years ago

@rxhanson so i tested it for 2 more days. Today it crashed without Rectangle. Anyway thank you for your time and help.

rxhanson commented 4 years ago

Thanks for following up. I was also thinking that you may have seen more kernel panics with Rectangle running because Rectangle makes macOS calls to obtain display information, and maybe an external monitor hardware fault could be exposed more often with certain software requests? Just a guess.