Skip to content

Bug: memory leak detected in integrated test case 102_PW_DS_davsubspace #5343

@kirk0830

Description

@kirk0830

Describe the bug

Test case 102_PW_DS_davsubspace

On process id asan.10737

=================================================================
==10737==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 4816 byte(s) in 7 object(s) allocated from:
    #0 0x7fbbd813d887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fbb957e24fb  (<unknown module>)

Direct leak of 4816 byte(s) in 7 object(s) allocated from:
    #0 0x7fbbd813d887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fbbd736cbc6 in ompi_op_base_op_select (/lib/x86_64-linux-gnu/libmpi.so.40+0xd6bc6)

Direct leak of 2760 byte(s) in 4 object(s) allocated from:
    #0 0x7fbbd813da57 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154
    #1 0x7fbb9778ec13  (<unknown module>)
    #2 0x3933  (<unknown module>)

Direct leak of 260 byte(s) in 1 object(s) allocated from:
    #0 0x7fbbd813d887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fbb977d6226  (<unknown module>)

Direct leak of 256 byte(s) in 2 object(s) allocated from:
    #0 0x7fbbd813d887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fbb977ee0f1  (<unknown module>)

Direct leak of 240 byte(s) in 15 object(s) allocated from:
    #0 0x7fbbd813d887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x5628329ac456 in base_device::memory::resize_memory_op<std::complex<double>, base_device::DEVICE_CPU>::operator()(base_device::DEVICE_CPU const*, std::complex<double>*&, unsigned long, char const*) /__w/abacus-develop/abacus-develop/source/module_base/module_device/memory_op.cpp:23
    #2 0x5628323b1725 in const_nums<std::complex<double> >::const_nums() /__w/abacus-develop/abacus-develop/source/module_hsolver/diag_const_nums.cpp:47
    #3 0x56283240963f in hsolver::Diago_DavSubspace<std::complex<double>, base_device::DEVICE_CPU>::Diago_DavSubspace(std::vector<double, std::allocator<double> > const&, int const&, int const&, int const&, double const&, int const&, bool const&, hsolver::diag_comm_info const&) /__w/abacus-develop/abacus-develop/source/module_hsolver/diago_dav_subspace.cpp:24
    #4 0x562832450544 in hsolver::HSolverPW<std::complex<double>, base_device::DEVICE_CPU>::hamiltSolvePsiK(hamilt::Hamilt<std::complex<double>, base_device::DEVICE_CPU>*, psi::Psi<std::complex<double>, base_device::DEVICE_CPU>&, std::vector<double, std::allocator<double> >&, double*) /__w/abacus-develop/abacus-develop/source/module_hsolver/hsolver_pw.cpp:504
    #5 0x562832454fbb in hsolver::HSolverPW<std::complex<double>, base_device::DEVICE_CPU>::solve(hamilt::Hamilt<std::complex<double>, base_device::DEVICE_CPU>*, psi::Psi<std::complex<double>, base_device::DEVICE_CPU>&, elecstate::ElecState*, double*, int, int, bool) /__w/abacus-develop/abacus-develop/source/module_hsolver/hsolver_pw.cpp:306
    #6 0x5628327fd0c5 in ModuleESolver::ESolver_KS_PW<std::complex<double>, base_device::DEVICE_CPU>::hamilt2density(int, int, double) /__w/abacus-develop/abacus-develop/source/module_esolver/esolver_ks_pw.cpp:373
    #7 0x5628327d2aea in ModuleESolver::ESolver_KS<std::complex<double>, base_device::DEVICE_CPU>::runner(int, UnitCell&) /__w/abacus-develop/abacus-develop/source/module_esolver/esolver_ks.cpp:480
    #8 0x562832336e36 in Relax_Driver::relax_driver(ModuleESolver::ESolver*) /__w/abacus-develop/abacus-develop/source/module_relax/relax_driver.cpp:51
    #9 0x562832370d04 in Driver::driver_run() /__w/abacus-develop/abacus-develop/source/driver_run.cpp:68
    #10 0x562832369a1e in Driver::atomic_world() /__w/abacus-develop/abacus-develop/source/driver.cpp:186
    #11 0x56283236ed96 in Driver::init() /__w/abacus-develop/abacus-develop/source/driver.cpp:40
    #12 0x56283197b43a in main /__w/abacus-develop/abacus-develop/source/main.cpp:42

Direct leak of 240 byte(s) in 15 object(s) allocated from:
    #0 0x7fbbd813d887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x5628329ac456 in base_device::memory::resize_memory_op<std::complex<double>, base_device::DEVICE_CPU>::operator()(base_device::DEVICE_CPU const*, std::complex<double>*&, unsigned long, char const*) /__w/abacus-develop/abacus-develop/source/module_base/module_device/memory_op.cpp:23
    #2 0x5628323b1649 in const_nums<std::complex<double> >::const_nums() /__w/abacus-develop/abacus-develop/source/module_hsolver/diag_const_nums.cpp:44
    #3 0x56283240963f in hsolver::Diago_DavSubspace<std::complex<double>, base_device::DEVICE_CPU>::Diago_DavSubspace(std::vector<double, std::allocator<double> > const&, int const&, int const&, int const&, double const&, int const&, bool const&, hsolver::diag_comm_info const&) /__w/abacus-develop/abacus-develop/source/module_hsolver/diago_dav_subspace.cpp:24
    #4 0x562832450544 in hsolver::HSolverPW<std::complex<double>, base_device::DEVICE_CPU>::hamiltSolvePsiK(hamilt::Hamilt<std::complex<double>, base_device::DEVICE_CPU>*, psi::Psi<std::complex<double>, base_device::DEVICE_CPU>&, std::vector<double, std::allocator<double> >&, double*) /__w/abacus-develop/abacus-develop/source/module_hsolver/hsolver_pw.cpp:504
    #5 0x562832454fbb in hsolver::HSolverPW<std::complex<double>, base_device::DEVICE_CPU>::solve(hamilt::Hamilt<std::complex<double>, base_device::DEVICE_CPU>*, psi::Psi<std::complex<double>, base_device::DEVICE_CPU>&, elecstate::ElecState*, double*, int, int, bool) /__w/abacus-develop/abacus-develop/source/module_hsolver/hsolver_pw.cpp:306
    #6 0x5628327fd0c5 in ModuleESolver::ESolver_KS_PW<std::complex<double>, base_device::DEVICE_CPU>::hamilt2density(int, int, double) /__w/abacus-develop/abacus-develop/source/module_esolver/esolver_ks_pw.cpp:373
    #7 0x5628327d2aea in ModuleESolver::ESolver_KS<std::complex<double>, base_device::DEVICE_CPU>::runner(int, UnitCell&) /__w/abacus-develop/abacus-develop/source/module_esolver/esolver_ks.cpp:480
    #8 0x562832336e36 in Relax_Driver::relax_driver(ModuleESolver::ESolver*) /__w/abacus-develop/abacus-develop/source/module_relax/relax_driver.cpp:51
    #9 0x562832370d04 in Driver::driver_run() /__w/abacus-develop/abacus-develop/source/driver_run.cpp:68
    #10 0x562832369a1e in Driver::atomic_world() /__w/abacus-develop/abacus-develop/source/driver.cpp:186
    #11 0x56283236ed96 in Driver::init() /__w/abacus-develop/abacus-develop/source/driver.cpp:40
    #12 0x56283197b43a in main /__w/abacus-develop/abacus-develop/source/main.cpp:42

Direct leak of 240 byte(s) in 15 object(s) allocated from:
    #0 0x7fbbd813d887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x5628329ac456 in base_device::memory::resize_memory_op<std::complex<double>, base_device::DEVICE_CPU>::operator()(base_device::DEVICE_CPU const*, std::complex<double>*&, unsigned long, char const*) /__w/abacus-develop/abacus-develop/source/module_base/module_device/memory_op.cpp:23
    #2 0x5628323b1803 in const_nums<std::complex<double> >::const_nums() /__w/abacus-develop/abacus-develop/source/module_hsolver/diag_const_nums.cpp:50
    #3 0x56283240963f in hsolver::Diago_DavSubspace<std::complex<double>, base_device::DEVICE_CPU>::Diago_DavSubspace(std::vector<double, std::allocator<double> > const&, int const&, int const&, int const&, double const&, int const&, bool const&, hsolver::diag_comm_info const&) /__w/abacus-develop/abacus-develop/source/module_hsolver/diago_dav_subspace.cpp:24
    #4 0x562832450544 in hsolver::HSolverPW<std::complex<double>, base_device::DEVICE_CPU>::hamiltSolvePsiK(hamilt::Hamilt<std::complex<double>, base_device::DEVICE_CPU>*, psi::Psi<std::complex<double>, base_device::DEVICE_CPU>&, std::vector<double, std::allocator<double> >&, double*) /__w/abacus-develop/abacus-develop/source/module_hsolver/hsolver_pw.cpp:504
    #5 0x562832454fbb in hsolver::HSolverPW<std::complex<double>, base_device::DEVICE_CPU>::solve(hamilt::Hamilt<std::complex<double>, base_device::DEVICE_CPU>*, psi::Psi<std::complex<double>, base_device::DEVICE_CPU>&, elecstate::ElecState*, double*, int, int, bool) /__w/abacus-develop/abacus-develop/source/module_hsolver/hsolver_pw.cpp:306
    #6 0x5628327fd0c5 in ModuleESolver::ESolver_KS_PW<std::complex<double>, base_device::DEVICE_CPU>::hamilt2density(int, int, double) /__w/abacus-develop/abacus-develop/source/module_esolver/esolver_ks_pw.cpp:373
    #7 0x5628327d2aea in ModuleESolver::ESolver_KS<std::complex<double>, base_device::DEVICE_CPU>::runner(int, UnitCell&) /__w/abacus-develop/abacus-develop/source/module_esolver/esolver_ks.cpp:480
    #8 0x562832336e36 in Relax_Driver::relax_driver(ModuleESolver::ESolver*) /__w/abacus-develop/abacus-develop/source/module_relax/relax_driver.cpp:51
    #9 0x562832370d04 in Driver::driver_run() /__w/abacus-develop/abacus-develop/source/driver_run.cpp:68
    #10 0x562832369a1e in Driver::atomic_world() /__w/abacus-develop/abacus-develop/source/driver.cpp:186
    #11 0x56283236ed96 in Driver::init() /__w/abacus-develop/abacus-develop/source/driver.cpp:40
    #12 0x56283197b43a in main /__w/abacus-develop/abacus-develop/source/main.cpp:42

Direct leak of 64 byte(s) in 1 object(s) allocated from:
    #0 0x7fbbd813d887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fbb97872323  (<unknown module>)

Direct leak of 48 byte(s) in 1 object(s) allocated from:
    #0 0x7fbbd813d887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fbb977fa83d  (<unknown module>)

Direct leak of 44 byte(s) in 2 object(s) allocated from:
    #0 0x7fbbd813d887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fbbbd14f157  (/lib/x86_64-linux-gnu/libc.so.6+0x88157)

Direct leak of 30 byte(s) in 1 object(s) allocated from:
    #0 0x7fbbd813d887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fbb951a34e6  (<unknown module>)

Direct leak of 22 byte(s) in 1 object(s) allocated from:
    #0 0x7fbbd80e49a7 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:454
    #1 0x7fbb97778f23  (<unknown module>)

Direct leak of 19 byte(s) in 1 object(s) allocated from:
    #0 0x7fbbd80e49a7 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:454
    #1 0x7fbb950e2570  (<unknown module>)
    #2 0x3730312e66323132  (<unknown module>)

Direct leak of 5 byte(s) in 1 object(s) allocated from:
    #0 0x7fbbd80e49a7 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:454
    #1 0x7fbb97778d65  (<unknown module>)

Direct leak of 1 byte(s) in 1 object(s) allocated from:
    #0 0x7fbbd80e49a7 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:454
    #1 0x7fbb951f60f4  (<unknown module>)

SUMMARY: AddressSanitizer: 13861 byte(s) leaked in 75 allocation(s).

On process id asan.10738

=================================================================
==10738==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 4816 byte(s) in 7 object(s) allocated from:
    #0 0x7f55b67e6887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7f55b5a15bc6 in ompi_op_base_op_select (/lib/x86_64-linux-gnu/libmpi.so.40+0xd6bc6)

Direct leak of 4816 byte(s) in 7 object(s) allocated from:
    #0 0x7f55b67e6887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7f5573e8b4fb  (<unknown module>)

Direct leak of 2760 byte(s) in 4 object(s) allocated from:
    #0 0x7f55b67e6a57 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154
    #1 0x7f5575e37c13  (<unknown module>)
    #2 0x3933  (<unknown module>)

Direct leak of 260 byte(s) in 1 object(s) allocated from:
    #0 0x7f55b67e6887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7f5575e7f226  (<unknown module>)

Direct leak of 256 byte(s) in 2 object(s) allocated from:
    #0 0x7f55b67e6887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7f5575e970f1  (<unknown module>)

Direct leak of 240 byte(s) in 15 object(s) allocated from:
    #0 0x7f55b67e6887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x561970431456 in base_device::memory::resize_memory_op<std::complex<double>, base_device::DEVICE_CPU>::operator()(base_device::DEVICE_CPU const*, std::complex<double>*&, unsigned long, char const*) /__w/abacus-develop/abacus-develop/source/module_base/module_device/memory_op.cpp:23
    #2 0x56196fe36649 in const_nums<std::complex<double> >::const_nums() /__w/abacus-develop/abacus-develop/source/module_hsolver/diag_const_nums.cpp:44
    #3 0x56196fe8e63f in hsolver::Diago_DavSubspace<std::complex<double>, base_device::DEVICE_CPU>::Diago_DavSubspace(std::vector<double, std::allocator<double> > const&, int const&, int const&, int const&, double const&, int const&, bool const&, hsolver::diag_comm_info const&) /__w/abacus-develop/abacus-develop/source/module_hsolver/diago_dav_subspace.cpp:24
    #4 0x56196fed5544 in hsolver::HSolverPW<std::complex<double>, base_device::DEVICE_CPU>::hamiltSolvePsiK(hamilt::Hamilt<std::complex<double>, base_device::DEVICE_CPU>*, psi::Psi<std::complex<double>, base_device::DEVICE_CPU>&, std::vector<double, std::allocator<double> >&, double*) /__w/abacus-develop/abacus-develop/source/module_hsolver/hsolver_pw.cpp:504
    #5 0x56196fed9fbb in hsolver::HSolverPW<std::complex<double>, base_device::DEVICE_CPU>::solve(hamilt::Hamilt<std::complex<double>, base_device::DEVICE_CPU>*, psi::Psi<std::complex<double>, base_device::DEVICE_CPU>&, elecstate::ElecState*, double*, int, int, bool) /__w/abacus-develop/abacus-develop/source/module_hsolver/hsolver_pw.cpp:306
    #6 0x5619702820c5 in ModuleESolver::ESolver_KS_PW<std::complex<double>, base_device::DEVICE_CPU>::hamilt2density(int, int, double) /__w/abacus-develop/abacus-develop/source/module_esolver/esolver_ks_pw.cpp:373
    #7 0x561970257aea in ModuleESolver::ESolver_KS<std::complex<double>, base_device::DEVICE_CPU>::runner(int, UnitCell&) /__w/abacus-develop/abacus-develop/source/module_esolver/esolver_ks.cpp:480
    #8 0x56196fdbbe36 in Relax_Driver::relax_driver(ModuleESolver::ESolver*) /__w/abacus-develop/abacus-develop/source/module_relax/relax_driver.cpp:51
    #9 0x56196fdf5d04 in Driver::driver_run() /__w/abacus-develop/abacus-develop/source/driver_run.cpp:68
    #10 0x56196fdeea1e in Driver::atomic_world() /__w/abacus-develop/abacus-develop/source/driver.cpp:186
    #11 0x56196fdf3d96 in Driver::init() /__w/abacus-develop/abacus-develop/source/driver.cpp:40
    #12 0x56196f40043a in main /__w/abacus-develop/abacus-develop/source/main.cpp:42

Direct leak of 240 byte(s) in 15 object(s) allocated from:
    #0 0x7f55b67e6887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x561970431456 in base_device::memory::resize_memory_op<std::complex<double>, base_device::DEVICE_CPU>::operator()(base_device::DEVICE_CPU const*, std::complex<double>*&, unsigned long, char const*) /__w/abacus-develop/abacus-develop/source/module_base/module_device/memory_op.cpp:23
    #2 0x56196fe36803 in const_nums<std::complex<double> >::const_nums() /__w/abacus-develop/abacus-develop/source/module_hsolver/diag_const_nums.cpp:50
    #3 0x56196fe8e63f in hsolver::Diago_DavSubspace<std::complex<double>, base_device::DEVICE_CPU>::Diago_DavSubspace(std::vector<double, std::allocator<double> > const&, int const&, int const&, int const&, double const&, int const&, bool const&, hsolver::diag_comm_info const&) /__w/abacus-develop/abacus-develop/source/module_hsolver/diago_dav_subspace.cpp:24
    #4 0x56196fed5544 in hsolver::HSolverPW<std::complex<double>, base_device::DEVICE_CPU>::hamiltSolvePsiK(hamilt::Hamilt<std::complex<double>, base_device::DEVICE_CPU>*, psi::Psi<std::complex<double>, base_device::DEVICE_CPU>&, std::vector<double, std::allocator<double> >&, double*) /__w/abacus-develop/abacus-develop/source/module_hsolver/hsolver_pw.cpp:504
    #5 0x56196fed9fbb in hsolver::HSolverPW<std::complex<double>, base_device::DEVICE_CPU>::solve(hamilt::Hamilt<std::complex<double>, base_device::DEVICE_CPU>*, psi::Psi<std::complex<double>, base_device::DEVICE_CPU>&, elecstate::ElecState*, double*, int, int, bool) /__w/abacus-develop/abacus-develop/source/module_hsolver/hsolver_pw.cpp:306
    #6 0x5619702820c5 in ModuleESolver::ESolver_KS_PW<std::complex<double>, base_device::DEVICE_CPU>::hamilt2density(int, int, double) /__w/abacus-develop/abacus-develop/source/module_esolver/esolver_ks_pw.cpp:373
    #7 0x561970257aea in ModuleESolver::ESolver_KS<std::complex<double>, base_device::DEVICE_CPU>::runner(int, UnitCell&) /__w/abacus-develop/abacus-develop/source/module_esolver/esolver_ks.cpp:480
    #8 0x56196fdbbe36 in Relax_Driver::relax_driver(ModuleESolver::ESolver*) /__w/abacus-develop/abacus-develop/source/module_relax/relax_driver.cpp:51
    #9 0x56196fdf5d04 in Driver::driver_run() /__w/abacus-develop/abacus-develop/source/driver_run.cpp:68
    #10 0x56196fdeea1e in Driver::atomic_world() /__w/abacus-develop/abacus-develop/source/driver.cpp:186
    #11 0x56196fdf3d96 in Driver::init() /__w/abacus-develop/abacus-develop/source/driver.cpp:40
    #12 0x56196f40043a in main /__w/abacus-develop/abacus-develop/source/main.cpp:42

Direct leak of 240 byte(s) in 15 object(s) allocated from:
    #0 0x7f55b67e6887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x561970431456 in base_device::memory::resize_memory_op<std::complex<double>, base_device::DEVICE_CPU>::operator()(base_device::DEVICE_CPU const*, std::complex<double>*&, unsigned long, char const*) /__w/abacus-develop/abacus-develop/source/module_base/module_device/memory_op.cpp:23
    #2 0x56196fe36725 in const_nums<std::complex<double> >::const_nums() /__w/abacus-develop/abacus-develop/source/module_hsolver/diag_const_nums.cpp:47
    #3 0x56196fe8e63f in hsolver::Diago_DavSubspace<std::complex<double>, base_device::DEVICE_CPU>::Diago_DavSubspace(std::vector<double, std::allocator<double> > const&, int const&, int const&, int const&, double const&, int const&, bool const&, hsolver::diag_comm_info const&) /__w/abacus-develop/abacus-develop/source/module_hsolver/diago_dav_subspace.cpp:24
    #4 0x56196fed5544 in hsolver::HSolverPW<std::complex<double>, base_device::DEVICE_CPU>::hamiltSolvePsiK(hamilt::Hamilt<std::complex<double>, base_device::DEVICE_CPU>*, psi::Psi<std::complex<double>, base_device::DEVICE_CPU>&, std::vector<double, std::allocator<double> >&, double*) /__w/abacus-develop/abacus-develop/source/module_hsolver/hsolver_pw.cpp:504
    #5 0x56196fed9fbb in hsolver::HSolverPW<std::complex<double>, base_device::DEVICE_CPU>::solve(hamilt::Hamilt<std::complex<double>, base_device::DEVICE_CPU>*, psi::Psi<std::complex<double>, base_device::DEVICE_CPU>&, elecstate::ElecState*, double*, int, int, bool) /__w/abacus-develop/abacus-develop/source/module_hsolver/hsolver_pw.cpp:306
    #6 0x5619702820c5 in ModuleESolver::ESolver_KS_PW<std::complex<double>, base_device::DEVICE_CPU>::hamilt2density(int, int, double) /__w/abacus-develop/abacus-develop/source/module_esolver/esolver_ks_pw.cpp:373
    #7 0x561970257aea in ModuleESolver::ESolver_KS<std::complex<double>, base_device::DEVICE_CPU>::runner(int, UnitCell&) /__w/abacus-develop/abacus-develop/source/module_esolver/esolver_ks.cpp:480
    #8 0x56196fdbbe36 in Relax_Driver::relax_driver(ModuleESolver::ESolver*) /__w/abacus-develop/abacus-develop/source/module_relax/relax_driver.cpp:51
    #9 0x56196fdf5d04 in Driver::driver_run() /__w/abacus-develop/abacus-develop/source/driver_run.cpp:68
    #10 0x56196fdeea1e in Driver::atomic_world() /__w/abacus-develop/abacus-develop/source/driver.cpp:186
    #11 0x56196fdf3d96 in Driver::init() /__w/abacus-develop/abacus-develop/source/driver.cpp:40
    #12 0x56196f40043a in main /__w/abacus-develop/abacus-develop/source/main.cpp:42

Direct leak of 64 byte(s) in 1 object(s) allocated from:
    #0 0x7f55b67e6887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7f5575f1b323  (<unknown module>)

Direct leak of 57 byte(s) in 3 object(s) allocated from:
    #0 0x7f55b67e6887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7f559b7f7157  (/lib/x86_64-linux-gnu/libc.so.6+0x88157)

Direct leak of 48 byte(s) in 1 object(s) allocated from:
    #0 0x7f55b67e6887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7f5575ea383d  (<unknown module>)

Direct leak of 30 byte(s) in 1 object(s) allocated from:
    #0 0x7f55b67e6887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7f557384c4e6  (<unknown module>)

Direct leak of 22 byte(s) in 1 object(s) allocated from:
    #0 0x7f55b678d9a7 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:454
    #1 0x7f5575e21f23  (<unknown module>)

Direct leak of 19 byte(s) in 1 object(s) allocated from:
    #0 0x7f55b678d9a7 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:454
    #1 0x7f557378b570  (<unknown module>)
    #2 0x3730312e66323132  (<unknown module>)

Direct leak of 5 byte(s) in 1 object(s) allocated from:
    #0 0x7f55b678d9a7 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:454
    #1 0x7f5575e21d65  (<unknown module>)

Direct leak of 1 byte(s) in 1 object(s) allocated from:
    #0 0x7f55b678d9a7 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:454
    #1 0x7f557389f0f4  (<unknown module>)

SUMMARY: AddressSanitizer: 13874 byte(s) leaked in 76 allocation(s).

Expected behavior

No response

To Reproduce

No response

Environment

No response

Additional Context

No response

Task list for Issue attackers (only for developers)

  • Verify the issue is not a duplicate.
  • Describe the bug.
  • Steps to reproduce.
  • Expected behavior.
  • Error message.
  • Environment details.
  • Additional context.
  • Assign a priority level (low, medium, high, urgent).
  • Assign the issue to a team member.
  • Label the issue with relevant tags.
  • Identify possible related issues.
  • Create a unit test or automated test to reproduce the bug (if applicable).
  • Fix the bug.
  • Test the fix.
  • Update documentation (if necessary).
  • Close the issue and inform the reporter (if applicable).

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugsBugs that only solvable with sufficient knowledge of DFT

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions