Big Sur panic when connect/disconnect usb-c dock

Big Sur panic when connect/disconnect usb-c dock (tested with many usb–c docks including baseus, ugreen, non apple – not reproduced with apple multiport adapter).

Problem persist! I have many panics every day!

panic(cpu 7 caller 0xffffff8017898976): [kext.kalloc.2048]: element modified after free (off:1672, val:0xffffffff00000000, sz:2048, ptr:0xffffff93d7fa5800, prot:zero)
1672: 0xffffffff00000000
Backtrace (CPU 7), Frame : Return Address
0xffffffa1daab2640 : 0xffffff80170870ad
0xffffffa1daab2690 : 0xffffff80171cddd3
0xffffffa1daab26d0 : 0xffffff80171be3ca
0xffffffa1daab2720 : 0xffffff801702ba2f
0xffffffa1daab2740 : 0xffffff80170868cd
0xffffffa1daab2860 : 0xffffff8017086bc3
0xffffffa1daab28d0 : 0xffffff801789694a
0xffffffa1daab2940 : 0xffffff8017898976
0xffffffa1daab2dc0 : 0xffffff80170e5a26
0xffffffa1daab2e30 : 0xffffff801709668c
0xffffffa1daab2e80 : 0xffffff80177a8822
0xffffffa1daab2ea0 : 0xffffff801a1596dc
0xffffffa1daab2ec0 : 0xffffff801a1676bc
0xffffffa1daab2f20 : 0xffffff801a159e2e
0xffffffa1daab2fc0 : 0xffffff801a15bfa7
0xffffffa1daab3270 : 0xffffff801a15fe3d
0xffffffa1daab3540 : 0xffffff801a15cda2
0xffffffa1daab37f0 : 0xffffff801a15a333
0xffffffa1daab3950 : 0xffffff801a1547b1
0xffffffa1daab3b50 : 0xffffff801787fb4a
0xffffffa1daab3b90 : 0xffffff801731a98f
0xffffffa1daab3bd0 : 0xffffff80173407c8
0xffffffa1daab3c90 : 0xffffff80173264a8
0xffffffa1daab3ee0 : 0xffffff8017327059
0xffffffa1daab3f40 : 0xffffff8017739fce
0xffffffa1daab3fa0 : 0xffffff801702c1f6
Kernel Extensions in backtrace:
com.apple.security.sandbox(300.0)[F9746111-2761-31A8-A9C8-3DCA8976E468]@0xffffff801a148000->0xffffff801a18dfff
dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[7C10DA84-DFD9-3C2D-B503-E648E488EC9D]@0xffffff80186c0000->0xffffff80186d5fff
dependency: com.apple.iokit.IOStorageFamily(2.1)[A78CAAA2-43A6-38EF-AEDA-3B957D358855]@0xffffff8019c6d000->0xffffff8019c7efff
dependency: com.apple.kext.AppleMatch(1.0.0d1)[DB7AEFA5-928C-3B7F-87CC-EDC47D98B267]@0xffffff80186bc000->0xffffff80186befff

Process name corresponding to current thread: update_dyld_sim_shared_cache
Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version:
20F5046g

Kernel version:
Darwin Kernel Version 20.5.0: Thu Apr 15 05:31:19 PDT 2021; root:xnu-7195.120.38.111.1~4/RELEASE_X86_64

My reports in feedback assistant: FB9085399, FB9084201, FB9080122, FB9078447, FB9077541, FB9073646, FB9069424, FB9036423, FB9006281, FB8996761, FB8985931, FB8984349, FB8982979 ...

