zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.82k stars 3.06k forks source link

macOS 14.4 panic when running Zed & Ghostty #9493

Open moomerman opened 8 months ago

moomerman commented 8 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

I upgraded to macOS 14.4 over the weekend and this morning my Mac panics every time I open Zed. It looks like this issue might not be limited to Zed, but I thought it was worth registering the issue anyway in case anyone else has the same problem.

I've been using my laptop for a while this morning with no issue, only seems to be Zed that is triggering this for me at the moment.

This apple discussion thread has some similar reports from other apps.

I cleared out my ~/Library/Application Support/Zed folder and tried opening zed with a folder that only contained a text file (to rule out any issues with language server etc.) but still had the same problem.

Let me know if I can provide any more info, happy to send full crash log and zed logs privately.

The behaviour is:

When I log back in, I have to quickly quit Zed otherwise it loops again!

Environment

I can't run Zed to run this command :(

Chip: Apple M2 Pro Memory: 16GB macOS: 14.4 (23E214)

If applicable, add mockups / screenshots to help explain present your vision of the feature

Apple crash log header:

panic(cpu 3 caller 0xfffffe002bc00e5c): DCP0 PANIC - program_swap: Async Swap request landing on unsupported platform. Force panic
 - iomfb_mailbox_async(77)
program_swap: Async Swap request landing on unsupported platform. Force panic

RTKit: RTKit-2419.101.1.release - Client: local-t602xdcp.RELEASE
!UUID: 10178379-fe92-3317-9095-ad703b8bb255
Time: 0x000000006061c421

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

Here's all the error logs and starting zed info logs from this morning:

2024-03-18T10:37:15+00:00 [INFO] ========== starting zed ==========
2024-03-18T10:37:15+00:00 [ERROR] crates/zed/src/zed.rs:619: EOF while parsing a value at line 1 column 0
2024-03-18T10:37:22+00:00 [ERROR] unexpected item event after pane was dropped
2024-03-18T10:38:09+00:00 [INFO] ========== starting zed ==========
2024-03-18T10:38:09+00:00 [ERROR] crates/zed/src/zed.rs:619: EOF while parsing a value at line 1 column 0
2024-03-18T10:38:10+00:00 [ERROR] auto-update failed: error:failed to resolve host name
2024-03-18T10:38:10+00:00 [ERROR] crates/zed/src/main.rs:323: failed to resolve host name
2024-03-18T10:38:11+00:00 [ERROR] failed to start language server "elixir-ls": error fetching latest release
2024-03-18T10:38:11+00:00 [ERROR] server stderr: Some("")
2024-03-18T10:38:12+00:00 [ERROR] failed to start language server "elixir-ls": error fetching latest release
2024-03-18T10:38:12+00:00 [ERROR] server stderr: Some("")
2024-03-18T10:38:13+00:00 [ERROR] missing executable in directory "/Users/richard/Library/Application Support/Zed/languages/elixir-ls/elixir-ls/language_server.sh"
2024-03-18T10:38:13+00:00 [ERROR] failed to start language server "elixir-ls": error fetching latest release
2024-03-18T10:38:13+00:00 [ERROR] server stderr: Some("")
2024-03-18T10:38:14+00:00 [ERROR] missing executable in directory "/Users/richard/Library/Application Support/Zed/languages/elixir-ls/elixir-ls/language_server.sh"
2024-03-18T10:38:14+00:00 [ERROR] failed to start language server "elixir-ls": error fetching latest release
2024-03-18T10:38:14+00:00 [ERROR] server stderr: Some("")
2024-03-18T10:38:15+00:00 [ERROR] missing executable in directory "/Users/richard/Library/Application Support/Zed/languages/elixir-ls/elixir-ls/language_server.sh"
2024-03-18T10:38:15+00:00 [ERROR] failed to start language server "elixir-ls": error fetching latest release
2024-03-18T10:38:15+00:00 [ERROR] server stderr: Some("")
2024-03-18T10:38:15+00:00 [ERROR] Hit 4 reinstallation attempts for "elixir-ls"
2024-03-18T10:38:57+00:00 [INFO] ========== starting zed ==========
2024-03-18T10:38:57+00:00 [ERROR] crates/zed/src/zed.rs:619: EOF while parsing a value at line 1 column 0
2024-03-18T10:38:57+00:00 [ERROR] auto-update failed: error:failed to resolve host name
2024-03-18T10:38:57+00:00 [ERROR] crates/zed/src/main.rs:323: failed to resolve host name
2024-03-18T10:39:00+00:00 [ERROR] timed out waiting on app_will_quit
2024-03-18T10:45:20+00:00 [INFO] ========== starting zed ==========
2024-03-18T10:45:20+00:00 [ERROR] crates/extension/src/extension_store.rs:266: No such file or directory (os error 2)
2024-03-18T10:45:20+00:00 [ERROR] crates/zed/src/zed.rs:619: EOF while parsing a value at line 1 column 0
2024-03-18T11:07:34+00:00 [INFO] ========== starting zed ==========
2024-03-18T11:07:34+00:00 [ERROR] crates/extension/src/extension_store.rs:266: No such file or directory (os error 2)
2024-03-18T11:07:34+00:00 [ERROR] crates/zed/src/zed.rs:619: EOF while parsing a value at line 1 column 0
2024-03-18T11:07:34+00:00 [ERROR] crates/fs/src/repository.rs:101: Error { code: -9, klass: 4, message: "reference 'refs/heads/main' not found" }
2024-03-18T11:08:22+00:00 [INFO] ========== starting zed ==========
2024-03-18T11:08:22+00:00 [ERROR] crates/zed/src/zed.rs:619: EOF while parsing a value at line 1 column 0
2024-03-18T11:08:22+00:00 [ERROR] crates/fs/src/repository.rs:101: Error { code: -9, klass: 4, message: "reference 'refs/heads/main' not found" }
2024-03-18T11:08:22+00:00 [ERROR] auto-update failed: error:failed to resolve host name
2024-03-18T11:08:22+00:00 [ERROR] crates/zed/src/main.rs:323: failed to resolve host name
ConradIrwin commented 8 months ago

Thanks for reporting this, that's no good at all!

From scouring some Internet forums it seems like it could be related to external monitors: https://community.native-instruments.com/discussion/comment/140492/#Comment_140492

"Hi! I also noticed now - after having started to use hdmi to hdmi with the Samsung monitor, that when I set it to 240 Hz, the same thing also happens; complete crash. When set to 120 (or 60) Hz, everything runs fine!"

"I'm not 100% sure if it's display monitor related, however, what I do know is that once I used the new HDMI, it seems to work way better and I haven't had a crash yet since swapping my HDMI for a newer high speed HDMI cable."

Are you using an external display, and if so do either of these steps help you?

We'll look into this a bit to see if there's an obvious workaround, but it does seem like a macOS kernel bug if it's causing the computer to reset...

moomerman commented 8 months ago

Are you using an external display, and if so do either of these steps help you?

Thanks. Unfortunately I wasn't connected to any other devices, was just working directly on my laptop.

Here's a blog post from Oracle about Java issues, which says:

macOS on Apple silicon processors (M1, M2, and M3) includes a feature which controls how and when dynamically generated code can be either produced (written) or executed on a per-thread basis.

As a normal part of the just-in-time compile and execute cycle, processes running on macOS may access memory in protected memory regions. Prior to the macOS 14.4 update, in certain circumstances, the macOS kernel would respond to these protected memory accesses by sending a signal, SIGBUS or SIGSEGV, to the process. The process could then choose to handle the signal and continue execution. With macOS 14.4, when a thread is operating in the write mode, if a memory access to a protected memory region is attempted, macOS will send the signal SIGKILL instead. That signal cannot be handled by the process and the process is unconditionally terminated.

Though it seems that in that example the app crashes, but they don't mention any panics.

And an arstechnica article about other issues, which might not be relevant.

ConradIrwin commented 8 months ago

Thanks. I do agree it sounds like the Java issue seems different (though the Kontakt player bug seems the same).

Would you be able to send the full crash report to conrad@zed.dev (or upload it here) when you get a chance? I'm not sure it'll help, but seems worth taking a look.

ConradIrwin commented 8 months ago

Possibly other related thing, I notice RTKit at the top of your stack trace. In the release notes they call out:

RTKit
Available for: macOS Sonoma
Impact: An attacker with arbitrary kernel read and write capability may be able to bypass kernel memory protections. Apple is aware of a report that this issue may have been exploited.
Description: A memory corruption issue was addressed with improved validation.
CVE-2024-23296

I wonder if it's possible we are accidentally doing an out of bounds memory read/write, that previously was not a problem, but now is.

ConradIrwin commented 8 months ago

I've installed 14.4 (23E214) on my test M1 MacBook Air and the good/bad news is that Zed does not seem to cause a kernel panic on boot. I tried various screen resolutions and window sizes, but it seemed fine...

So now the question is what could account for the difference?

I'm going to try updating my main work machine and hope that I can either reproduce the problem, or we can further narrow down the circumstances in which it occurs.

moomerman commented 8 months ago

I tested running Zed on an M3 earlier that is running macOS 14.4 and that was fine.

I usually keep Zed up to date so it is running a recent release. It also updated this morning to the latest (before crashing).

  • If you quit everything else running and run just zed, does it still happen?

My usual workflow is to open Zed via Ghostty. It tuns out that Zed runs fine when Ghostty isn't running, and Ghostty runs fine if Zed isn't running, but if both of them are running, regardless of which one was opened first then I get the panic.

I've popped a message in the Ghostty discord as well. I'll try installing Ghostty on the M3 later and see if that also has the same behaviour.

mrnugget commented 8 months ago

My usual workflow is to open Zed via Ghostty. It tuns out that Zed runs fine when Ghostty isn't running, and Ghostty runs fine if Zed isn't running, but if both of them are running, regardless of which one was opened first then I get the panic.

You don't have the Apple Metal HUD enabled by any chance? Both applications use Metal and the GPU and I wonder whether that isn't somehow related here.

moomerman commented 8 months ago

You don't have the Apple Metal HUD enabled by any chance?

Nope, have never enabled that before. I just enabled it and ran both apps, nothing significant happened (that I'm aware of).

moomerman commented 8 months ago

Just wanted to confirm the same issue on a M3 iMac to rule out my snowflake laptop. Same issue, crashed with the same crash report header. Saw some more reports of panics with 14.4 in the Ghostty discord as well.

Happy to try anything else you think might help track it down, but appreciate I may have to just wait until Apple releases an update. At least I can use Zed today though if I don't run Ghostty at the same time :)

mrnugget commented 8 months ago

@moomerman thanks for reporting back here! In the Ghostty Discord it sounds like Apple is working on a fix. Since we can't debug this reliably and it does seems like an OS issue and we don't know exactly what the problem is, I fear that the current course of action is to cross fingers and wait for Apple to release a fix soon.

moomerman commented 7 months ago

After updating to macOS 14.4.1 still seeing the same issue unfortunately. Have sent a new crash report to Apple.

mrnugget commented 7 months ago

Just to leave a update here, even though it's not an update: consensus on the Ghostty discord was/is that what panics is PID 0, so it's definitely a kernel bug and we have to wait for Apple to fix it.

mitchellh commented 7 months ago

Updating from the Ghostty side: we're not for sure certain Apple is aware of this or working on a fix. We're just hoping. But I am very confident it's a kernel/firmware issue on the display coprocessor ("DCP") specifically on Apple Silicon devices.

We also still don't have a reliable reproduction to report to Apple.

denovich commented 7 months ago

I have a reliable way to reproduce (unrelated to Zed): connect an Android device via USB debugging. Open scrcpy (scrcpy.org) to display the Android screen... now change the orientation of your Android device. Going from Landscape<->Portrait will trigger this panic on my 16" MBP M3 Max every time.

mrnugget commented 7 months ago

I've got an update. Word on the street is that macOS 14.5 Beta might contain a fix, if someone is brave enough to try it.

jdsimcoe commented 7 months ago

@moomerman @mitchellh @ConradIrwin I'm having the same issues running Zed and Ghostty on my M2 MacBook Air and my M3 MacBook Pro Max with and without displays connected. I am happy to email Gists with the full error outputs.

jdsimcoe commented 7 months ago

I updated to the 14.5 Beta (23F5049f) and have been trying to heavily use both Zed/Ghostty and haven't had this issue once.

mrnugget commented 7 months ago

That sounds promising! Thank you for reporting back @jdsimcoe

ThreadGitHub commented 7 months ago

只是在这里留下一个更新,即使它不是一个更新:对 Ghostty 不和谐的共识是,恐慌的是 PID 0,所以这绝对是一个内核错误,我们必须等待 Apple 修复它。

YES!!!!!

Panicked task 0xfffffe23599d41e8: 0 pages, 563 threads: pid 0: kernel_task Panicked thread: 0xfffffe2cf3028788, backtrace: 0xfffffe5cada27850, tid: 1078 lr: 0xfffffe001239b1c0 fp: 0xfffffe5cada278e0 lr: 0xfffffe00124e6a4c fp: 0xfffffe5cada27950 lr: 0xfffffe00124e4f18 fp: 0xfffffe5cada27a20 lr: 0xfffffe001234b8cc fp: 0xfffffe5cada27a30 lr: 0xfffffe001239aab4 fp: 0xfffffe5cada27de0 lr: 0xfffffe0012ba1814 fp: 0xfffffe5cada27e00 lr: 0xfffffe00151d3ddc fp: 0xfffffe5cada27e90 lr: 0xfffffe0014be8cd8 fp: 0xfffffe5cada27ec0 lr: 0xfffffe0012a9fd8c fp: 0xfffffe5cada27ef0 lr: 0xfffffe0012aa0904 fp: 0xfffffe5cada27f20 lr: 0xfffffe0012354be4 fp: 0x0000000000000000 Kernel Extensions in backtrace: com.apple.driver.IOSlaveProcessor(1.0)[BFD8D86E-6E2B-3FDE-8CAF-9015DF04D919]@0xfffffe0014be7b60->0xfffffe0014be9513 com.apple.driver.RTBuddy(1.0)[055E667B-789A-3D5D-9F9E-A2F951C4608E]@0xfffffe00151ae220->0xfffffe00151f05b7 dependency: com.apple.driver.AppleA7IOP(1.0.2)[047BB2D0-9A20-37B1-AA1F-DD5A6FC1283F]@0xfffffe0012ca6410->0xfffffe0012cac463 dependency: com.apple.driver.AppleARMPlatform(1.0.2)[77007C6A-68DD-3EA2-A25E-B47ACC1DAFE2]@0xfffffe0012d428b0->0xfffffe0012d95eab dependency: com.apple.driver.IOSlaveProcessor(1)[BFD8D86E-6E2B-3FDE-8CAF-9015DF04D919]@0xfffffe0014be7b60->0xfffffe0014be9513 dependency: com.apple.iokit.IOReportFamily(47)[1C7E94EA-C1DD-3617-B228-227559227E76]@0xfffffe0014b41d70->0xfffffe0014b44d83 dependency: com.apple.kec.corecrypto(14.0)[382760DA-F216-3EE0-BD95-5BE034AFCAD3]@0xfffffe001552d700->0xfffffe001557e8bb

last started kext at 10765036027: com.apple.driver.usb.cdc.ncm 5.0.0 (addr 0xfffffe00113e8600, size 5098)

snadon commented 7 months ago

I updated to the 14.5 Beta (23F5049f) and have been trying to heavily use both Zed/Ghostty and haven't had this issue once.

With the beta I still get the crash:

panic(cpu 3 caller 0xfffffe001bd852e8): DCP PANIC - program_swap: Async Swap request landing on unsupported platform. Force panic\n
 - iomfb_driver(10)\nprogram_swap: Async Swap request landing on unsupported platform. Force panic\n\n
 RTKit: RTKit-2419.120.35.0.1.release

I simply need to have ghostty running and start Nvidia Now. It takes a few seconds and then freeze. Before the beta it was rebooting right away instead of freezing for a while before restarting.

mrnugget commented 7 months ago

I simply need to have ghostty running and start Nvidia Now. It takes a few seconds and then freeze. Before the beta it was rebooting right away instead of freezing for a while before restarting.

So not Ghostty + Zed, but just Ghostty + Nvidia Now? Can you reproduce with Zed + Nvidia Now? (I understand if you don't want to! nobody likes to reboot)

snadon commented 7 months ago

I simply need to have ghostty running and start Nvidia Now. It takes a few seconds and then freeze. Before the beta it was rebooting right away instead of freezing for a while before restarting.

So not Ghostty + Zed, but just Ghostty + Nvidia Now? Can you reproduce with Zed + Nvidia Now? (I understand if you don't want to! nobody likes to reboot)

Just tried it for 20 minutes and it didn't crash (zed version 0.131.6).

moomerman commented 6 months ago

🎉 I noticed by accident today that it doesn't panic with latest Zed Preview & Ghostty! Tried Zed stable and it panic'd straight away. (Still on 14.4.1)

mrnugget commented 6 months ago

That's very curious, I have no clue as to what it could be after looking through the changelog.

moomerman commented 6 months ago

I've just been through the Zed stable releases and 0.129.2 was the last release that panics for me. Everything from Zed 0.130.4 onwards seems to be fine. I had been using preview for a while, so stable must have been on an older version when it crashed on Saturday.

All Apple Silicon releases, Ghostty542b416c (build 5944), macOS 14.4.1.

[edit] just went through the Preview releases and 0.129.1 panics but 0.130.0 doesn't.

mitchellh commented 6 months ago

For Ghostty users, give the latest macOS build a shot and set the following config (new as of this comment):

window-vsync = true

After setting the config, fully restart Ghostty.

At least on my machine, I've been unable to reliably reproduce the DCP panic anymore when vsync is enabled. It isn't enabled by default at the moment but I may change that if this fixes a lot of crashes.

jdsimcoe commented 6 months ago

After setting the config, fully restart Ghostty.

Ok I've done this. I'll report back if this issue happens again.

sorenblank commented 2 months ago

I bought a new Macbook M3 Pro 18GB/512GB,

I had Zed installed which I used for the past 2 days.

My Macbook Kernal Panicked an hour ago. But my Zed wasn't open when my mac Kernel panicked. I used it today and yesterday and the day before. It worked fine. Could it be Zed?

I am not sure. I was also using an external monitor as well as going to stream on Discord. The crash happened exactly when I selected my external monitor to stream on Discord. My Mac is on Mac OS Sonoma 14.6.1 (23G93).

I have been trying to narrow down the exact issue for a while now and stumbled upon this GitHub issue. If anyone has any idea about what's going on, do let me know.

Here's the exact log:

panic(cpu 0 caller 0xfffffe002b75afe4): "dart-ave (0xfffffe24ccd2a000): DART(CPUDART) error: SID 0 PTE invalid exception on write of DVA 0x10016f6e600 (CTE 0x10 SEG 0xb PTE 0x3db) ERROR_STATUS 0x90000008 TIME 0 TTE 0 AXI_ID 0xc0" @AppleT8110DART.cpp:2085
Debugger message: panic
Memory ID: 0x6
OS release type: User
OS version: 23G93
Kernel version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6030
Fileset Kernelcache UUID: 7A75AB37BBCA71CC5E90FA0EC90FCB46
Kernel UUID: DF5E3A0A-B57A-3C8E-B38F-4262F03E4D1C
Boot session UUID: A2612D65-E53A-476C-93DB-7EF43AB96316
iBoot version: iBoot-10151.140.19
secure boot?: YES
roots installed: 0
Paniclog version: 14
KernelCache slide: 0x00000000218e0000
KernelCache base:  0xfffffe00288e4000
Kernel slide:      0x00000000218e8000
Kernel text base:  0xfffffe00288ec000
Kernel text exec slide: 0x0000000022e34000
Kernel text exec base:  0xfffffe0029e38000
mach_absolute_time: 0x7951486e98
Epoch Time:        sec       usec
  Boot    : 0x66e662e7 0x00076501
  Sleep   : 0x00000000 0x00000000
  Wake    : 0x00000000 0x00000000
  Calendar: 0x66e6b7af 0x0004e43d

Zone info:
  Zone map: 0xfffffe10002f8000 - 0xfffffe30002f8000
  . VM    : 0xfffffe10002f8000 - 0xfffffe14ccfc4000
  . RO    : 0xfffffe14ccfc4000 - 0xfffffe166695c000
  . GEN0  : 0xfffffe166695c000 - 0xfffffe1b33628000
  . GEN1  : 0xfffffe1b33628000 - 0xfffffe20002f4000
  . GEN2  : 0xfffffe20002f4000 - 0xfffffe24ccfc0000
  . GEN3  : 0xfffffe24ccfc0000 - 0xfffffe2999c8c000
  . DATA  : 0xfffffe2999c8c000 - 0xfffffe30002f8000
  Metadata: 0xfffffe3000308000 - 0xfffffe3008308000
  Bitmaps : 0xfffffe3008308000 - 0xfffffe300b6ac000
  Extra   : 0 - 0

CORE 0 recently retired instr at 0xfffffe0029fe1bf8
CORE 1 recently retired instr at 0xfffffe0029fe332c
CORE 2 recently retired instr at 0xfffffe0029fe332c
CORE 3 recently retired instr at 0xfffffe0029fe332c
CORE 4 recently retired instr at 0xfffffe0029fe332c
CORE 5 recently retired instr at 0xfffffe0029fe332c
CORE 6 recently retired instr at 0xfffffe0029fe332c
CORE 7 recently retired instr at 0xfffffe0029fe332c
CORE 8 recently retired instr at 0xfffffe0029fe332c
CORE 9 recently retired instr at 0xfffffe0029fe332c
CORE 10 recently retired instr at 0xfffffe0029fe332c
TPIDRx_ELy = {1: 0xfffffe1fffec27a8  0: 0x0000000000000000  0ro: 0x0000000000000000 }
CORE 0 PVH locks held: None
CORE 1 PVH locks held: 1021360 - First lock was acquired at PC=0xfffffe002a6c86dc, LR=0xfffffe002a6cfed0
CORE 2 PVH locks held: None
CORE 3 PVH locks held: None
CORE 4 PVH locks held: None
CORE 5 PVH locks held: None
CORE 6 PVH locks held: None
CORE 7 PVH locks held: None
CORE 8 PVH locks held: None
CORE 9 PVH locks held: None
CORE 10 PVH locks held: None
CORE 0 is the one that panicked. Check the full backtrace for details.
CORE 1: PC=0xfffffe0029e4a3f4, LR=0xfffffe002a6cabe8, FP=0xfffffe002f363cf0
CORE 2: PC=0xfffffe002aa013cc, LR=0xfffffe002a9d206c, FP=0xfffffe4b62467e70
CORE 3: PC=0xfffffe0029eca1b8, LR=0xfffffe0029eca1b8, FP=0xfffffe4b6074fef0
CORE 4: PC=0xfffffe0029eca1b8, LR=0xfffffe0029eca1b8, FP=0xfffffe4b605abef0
CORE 5: PC=0xfffffe0029eca1b8, LR=0xfffffe0029eca1b8, FP=0xfffffe4b61efbef0
CORE 6: PC=0xfffffe0029eca1b8, LR=0xfffffe0029eca1b8, FP=0xfffffe4b61e0bef0
CORE 7: PC=0xfffffe0029fde064, LR=0xfffffe0029fde060, FP=0xfffffe4b623cbe80
CORE 8: PC=0xfffffe0029eca1b8, LR=0xfffffe0029eca1b8, FP=0xfffffe4b6256fef0
CORE 9: PC=0x000000018fdc3b58, LR=0x000000018fbb52c8, FP=0x000000016b63db10
CORE 10: PC=0xfffffe0029eca1b8, LR=0xfffffe0029eca1b8, FP=0xfffffe4b61ed7ef0
Compressor Info: 8% of compressed pages limit (OK) and 12% of segments limit (OK) with 0 swapfiles and OK swap space
Panicked task 0xfffffe20002779a0: 0 pages, 571 threads: pid 0: kernel_task
Panicked thread: 0xfffffe1fffec27a8, backtrace: 0xfffffe4b6176f5f0, tid: 885
          lr: 0xfffffe0029e90124  fp: 0xfffffe4b6176f680
          lr: 0xfffffe0029fda358  fp: 0xfffffe4b6176f6f0
          lr: 0xfffffe0029fd876c  fp: 0xfffffe4b6176f7b0
          lr: 0xfffffe0029e3f8cc  fp: 0xfffffe4b6176f7c0
          lr: 0xfffffe0029e8fa18  fp: 0xfffffe4b6176fb70
          lr: 0xfffffe002a694414  fp: 0xfffffe4b6176fb90
          lr: 0xfffffe002b75afe4  fp: 0xfffffe4b6176fdf0
          lr: 0xfffffe002b759d58  fp: 0xfffffe4b6176fe70
          lr: 0xfffffe002a5964d8  fp: 0xfffffe4b6176fec0
          lr: 0xfffffe002a5926c8  fp: 0xfffffe4b6176fef0
          lr: 0xfffffe002a593240  fp: 0xfffffe4b6176ff20
          lr: 0xfffffe0029e498a4  fp: 0x0000000000000000
      Kernel Extensions in backtrace:
         com.apple.driver.AppleT8110DART(1.0)[4B465440-CD09-3ADB-86C4-3351AE20AB97]@0xfffffe002b753bc0->0xfffffe002b760e3f
            dependency: com.apple.driver.AppleARMPlatform(1.0.2)[44EAEE3D-751F-3A0B-9AE3-99173AA796CC]@0xfffffe002a82ff60->0xfffffe002a884103
            dependency: com.apple.driver.IODARTFamily(1)[9EE3DC27-27B3-347D-8227-1AF46B5A760D]@0xfffffe002c1bf390->0xfffffe002c1d31b3

last started kext at 291200141: com.apple.filesystems.autofs    3.0 (addr 0xfffffe00292f68b0, size 6069)
loaded kexts:
com.apple.filesystems.autofs    3.0
com.apple.iokit.SCSITaskUserClient  495
com.apple.driver.AppleUSBMassStorageInterfaceNub    556
com.apple.driver.AppleTopCaseHIDEventDriver 7440.8
com.apple.driver.CoreKDL    1
com.apple.driver.AppleBiometricServices 1
com.apple.driver.BCMWLANFirmware4388.Hashstore  1
com.apple.driver.BCMWLANFirmware4387.Hashstore  1
com.apple.driver.BCMWLANFirmware4378.Hashstore  1
com.apple.driver.DiskImages.ReadWriteDiskImage  493.0.0
com.apple.driver.DiskImages.UDIFDiskImage   493.0.0
com.apple.driver.DiskImages.RAMBackingStore 493.0.0
com.apple.driver.DiskImages.FileBackingStore    493.0.0
com.apple.driver.AppleThunderboltIP 4.0.3
com.apple.driver.AppleUSBDeviceNCM  5.0.0
com.apple.driver.AppleFileSystemDriver  3.0.1
com.apple.nke.l2tp  1.9
com.apple.filesystems.tmpfs 1
com.apple.driver.AppleALSColorSensor    1.0.0d1
com.apple.driver.AppleAOPVoiceTrigger   340.42
com.apple.driver.AppleSmartBatteryManager   161.0.0
com.apple.driver.SEPHibernation 1
com.apple.filesystems.nfs   1
com.apple.filesystems.lifs  1
com.apple.filesystems.apfs  2236.141.1
com.apple.IOTextEncryptionFamily    1.0.0
com.apple.filesystems.hfs.kext  650.140.2
com.apple.security.BootPolicy   1
com.apple.BootCache 40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleEmbeddedSimpleSPINORFlasher  1
com.apple.driver.AppleCS42L84Audio  740.41
com.apple.driver.AppleSmartIO2  1
com.apple.driver.AppleTypeCRetimer  1.0.0
com.apple.driver.AppleJPEGDriver    6.6.2
com.apple.driver.AppleSN012776Amp   740.41
com.apple.driver.ApplePMP   1
com.apple.driver.AppleAVE2  760.31.1
com.apple.driver.AppleMobileDispT603S-DCP   140.0
com.apple.driver.AppleAVD   743
com.apple.driver.ApplePMPFirmware   1
com.apple.driver.AppleProResHW  350.47.0
com.apple.AGXG15S   282.14
com.apple.driver.AppleT6030SOCTuner 1
com.apple.driver.AppleT6030CLPC 1
com.apple.driver.AppleDPDisplayTCON 1
com.apple.driver.usb.AppleSynopsysUSB40XHCI 1
com.apple.driver.AudioDMAController-T6030   350.2
com.apple.driver.AppleSerialShim    1
com.apple.driver.AppleEventLogHandler   1
com.apple.driver.AppleS5L8960XNCO   1
com.apple.driver.AppleT6030PMGR 1
com.apple.driver.AppleS8000AES  1
com.apple.driver.AppleS8000DWI  1.0.0d1
com.apple.driver.AppleInterruptControllerV3 1.0.0d1
com.apple.driver.AppleBluetoothModule   1
com.apple.driver.AppleSamsungSerial 1.0.0d1
com.apple.driver.AppleBCMWLANBusInterfacePCIe   1
com.apple.driver.AppleT8110DART 1
com.apple.driver.AppleS5L8920XPWM   1.0.0d1
com.apple.driver.AppleS5L8940XI2C   1.0.0d2
com.apple.driver.AppleSPIMC 1
com.apple.driver.AppleT6030 1
com.apple.driver.AppleM68Buttons    1.0.0d1
com.apple.driver.AppleSDXC  3.5.2
com.apple.iokit.IOUserEthernet  1.0.1
com.apple.driver.usb.AppleUSBUserHCI    1
com.apple.iokit.IOKitRegistryCompatibility  1
com.apple.iokit.EndpointSecurity    1
com.apple.driver.AppleUIO   1
com.apple.driver.AppleDiskImages2   276.120.7
com.apple.AppleSystemPolicy 2.0.0
com.apple.nke.applicationfirewall   405
com.apple.kec.InvalidateHmac    1
com.apple.kec.AppleEncryptedArchive 1
com.apple.driver.driverkit.serial   6.0.0
com.apple.driver.usb.IOUSBHostHIDDevice 1.2
com.apple.driver.usb.cdc    5.0.0
com.apple.driver.AppleUSBAudio  640.12
com.apple.iokit.IOAudioFamily   540.3
com.apple.vecLib.kext   1.2.0
com.apple.iokit.IOAVBFamily 1220.1
com.apple.driver.AppleHSBluetoothDriver 7440.8
com.apple.driver.IOBluetoothHIDDriver   9.0.0
com.apple.driver.AppleActuatorDriver    7440.9
com.apple.driver.AppleMultitouchDriver  7440.9
com.apple.driver.AppleHIDKeyboard   7440.3
com.apple.driver.AppleMesaSEPDriver 100.99
com.apple.iokit.IOBiometricFamily   1
com.apple.driver.DiskImages.KernelBacked    493.0.0
com.apple.driver.AppleUVDMDriver    1.0.0
com.apple.driver.AppleUVDM  1.0.0
com.apple.driver.AppleXsanScheme    3
com.apple.driver.usb.networking 5.0.0
com.apple.driver.AppleThunderboltDPInAdapter    8.5.1
com.apple.driver.AppleThunderboltDPAdapterFamily    8.5.1
com.apple.driver.AppleThunderboltUSBDownAdapter 1.0.4
com.apple.driver.AppleThunderboltPCIDownAdapter 4.1.1
com.apple.driver.AppleConvergedIPCOLYBTControl  1
com.apple.driver.AppleConvergedPCI  1
com.apple.driver.AppleBluetoothDebug    1
com.apple.driver.AppleBTM   1.0.1
com.apple.nke.ppp   1.9
com.apple.driver.AppleAOPAudio  340.4
com.apple.driver.AppleTrustedAccessory  1
com.apple.iokit.AppleSEPGenericTransfer 1
com.apple.driver.AppleSEPHDCPManager    1.0.1
com.apple.driver.AppleBSDKextStarter    3
com.apple.kext.triggers 1.0
com.apple.driver.IOHIDPowerSource   1
com.apple.driver.AppleCallbackPowerSource   1
com.apple.filesystems.hfs.encodings.kext    1
com.apple.driver.AppleSyntheticGameController   11.6.1
com.apple.driver.AppleDiagnosticDataAccessReadOnly  1.0.0
com.apple.AGXFirmwareKextG15SRTBuddy    1
com.apple.AGXFirmwareKextRTBuddy64  282.14
com.apple.driver.AppleDCPDPTXProxy  1.0.0
com.apple.driver.DCPDPFamilyProxy   1
com.apple.driver.AppleStockholmControl  1.0.0
com.apple.iokit.IONVMeFamily    2.1.0
com.apple.driver.AppleNANDConfigAccess  1.0.0
com.apple.driver.AppleSPMIPMU   1.0.1
com.apple.driver.AppleDialogPMU 1.0.1
com.apple.driver.AppleH11ANEInterface   7.453.0
com.apple.plugin.IOgPTPPlugin   1240.15
com.apple.driver.AppleCSEmbeddedAudio   740.41
com.apple.driver.AppleEmbeddedAudio 740.41
com.apple.iokit.AppleARMIISAudio    340.16
com.apple.driver.IISAudioIsolatedStreamECProxy  340.16
com.apple.driver.ExclavesAudioKext  1
com.apple.iokit.IOMobileGraphicsFamily-DCP  343.0.0
com.apple.iokit.IOMobileGraphicsFamily  343.0.0
com.apple.driver.AppleM2ScalerCSCDriver 265.0.0
com.apple.driver.AppleSPMI  1.0.1
com.apple.driver.AppleH13CameraInterface    8.701.0
com.apple.iokit.IOGPUFamily 93.40.3
com.apple.driver.ApplePassthroughPPM    3.0
com.apple.driver.AppleHIDTransportFIFO  7440.1
com.apple.driver.AppleHIDTransport  7440.1
com.apple.driver.AppleSPU   1
com.apple.driver.AppleInputDeviceSupport    7440.1
com.apple.driver.AppleDCP   1
com.apple.driver.DCPAVFamilyProxy   1
com.apple.driver.AppleFirmwareKit   1
com.apple.driver.AppleUSBXDCIARM    1.0
com.apple.driver.AppleUSBXDCI   1.0
com.apple.iokit.IOUSBDeviceFamily   2.0.0
com.apple.driver.usb.AppleSynopsysUSBXHCI   1
com.apple.driver.usb.AppleUSBXHCI   1.2
com.apple.driver.AppleEmbeddedUSBHost   1
com.apple.driver.usb.AppleUSBHub    1.2
com.apple.driver.usb.AppleUSBHostCompositeDevice    1.2
com.apple.driver.AppleT8122TypeCPhy 1
com.apple.driver.AppleHPM   3.4.4
com.apple.driver.AppleDockChannel   1
com.apple.driver.AppleSART  1
com.apple.driver.ApplePMGR  1
com.apple.driver.AppleA7IOP-ASCWrap-v6  1.0.2
com.apple.driver.AppleARMWatchdogTimer  1
com.apple.driver.AppleDisplayCrossbar   1.0.0
com.apple.iokit.IODisplayPortFamily 1.0.0
com.apple.driver.AppleTypeCPhy  1
com.apple.driver.AppleThunderboltNHI    7.2.81
com.apple.driver.AppleT8122PCIeC    1
com.apple.iokit.IOThunderboltFamily 9.3.3
com.apple.iokit.IOPortFamily    1.0
com.apple.driver.ApplePIODMA    1
com.apple.driver.AppleA7IOP-MXWrap-v1   1.0.2
com.apple.driver.AppleT6030PCIe 1
com.apple.driver.AppleBluetoothDebugService 1
com.apple.driver.AppleBCMWLANCore   1.0.0
com.apple.iokit.IO80211Family   1200.13.0
com.apple.driver.IOImageLoader  1.0.0
com.apple.driver.AppleOLYHAL    1
com.apple.driver.AppleMCA2-T6030    840.3
com.apple.driver.AppleEmbeddedAudioLibs 340.8
com.apple.driver.AppleFirmwareUpdateKext    1
com.apple.driver.AppleGPIOICController  1.0.2
com.apple.driver.AppleEverestErrorHandler   1
com.apple.driver.usb.AppleUSBHostPacketFilter   1.0
com.apple.driver.AppleMultiFunctionManager  1
com.apple.driver.corecapture    1.0.4
com.apple.driver.AppleEmbeddedPCIE  1
com.apple.driver.AppleMobileApNonce 1
com.apple.iokit.IOTimeSyncFamily    1240.15
com.apple.driver.DiskImages 493.0.0
com.apple.iokit.IOGraphicsFamily    598
com.apple.iokit.IOBluetoothFamily   9.0.0
com.apple.driver.AppleT6030ANEHAL   7.453.0
com.apple.driver.AppleSSE   1.0
com.apple.driver.AppleSEPKeyStore   2
com.apple.driver.AppleUSBTDM    556
com.apple.iokit.IOUSBMassStorageDriver  245
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOUSBHostFamily 1.2
com.apple.driver.AppleUSBHostMergeProperties    1.2
com.apple.driver.usb.AppleUSBCommon 1.0
com.apple.driver.AppleSMC   3.1.9
com.apple.driver.RTBuddy    1.0.0
com.apple.driver.AppleEmbeddedTempSensor    1.0.0
com.apple.driver.AppleARMPMU    1.0
com.apple.iokit.IOAccessoryManager  1.0.0
com.apple.driver.AppleOnboardSerial 1.0
com.apple.iokit.IOSerialFamily  11
com.apple.iokit.IOSCSIBlockCommandsDevice   495
com.apple.iokit.IOSCSIArchitectureModelFamily   495
com.apple.driver.AppleRSMChannel    1
com.apple.iokit.IORSMFamily 1
com.apple.driver.AppleLockdownMode  1
com.apple.driver.AppleIPAppender    1.0
com.apple.iokit.IOSkywalkFamily 1.0
com.apple.driver.mDNSOffloadUserClient  1.0.1b8
com.apple.iokit.IONetworkingFamily  3.4
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.driver.AppleEffaceableStorage 1.0
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.AppleSEPManager    1.0.1
com.apple.driver.IODARTFamily   1
com.apple.driver.AppleA7IOP 1.0.2
com.apple.driver.IOSlaveProcessor   1
com.apple.driver.AppleBiometricSensor   2
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.AUC   1.0
com.apple.iokit.IOSurface   352.50.1
com.apple.iokit.IOAVFamily  1.0.0
com.apple.iokit.IOHDCPFamily    1.0.0
com.apple.iokit.IOCECFamily 1
com.apple.iokit.IOAudio2Family  1.0
com.apple.driver.AppleIISController 340.1
com.apple.driver.AppleAudioClockLibs    340.8
com.apple.driver.FairPlayIOKit  71.10.0
com.apple.driver.AppleARMPlatform   1.0.2
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.iokit.IOReportFamily  47
com.apple.security.quarantine   4
com.apple.security.sandbox  300.0
com.apple.iokit.IOStorageFamily 2.1
com.apple.kext.AppleMatch   1.0.0d1
com.apple.driver.AppleMobileFileIntegrity   1.0.5
com.apple.iokit.CoreAnalyticsFamily 1
com.apple.security.AppleImage4  6.3.0
com.apple.kext.CoreTrust    1
com.apple.iokit.IOCryptoAcceleratorFamily   1.0.1
com.apple.kec.pthread   1
com.apple.kec.Libm  1
com.apple.kec.Compression   1.0
com.apple.kec.corecrypto    14.0

** Stackshot Succeeded ** Bytes Traced 604113 (Uncompressed 1580096) **
mrnugget commented 1 month ago

My Macbook Kernal Panicked an hour ago. But my Zed wasn't open when my mac Kernel panicked. I used it today and yesterday and the day before. It worked fine. Could it be Zed?

I don't think so, no. We don't have any background processes or agents running. If Zed's closed, it's closed.