MacBook Pro kernel panics when using internal display
A family member gave me this MacBook Pro so I could swap the screen on to my personal machine. He a bought this machine in 2016 for his photography business, he tells me one day a camera fell onto the MacBook's keyboard and immediately killed the entire machine.
When I first got the machine I tried turning it on but it just beeped 3 times (usually means RAM failure but I've seen it occur in machines with dead GPUs, since this Mac has soldered RAM it's really difficult to test different hardware), I swapped the display and forgot about it. Some time after I decided to charge the laptop just in case the battery was still functional, suddenly it chimed! But as soon as I opened the lid it died showing all kinds of graphical artifacts.
Trying to power on the machine in clamshell mode is also useless as for some reason the artifacts are transferred to the external display and the machine just restarts. The only way I've got the Mac to work is by plugin all the external peripherals I need and the charger, turn it on, close the lid, and then connect the HDMI cable for the external display. Following this method the Mac is very stable, even when the CPU and RAM are under heavy loads, I even managed to edit a 1080p video with Final Cut.
It seems that the MacBook refuses to work with the display that was plugged in when it was powered on, but any additional ones work without issue.
Even after constant crashes I've only managed to recover one of the error reports that the computer generates after each kernel panic:
mp_kdp_enter() timed-out on cpu 0, NMI-ing
mp_kdp_enter() NMI pending on cpus: 0 1 2 3
mp_kdp_enter() timed-out during locked wait after NMI;expected 4 acks but received 1 after 34323828 loops in 1450000000 ticks
panic(cpu 0 caller 0xffffff800d3cceb7): Double fault at 0xffffff800d31cb53, registers:
CR0: 0x000000008001003b, CR2: 0xffffffb08712af78, CR3: 0x0000000011548000, CR4: 0x00000000003626e0
RAX: 0x2abf0af71bd40053, RBX: 0x0000000000000080, RCX: 0x0000000000000000, RDX: 0x0000000000000001
RSP: 0xffffffb08712af80, RBP: 0xffffffb08712b1c0, RSI: 0xffffffb01920b498, RDI: 0xffffff904303f0a8
R8: 0x0000000000000000, R9: 0x0000000000000000, R10: 0x0000000000000000, R11: 0x0000000000000000
R12: 0xffffffb01920b498, R13: 0xffffffa50f377540, R14: 0x000000000000000e, R15: 0xffffffb01920b498
RFL: 0x0000000000010082, RIP: 0xffffff800d31cb53, CS: 0x0000000000000008, SS: 0x0000000000000010
Error code: 0x0000000000000000
@trap_native.c:168
Panicked task 0xffffff96a93b8670: 158 threads: pid 0: kernel_task
Backtrace (CPU 0), panicked thread: 0xffffffa50f377540, Frame : Return Address
0xffffff800d10c240 : 0xffffff800d279a3d
0xffffff800d10c290 : 0xffffff800d3dca26
0xffffff800d10c2d0 : 0xffffff800d3cbd93
0xffffff800d10c320 : 0xffffff800d219a90
0xffffff800d10c340 : 0xffffff800d279e0d
0xffffff800d10c460 : 0xffffff800d2795c6
0xffffff800d10c4c0 : 0xffffff800db14b53
0xffffff800d10c5b0 : 0xffffff800d3cceb7
0xffffff800d10c6c0 : 0xffffff800db1c938
0xffffff800d10c6d0 : 0xffffff800d21a30f
0xffffffb08712b1c0 : 0xffffff800d3cbb2e
0xffffffb08712b230 : 0xffffff800d219a90
0xffffffb08712b250 : 0xffffff800d31ccbf
0xffffffb08712b580 : 0xffffff800d3cbb2e
0xffffffb08712b5f0 : 0xffffff800d219a90
0xffffffb08712b610 : 0xffffff800d31ccbf
0xffffffb08712b940 : 0xffffff800d3cbb2e
0xffffffb08712b9b0 : 0xffffff800d219a90
0xffffffb08712b9d0 : 0xffffff800d31ccbf
0xffffffb08712bd00 : 0xffffff800d3cbb2e
0xffffffb08712bd70 : 0xffffff800d219a90
0xffffffb08712bd90 : 0xffffff800d31ccbf
0xffffffb08712c0c0 : 0xffffff800d3cbb2e
0xffffffb08712c130 : 0xffffff800d219a90
0xffffffb08712c150 : 0xffffff800d31ccbf
0xffffffb08712c480 : 0xffffff800d3cbb2e
0xffffffb08712c4f0 : 0xffffff800d219a90
0xffffffb08712c510 : 0xffffff800d31ccbf
0xffffffb08712c840 : 0xffffff800d3cbb2e
0xffffffb08712c8b0 : 0xffffff800d219a90
0xffffffb08712c8d0 : 0xffffff800d31ccbf
0xffffffb08712cc00 : 0xffffff800d3cbb2e
0xffffffb08712cc70 : 0xffffff800d219a90
0xffffffb08712cc90 : 0xffffff800d31ccbf
0xffffffb08712cfc0 : 0xffffff800d3cbb2e
0xffffffb08712d030 : 0xffffff800d219a90
0xffffffb08712d050 : 0xffffff800d31ccbf
0xffffffb08712d380 : 0xffffff800d3cbb2e
0xffffffb08712d3f0 : 0xffffff800d219a90
0xffffffb08712d410 : 0xffffff800d31ccbf
0xffffffb08712d740 : 0xffffff800d3cbb2e
0xffffffb08712d7b0 : 0xffffff800d219a90
0xffffffb08712d7d0 : 0xffffff800d31ccbf
0xffffffb08712db00 : 0xffffff800d3cbb2e
0xffffffb08712db70 : 0xffffff800d219a90
0xffffffb08712db90 : 0xffffff800d31ccbf
0xffffffb08712dec0 : 0xffffff800d3cbb2e
0xffffffb08712df30 : 0xffffff800d219a90
0xffffffb08712df50 : 0xffffff800d31ccbf
0xffffffb08712e280 : 0xffffff800d3cbb2e
0xffffffb08712e2f0 : 0xffffff800d219a90
0xffffffb08712e310 : 0xffffff800d31ccbf
0xffffffb08712e640 : 0xffffff800d3cbb2e
0xffffffb08712e6b0 : 0xffffff800d219a90
0xffffffb08712e6d0 : 0xffffff800d31ccbf
0xffffffb08712ea00 : 0xffffff800d3cbb2e
0xffffffb08712ea70 : 0xffffff800d219a90
0xffffffb08712ea90 : 0xffffff800d31ccbf
0xffffffb08712edc0 : 0xffffff800d3cbb2e
0xffffffb08712ee30 : 0xffffff800d219a90
0xffffffb08712ee50 : 0xffffff800d2ec4c4
0xffffffb08712ef40 : 0xffffff800d39a041
0xffffffb08712ef70 : 0xffffff800d3cb5b4
0xffffffb08712efd0 : 0xffffff800d219c3d
0xffffffbe0136bf40 : 0xffffff800d2a95ca
0xffffffbe0136bf80 : 0xffffff800d2a97c9
0xffffffbe0136bfa0 : 0xffffff800d21919e
Process name corresponding to current thread (0xffffffa50f377540): kernel_task
Mac OS version:
21H1015
Kernel version:
Darwin Kernel Version 21.6.0: Sun Dec 17 22:55:27 PST 2023; root:xnu-8020.240.18.706.2~1/RELEASE_X86_64
Kernel UUID: 538F8625-C517-37E1-9122-E63C7D6C446E
KernelCache slide: 0x000000000d000000
KernelCache base: 0xffffff800d200000
Kernel slide: 0x000000000d010000
Kernel text base: 0xffffff800d210000
__HIB text base: 0xffffff800d100000
System model name: MacBookPro12,1 (Mac-E43C1C25D4880AD6)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0
System uptime in nanoseconds: 25823262578
Last Sleep: absolute base_tsc base_nano
Uptime : 0x00000006032fbabc
Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000
Wake : 0x0000000000000000 0x0000000559f39f82 0x0000000000000000
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Zone info:
Zone map: 0xffffff9042036000 - 0xffffffb042036000
. PGZ : 0xffffff9042036000 - 0xffffff9043037000
. VM : 0xffffff9043037000 - 0xffffff950fa9d000
. RO : 0xffffff950fa9d000 - 0xffffff96a9369000
. GEN0 : 0xffffff96a9369000 - 0xffffff9b75dcf000
. GEN1 : 0xffffff9b75dcf000 - 0xffffffa042835000
. GEN2 : 0xffffffa042835000 - 0xffffffa50f29b000
. GEN3 : 0xffffffa50f29b000 - 0xffffffa9dbd02000
. DATA : 0xffffffa9dbd02000 - 0xffffffb042036000
Metadata: 0xffffffbdde0e7000 - 0xffffffbdfe0e7000
Bitmaps : 0xffffffbdfe0e7000 - 0xffffffbe010e7000
last started kext at 20577120378: >!AUpstreamUserClient 3.6.9 (addr 0xffffff7fa6097000, size 12288)
loaded kexts:
>!AUpstreamUserClient 3.6.9
>AudioAUUC 1.70
>X86PlatformShim 1.0.0
>AGPM 129
>!APlatformEnabler 2.7.0d0
@filesystems.autofs 3.0
>!AHDAHardwareConfigDriver 340.2
>!AHDA 340.2
>!AFIVRDriver 4.1.0
>!A!IBDWGraphics 18.0.8
>eficheck 1
>!A!IBDWGraphicsFramebuffer 18.0.8
>!AGraphicsDevicePolicy 6.5.7
>!ASMCLMU 212
>!ACameraInterface 7.9.1
>!ALPC 3.1
@AGDCPluginDisplayMetrics 6.5.7
>pmtelemetry 1
|IOUserEthernet 1.0.1
>usb.!UUserHCI 1
>!AHV 1
>!ADiskImages2 126.141.2
>!A!ISlowAdaptiveClocking 4.0.0
>!AThunderboltIP 4.0.3
>AGDCBacklightControl 6.5.7
>ACPI_SMC_PlatformPlugin 1.0.0
>!ABacklight 180.8
>!AMCCSControl 1.16
|SCSITaskUserClient 456.140.3
>!UCardReader 533.120.2
>!AFileSystemDriver 3.0.1
@filesystems.tmpfs 1
@filesystems.lifs 1
@filesystems.apfs 1934.141.2
@filesystems.hfs.kext 583.100.10
@BootCache 40
@!AFSCompression.!AFSCompressionTypeZlib 1.0.0
@!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1
>AirPort.BrcmNIC 1400.1.1
>!AAHCIPort 351.100.4
>!ATopCaseHIDEventDriver 5450.8
@private.KextAudit 1.0
>!ARTC 2.0.1
>!ASmartBatteryManager 161.0.0
>!AACPIButtons 6.1
>!AHPET 1.8
>!ASMBIOS 2.1
>!AACPIEC 6.1
>!AAPIC 1.7
@!ASystemPolicy 2.0.0
@nke.applicationfirewall 402
|IOKitRegistryCompatibility 1
|EndpointSecurity 1
@Dont_Steal_Mac_OS_X 7.0.0
@kec.!AEncryptedArchive 1
@kext.triggers 1.0
>!ASMBusPCI 1.0.14d1
>!UAudio 416.2
>!AAudioClockLibs 140.1
>DspFuncLib 340.2
@kext.OSvKernDSPLib 529
|IOAccelerator!F2 462.9
>!AGraphicsControl 6.5.7
>!AHDA!C 340.2
|IOHDA!F 340.2
|IOAudio!F 340.2
@vecLib.kext 1.2.0
|IO!BSerialManager 9.0.0
|IO!BPacketLogger 9.0.0
|IO!BHost!CUSBTransport 9.0.0
|IO!BHost!CUARTTransport 9.0.0
|IO!BHost!CTransport 9.0.0
>IO!BHost!CPCIeTransport 9.0.0
|IOAVB!F 1040.6
@plugin.IOgPTPPlugin 1040.3
|IOEthernetAVB!C 1.1.0
|CSR!BHost!CUSBTransport 9.0.0
|Broadcom!BHost!CUSBTransport 9.0.0
|Broadcom!B20703USBTransport 9.0.0
>!AIPAppender 1.0
@!AGPUWrangler 6.5.7
|IOSlowAdaptiveClocking!F 1.0.0
>!AThunderboltEDMSink 5.0.3
>!AThunderboltDPOutAdapter 8.5.1
@!AGraphicsDeviceControl 6.5.7
>IOPlatformPluginLegacy 1.0.0
>X86PlatformPlugin 1.0.0
>IOPlatformPlugin!F 6.0.0d8
>!ABacklightExpert 1.1.0
|IONDRVSupport 597
|IOGraphics!F 597
>!ASMBus!C 1.0.18d1
>usb.IOUSBHostHIDDevice 1.2
>usb.cdc 5.0.0
>usb.networking 5.0.0
>usb.!UHostCompositeDevice 1.2
>!AThunderboltDPInAdapter 8.5.1
>!AThunderboltDPAdapter!F 8.5.1
>!AThunderboltPCIDownAdapter 4.1.1
>!AXsanScheme 3
|IOAHCIBlock!S 333.140.2
>!ABSDKextStarter 3
|IOSurface 302.15
@filesystems.hfs.encodings.kext 1
>!AActuatorDriver 5460.1
>!AThunderboltNHI 7.2.81
|IOThunderbolt!F 9.3.3
|IO80211!FLegacy 1200.12.2b1
|IOSkywalk!F 1.0
>mDNSOffloadUserClient 1.0.1b8
>corecapture 1.0.4
|IOAHCI!F 297
>!AHIDKeyboard 228.2
>!AMultitouchDriver 5460.1
>!AInputDeviceSupport 5460.1
>!AHS!BDriver 5450.8
>IO!BHIDDriver 9.0.0
>!AHSSPIHIDDriver 63
>usb.!UHostPacketFilter 1.0
|IOUSB!F 900.4.2
>!AHSSPISupport 63
>!A!ILpssSpi!C 3.0.60
>!A!ILpssDmac 3.0.60
>!A!ILpssI2C 3.0.60
>!A!ILpssGspi 3.0.60
>usb.!UXHCIPCI 1.2
>usb.!UXHCI 1.2
>!AEFINVRAM 2.1
>!AEFIRuntime 2.1
|IOSMBus!F 1.1
|IOHID!F 2.0.0
|IOTimeSync!F 1040.3
|IONetworking!F 3.4
>DiskImages 493.0.0
|IO!B!F 9.0.0
|IOReport!F 47
$quarantine 4
$sandbox 300.0
@kext.!AMatch 1.0.0d1
|CoreAnalytics!F 1
>!ASSE 1
Also Apple Diagnostics returns no errors, except one time it reported a RAM issue. Also tried memtest86 but nothing.
So far this machine has completely stumped me.
Hope someone in this site has any clue to what could be the cause of these issues, thanks in advance.
Machine Specs:
crwdns2934109:0crwdne2934109:0