-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix forward compatibility with v6-30 #12845
Conversation
Rather than reading from the file the value of kIsOnHeap, preserve the value that was calculated at object creation time (i.e. in the current execution). For example, for an embedded object (inside an object created on the heap or stack), the bit always need to be off (i.e. it can never be explicitly deleted)
Starting build on |
Build failed on ROOT-debian10-i386/soversion. Failing tests: |
Build failed on ROOT-performance-centos8-multicore/cxx17. Failing tests: |
Build failed on ROOT-ubuntu2004/python3. Failing tests: |
Build failed on mac12/noimt. Failing tests: |
Build failed on ROOT-ubuntu18.04/nortcxxmod. Failing tests: |
Build failed on mac11/cxx14. Failing tests: |
Was this fix already backported to earlier ROOT releases than 6.28? |
Yes, see the full list of the side panel, it includes v6.26, v6.24 and more. However most have not been tagged yet. |
Thanks! |
Cherry-pick changes from root-project/root#10642 and root-project/root#12845
Cherry-pick root-project/root#12845, the root-project/root#10642 is already included in base
Cherry-pick root-project/root#12845, the root-project/root#10642 is already included in base
Cherry-pick root-project/root#12845, the root-project/root#10642 is already included in base
In v6-30 we no longer record the kIsOnHeap and kNotDeleted, however older version of ROOT do not yet set them properly when reading. This leads to spurrious error message like:
But also failure in some case where action is not taken because the object is incorrect thought to be already deleted.