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
Avoid freeing memory owned by TMVA::Reader #17266
Avoid freeing memory owned by TMVA::Reader #17266
Conversation
A new Pull Request was created by @dan131riley (Dan Riley) for CMSSW_9_0_X. It involves the following packages: EgammaAnalysis/ElectronTools @cmsbuild, @cvuosalo, @slava77, @monttj, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
@cmsbuild please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
+1 for #17266 3ca8416
|
@davidlange6 |
its on my todo list (but not at the top)
… On Jan 31, 2017, at 8:05 AM, Slava Krutelyov ***@***.***> wrote:
@davidlange6
please clarify if some extra work is needed here or are you just waiting for the missing analysis signature?
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
+1 |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Older versions of TMVA::Reader didn't clean up classification methods, and so leaked memory. Some CMS code cleaned up the memory itself to avoid leaking. Starting with ROOT 6.07+, TMVA::Reader now cleans up after itself, so the CMS cleanups are resulting in double frees and potentially corrupted memory. This (rather ugly) PR patches all the places I could easily find to not assume ownership of the objects. More details are in issue #17256