Thread 1 "test_conv2d" hit Catchpoint 1 (exception thrown), 0x00007ffff61f5d1d in __cxxabiv1::__cxa_throw ( obj=obj@entry=0x555555e8c6e0, tinfo=0x7ffff64de958 , dest=0x7ffff620af80 ) at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:78 78 ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc: No such file or directory. (gdb) bt #0 0x00007ffff61f5d1d in __cxxabiv1::__cxa_throw (obj=obj@entry=0x555555e8c6e0, tinfo=0x7ffff64de958 , dest=0x7ffff620af80 ) at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:78 #1 0x00007ffff61f179f in std::__throw_logic_error (__s=0x7ffff6e39738 "basic_string::_M_construct null not valid") from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #2 0x00007ffff680f56c in std::__cxx11::basic_string, std::allocator >::_M_construct (this=0x7fffffffdcf0, __beg=0x0, __end=0xffffffffffffffff ) at /usr/include/c++/7/bits/basic_string.tcc:212 #3 0x00007ffff6ad9f63 in miopen::SQLite::impl::SQLiteCloser::operator() (this=0x555555e26720, ptr=0x555555d22128) at /home/dlowell/MIOpen/src/sqlite_db.cpp:59 #4 0x00007ffff6adb363 in std::unique_ptr::~unique_ptr (this=0x555555e26720, __in_chrg=) at /usr/include/c++/7/bits/unique_ptr.h:263 #5 0x00007ffff6add812 in miopen::SQLite::impl::~impl (this=0x555555e26720, __in_chrg=) at /home/dlowell/MIOpen/src/sqlite_db.cpp:53 #6 0x00007ffff6add838 in std::default_delete::operator() (this=0x555555d22650, __ptr=0x555555e26720) at /usr/include/c++/7/bits/unique_ptr.h:78 #7 0x00007ffff6adb5c9 in std::unique_ptr >::~unique_ptr ( this=0x555555d22650, __in_chrg=) at /usr/include/c++/7/bits/unique_ptr.h:263 #8 0x00007ffff6ad6d98 in miopen::SQLite::~SQLite (this=0x555555d22650, __in_chrg=) at /home/dlowell/MIOpen/src/include/miopen/sqlite_db.hpp:152 #9 0x00007ffff6adac9a in miopen::SQLiteBase::~SQLiteBase (this=0x555555d22600, __in_chrg=) at /home/dlowell/MIOpen/src/include/miopen/sqlite_db.hpp:199 #10 0x00007ffff6b0bf76 in miopen::SQLitePerfDb::~SQLitePerfDb (this=0x555555d22600, __in_chrg=) at /home/dlowell/MIOpen/src/include/miopen/sqlite_db.hpp:342 #11 0x00007ffff6b0e76a in std::pair, std::allocator > const, miopen::SQLitePerfDb>::~pair (this=0x555555d225e0, __in_chrg=) at /usr/include/c++/7/bits/stl_pair.h:208 #12 0x00007ffff6b0e796 in __gnu_cxx::new_allocator, std::allocator > const, miopen::SQLitePerfDb> > >::destroy, std::allocator > const, miopen::SQLitePerfDb> > ( this=0x7ffff7bb40c0 ::GetCached(std::__cxx11::basic_string, std::allocator > const&, bool, std::__cxx11::basic_string, std::allocator > const&, unsigned long)::instances[abi:cxx11]>, __p=0x555555d225e0) at /usr/include/c++/7/ext/new_allocator.h:140 #13 0x00007ffff6b0e529 in std::allocator_traits, std::allocator > const, miopen::SQLitePerfDb> > > >::destroy, std::allocator > const, miopen::SQLitePerfDb> > (__a=..., __p=0x555555d225e0) at /usr/include/c++/7/bits/alloc_traits.h:487 #14 0x00007ffff6b0e0a3 in std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, miopen::SQLitePerfDb>, std::_Select1st, std::allocator > const, miopen::SQLitePerfDb> >, std::less, std::allocator > >, std::allocator, std::allocator > const, miopen::SQLitePerfDb> > >::_M_destroy_node ( this=0x7ffff7bb40c0 ::GetCached(std::__cxx11::basic_string, std::allocator > const&, bool, std::__cxx11::basic_string, std::allocator > const&, unsigned long)::instances[abi:cxx11]>, __p=0x555555d225c0) at /usr/include/c++/7/bits/stl_tree.h:650 #15 0x00007ffff6b0d7f1 in std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, miopen::SQLitePerfDb>, std::_Select1st, std::allocator > const, miopen::SQLitePerfDb> >, std::less, std::allocator > >, std::allocator, std::allocator > const, miopen::SQLitePerfDb> > >::_M_drop_node ( this=0x7ffff7bb40c0 ::GetCached(std::__cxx11::basic_string, std::allocator > const&, bool, std::__cxx11::basic_string, std::allocator > const&, unsigned long)::instances[abi:cxx11]>, __p=0x555555d225c0) at /usr/include/c++/7/bits/stl_tree.h:658 #16 0x00007ffff6b0d10e in std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, miopen::SQLitePerfDb>, std::_Select1st, std::allocator > const, miopen::SQLitePerfDb> >, std::less, std::allocator > >, std::allocator, std::allocator > const, miopen::SQLitePerfDb> > >::_M_erase ( this=0x7ffff7bb40c0 ::GetCached(std::__cxx11::basic_string, std::allocator > const&, bool, std::__cxx11::basic_string, std::allocator > const&, unsigned long)::instances[abi:cxx11]>, __x=0x555555d225c0) at /usr/include/c++/7/bits/stl_tree.h:1858 #17 0x00007ffff6b0c9aa in std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, miopen::SQLitePerfDb>, std::_Select1st, std::allocator > const, miopen::SQLitePerfDb> >, std::less, std::allocator > >, std::allocator, std::allocator > const, miopen::SQLitePerfDb> > >::~_Rb_tree ( this=0x7ffff7bb40c0 ::GetCached(std::__cxx11::basic_string, std::allocator > const&, bool, std::__cxx11::basic_string, std::allocator > const&, unsigned long)::instances[abi:cxx11]>, __in_chrg=) at /usr/include/c++/7/bits/stl_tree.h:949 #18 0x00007ffff6b0bf5a in std::map, std::allocator >, miopen::SQLitePerfDb, std::less, std::allocator > >, std::allocator, std::allocator > const, miopen::SQLitePerfDb> > >::~map ( this=0x7ffff7bb40c0 ::GetCached(std::__cxx11::basic_string to continue, or q to quit--- char>, std::allocator > const&, bool, std::__cxx11::basic_string, std::allocator > const&, unsigned long)::instances[abi:cxx11]>, __in_chrg=) at /usr/include/c++/7/bits/stl_map.h:294 #19 0x00007ffff57ff041 in __run_exit_handlers (status=0, listp=0x7ffff5ba7718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108 #20 0x00007ffff57ff13a in __GI_exit (status=) at exit.c:139 #21 0x00007ffff57ddb9e in __libc_start_main (main=0x55555557d4d2 , argc=32, argv=0x7fffffffe0e8, init=, fini=, rtld_fini=, stack_end=0x7fffffffe0d8) at ../csu/libc-start.c:344 #22 0x000055555557cb9a in _start () (gdb) ===================== FRAMES: (gdb) up #1 0x00007ffff61f179f in std::__throw_logic_error (__s=0x7ffff6e39738 "basic_string::_M_construct null not valid") from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (gdb) #2 0x00007ffff680f56c in std::__cxx11::basic_string, std::allocator >::_M_construct (this=0x7fffffffdcf0, __beg=0x0, __end=0xffffffffffffffff ) at /usr/include/c++/7/bits/basic_string.tcc:212 212 std::__throw_logic_error(__N("basic_string::" (gdb) list 207 _M_construct(_InIterator __beg, _InIterator __end, 208 std::forward_iterator_tag) 209 { 210 // NB: Not required, but considered best practice. 211 if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end) 212 std::__throw_logic_error(__N("basic_string::" 213 "_M_construct null not valid")); 214 215 size_type __dnew = static_cast(std::distance(__beg, __end)); 216 (gdb) up #3 0x00007ffff6ad9f63 in miopen::SQLite::impl::SQLiteCloser::operator() (this=0x555555e26720, ptr=0x555555d22128) at /home/dlowell/MIOpen/src/sqlite_db.cpp:59 59 std::string filename_(sqlite3_db_filename(ptr, "main")); (gdb) #4 0x00007ffff6adb363 in std::unique_ptr::~unique_ptr (this=0x555555e26720, __in_chrg=) at /usr/include/c++/7/bits/unique_ptr.h:263 263 get_deleter()(__ptr); (gdb) up #5 0x00007ffff6add812 in miopen::SQLite::impl::~impl (this=0x555555e26720, __in_chrg=) at /home/dlowell/MIOpen/src/sqlite_db.cpp:53 53 class SQLite::impl (gdb) #6 0x00007ffff6add838 in std::default_delete::operator() (this=0x555555d22650, __ptr=0x555555e26720) at /usr/include/c++/7/bits/unique_ptr.h:78 78 delete __ptr; (gdb)