Open sheblaev opened 1 year ago
valgrind does not report any leaks with the latest version of opensta in https://github.com/parallaxsw/OpenSTA.git. Since the line numbers in your report do not correspond to the latest sources I suspect you have a stale repo. You should always include the commit of the version you are running when reporting a bug.
Hi, The memory leak is detected with simple testcase. Here is the log (cmake_san.log at testcase):
=1484234==ERROR: LeakSanitizer: detected memory leaks Direct leak of 4 byte(s) in 2 object(s) allocated from:
0 0x558b023c9d3d in operator new[](unsigned long) work/stage_2/llvm-project-15.0.7.src/compiler-rt/lib/asan/asan_new_delete.cpp:98:3
Please unpack the 20230703.tar.gz and use run.tcl to reproduce. 20230703.tar.gz