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 was having the "element modified after free" kernel panic issue on my 16 inch MBP running 11.6 when connecting to a Dell monitor via usb-c cable which is also the power cable. After having gone through this thread here is a list of things that helped few users.

Thanks to one of the posts here, turning off MST has resolved my issue on 11.6 itself.

  1. Update OS to 12.x
  2. use DisplayPort 1.1 (instead of the default 1.2) on monitor, menu -> Display -> DP 1.2 -> Disable
  3. On the monitor, turn off MST which is only needed to daisy chain monitors
  4. Switch from USB c to HDMI for display
  5. Use different USB c cable or Apple multiport adapter

same issue, mac mini 2018; even with wiped and freshly installed system with nothing except HDMI and ethernet plugged in, no additional SW added, merely logging in and letting it sit would reliably crash it after 25-26 minutes. Took it to "genius" bar last week, they kept the machine for a few days and said they couldn't repro. I brought it home same setup and it was fine for a whole day -- they didn't admit to having done anything to fix it but I was happy. That wasn't long-lived. Now it has crashed every day or two which is less frequently than before but problem persists. Also note this happened last summer too and the geniuses recommended I replace the logic board last fall (cost me almost $500), which also did not fix the problem -- a problem they refuse to admit there is ("our diagnostics give it a clean bill of health") Shame, Apple

I have a Kensington TB dock (dual monitors) which had been working fine, no new hardware or software aside from maybe MacOS (Big Sur) updates. It suddenly started experiencing kernel panics on my 2019 16" MPB when I was not using it (never when I was). This would happen multiple times a day if I rebooted and then ;eft it running. I had an almost exact duplicate setup at another location (same dock, same type cables connecting monitors) and it never had a kernel panic. I finally decided to try to debug the setup difference and found that if I swapped out the TB3 cable connected between the dock and the MBP 16" I now no longer have kernel panics.

We are also seeing this issue in our office.

20x Apple 2019 Intel, Macbook Pros. Using the WD19 Dell dock, with shipping firmware and the latest firmware as of March 30'th (Just came out)

I've also just confirmed this issue on a HP USB-C Dock G4, again with latest firmware. While inconsistent, absoloutely can hard crash the mac (fan spins hard) upon plugging in the dock, sometimes. Probably one in 3 times? Very bad.

Precise error is.

"your computer has been restarted due to a problem" Looks like this https://i.ytimg.com/vi/s9Lry8SXbgI/hqdefault.jpg

Very, very frustrating, we're talking about $180 USD and $250 USD docks here, the WD19 is a powerful high quality dock. Based on the replies here, it seems to me, there's no consistent fix for this.

We are also seeing this issue in our office.

20x Apple 2019 Intel, Macbook Pros. Using the WD19 Dell dock, with shipping firmware and the latest firmware as of March 30'th (Just came out)

I've also just confirmed this issue on a HP USB-C Dock G4, again with latest firmware. While inconsistent, absolutely can hard crash the mac (fan spins hard) upon plugging in the dock, sometimes. Probably one in 3 times? Very bad. Also of interest is the dock otherwise works fine. The problem only occurs unplugging or plugging in the dock sometimes. If you catch it in the right mood, it will work. (You may also see, mouse lag oddities)

Precise error is. "your computer has been restarted due to a problem" (if you google that, you may see a similar black image of it)

Very, very frustrating, we're talking about $180 USD and $250 USD docks here, the WD19 is a powerful high quality dock. Based on the replies here, it seems to me, there's no consistent fix for this?

I can reliably reproduce it on my MacBook Pro (16-inch, 2019) 2.6 GHz 6-Core Intel Core i7 with Big Sur 11.6.2 by plugging Razer Viper 8khz mouse via usb-c.

Interesting that I'm seeing this problem on a Macbook pro (16-inch, 2021) M1 - running Monterey 12.3.1 and a razer thunderbolt 4.0 hub with two monitors plugged in via displayport. Switched to a smaller 3 port hub and used the HDMI built into the laptop and the problem went away, I was getting a reboot on wake up at least 3 times a day otherwise.

Same error every day come back to work when MacBook Pro 16' 2021 M1 pro wake up. macOS is Montery 12.5. Two monitors connected, one by type-c DC directly, one by ugreen docker to VGA.

panic(cpu 0 caller 0xfffffe001dc7de2c): DCPEXT0 PANIC - ASSERT: AFKObject.cpp:27: [__null != p] - dcpdptx-port-epic(34) ASSERT: AFKObject.cpp:27: [__null != p] RTKit: RTKit-1827.120.2.debug - Client: local-t600xdcp.release !UUID: 1317b7f6-3acf-3776-93f7-a66ed223485b Time: 0x0000018068dd76d6

Faulting task 34 Call Stack: 0x000000000001d94c 0x000000000001d45c 0x000000000001d318 0x00000000000203e8 0x000000000003149c 0x0000000000052a8c 0x000000000006e700 0x00000000000308b0 0x000000000001e0ec 0x00000000000306e0 0x000000000006cbe0 0x00000000000b4988 0x00000000000af210 0x00000000000308b0 0x000000000001e0ec 0x00000000000306e0 0x00000000000ba1e4 0x00000000000a3130 0x00000000000a184c 0x00000000000308b0 0x000000000001e0ec 0x00000000000306e0 0x00000000000a175c 0x0000000000039f24 0x0000000000034b84 0x000000000001dde0 0x0000000000011230

Exactly the same thing happening to me. I use a Dell dock and two monitors.

