Skip to content

6-24: [core] TDirectory::RegisterGDirectory must not update other TDirectory without lock:#8929

Merged
Axel-Naumann merged 1 commit intoroot-project:v6-24-00-patchesfrom
Axel-Naumann:TDirRegisterGDirectory-oldvalue-624
Aug 30, 2021
Merged

6-24: [core] TDirectory::RegisterGDirectory must not update other TDirectory without lock:#8929
Axel-Naumann merged 1 commit intoroot-project:v6-24-00-patchesfrom
Axel-Naumann:TDirRegisterGDirectory-oldvalue-624

Conversation

@Axel-Naumann
Copy link
Copy Markdown
Member

As we cannot even know whether the other TDirectory has been deleted in the meantime, we have to
skip the optimization of erasing globalptr from the list of the oldvalue.

This is expected to fix MT crashes observed by Alice.

(cherry picked from commit 79a669b)

This Pull request:

Changes or fixes:

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

This PR fixes #

…y without lock:

As we cannot even know whether the other TDirectory has been deleted in the meantime, we have to
skip the optimization of erasing globalptr from the list of the oldvalue.

This is expected to fix MT crashes observed by Alice.

(cherry picked from commit 79a669b)
@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-ubuntu16/nortcxxmod, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds

@phsft-bot
Copy link
Copy Markdown

Build failed on mac11.0/cxx17.
Running on macphsft20.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build
See console output.

Errors:

  • [2021-08-30T08:07:31.642Z] CMake Error at /Users/sftnight/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1045 (message):

@phsft-bot
Copy link
Copy Markdown

Build failed on windows10/cxx14.
Running on null:C:\build\workspace\root-pullrequests-build
See console output.

Failing tests:

@Axel-Naumann
Copy link
Copy Markdown
Member Author

@phsft-bot build just on mac11.0/cxx17

@phsft-bot
Copy link
Copy Markdown

Starting build on mac11.0/cxx17
How to customize builds

@Axel-Naumann Axel-Naumann merged commit c06ad10 into root-project:v6-24-00-patches Aug 30, 2021
@Axel-Naumann Axel-Naumann deleted the TDirRegisterGDirectory-oldvalue-624 branch August 30, 2021 14:53
@Axel-Naumann Axel-Naumann linked an issue Aug 30, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TDirectory::RegisterGDirectory is MT unsafe

3 participants