Skip to content

[core] TDirectory::RegisterGDirectory must not update other TDirectoy without lock#8924

Merged
Axel-Naumann merged 1 commit intoroot-project:masterfrom
Axel-Naumann:TDirRegisterGDirectory-oldvalue
Aug 30, 2021
Merged

[core] TDirectory::RegisterGDirectory must not update other TDirectoy without lock#8924
Axel-Naumann merged 1 commit intoroot-project:masterfrom
Axel-Naumann:TDirRegisterGDirectory-oldvalue

Conversation

@Axel-Naumann
Copy link
Copy Markdown
Member

@Axel-Naumann Axel-Naumann commented Aug 26, 2021

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.

…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.
@Axel-Naumann Axel-Naumann requested a review from pcanal August 26, 2021 16:42
@Axel-Naumann Axel-Naumann self-assigned this Aug 26, 2021
@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

@pcanal pcanal changed the title [core] TDirectory::RegisterGDirectory must not update other TDirector… [core] TDirectory::RegisterGDirectory must not update other TDirectoy without lock Aug 26, 2021
@eguiraud
Copy link
Copy Markdown
Contributor

@phsft-bot build

@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

@eguiraud
Copy link
Copy Markdown
Contributor

(jenkins was stuck due to yesterday's outage)

@Axel-Naumann Axel-Naumann merged commit 79a669b into root-project:master Aug 30, 2021
@Axel-Naumann Axel-Naumann deleted the TDirRegisterGDirectory-oldvalue branch August 30, 2021 08:04
@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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TDirectory::RegisterGDirectory is MT unsafe

4 participants