Seeing the same thing when I dock/undock. The TouchBar often flashes/flickers before the crash happens if I'm working on the laptop after undocking. I send a report into Apple each time (example below). Happens 2 to 5 times in a row before stabilizing.

The error message changes a little each time (example below - often has "Sleep/Wake hang detected"). Send into Apple every time.

Dell thunderbolt dock and Sabren monitor adapter with 2 monitors running. OS 12.6 on a 2020 13-inch MacBook Pro with Intel i7.

Is there a workaround for this? Are Apple developers monitoring this site and is there a fix coming at some stage? Are there any docks that work? Is it a dock issue or is it related to transferring from laptop monitor to external monitors?

panic(cpu 1 caller 0xfffffff028ce6bac): Sleep/Wake hang detected @IOPMrootDomain.cpp:12600 Debugger message: panic Memory ID: 0x6 OS release type: User OS version: 19P6066 macOS version: 21G83 Kernel version: Darwin Kernel Version 21.6.0: Wed Aug 10 14:04:32 PDT 2022; root:xnu-8020.141.5~1/RELEASE_ARM64_T8010 Kernel UUID: ED0C23DC-B156-3B2D-A95D-022856D12AD5 iBoot version: iBoot-7459.141.1 secure boot?: YES x86 EFI Boot State: 0x16 x86 System State: 0x1 x86 Power State: 0x1 x86 Shutdown Cause: 0x5 x86 Previous Power Transitions: 0x100010001 PCIeUp link state: not available Paniclog version: 13 Kernel slide:   0x0000000020f48000 Kernel text base: 0xfffffff027f4c000 mach_absolute_time: 0x1ed7308843a Epoch Time:    sec    usec  Boot  : 0x62fdad8e 0x0007708f  Sleep  : 0x62fdbea5 0x0006bd8b  Wake  : 0x62fdc2b1 0x000ac305  Calendar: 0x62ff0d66 0x000916ac

Zone info:  Zone map: 0xffffffe036df4000 - 0xffffffe636df4000  . VM  : 0xffffffe036df4000 - 0xffffffe11d458000  . RO  : 0xffffffe11d458000 - 0xffffffe16a124000  . GEN0 : 0xffffffe16a124000 - 0xffffffe250788000  . GEN1 : 0xffffffe250788000 - 0xffffffe336dec000  . GEN2 : 0xffffffe336dec000 - 0xffffffe41d454000  . GEN3 : 0xffffffe41d454000 - 0xffffffe503abc000  . DATA : 0xffffffe503abc000 - 0xffffffe636df4000  Metadata: 0xffffffee581a0000 - 0xffffffee599a0000  Bitmaps : 0xffffffee599a0000 - 0xffffffee59c04000

CORE 0: PC=0xfffffff02878a924, LR=0xfffffff02878a924, FP=0xffffffe636f43f00 CORE 1 is the one that panicked. Check the full backtrace for details. Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space Panicked task 0xffffffe41d4f8628: 0 pages, 230 threads: pid 0: kernel_task Panicked thread: 0xffffffe3363db0c8, backtrace: 0xffffffee59c637f0, tid: 47855  lr: 0xfffffff02875a64c fp: 0xffffffee59c63830  lr: 0xfffffff02875a3d4 fp: 0xffffffee59c638a0  lr: 0xfffffff028893e48 fp: 0xffffffee59c63910  lr: 0xfffffff028892dec fp: 0xffffffee59c639c0  lr: 0xfffffff028db95fc fp: 0xffffffee59c639d0  lr: 0xfffffff02875a0f0 fp: 0xffffffee59c63d60  lr: 0xfffffff02875a0f0 fp: 0xffffffee59c63dc0  lr: 0xfffffff0298df38c fp: 0xffffffee59c63de0  lr: 0xfffffff028ce6bac fp: 0xffffffee59c63e20  lr: 0xfffffff0287abea0 fp: 0xffffffee59c63f20  lr: 0xfffffff028dc45a0 fp: 0x0000000000000000

Had this issue for the first time today.

  • Mac mini (M1, 2020)
  • Monterey 12.6
  • Display 1 - 21.5in, 1920x1080 via built in HDMI;
  • Display 2 - 27in, 1920x1080 via HDMI through USB-C dongle (my only option for a second display)

Same issue for me plugging a Dell monitor via Display port into Macbook 16" 2019:

2.4 GHz 8-Core Intel Core i9 Intel UHD Graphics 630 1536 MB Ventura 13.2.1 (22D68)

Running latest Ventura so OSX doesn't seem to be solving the issue.

I can confirm this is also an issue now on the 27" 4k Dell S2722QC The docks built into this monitor are fully standardised docks, like the WD19, WD15 etc.

Totally compatible with HP, Dell, devices, even Android USB-C phones with display capabilities, however Apple, somehow have either a physical flaw in this series of MacBook or a major software driver error for the display / thunderbolt interface, yet it remains unpatchd.

This stuff is standardised. This is absoloutely an Apple fault, not a Dell / Thunderbolt fault. Heck my iPad Air 4 works on these docks.

The problem lasted several years, no one solved it. So many cables and monitors fails, it must be an Apple issue.

Macbook Pro 16' 2019 + Dell U2719DC, worked great together for 3 years. Now suddenly the laptop freezes and the screen flickers when the monitor is plugged in. Took me awhile to figure what's causing it as the monitor is always plugged in. Other devices work just fine with the monitor. Apple, please fix.

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