CGAL / cgal

The public CGAL repository, see the README below
https://github.com/CGAL/cgal#readme
Other
4.71k stars 1.35k forks source link

Triangulation_3: Memory leak in T_3 parallel (TBB) #7163

Closed lrineau closed 1 year ago

lrineau commented 1 year ago

On https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-5.5.2-I-132/Triangulation_3/TestReport_lrineau_Fedora-Release.gz, asan complains about memory leaks for test_delaunay_3 and test_regular_3.

Originally posted by @MaelRL in https://github.com/CGAL/cgal/issues/7115#issuecomment-1368871335

lrineau commented 1 year ago

Update of that issue. It is still present in recent internal releases. The last one has the issue: https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-5.5.3-I-147/Triangulation_3/TestReport_lrineau_Fedora-Release.gz

However, as for master, the last occurrence was in CGAL-5.6-I-14, dated end of June 2022. That is also the last release of CGAL where CGAL_LINKED_WITH_TBB is used. That is a bug: TBB should be used.

lrineau commented 1 year ago

I can confirm all my findings:

So, that means that I could close this issue, because it is in TBB. Another good action would be to install oneAPI-TBB on Fedora-Release, and reactivate ASAN+TBB for that test platform.

@afabri Advice?

afabri commented 1 year ago

Advice on what? I guess we should use ASAN only for a TBB without memory leak as we want to focus on those in CGAL itself.