Case study · 2026

Qt 6.12 Accessibility Crash Fixes

Systems (C++/GPU) Open Source C++Qt 6.12CMakeAddressSanitizermacOS ARM64

Three C++ re-entrancy & memory-safety patches for Qt 6.12, with ASan reproducers.

$ ctest -R accessible_table_reentrancy
==81234==ERROR: AddressSanitizer: heap-use-after-free
    in QAccessibleTable::modelChange() qaccessible.cpp

after patch:
  [==========] 3 tests ran.  PASSED 3.  0 ASan reports.

The problem

While debugging LabPlot on macOS ARM64, I hit hard crashes inside Qt 6.12's accessibility layer - not my code, Qt's. Model-change notifications were re-entering QAccessibleTable and mutating collections mid-iteration; on Cocoa, a `-1` NSUInteger subscript crashed outright.

How it's built

I isolated each fault to a minimal reproducer under AddressSanitizer, then patched Qt itself: an iterator-invalidation fix in QAccessibleTable::modelChange, a re-entrancy guard around accessibility modelChange dispatch (QTBUG-149629), and a bounds guard on the Cocoa accessibility cell path. Patches are kept on reviewable qtbase branches for Gerrit submission.

Proof

Public repo with 3 documented crash fixes, ASan reproducers, and clean diffs - the kind of low-level, upstream-grade debugging most portfolios can't show.

Highlights

  • QTBUG-149629 - accessibility re-entrancy during modelChange
  • Iterator invalidation fix inside QAccessibleTable
  • macOS Cocoa -1 subscript crash guarded, ASan-clean after patch

← Back to all projects

60-second scan

Quick Pitch

Solo agent-systems engineer running a 170-agent production fleet and public evidence tooling from Lagos.

  • CG Trivia (cgtrivia.creativegrace.tech): 79,300+ matches, ~9,700 LOC Python, 109 tests, real on-chain payouts.
  • 170-agent PoA fleet, 24/7: multi-cloud orchestration with WAL-journaled async pipelines, run solo on lean VPS budgets.
  • Covenant Jury Guide (jury.creativegrace.tech): three deterministic local checks before any LLM call. Evaluation work at Fleet AI, Outlier, and Stellar AI.
Open /grants ↗ Contact → ayobamideledanielojo@gmail.com github.com/DrDanielGrace
esc