请问HN:macOS Tahoe 26.3 beta 2中剪贴板溢出导致系统崩溃的问题?

3作者: nhubbard16 天前原帖
我提交这个问题是因为我不确定是我的机器出了问题,还是有一个可以在其他机器上重现的内核bug。我已经在我的机器上连续两次重现了这个问题。 我有一台16英寸的2024年11月M4 Pro MacBook Pro用于工作。它作为我们内部测试的一部分,已注册在AppleSeed中。 我正在进行的一个任务是为我们的内部配置系统构建一个IntelliJ IDEA插件。在我正在进行的一个增强功能中,我需要从IDE中获取多个PSI结构的样本。如果你曾经使用过IntelliJ Platform SDK,你就会知道这些PSI结构可能非常庞大,尤其是当你需要复制并粘贴它们以保存到文件时。 我尝试将其中一个PSI结构保存到文件中,以便能更仔细地分析它。我在IDE中按下了“复制PSI”,然后在Ghostty中打开Neovim进行粘贴,按下粘贴快捷键……结果我的系统锁死并且硬崩溃了。 我重启后又试了一次,系统再次硬崩溃。 我不确定我复制和粘贴的实际字符串有多长,但我知道它可能非常庞大。 问题是我无法判断这是Ghostty的问题还是系统的问题。Ghostty已经完全更新。 有没有人能够重现这个问题?
查看原文
I&#x27;m submitting this because I&#x27;m not sure if something is wrong with my machine, or if there&#x27;s a kernel bug that can be reproduced on another machine. I&#x27;ve been able to reproduce this issue on my machine twice in a row.<p>I have a 16-inch Nov 2024 M4 Pro MacBook Pro for my job. It&#x27;s enrolled in AppleSeed as part of our internal beta testing.<p>One of the tasks I&#x27;m working on is building an IntelliJ IDEA plugin for our internal configuration system. As part of an enhancement I&#x27;ve been working on, I&#x27;ve needed to get several samples of PSI structures from the IDE. If you&#x27;ve worked with the IntelliJ Platform SDK, you know these PSI structures can be absolutely massive, especially if you need to copy and paste them to save them to files.<p>I tried to save one of these PSI structures to a file so I could analyze it more closely. I pressed Copy PSI in the IDE, opened Neovim in Ghostty to paste, and pressed the paste shortcut... and my system locked up and hard-crashed.<p>I tried it again when I rebooted, and the system hard crashed again.<p>I&#x27;m not sure how long the actual string I was copying and pasting is, but I know it&#x27;s probably absolutely massive.<p>The problem is that I can&#x27;t figure out if this is a Ghostty issue or a system issue. Ghostty is fully up to date.<p>Is anyone able to reproduce this issue?