frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Bending Spoons laid off almost everybody at Vimeo yesterday

79•Daemon404•1h ago•39 comments

Ask HN: Do you have any evidence that agentic coding works?

372•terabytest•1d ago•379 comments

Avoid Cerebras if you are a founder

5•remusomega•54m ago•2 comments

Ask HN: Revive a mostly dead Discord server

17•movedx•20h ago•23 comments

Ask HN: COBOL devs, how are AI coding affecting your work?

167•zkid18•2d ago•183 comments

Ask HN: Which common map projections make Greenland look smaller?

17•jimnotgym•23h ago•16 comments

Ask HN: Is retreq / retspec a thing?

2•foobarbecue•4h ago•0 comments

Ask HN: How do you keep system context from rotting over time?

15•kennethops•1d ago•20 comments

Ask HN: Why don't tech companies provide housing?

5•alcasa•5h ago•7 comments

Ask HN: Is it even possible to stop Google Calendar Spam?

4•artur_makly•1h ago•1 comments

Ask HN: How to introduce Claude Code to a team?

8•9dev•1d ago•3 comments

Ask HN: What are the recommender systems papers from 2024-2025?

14•haensi•1d ago•1 comments

Ask HN: What's an API that you wish existed?

9•tornikeo•1d ago•14 comments

Ask HN: Did past "bubbles" have so many people claiming we were in a bubble?

16•bmau5•19h ago•18 comments

Ask HN: Local models to support home network infrastructure?

5•DrAwdeOccarim•1d ago•3 comments

Ask HN: Breaking into tech project management from different field?

4•conner_h5•20h ago•4 comments

Ask HN: How worried should I be about running LLM code on my machine?

9•scoofy•1d ago•4 comments

Ask HN: Should you combine your personal website and blog or keep them separate?

6•nanfinitum•23h ago•3 comments

Ask HN: Clipboard overflows causing system crashes in macOS Tahoe 26.3 beta 2?

8•nhubbard•1d ago•3 comments

Ask HN: How would you design for this scale today?

4•phs318u•1d ago•4 comments

Ask HN: Would you trust a new browser security extension in 2025?

3•linklock•1d ago•8 comments

Ask HN: What non-fiction do you read?

14•yanis_t•1d ago•15 comments

TruCite–an independent verification layer for AI outputs in regulated workflows

3•docmani74•1d ago•0 comments

Ask HN: What should I do with my old laptop in 2026?

5•nanfinitum•1d ago•8 comments

Treating anxiety as a bug in legacy code (engineering approach)

5•bitkin_dev•1d ago•5 comments

AI Californication

6•shoman3003•1d ago•2 comments

Ask HN: Do we need independence and autonomy in Edge-Cloud?

2•Dutchhack•19h ago•3 comments

Ask HN: how to detect teammate vs. enemy in Krunker.io?

2•kracked0x•20h ago•0 comments

Fabric lets me assess online AI from my Unix CLI

2•oldguy101•21h ago•1 comments

Ask HN: Claude Opus performance affected by time of day?

39•scaredreally•5d ago•39 comments
Open in hackernews

Ask HN: Clipboard overflows causing system crashes in macOS Tahoe 26.3 beta 2?

8•nhubbard•1d ago
I'm submitting this because I'm not sure if something is wrong with my machine, or if there's a kernel bug that can be reproduced on another machine. I've been able to reproduce this issue on my machine twice in a row.

I have a 16-inch Nov 2024 M4 Pro MacBook Pro for my job. It's enrolled in AppleSeed as part of our internal beta testing.

One of the tasks I'm working on is building an IntelliJ IDEA plugin for our internal configuration system. As part of an enhancement I've been working on, I've needed to get several samples of PSI structures from the IDE. If you'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.

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.

I tried it again when I rebooted, and the system hard crashed again.

I'm not sure how long the actual string I was copying and pasting is, but I know it's probably absolutely massive.

The problem is that I can't figure out if this is a Ghostty issue or a system issue. Ghostty is fully up to date.

Is anyone able to reproduce this issue?

Comments

nhubbard•23h ago
Update: Several reproduction sessions later, it appears that the content of one specific YAML file's PSI structure is causing a negative interaction with the system's EndpointSecurity extension process. Either one of the AV products on my work machine or the EndpointSecurity extension itself are panicking when the Pasteboard daemon attempts to output the contents. My work's IT team is awesome, so they upgraded a testing machine to 26.3b2, ran the same test, and it was also affected.

The issue was happening in Ghostty, iTerm2, and Terminal.app. It happened by (a) pasting directly into the terminal prompt with Command-V, (b) using `pbpaste` in any way (like piping it into `wc -c`), or (c) pasting into an editor like Neovim with Command-V.

It doesn't happen with any other file I tested it with. It also doesn't happen if I try to paste into another app, like Visual Studio Code, TextEdit, or IntelliJ IDEA itself.

Nothing is inherently wrong with the binary/text content of the file. It's all ASCII characters.

tredntstedhn•12h ago
The macos dev forum is very responsive to questions like these, I suggest you ask this there too https://developer.apple.com/forums/tags/macos
nhubbard•2h ago
I would normally do something like that; however, we opted to open an AppleCare Enterprise case for it, since it gets an engineer to look into the issue.

Both our Mac IT manager and I are thinking that it's the AV engine (Microsoft Defender) seeing fragments of YAML in the PSI tree and then blowing up after trying to parse the next line (which is not a truly valid YAML tree, it's a YAML tree with all the semantic details produced by IntelliJ). That in and of itself shouldn't be an issue, but I guess they weren't expecting random fragments of YAML to be copied and pasted.

We're still not sure why it only triggers in terminal emulators, though. That one is a total mystery.