Skip to content
Snippets Groups Projects

CxxUtils: Fix potential race in ConcurrentRangeMap::trim().

Merged Scott Snyder requested to merge ssnyder/athena:trimRace.CxxUtils-20190106 into master

When finishing the trim() operation, the begin pointer must be updated before queuing the dummy impl object for discard. Otherwise, another thread could potentially see a pointer to a deleted object.

Trying to fix infrequent crashes in CondCont_test observed in nightlies and CI.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading