[Current thread is 1 (Thread 0x7f73167c4940 (LWP 18707))] (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x00007f731533ada1 in __GI_abort () at abort.c:79 #2 0x00007f731596ce83 in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95 #3 0x00007f7315972dd8 in __cxxabiv1::__terminate(void (*)()) () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47 #4 0x00007f7315971ec9 in __cxa_call_terminate (ue_header=ue_header@entry=0x55cdabbc7630) at ../../../../libstdc++-v3/libsupc++/eh_call.cc:54 #5 0x00007f7315972815 in __gxx_personality_v0 () at ../../../../libstdc++-v3/libsupc++/eh_personality.cc:676 #6 0x00007f73156d1a43 in _Unwind_RaiseException_Phase2 () at ../../../libgcc/unwind.inc:64 #7 0x00007f73156d22c5 in _Unwind_Resume () at ../../../libgcc/unwind.inc:241 #8 0x00007f7316369610 in __gnu_cxx::new_allocator<char>::deallocate (this=<optimized out>, __p=<optimized out>) at /usr/include/c++/7/ext/new_allocator.h:125 #9 std::allocator_traits<std::allocator<char> >::deallocate (__a=..., __n=<optimized out>, __p=<optimized out>) at /usr/include/c++/7/bits/alloc_traits.h:462 #10 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_destroy (__size=<optimized out>, this=<optimized out>) at /usr/include/c++/7/bits/basic_string.h:226 #11 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose (this=<optimized out>) at /usr/include/c++/7/bits/basic_string.h:221 #12 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/basic_string.h:647 #13 snapper::logStreamClose (level=level@entry=snapper::MILESTONE, file=file@entry=0x7f731639ee27 "Snapper.cc", line=line@entry=136, func=func@entry=0x7f731639f448 <snapper::Snapper::~Snapper()::__FUNCTION__> "~Snapper", stream=stream@entry=0x55cdabbc0e60) at Log.cc:65 #14 0x00007f7316339794 in snapper::Snapper::~Snapper (this=0x7f730c000e80, __in_chrg=<optimized out>) at Snapper.cc:136 #15 0x000055cda9d8aeeb in MetaSnapper::~MetaSnapper (this=0x55cdabbb7c10, __in_chrg=<optimized out>) at MetaSnapper.cc:105 #16 0x000055cda9d8affc in __gnu_cxx::new_allocator<std::_List_node<MetaSnapper> >::destroy<MetaSnapper> (this=<optimized out>, __p=<optimized out>) at /usr/include/c++/7/ext/new_allocator.h:140 #17 std::allocator_traits<std::allocator<std::_List_node<MetaSnapper> > >::destroy<MetaSnapper> (__a=..., __p=<optimized out>) at /usr/include/c++/7/bits/alloc_traits.h:487 #18 std::__cxx11::_List_base<MetaSnapper, std::allocator<MetaSnapper> >::_M_clear (this=0x55cda9fa5ba0 <meta_snappers>) at /usr/include/c++/7/bits/list.tcc:76 #19 std::__cxx11::_List_base<MetaSnapper, std::allocator<MetaSnapper> >::~_List_base (this=0x55cda9fa5ba0 <meta_snappers>, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/stl_list.h:442 #20 std::__cxx11::list<MetaSnapper, std::allocator<MetaSnapper> >::~list (this=0x55cda9fa5ba0 <meta_snappers>, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/stl_list.h:733 #21 MetaSnappers::~MetaSnappers (this=0x55cda9fa5ba0 <meta_snappers>, __in_chrg=<optimized out>) at MetaSnapper.cc:184 #22 0x00007f731533c431 in __run_exit_handlers (status=0, listp=0x7f73156bb718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108 #23 0x00007f731533c52a in __GI_exit (status=<optimized out>) at exit.c:139 #24 0x00007f7315324a8e in __libc_start_main (main=0x55cda9d6f080 <main(int, char**)>, argc=1, argv=0x7ffd1fd5e648, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd1fd5e638) at ../csu/libc-start.c:342 #25 0x000055cda9d6f96a in _start () at ../sysdeps/x86_64/start.S:120