SQLITE ERROR: 5 - database is locked SQLITE ERROR: 5 - database is locked SQLITE ERROR: 5 - database is locked SQLITE ERROR: 5 - database is locked SQLITE ERROR: 5 - database is locked mms: module.cpp:364: std::string Module::get_parent_id_common(const std::string&, SQLDatabase&, ost::Mutex&, const std::list, std::allocator >, std::allocator, std::allocator > > >&, const std::string&): Assertion `!parent_id.empty()' failed. Program received signal SIGABRT, Aborted. [Switching to Thread -1215224128 (LWP 17453)] 0xffffe410 in __kernel_vsyscall () (gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0xb7a1c875 in raise () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7a1e201 in abort () from /lib/tls/i686/cmov/libc.so.6 #3 0xb7a15b6e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6 #4 0x0818f655 in Module::get_parent_id_common (this=0x82269f0, parent=@0xbfbe0a60, db=@0x8226a60, db_mutex=@0x8226a68, top_folders=@0x8226b60, db_insert_string=@0xbfbe0b1c) at module.cpp:364 #5 0x0818f102 in Module::get_parent_id_common (this=0x82269f0, parent=@0xbfbe0e84, db=@0x8226a60, db_mutex=@0x8226a68, top_folders=@0x8226b60, db_insert_string=@0xbfbe0b1c) at module.cpp:346 #6 0x0818f71d in Module::get_parent_id (this=0x82269f0, parent=@0xbfbe0e84, db=@0x8226a60, db_mutex=@0x8226a68, top_folders=@0x8226b60) at module.cpp:310 #7 0xb567c24f in Pictures::insert_file_into_db (this=0x82269f0, filename=@0xbfbe0c7c, parent=@0xbfbe0e84) at pictures.cpp:2263 #8 0xb567d896 in Pictures::rdir_hd (this=0x82269f0, argv=@0xbfbe0e84, insert_into_db=true) at pictures.cpp:2428 #9 0xb567ddad in Pictures::rdir (this=0x82269f0, argv=@0xbfbe0e84) at pictures.cpp:2466 #10 0xb5687755 in Pictures::enter_dir (this=0x82269f0) at pictures.cpp:641 #11 0xb568b78f in Pictures::action_no_find_recursion (this=0x82269f0) at pictures.cpp:584 #12 0xb568b940 in Pictures::action (this=0x82269f0) at pictures.cpp:599 #13 0xb568c328 in Pictures::mainloop (this=0x82269f0) at pictures.cpp:1183 #14 0xb56ba2a6 in pic_hd () at pictures_plugin.cpp:36 #15 0x0810c0f9 in boost::detail::function::void_function_invoker0::invoke (function_ptr=@0x829bb1c) at /usr/include/boost/function/function_template.hpp:114 #16 0x08104f7d in boost::function0 >::operator() (this=0x829bb18) at /usr/include/boost/function/function_template.hpp:692 #17 0x0810a9c2 in Startmenu::mainloop (this=0x81d0dc0) at startmenu.cpp:235 #18 0x080eedd6 in start () at mms.cpp:74 #19 0x080f8afa in main (argc=1, argv=0xbfbe1b94) at mms.cpp:698