Skip to content

fix(#353): kernel patch for CDM_Application::myMetaDataLookUpTable reentrancy SIGABRT (v1.15.11)#358

Merged
gsdali merged 1 commit into
mainfrom
fix/353-cdm-metadata-lookup-table-race
Jul 23, 2026
Merged

fix(#353): kernel patch for CDM_Application::myMetaDataLookUpTable reentrancy SIGABRT (v1.15.11)#358
gsdali merged 1 commit into
mainfrom
fix/353-cdm-metadata-lookup-table-race

Conversation

@gsdali

@gsdali gsdali commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

Test plan

🤖 Generated with Claude Code

…entrancy SIGABRT (v1.15.11)

CDM_Application::myMetaDataLookUpTable is shared process-wide with no
synchronization on its map accesses or on individual CDM_MetaData objects'
myIsRetrieved/myDocument fields. Surfaced validating the #349 fix: a
different document's destructor racing CDM_Document::SetMetaData()'s
whole-table iteration (SIGABRT, confirmed by TSan: 1 race, 0 after fix).

Fixes upstream via Open-Cascade-SAS/OCCT#1396 (repro) / #1397 (fix, CI green).
CDM_MetaData::myDocumentVersion has the same unguarded-field shape but is
not TSan-observed racing — flagged for a future pass, not filed separately.

Rebased onto the concurrently-merged v1.15.10 docs-only TSan-gate release
(#357); this ships as v1.15.11 instead. Wired the #353 barrier reproducer
into Scripts/tsan-stress.sh's scenario matrix and removed its now-obsolete
suppression from Scripts/tsan.supp (the real fix lands instead of masking
it). Could not re-run the shared gate script's Libraries/occt-install-tsan
end-to-end here — its build dir was configured by a different concurrent
session's worktree (cross-worktree CMakeCache path mismatch); relied on
the equivalent ad-hoc TSan protocol (occt-install-tsan349) documented in
Scripts/repro/353-cdm-metadata-lookup-table/README.md instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@gsdali
gsdali force-pushed the fix/353-cdm-metadata-lookup-table-race branch from 6cdb7e9 to 237cc3b Compare July 23, 2026 02:02
@gsdali gsdali changed the title fix(#353): kernel patch for CDM_Application::myMetaDataLookUpTable reentrancy SIGABRT (v1.15.10) fix(#353): kernel patch for CDM_Application::myMetaDataLookUpTable reentrancy SIGABRT (v1.15.11) Jul 23, 2026
@gsdali

gsdali commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator Author

Rebased onto the concurrently-merged #357 (v1.15.10 docs-only TSan-gate release) — this now ships as v1.15.11 instead of v1.15.10 to avoid a version collision. Also wired the #353 barrier reproducer into Scripts/tsan-stress.sh's scenario matrix and removed its now-obsolete suppression from Scripts/tsan.supp (the real kernel fix lands instead of masking the race).

@gsdali
gsdali merged commit ba16ffe into main Jul 23, 2026
@gsdali
gsdali deleted the fix/353-cdm-metadata-lookup-table-race branch July 23, 2026 02:02
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