techlist.io

Debugging

3 posts

GitLab2026-07-273 min readCurated summary

Claude Opus 5 on GitLab: Reasoning built for the hard tasks

Claude Opus 5 is now available through GitLab Duo Agent Platform for complex, high-stakes engineering tasks. GitLab reports a 93.3% benchmark resolution rate, significantly above Opus 4.8’s 73.0%, while maintaining comparable or better speed. The model is intended for difficult debugging, large refactors, coordinated multi-agent work, and code reviews where correctness matters more than minimizing initial cost. ## Reliable Reasoning for Complex Work - Opus 5 is designed to maintain consistent reasoning across long-running tasks and multiple steps. - It aims to reduce partial patches, failed runs, diagnostic work, and repeated prompting. - In GitLab’s internal evaluation: - Opus 5 completed 100% of the tasks it attempted. - Its verified resolution rate was 93.3%, compared with 73.0% for Opus 4.8. - In one five-file SSO authentication task, Opus 5 implemented the feature, added exported types and configuration fields, committed the changes, and opened a merge request. - The model is also presented as effective for code review, identifying genuine bugs while producing relatively few false positives. ## Coordinating Multiple Agents - Opus 5 can support workflows where several agents work in parallel. - Subagent coordination helps prevent agents from interfering with one another’s changes. - Writer-verifier patterns allow one agent to check another’s output before it is accepted. - GitLab Credits usage caps can limit spending when running multiple parallel agents. ## Speed Alongside Depth - On GitLab’s most difficult benchmark tasks, Opus 5 was faster at the 95th percentile: - 768 seconds for Opus 5 versus 784.98 seconds for Opus 4.8. - 768 seconds versus 982.57 seconds for Sonnet 4.6. - GitLab argues that this combination of speed and reliability produces more predictable completion times for long tasks. ## Choosing the Appropriate Model - Sonnet-class models remain suited to routine development because they are fast, affordable, and dependable. - Opus 5 is recommended for: - Difficult debugging - Large refactors - Complex multi-file features - Decisions where rework would be costly - Model selection is configurable within GitLab, while all models use the same context management, policy controls, and audit trail. ## Availability - Claude Opus 5 is available on GitLab Duo Agent Platform and uses GitLab Credits. - New users can start with a free trial. - GitLab Premium and Ultimate subscribers can enable Duo Agent Platform and use included credits. Opus 5 is best viewed as a specialized model for high-complexity work rather than a universal replacement for faster Sonnet-class models. Teams should match the model to task difficulty and use spending limits when scaling autonomous, parallel-agent workflows.

OpenAI2026-06-293 min readCurated summary

Core dump epidemiology: fixing an 18-year-old bug

# Libunwind Race Condition and a Bad Host Behind Rockset's Mysterious Crashes OpenAI's Rockset service, a C++ data system that powers ChatGPT's search over connectors and conversations, began crashing with stacks that appeared to return to invalid addresses or to have a misaligned stack pointer. The author's team initially treated these as one impossible bug. A population-level analysis of core dumps revealed they were two unrelated problems: silent hardware corruption on a single Azure host, and an 18-year-old race condition in GNU libunwind that surfaces during C++ exception unwinding. The main lesson is that building a clean data set about the whole crash population was what made the diagnosis tractable. ## Two Crash Populations Hiding in One Symptom - Return-to-null crashes were spread across many clusters and regions, with no clean start date. - Misaligned-stack crashes came from one region, began on a specific date, and never occurred on long-running nodes, pointing to a single physical machine. - Earlier counterexamples that seemed to rule out exception unwinding came from the hardware cluster, which made the team's conclusions backward. ## Building a Population Dataset - The team had a script, written with ChatGPT, that downloaded the start of each core file, extracted registers, filtered false positives using logs, and labeled each crash as return-to-null, misaligned-stack, or other. - It ran in parallel across every production core dump from the previous year. - Log-based text searches had produced both false positives and false negatives, and manual inspection did not scale. ## Bug #1: A Bad Host - The misaligned-stack crashes traced to one physical Kubernetes node, which was denylisted. - Stress testing could not reproduce the register corruption, even after weeks. - Mitigations included adding register state to the fatal signal handler so recurrence can be spotted from logs, and reusing VMs rather than recycling them so bad nodes are easier to detect. ## Bug #2: A Libunwind Race in Exception Unwinding - C++ exception unwinding works like a longjmp: runtime helpers restore callee-saved registers, `%rbp`, and `%rsp` to transfer control to a catch block or cleanup handler. - The binary linked against both libgcc and GNU libunwind, and the dynamic linker selected libunwind's implementation. - Libunwind synthesizes a `ucontext_t` on the stack and passes it to `_Ux86_64_setcontext`. - The routine updates `%rsp` before it finishes reading the struct. In that window, a signal delivered by the kernel builds its frame at `%rsp-128` and can overwrite the struct, so the restored instruction pointer becomes NULL. - The race window is a single instruction, roughly a hundred picoseconds. A Fermi estimate still explained the observed rate: Rockset throws about 10⁴ exceptions per second for backpressure, and it delivers SIGUSR2 frequently through its coarse CPU-time clock. - The bug had existed since the first x86_64 version of libunwind's C++ unwinding support. It became visible only after the team increased exception and signal rates and added a `timer_getoverrun` call to the SIGUSR2 handler, which enlarged the handler's stack usage. ## Mitigation and Takeaways - The team switched from GNU libunwind to libgcc's unwinder, which also reduces lock contention on large VMs. - They upstreamed a reproducer and fix to GNU libunwind and confirmed that the other unwinders do not share the issue. - The central lesson is that high-quality population data separated two mixed phenomena and made the rest of the debugging straightforward. For infrastructure systems, this supports investing in deep instrumentation, automated investigation pipelines, and operational tooling.

Datadog2025-01-151 min readCurated summary

Unraveling a Postgres segfault that uncovered an Arm64 JIT compiler bug | Datadog

The provided content does not include the blog post itself; it contains Datadog’s navigation menu and a link titled “Unraveling a Postgres Segfault.” The only substantive claim shown is that Datadog was named a Leader in the 2026 Gartner® Magic Quadrant™ for Observability Platforms. ### Datadog’s Observability Offering - The navigation lists products for: - Infrastructure and Kubernetes monitoring - Application performance monitoring and profiling - Database, log, and data observability - Security and cloud protection - Digital experience monitoring - CI/CD and software delivery - Incident response and service management - AI-agent and GPU observability - It also highlights platform capabilities such as dashboards, alerts, workflow automation, access control, and governance. ### Missing Post Content - No discussion of the PostgreSQL segmentation fault is included. - The supplied text does not describe the failure’s cause, investigation process, technical diagnosis, or resolution. Please provide the article body or a complete excerpt for an accurate technical summary.