Repository navigation
[cling] DlClose what DlLibMan has DlOpened in reverse order - #19268
ferdymercury wants to merge 5 commits into
Conversation
|
@hageboeck I see some failures, maybe related with CMake targets. Do I need to add here the clean-build label? |
Most likely yes. |
Test Results 22 files 22 suites 3d 9h 41m 48s ⏱️ Results for commit 29057c1. ♻️ This comment has been updated with latest results. |
|
There are still failures, so they maybe actually related. Let's try one more rerun ... |
Yes, the failures seem related. |
|
One of the failing tests is https://github.com/root-project/root/blob/master/roottest/root/tree/cloning/runtreeCloneTest2.C which does not cleanup memory before the end of the script. Question: should we investigate why the crash happens? Or should we just do a proper cleanup at the end of the script, meaning file->Close() delete file;? |
|
Unfortunately we need to investigate the failure. However awkward that setup is, it is supported (on a best effort basis only though). |
|
Since there are less tests failing in debug mode, I'd bet it's a race condition. Or do you think rather that the problem is from other dlopen or dlclose places that are not being taken care of? |
|
restarting the build with the new code in master... |
|
Still failing :s Maybe related? #16270 |
7fea60f to
3efc822
Compare
835c4df to
8e6695a
Compare
All credit goes to anaumann, this is just a rebase of root-project#5568 [cling] move destructor to different cpp file
Before deleting the interpreter, ensure nothing is pending in global lists, otherwise things from TTreePlayer.so get destructed at teardown, after it was dlclosed by the interpreter. Finding this fix was AI-assisted.
8e6695a to
94f1f01
Compare
|
CI failure seems unrelated |
All credit goes to @Axel-Naumann, this is just a rebase of #5568 to see if it still works / makes sense or if it should just be closed.
Not sure if this is exhaustive, there might be other places to take care:
Related:
https://its.cern.ch/jira/browse/ROOT-10659
https://its.cern.ch/jira/browse/ROOT-6022