Kernel Panic - iMac 15,1 with Core Legacy Patcher
Hello,
I could use some help trying to resolve this issue.
I have an iMac 15,1 2015
Hardware Overview:
Model Name: iMac
Model Identifier: iMac15,1
Retina 5K, 27-inch, Late 2014
Processor Name: Quad-Core Intel Core i7
Processor Speed: 4 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 8 MB
Hyper-Threading Technology: Enabled
Memory: 32 GB, 32 GB 1600 MHz DDR3
System Firmware Version: 474.0.0.0.0
OS Loader Version: 580~2215
SMC Version (system): 2.23f11
Graphics: AMD Radeon R9 M295X 4 GB
MacOS Sonoma 14.5
Open Core Legacy Patcher: v1.5.0
I have installed macOS Sonoma using Open Core Legacy Patcher.
Periodically (about once per day), the system will lock up and freeze and the fan will spin up. There is no sign of a crash other than the freezing of the screens and no response to any keyboard, mouse or other inputs. The only option is to hard reboot by holding the power button down.
Kernel Panic Report
View attachment 2401431
Chat GPT Analysis
The kernel panic you've encountered appears to be related to a general protection fault caused by the WindowServer process. Here's a breakdown of the key details:
- Error Type: General protection fault (type 13), which usually indicates an illegal access to memory or a violation of CPU protection mechanisms.
- Registers: The CPU registers at the time of the panic show the state of the processor. Key registers include:
- RIP (Instruction Pointer): 0xffffff800af010b4, which is the address where the fault occurred.
- RAX: 0x0000000000000010, which is a general-purpose register that might hold a pointer or value.
- Faulting Module: The backtrace indicates that the fault occurred in the com.apple.iokit.IOAcceleratorFamily2 and com.apple.kext.AMDRadeonX4000 kernel extensions. These are related to the GPU and graphics acceleration.
- Process Name: The process that caused the panic is WindowServer, which is responsible for managing the graphical user interface on macOS.
- Kernel Extensions:
- IOAcceleratorFamily2: Manages general GPU acceleration functions.
- AMDRadeonX4000: Specific to AMD Radeon graphics cards, handling GPU resource management and acceleration.
- Potential Cause:
- The panic occurred during a call to IOAccelTask::deallocate(), indicating a possible issue with memory deallocation related to GPU resources.
- The presence of the AMDRadeonX4000_AMDAccelCommandQueue and related functions in the backtrace suggests the issue might be linked to how command buffers are processed or memory is managed for GPU tasks.
Possible Solutions:
- Update Graphics Drivers: Ensure you have the latest updates for macOS, which might include fixes for GPU-related kernel extensions.
- Check for Software Updates: Ensure all applications, especially those using GPU acceleration, are updated.
- Hardware Check: If the issue persists, there might be a hardware issue with the GPU. Running Apple Diagnostics can help determine if there's a hardware fault.
- Safe Mode: Boot into Safe Mode to see if the issue persists. Safe Mode loads only essential system components and can help determine if a third-party extension is causing the issue.
If the problem continues, consider reaching out to Apple Support with the detailed panic report for further assistance.
Kernel Panic Report (Text)
panic(cpu 0 caller 0xffffff800b37b573): Kernel trap at 0xffffff800af010b4, type 13=general protection, registers:
CR0: 0x000000008001003b, CR2: 0xffffffdcc39ce000, CR3: 0x0000000842f80019, CR4: 0x00000000001626e0
RAX: 0x0000000000000010, RBX: 0xffffff94ff2944f0, RCX: 0x0000000000000188, RDX: 0x0000000000004f80
RSP: 0xffffffd8c05673b8, RBP: 0xffffffd8c05673f0, RSI: 0xffffffdcc398ca08, RDI: 0xffffffdcc398ca18
R8: 0x00000000f94fe250, R9: 0x0000000000001000, R10: 0x000000000103f966, R11: 0x0103f96600000025
R12: 0x000000041797ffff, R13: 0x0000000417980000, R14: 0x00000000000003dd, R15: 0x0000000000000e00
RFL: 0x0000000000010682, RIP: 0xffffff800af010b4, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x0000000000000000, Error code: 0x0000000000000000, Fault CPU: 0x0, PL: 0, VF: 0
Panicked task 0xffffff869b5b39d8: 14 threads: pid 166: WindowServer
Backtrace (CPU 0), panicked thread: 0xffffff94ff31fb30, Frame : Return Address
0xffffff800af0c140 : 0xffffff800b226481 mach_kernel : _handle_debugger_trap + 0x4b1
0xffffff800af0c190 : 0xffffff800b38bb10 mach_kernel : _kdp_i386_trap + 0x110
0xffffff800af0c1d0 : 0xffffff800b37b0cc mach_kernel : _kernel_trap + 0x55c
0xffffff800af0c250 : 0xffffff800b1bf971 mach_kernel : _return_from_trap + 0xc1
0xffffff800af0c270 : 0xffffff800b22676d mach_kernel : _DebuggerTrapWithState + 0x5d
0xffffff800af0c360 : 0xffffff800b225e13 mach_kernel : _panic_trap_to_debugger + 0x1e3
0xffffff800af0c3c0 : 0xffffff800b9db27b mach_kernel : _panic + 0x84
0xffffff800af0c4b0 : 0xffffff800b37b573 mach_kernel : _sync_iss_to_iks + 0x2c3
0xffffff800af0c630 : 0xffffff800b37b257 mach_kernel : _kernel_trap + 0x6e7
0xffffff800af0c6b0 : 0xffffff800b1bf971 mach_kernel : _return_from_trap + 0xc1
0xffffff800af0c6d0 : 0xffffff800af010b4
0xffffffd8c05673f0 : 0xffffff800b92bc01 mach_kernel : __ZN16IORangeAllocator10deallocateEyy + 0xd1
0xffffffd8c0567430 : 0xffffff7fa2728784 com.apple.iokit.IOAcceleratorFamily2 : __ZN11IOAccelTask10deallocateEPK16IOAccelMemoryMapy + 0x56
0xffffffd8c0567470 : 0xffffff7fa2741e7d com.apple.iokit.IOAcceleratorFamily2 : __ZN16IOAccelMemoryMap21freeGPUVirtualAddressEv + 0x4b
0xffffffd8c0567490 : 0xffffff7fa2741bb4 com.apple.iokit.IOAcceleratorFamily2 : __ZNK16IOAccelMemoryMap7releaseEv + 0x8e
0xffffffd8c05674b0 : 0xffffff7f8befcc54 com.apple.kext.AMDRadeonX4000 : __ZN37AMDRadeonX4000_AMDGraphicsAccelerator30completeBatchMemoryMapPreparesEv + 0x3a
0xffffffd8c05674d0 : 0xffffff7f8bf0f7dc com.apple.kext.AMDRadeonX4000 : __ZN31AMDRadeonX4000_AMDAccelResource12BatchPrepareEP37AMDRadeonX4000_AMDGraphicsAcceleratorPKPS_j + 0x142
0xffffffd8c0567570 : 0xffffff7fa27353c7 com.apple.iokit.IOAcceleratorFamily2 : __ZN19IOAccelCommandQueue15coalesceSegmentEP26IOAccelCommandQueueSegmentPjP26IOAccelSegmentResourceListPK20IOAccelKernelCommandS7_ + 0x5b
0xffffffd8c05675b0 : 0xffffff7fa273577b com.apple.iokit.IOAcceleratorFamily2 : __ZN19IOAccelCommandQueue20processCommandBufferEjj + 0x2e5
0xffffffd8c0567850 : 0xffffff7f8bf001e2 com.apple.kext.AMDRadeonX4000 : __ZN35AMDRadeonX4000_AMDAccelCommandQueue20processCommandBufferEjj + 0x62
0xffffffd8c0567880 : 0xffffff7fa27369a8 com.apple.iokit.IOAcceleratorFamily2 : __ZN19IOAccelCommandQueue22process_command_bufferEjj + 0x416
0xffffffd8c0567910 : 0xffffff7fa27349a2 com.apple.iokit.IOAcceleratorFamily2 : __ZN19IOAccelCommandQueue21submit_command_bufferEjjyy + 0x102
0xffffffd8c0567960 : 0xffffff7fa273479a com.apple.iokit.IOAcceleratorFamily2 : __ZN19IOAccelCommandQueue22submit_command_buffersEPK29IOAccelCommandQueueSubmitArgs + 0x308
0xffffffd8c05679b0 : 0xffffff7fa273387d com.apple.iokit.IOAcceleratorFamily2 : __ZN19IOAccelCommandQueue24s_submit_command_buffersEPS_PvP25IOExternalMethodArguments + 0x103
0xffffffd8c05679f0 : 0xffffff800b9507a6 mach_kernel : __ZN12IOUserClient18callExternalMethodEjP25IOExternalMethodArguments + 0x86
0xffffffd8c0567a20 : 0xffffff800b950b1d mach_kernel : _is_io_connect_method + 0x31d
0xffffffd8c0567b90 : 0xffffff800b33393f mach_kernel : _iokit_server_routine + 0x3aef
0xffffffd8c0567cb0 : 0xffffff800b1fe82c mach_kernel : _ipc_kmsg_send + 0x55c
0xffffffd8c0567d70 : 0xffffff800b216e24 mach_kernel : _mach_msg_overwrite_trap + 0x5a4
0xffffffd8c0567de0 : 0xffffff800b2173ef mach_kernel : _mach_msg2_trap + 0x30f
0xffffffd8c0567ee0 : 0xffffff800b35ff1b mach_kernel : _mach_call_munger64 + 0x22b
0xffffffd8c0567fa0 : 0xffffff800b1bfdd6 mach_kernel : _hndl_mach_scall64 + 0x16
Kernel Extensions in backtrace:
com.apple.iokit.IOAcceleratorFamily2(481.40.2)[D4E64BC5-BB33-38C7-A445-932573231969]@0xffffff7fa26ee000->0xffffff7fa2758fff
dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[F171001F-2B97-3A16-A1AB-7016244B627E]@0xffffff800c896000->0xffffff800c8cdfff
dependency: com.apple.iokit.IOGraphicsFamily(598)[79F2F7E4-E451-35E1-BF22-1EFFA4192888]@0xffffff7fa287e000->0xffffff7fa28acfff
dependency: com.apple.iokit.IOPCIFamily(2.9)[43511668-C040-3FBA-8CD6-25AD6E00FD90]@0xffffff800d551000->0xffffff800d582fff
dependency: com.apple.iokit.IOReportFamily(47)[8476E632-A5DB-34EC-A637-30C25D8C1767]@0xffffff800