Hey, great project.
...
hird_party/alice/repo/include/alice/api.hpp:436
#23 0x55c0cadff99b in alice::insert_commands<alice::cli<>, std::tuple<alice::send_coap_command, alice::start_command, alice::discover_command, alice::read_command>, 4ul>::insert_commands(alice::cli<>&) /home/nimda/test/knx-iot/third_party/alice/repo/include/alice/api.hpp:436
#24 0x55c0cade740d in main /home/nimda/test/knx-iot/example/shell/knx_shell.cpp:101
#25 0x7f149b20b0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
Indirect leak of 8 byte(s) in 1 object(s) allocated from:
#0 0x7f149b8aa947 in operator new(unsigned long) (/lib/x86_64-linux-gnu/libasan.so.5+0x10f947)
#1 0x55c0cae615ba in __gnu_cxx::new_allocator<std::unique_ptr<CLI::Option, std::default_delete<CLI::Option> > >::allocate(unsigned long, void const*) /usr/include/c++/9/ext/new_allocator.h:114
#2 0x55c0cae4c3de in std::allocator_traits<std::allocator<std::unique_ptr<CLI::Option, std::default_delete<CLI::Option> > > >::allocate(std::allocator<std::unique_ptr<CLI::Option, std::default_delete<CLI::Option> > >&, unsigned long) /usr/include/c++/9/bits/alloc_traits.h:444
#3 0x55c0cae2bad7 in std::_Vector_base<std::unique_ptr<CLI::Option, std::default_delete<CLI::Option> >, std::allocator<std::unique_ptr<CLI::Option, std::default_delete<CLI::Option> > > >::_M_allocate(unsigned long) /usr/include/c++/9/bits/stl_vector.h:343
#4 0x55c0cae0b540 in void std::vector<std::unique_ptr<CLI::Option, std::default_delete<CLI::Option> >, std::allocator<std::unique_ptr<CLI::Option, std::default_delete<CLI::Option> > > >::_M_realloc_insert<>(__gnu_cxx::__normal_iterator<std::unique_ptr<CLI::Option, std::default_delete<CLI::Option> >*, std::vector<std::unique_ptr<CLI::Option, std::default_delete<CLI::Option> >, std::allocator<std::unique_ptr<CLI::Option, std::default_delete<CLI::Option> > > > >) /usr/include/c++/9/bits/vector.tcc:440
#5 0x55c0cadf1178 in std::unique_ptr<CLI::Option, std::default_delete<CLI::Option> >& std::vector<std::unique_ptr<CLI::Option, std::default_delete<CLI::Option> >, std::allocator<std::unique_ptr<CLI::Option, std::default_delete<CLI::Option> > > >::emplace_back<>() /usr/include/c++/9/bits/vector.tcc:121
#6 0x55c0cadca2f4 in CLI::App::add_option(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::function<bool (std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >)>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool) /home/nimda/test/knx-iot/third_party/alice/repo/lib/cli11/CLI11.hpp:1694
#7 0x55c0cadcae04 in CLI::App::add_flag(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) /home/nimda/test/knx-iot/third_party/alice/repo/lib/cli11/CLI11.hpp:1806
#8 0x55c0cadcaa32 in CLI::App::set_help_flag(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) /home/nimda/test/knx-iot/third_party/alice/repo/lib/cli11/CLI11.hpp:1795
#9 0x55c0cadc9ba0 in CLI::App::App(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) /home/nimda/test/knx-iot/third_party/alice/repo/lib/cli11/CLI11.hpp:1624
#10 0x55c0cadde328 in alice::command::command(std::shared_ptr<alice::environment> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/nimda/test/knx-iot/third_party/alice/repo/include/alice/command.hpp:291
#11 0x55c0cade42b0 in alice::quit_command::quit_command(std::shared_ptr<alice::environment> const&) /home/nimda/test/knx-iot/third_party/alice/repo/include/alice/commands/quit.hpp:55
#12 0x55c0caecb23a in void __gnu_cxx::new_allocator<alice::quit_command>::construct<alice::quit_command, std::shared_ptr<alice::environment>&>(alice::quit_command*, std::shared_ptr<alice::environment>&) /usr/include/c++/9/ext/new_allocator.h:147
#13 0x55c0caeb3007 in void std::allocator_traits<std::allocator<alice::quit_command> >::construct<alice::quit_command, std::shared_ptr<alice::environment>&>(std::allocator<alice::quit_command>&, alice::quit_command*, std::shared_ptr<alice::environment>&) /usr/include/c++/9/bits/alloc_traits.h:484
#14 0x55c0cae9e545 in std::_Sp_counted_ptr_inplace<alice::quit_command, std::allocator<alice::quit_command>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<std::shared_ptr<alice::environment>&>(std::allocator<alice::quit_command>, std::shared_ptr<alice::environment>&) /usr/include/c++/9/bits/shared_ptr_base.h:548
#15 0x55c0cae8a480 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<alice::quit_command, std::allocator<alice::quit_command>, std::shared_ptr<alice::environment>&>(alice::quit_command*&, std::_Sp_alloc_shared_tag<std::allocator<alice::quit_command> >, std::shared_ptr<alice::environment>&) /usr/include/c++/9/bits/shared_ptr_base.h:679
#16 0x55c0cae7997d in std::__shared_ptr<alice::quit_command, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<alice::quit_command>, std::shared_ptr<alice::environment>&>(std::_Sp_alloc_shared_tag<std::allocator<alice::quit_command> >, std::shared_ptr<alice::environment>&) /usr/include/c++/9/bits/shared_ptr_base.h:1344
#17 0x55c0cae5b7e8 in std::shared_ptr<alice::quit_command>::shared_ptr<std::allocator<alice::quit_command>, std::shared_ptr<alice::environment>&>(std::_Sp_alloc_shared_tag<std::allocator<alice::quit_command> >, std::shared_ptr<alice::environment>&) /usr/include/c++/9/bits/shared_ptr.h:359
#18 0x55c0cae4595e in std::shared_ptr<alice::quit_command> std::allocate_shared<alice::quit_command, std::allocator<alice::quit_command>, std::shared_ptr<alice::environment>&>(std::allocator<alice::quit_command> const&, std::shared_ptr<alice::environment>&) /usr/include/c++/9/bits/shared_ptr.h:702
#19 0x55c0cae1e9ab in std::shared_ptr<alice::quit_command> std::make_shared<alice::quit_command, std::shared_ptr<alice::environment>&>(std::shared_ptr<alice::environment>&) /usr/include/c++/9/bits/shared_ptr.h:718
#20 0x55c0cadfe00b in alice::cli<>::cli(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/nimda/test/knx-iot/third_party/alice/repo/include/alice/cli.hpp:97
#21 0x55c0cade733d in main /home/nimda/test/knx-iot/example/shell/knx_shell.cpp:101
#22 0x7f149b20b0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
SUMMARY: AddressSanitizer: 15445 byte(s) leaked in 103 allocation(s).