I have this kernel crash repeatedly. as often as 2 times a day, though not every day since I moved to a CalDigit TB3+ dock and added a second display (so for 6+ month). For about a year I was using an Anker 13-in-1 dock with a single monitor without issues. The anker dock would not support a second display at all (no matter what I tried including working with Anker who said it should work, and it does on my wife's 13" from 2017), so I replaced the dock with CalDigit which appeared to work but I started having these kernel panics. Most commonly when coming out of sleep, or if I disconnect and reconnect the dock. I have a 2019 16" MBP i7 model. It primarily is plugged in 24x7, I rarely move it.

I have 2x Thinkpad p27h-10 displays. 1 connected to the dock on USB-c, the other on display port.

After seeing this post about display port daisy chaining being enabled, I checked and one of the 2 displays in fact had this on. (I tried to initially configure this without docks to daisy chain before I noted though this chipsets support it OS X does not). I will monitor this, and come back here if I continue to have kernel panics now that DP chaining is off. I wonder if the daisy chaining was also preventing the Anker dock from seeing the display.

Similar problem here:

  • Macbook Pro 2019
  • Big Sur 11.6,
  • USB-C Hub: https://www.amazon.com/gp/product/B08DHKMQ1D/
  • Hisense H8G as monitor
  • 4K HDR 60hz HDMI connection

Whenever my laptop wakes while attached to this hub AND this hub is connected to my Hisense H8G via HDMI, the fan spins up to top speed for 1-2 seconds and then crashes (kernel panic). Sometimes it happens without sleep/wake, but sleep/wake is the guaranteed way to make it happen.

I'm convinced the problem is related solely to the display connection aspect of this connection. If I remove the HDMI cable, but keep the USB-C hub connected, the problem does not persist.

I did not experience this on Catalina. This only occured once I upgraded to Big Sur.

I confirmed the following things that were suggested above:

  • Automatic Graphics Switching: off
  • Power Nap: off
  • I don't have any daisy chain or similar options on my H8G
  • I don't have any DisplayPort or associated settings on my H8G

I have the same issue with a MB 16" and a HP G2 docking station with two LG 27" 4K monitors connected to the dock via usb-c. Whenever waking up the Macbook from sleep or when changing something with the cabling, the Macbook panics.

For me there is a work-around however; I keep the first LG monitor connected via usb-c to the thunderbolt port of the dock. The second monitor was connected via usb-c to the usb-c/displayport port of the dock. I switched the single usb-c cable to a plain display-port cable plus additional usb-c to usb-a cable (so I can still use the usb-hub functionality of the monitor). With this setup the panics are gone (fingers crossed).

HTH

I know it's too early, but apparently, the update to Monterey has fixed this for me, it seems. Fingers crossed.

2 days without crashes after upgrading to Monterey. Is this real??? I mean it is too good to be true, right ?

Same here, no more crashes since Monterey upgrade.

Hate to burst your bubble, but the problem still exists in Monterey. It may happen less frequently. It took a week before I hit my first crash, and then it crashed about 5 times in the next 2 days. Then I went about 1.5 weeks and now its crashing multiple times a day again. Exact same stack trace as before.

Also seems to be resolved in :

  System Version: macOS 12.0.1 (21A559)   Kernel Version: Darwin 21.1.0

Been running a week or so with 12.0.1 and back connected to the CalDigit USB-C Pro Dock - single cable Thunderbolt 3 docking, leveraging both DisplayPort connectors at 4k @ 60Hz. It takes an insanely long time for the monitors to re-sync after blanking (I think I prohibit sleep), but no more panics.

However, now web-cams plugged in via the Thunderbolt 3 dock - no longer work. With a simple passive USB-C -> USB-A adaptor, they do work fine. sigh. (so much for single cable docking).

This issue still persists for me in 11.6.1 on a daily basis, is there any known workaround (other than switching to a different computer manufacturer or upgrading a feature release?).

To pour more fire on this flame, yes, this is 100% reproducible in Big Sur 11.6. Plugged into Caldigit hub with external monitor via displayport. Cycling the power a few times on the hub will trigger it. Or waiting for the laptop to sleep overnight. I've been sending crashdumps every night for a week, if anyone at Apple feels like looking into it.

This has been happening for awhile. I am hating the idea but did they just release new macs with ports again and suddenly docs are not working?

Mac Crash 24 nov 7:56am

panic(cpu 4 caller 0xffffff800bfc5396): Kernel trap at 0xffffff800c461e4e, type 14=page fault, registers: CR0: 0x000000008001003b, CR2: 0xffffdf9359e5a800, CR3: 0x00000002c6bb41da, CR4: 0x00000000003626e0 RAX: 0xffffdf9359e5a800, RBX: 0x0000000000000000, RCX: 0xffffff86a7726100, RDX: 0x00000000fade0c02 RSP: 0xffffffb0c540b910, RBP: 0xffffffb0c540b910, RSI: 0x0000000000000000, RDI: 0xffffff935aed0d00 R8: 0xffffffa05a52f908, R9: 0x00000000000007d0, R10: 0x000000044b8b6bbc, R11: 0x0000000000000000 R12: 0xffffffb0c540ba78, R13: 0xffffff935aed0d00, R14: 0x00000000000000e0, R15: 0xffffff86912ceac0 RFL: 0x0000000000010202, RIP: 0xffffff800c461e4e, CS: 0x0000000000000008, SS: 0x0000000000000000 Fault CR2: 0xffffdf9359e5a800, Error code: 0x0000000000000000, Fault CPU: 0x4, PL: 0, VF: 1

Backtrace (CPU 4), Frame : Return Address 0xffffffb0c540b330 : 0xffffff800be8d25d  0xffffffb0c540b380 : 0xffffff800bfd49d3  0xffffffb0c540b3c0 : 0xffffff800bfc4fca  0xffffffb0c540b410 : 0xffffff800be31a2f  0xffffffb0c540b430 : 0xffffff800be8ca7d  0xffffffb0c540b550 : 0xffffff800be8cd73  0xffffffb0c540b5c0 : 0xffffff800c69d8fa  0xffffffb0c540b630 : 0xffffff800bfc5396  0xffffffb0c540b7b0 : 0xffffff800bfc507d  0xffffffb0c540b800 : 0xffffff800be31a2f  0xffffffb0c540b820 : 0xffffff800c461e4e  0xffffffb0c540b910 : 0xffffff800c3e9f44  0xffffffb0c540b930 : 0xffffff800d85911a  0xffffffb0c540ba60 : 0xffffff800d85bd14  0xffffffb0c540bbd0 : 0xffffff800d8637e0  0xffffffb0c540bc50 : 0xffffff800c69a270  0xffffffb0c540bc80 : 0xffffff800c3edd1c  0xffffffb0c540bd10 : 0xffffff800c3f4ef4  0xffffffb0c540bd50 : 0xffffff800c41413f  0xffffffb0c540be00 : 0xffffff800becd7de  0xffffffb0c540be90 : 0xffffff800bed1a10  0xffffffb0c540bec0 : 0xffffff800be84743  0xffffffb0c540bef0 : 0xffffff800be319fb     Kernel Extensions in backtrace:      com.apple.iokit.EndpointSecurity(1.0)[A69AA270-6627-36D9-A0E1-53A23457AE51]@0xffffff800d84f000->0xffffff800d89efff       dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[61A199C8-BE3B-3351-84B8-266A6A43632F]@0xffffff800d4c0000->0xffffff800d4d5fff       dependency: com.apple.security.quarantine(4)[881FE459-BBDC-3E19-BBF8-2D58415A2AE9]@0xffffff800ef42000->0xffffff800ef49fff

Process name corresponding to current thread: MTLCompilerService

Mac OS version: 20G224

My Macbook Model is 'MacBook Pro (16-inch, 2019)' and OS is 'Monterey 12.0.1(21A559)' The fan suddenly starts spinning quickly, and it reboots. It happens once every few hours. I am currently neurotic. So, I am using it with only power connected to the MacBook. What happens when this happens on a DELL laptop? They come to my seat and fix my laptop. For a dell laptop the same price as the macbook pro, it's 100%. I think all the devices designed and built by Apple are great, but they need a lot of improvement in terms of after-sales support.

Updated to OS11.6. Still crashes with monitor attached through HP Docking station to MBP 2019, 16". It is as decribed above, with no fix in sight. Not satisfying, Apple.

Same here, on 11.6.1. Sometimes crashes, sometimes not, when plugging back to my dell dock-station / Dell screen with my MacBook Pro (16-inch, 2019). (also fan spin at their maximum just before the reboot).

This is really annoying. Isn't there any monitor driver we could force update to fix the issue?

Come on Apple, get your sh*t together and fix this. It's been happening for months on every version for every user that has a MBP 16" and uses a dock.

Big Sur panic when connect/disconnect usb-c dock
 
 
Q