Skip to content

fix: avoid parallel Doxygen heap corruption - #5

Merged
zackees merged 1 commit into
mainfrom
fix/doxygen-build-crash
Oct 21, 2026
Merged

zackees merged 1 commit into
mainfrom
fix/doxygen-build-crash

Conversation

@zackees

@zackees zackees commented Oct 21, 2026

Copy link
Copy Markdown
Member

Fix

Override the release Doxyfile's six processing workers with NUM_PROC_THREADS = 1, Doxygen's default serial mode. Exact-tag verification and curated inputs are unchanged.

Evidence

  • Two hosted builds of release 3.10.8 crashed with SIGSEGV: run 39690167427, attempts 1 and 2.
  • A local run of the exact release with Doxygen 1.13.2 reproduced heap corruption (malloc(): unaligned tcache chunk detected) in the parallel generateFileDocs worker, through FileDefImpl, HtmlDocVisitor, and DocVisitor.
  • With one worker, the local build passed the failing HTML generation phase and generated the landing page. Local Graphviz is absent, so final complete generation/deployment will be verified on the hosted runner, which installs Graphviz.
  • Shell syntax, whitespace checks, and local review passed.

@coderabbitai

coderabbitai Bot commented Oct 21, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ae4d2d59-404f-4f24-a506-b2b0df274195
📥 Commits

Reviewing files that changed from the base of the PR and between 698d103 and 965f377.

📒 Files selected for processing: 1
  • scripts/build-docs.sh
+----------------------------------+
| Software is hard. - Donald Knuth |
+----------------------------------+
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@zackees
zackees merged commit eec96c8 into main Oct 21, 2026
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant