Code: Select all
==18451==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x558c9fb888 in operator new(unsigned long) (/home/[REDACTED]/code/ca/CatForce_/CatForce+0xdb888) (BuildId: e9aef6d41307c62f703332b2ec328ad8e6a64bee)
#1 0x558ca2a918 in CatalystSearcher::Init(char const*) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1136:29
#2 0x558ca296ec in main /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1672:12
#3 0x7fb8a77740 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#4 0x7fb8a77814 in __libc_start_main csu/../csu/libc-start.c:360:3
#5 0x558c94d76c in _start (/home/[REDACTED]/code/ca/CatForce_/CatForce+0x2d76c) (BuildId: e9aef6d41307c62f703332b2ec328ad8e6a64bee)
Direct leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x558c9fb888 in operator new(unsigned long) (/home/[REDACTED]/code/ca/CatForce_/CatForce+0xdb888) (BuildId: e9aef6d41307c62f703332b2ec328ad8e6a64bee)
#1 0x558ca2a874 in CatalystSearcher::Init(char const*) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1135:25
#2 0x558ca296ec in main /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1672:12
#3 0x7fb8a77740 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#4 0x7fb8a77814 in __libc_start_main csu/../csu/libc-start.c:360:3
#5 0x558c94d76c in _start (/home/[REDACTED]/code/ca/CatForce_/CatForce+0x2d76c) (BuildId: e9aef6d41307c62f703332b2ec328ad8e6a64bee)
Indirect leak of 10720 byte(s) in 2 object(s) allocated from:
#0 0x558c9fb888 in operator new(unsigned long) (/home/[REDACTED]/code/ca/CatForce_/CatForce+0xdb888) (BuildId: e9aef6d41307c62f703332b2ec328ad8e6a64bee)
#1 0x558ca3c940 in std::__new_allocator<SearchResult>::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/new_allocator.h:137:27
#2 0x558ca3b144 in std::vector<SearchResult, std::allocator<SearchResult> >::push_back(SearchResult const&) /usr/bin/../lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/stl_vector.h:1287:4
#3 0x558ca392fc in Category::Add(SearchResult&) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:903:44
#4 0x558ca33728 in CatalystSearcher::ReportSolution(Configuration&, unsigned int, unsigned int) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1362:24
#5 0x558ca2f3ec in CatalystSearcher::RecursiveSearch(Configuration, LifeState, LifeState, LifeState, std::vector<LifeState, std::allocator<LifeState> >, std::vector<LifeTarget, std::allocator<LifeTarget> >&, std::array<unsigned int, 5ul>, std::array<unsigned int, 5ul>) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1658:7
#6 0x558ca3212c in CatalystSearcher::TryAddingCatalyst(Configuration&, LifeState&, LifeState const&, LifeState const&, std::vector<LifeState, std::allocator<LifeState> >&, std::vector<LifeTarget, std::allocator<LifeTarget> >&, std::array<unsigned int, 5ul>&, std::array<unsigned int, 5ul>&) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1556:9
#7 0x558ca2ea58 in CatalystSearcher::RecursiveSearch(Configuration, LifeState, LifeState, LifeState, std::vector<LifeState, std::allocator<LifeState> >, std::vector<LifeTarget, std::allocator<LifeTarget> >&, std::array<unsigned int, 5ul>, std::array<unsigned int, 5ul>) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1609:9
#8 0x558ca2babc in CatalystSearcher::Search() /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1389:5
#9 0x558ca297ac in main /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1681:12
#10 0x7fb8a77740 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#11 0x7fb8a77814 in __libc_start_main csu/../csu/libc-start.c:360:3
#12 0x558c94d76c in _start (/home/[REDACTED]/code/ca/CatForce_/CatForce+0x2d76c) (BuildId: e9aef6d41307c62f703332b2ec328ad8e6a64bee)
Indirect leak of 2272 byte(s) in 4 object(s) allocated from:
#0 0x558c9fb888 in operator new(unsigned long) (/home/[REDACTED]/code/ca/CatForce_/CatForce+0xdb888) (BuildId: e9aef6d41307c62f703332b2ec328ad8e6a64bee)
#1 0x558ca344dc in CategoryContainer::Add(LifeState&, LifeState const&, LifeState const&, Configuration const&, unsigned int, unsigned int) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1006:26
#2 0x558ca33728 in CatalystSearcher::ReportSolution(Configuration&, unsigned int, unsigned int) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1362:24
#3 0x558ca2f3ec in CatalystSearcher::RecursiveSearch(Configuration, LifeState, LifeState, LifeState, std::vector<LifeState, std::allocator<LifeState> >, std::vector<LifeTarget, std::allocator<LifeTarget> >&, std::array<unsigned int, 5ul>, std::array<unsigned int, 5ul>) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1658:7
#4 0x558ca3212c in CatalystSearcher::TryAddingCatalyst(Configuration&, LifeState&, LifeState const&, LifeState const&, std::vector<LifeState, std::allocator<LifeState> >&, std::vector<LifeTarget, std::allocator<LifeTarget> >&, std::array<unsigned int, 5ul>&, std::array<unsigned int, 5ul>&) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1556:9
#5 0x558ca2ea58 in CatalystSearcher::RecursiveSearch(Configuration, LifeState, LifeState, LifeState, std::vector<LifeState, std::allocator<LifeState> >, std::vector<LifeTarget, std::allocator<LifeTarget> >&, std::array<unsigned int, 5ul>, std::array<unsigned int, 5ul>) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1609:9
#6 0x558ca2babc in CatalystSearcher::Search() /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1389:5
#7 0x558ca297ac in main /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1681:12
#8 0x7fb8a77740 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#9 0x7fb8a77814 in __libc_start_main csu/../csu/libc-start.c:360:3
#10 0x558c94d76c in _start (/home/[REDACTED]/code/ca/CatForce_/CatForce+0x2d76c) (BuildId: e9aef6d41307c62f703332b2ec328ad8e6a64bee)
Indirect leak of 1072 byte(s) in 2 object(s) allocated from:
#0 0x558c9fb888 in operator new(unsigned long) (/home/[REDACTED]/code/ca/CatForce_/CatForce+0xdb888) (BuildId: e9aef6d41307c62f703332b2ec328ad8e6a64bee)
#1 0x558ca3c940 in std::__new_allocator<SearchResult>::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/new_allocator.h:137:27
#2 0x558ca3b144 in std::vector<SearchResult, std::allocator<SearchResult> >::push_back(SearchResult const&) /usr/bin/../lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/stl_vector.h:1287:4
#3 0x558ca394c0 in Category::Category(LifeState&, SearchResult&, unsigned int, unsigned int) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:894:13
#4 0x558ca3459c in CategoryContainer::Add(LifeState&, LifeState const&, LifeState const&, Configuration const&, unsigned int, unsigned int) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1006:30
#5 0x558ca33728 in CatalystSearcher::ReportSolution(Configuration&, unsigned int, unsigned int) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1362:24
#6 0x558ca2f3ec in CatalystSearcher::RecursiveSearch(Configuration, LifeState, LifeState, LifeState, std::vector<LifeState, std::allocator<LifeState> >, std::vector<LifeTarget, std::allocator<LifeTarget> >&, std::array<unsigned int, 5ul>, std::array<unsigned int, 5ul>) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1658:7
#7 0x558ca3212c in CatalystSearcher::TryAddingCatalyst(Configuration&, LifeState&, LifeState const&, LifeState const&, std::vector<LifeState, std::allocator<LifeState> >&, std::vector<LifeTarget, std::allocator<LifeTarget> >&, std::array<unsigned int, 5ul>&, std::array<unsigned int, 5ul>&) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1556:9
#8 0x558ca2ea58 in CatalystSearcher::RecursiveSearch(Configuration, LifeState, LifeState, LifeState, std::vector<LifeState, std::allocator<LifeState> >, std::vector<LifeTarget, std::allocator<LifeTarget> >&, std::array<unsigned int, 5ul>, std::array<unsigned int, 5ul>) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1609:9
#9 0x558ca2babc in CatalystSearcher::Search() /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1389:5
#10 0x558ca297ac in main /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1681:12
#11 0x7fb8a77740 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#12 0x7fb8a77814 in __libc_start_main csu/../csu/libc-start.c:360:3
#13 0x558c94d76c in _start (/home/[REDACTED]/code/ca/CatForce_/CatForce+0x2d76c) (BuildId: e9aef6d41307c62f703332b2ec328ad8e6a64bee)
Indirect leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x558c9fb888 in operator new(unsigned long) (/home/[REDACTED]/code/ca/CatForce_/CatForce+0xdb888) (BuildId: e9aef6d41307c62f703332b2ec328ad8e6a64bee)
#1 0x558ca3aab0 in std::__new_allocator<Category*>::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/new_allocator.h:137:27
#2 0x558ca39a80 in void std::vector<Category*, std::allocator<Category*> >::emplace_back<Category*>(Category*&&) /usr/bin/../lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/vector.tcc:123:4
#3 0x558ca397e8 in std::vector<Category*, std::allocator<Category*> >::push_back(Category*&&) /usr/bin/../lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/stl_vector.h:1294:9
#4 0x558ca33728 in CatalystSearcher::ReportSolution(Configuration&, unsigned int, unsigned int) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1362:24
#5 0x558ca2f3ec in CatalystSearcher::RecursiveSearch(Configuration, LifeState, LifeState, LifeState, std::vector<LifeState, std::allocator<LifeState> >, std::vector<LifeTarget, std::allocator<LifeTarget> >&, std::array<unsigned int, 5ul>, std::array<unsigned int, 5ul>) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1658:7
#6 0x558ca3212c in CatalystSearcher::TryAddingCatalyst(Configuration&, LifeState&, LifeState const&, LifeState const&, std::vector<LifeState, std::allocator<LifeState> >&, std::vector<LifeTarget, std::allocator<LifeTarget> >&, std::array<unsigned int, 5ul>&, std::array<unsigned int, 5ul>&) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1556:9
#7 0x558ca2ea58 in CatalystSearcher::RecursiveSearch(Configuration, LifeState, LifeState, LifeState, std::vector<LifeState, std::allocator<LifeState> >, std::vector<LifeTarget, std::allocator<LifeTarget> >&, std::array<unsigned int, 5ul>, std::array<unsigned int, 5ul>) /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1609:9
#8 0x558ca2babc in CatalystSearcher::Search() /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1389:5
#9 0x558ca297ac in main /home/[REDACTED]/code/ca/CatForce/CatForce.cpp:1681:12
#10 0x7fb8a77740 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#11 0x7fb8a77814 in __libc_start_main csu/../csu/libc-start.c:360:3
#12 0x558c94d76c in _start (/home/[REDACTED]/code/ca/CatForce_/CatForce+0x2d76c) (BuildId: e9aef6d41307c62f703332b2ec328ad8e6a64bee)
SUMMARY: AddressSanitizer: 14160 byte(s) leaked in 11 allocation(s).