Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Race condition in TClass::fStreamerImpl value for emulated classes. #17753

Closed
pcanal opened this issue Feb 18, 2025 · 0 comments · Fixed by #17714, #17759 or #17758
Closed

Race condition in TClass::fStreamerImpl value for emulated classes. #17753

pcanal opened this issue Feb 18, 2025 · 0 comments · Fixed by #17714, #17759 or #17758

Comments

@pcanal
Copy link
Member

pcanal commented Feb 18, 2025

Description

As originally report at cms-sw/cmssw#47287 (comment),
there is a race condition in the setting of TClass::fStreamerImpl for emulated classes. For those class
the TClass property are not final (they can be updated from 'new' information coming from the interpreter
and the current implementation of the check if this update is needed has a race condition that leads to
the use of the wrong StreamerImpl in some (rare) cases as seen in the original report.

Reproducer

root-project/roottest#1262

ROOT version

All version prior to v6.36/00, v6.34.06, v6.32.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment