Continuing. Breakpoint 2, 0x00007f82cb7b7430 in QSqlDatabase::~QSqlDatabase()@plt () from /usr/lib/qt/plugins/kactivitymanagerd/kactivitymanagerd_plugin_sqlite.so Num Type Disp Enb Address What 2 breakpoint keep y breakpoint already hit 5 times 2.1 y 0x00007f82cb57f0d0 2.2 y 0x00007f82cb584dd0 in QSqlDatabase::~QSqlDatabase() at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:130 2.3 y 0x00007f82cb7b7430 3 breakpoint keep y breakpoint already hit 2 times 3.1 y 0x00007f82cb57f5f0 3.2 y 0x00007f82cb583870 in QSqlDatabase::close() at kernel/qsqldatabase.cpp:871 Id Target Id Frame 4 Thread 0x7f82da4b5700 (LWP 17819) "QThread" 0x00007f82f19e9e8d in poll () from /usr/lib/libc.so.6 3 Thread 0x7f82d9cb4700 (LWP 17820) "QThread" 0x00007f82f19e9e8d in poll () from /usr/lib/libc.so.6 2 Thread 0x7f82d94b3700 (LWP 17821) "QThread" 0x00007f82f19e9e8d in poll () from /usr/lib/libc.so.6 * 1 Thread 0x7f82f40557c0 (LWP 17817) "kactivitymanage" 0x00007f82cb7b7430 in QSqlDatabase::~QSqlDatabase()@plt () from /usr/lib/qt/plugins/kactivitymanagerd/kactivitymanagerd_plugin_sqlite.so #0 0x00007f82cb7b7430 in QSqlDatabase::~QSqlDatabase()@plt () from /usr/lib/qt/plugins/kactivitymanagerd/kactivitymanagerd_plugin_sqlite.so #1 0x00007f82cb7cbab2 in ~Private (this=0x199c870, __in_chrg=) at /shared/src/kactivities-5.12.0/src/common/database/Database.cpp:40 #2 operator() (this=, __ptr=0x199c870) at /usr/include/c++/5.2.0/bits/unique_ptr.h:76 #3 ~unique_ptr (this=, __in_chrg=) at /usr/include/c++/5.2.0/bits/unique_ptr.h:236 #4 ~d_ptr (this=, __in_chrg=) at /shared/src/kactivities-5.12.0/src/utils/d_ptr_implementation.h:44 #5 ~Database (this=, __in_chrg=) at /shared/src/kactivities-5.12.0/src/common/database/Database.cpp:180 #6 destroy (this=, __p=) at /usr/include/c++/5.2.0/ext/new_allocator.h:124 #7 _S_destroy (__p=, __a=...) at /usr/include/c++/5.2.0/bits/alloc_traits.h:285 #8 destroy (__a=..., __p=) at /usr/include/c++/5.2.0/bits/alloc_traits.h:414 #9 std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=) at /usr/include/c++/5.2.0/bits/shared_ptr_base.h:531 #10 0x00007f82cb7b7de5 in _M_release (this=0x19b8290) at /usr/include/c++/5.2.0/bits/shared_ptr_base.h:150 #11 ~__shared_count (this=0x199ef08, __in_chrg=) at /usr/include/c++/5.2.0/bits/shared_ptr_base.h:659 #12 ~__shared_ptr (this=0x199ef00, __in_chrg=) at /usr/include/c++/5.2.0/bits/shared_ptr_base.h:925 #13 ~shared_ptr (this=0x199ef00, __in_chrg=) at /usr/include/c++/5.2.0/bits/shared_ptr.h:93 #14 ~Private (this=0x199ef00, __in_chrg=) at /shared/src/kactivities-5.12.0/src/service/plugins/sqlite/Database.cpp:50 #15 operator() (this=, __ptr=0x199ef00) at /usr/include/c++/5.2.0/bits/unique_ptr.h:76 #16 ~unique_ptr (this=0x7f82cb9de700 , __in_chrg=) at /usr/include/c++/5.2.0/bits/unique_ptr.h:236 #17 ~d_ptr (this=0x7f82cb9de700 , __in_chrg=) at /shared/src/kactivities-5.12.0/src/utils/d_ptr_implementation.h:44 #18 ResourcesDatabaseMigrator::~ResourcesDatabaseMigrator (this=0x7f82cb9de6f0 , __in_chrg=) at /shared/src/kactivities-5.12.0/src/service/plugins/sqlite/Database.cpp:111 #19 0x00007f82f1940e78 in __run_exit_handlers () from /usr/lib/libc.so.6 #20 0x00007f82f1940ec5 in exit () from /usr/lib/libc.so.6 #21 0x00007f82e79d95de in QXcbConnection::processXcbEvents (this=0x18d64d0) at qxcbconnection.cpp:1377 #22 0x00007f82f22f9eb1 in QObject::event (this=0x18d64d0, e=) at kernel/qobject.cpp:1246 #23 0x00007f82f22ca769 in QCoreApplication::notify (this=, receiver=, event=) at kernel/qcoreapplication.cpp:1038 #24 0x00007f82f22ca89b in QCoreApplication::notifyInternal (this=0x7fff4e4a6540, receiver=0x18d64d0, event=event@entry=0x7f82e00047e0) at kernel/qcoreapplication.cpp:965 #25 0x00007f82f22ccc96 in sendEvent (event=0x7f82e00047e0, receiver=) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224 #26 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x18cbc20) at kernel/qcoreapplication.cpp:1593 #27 0x00007f82f22cd178 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451 #28 0x00007f82f2320e33 in postEventSourceDispatch (s=0x191d5d0) at kernel/qeventdispatcher_glib.cpp:271 #29 0x00007f82ee0f7a17 in g_main_dispatch (context=0x7f82e00016f0) at gmain.c:3122 #30 g_main_context_dispatch (context=context@entry=0x7f82e00016f0) at gmain.c:3737 #31 0x00007f82ee0f7c70 in g_main_context_iterate (context=context@entry=0x7f82e00016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=) at gmain.c:3808 #32 0x00007f82ee0f7d1c in g_main_context_iteration (context=0x7f82e00016f0, may_block=may_block@entry=1) at gmain.c:3869 #33 0x00007f82f232123f in QEventDispatcherGlib::processEvents (this=0x1910020, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #34 0x00007f82f22c826a in QEventLoop::exec (this=this@entry=0x7fff4e4a63f0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #35 0x00007f82f22d020c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229 #36 0x00007f82f282140c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1528 #37 0x0000000000411ed4 in main (argc=2, argv=) at /shared/src/kactivities-5.12.0/src/service/Application.cpp:414 Single stepping until exit from function _ZN12QSqlDatabaseD1Ev@plt, which has no line number information. Breakpoint 2, QSqlDatabase::~QSqlDatabase (this=0x199c870, __in_chrg=) at kernel/qsqldatabase.cpp:798 798 if (!d->ref.deref()) { QSqlDatabase::~QSqlDatabase (this=0x199c870, __in_chrg=) at kernel/qsqldatabase.cpp:802 802 } operator() (this=, __ptr=0x199c870) at /usr/include/c++/5.2.0/bits/unique_ptr.h:76 76 delete __ptr; Continuing. Breakpoint 2, 0x00007f82cb57f0d0 in QSqlDatabase::~QSqlDatabase()@plt () from /usr/lib/libQt5Sql.so.5 #0 0x00007f82cb57f0d0 in QSqlDatabase::~QSqlDatabase()@plt () from /usr/lib/libQt5Sql.so.5 #1 0x00007f82cb586e1d in ~QHashNode (this=, __in_chrg=) at ../../include/QtCore/../../src/corelib/tools/qhash.h:237 #2 QHash::deleteNode2 (node=0x19c32d0) at ../../include/QtCore/../../src/corelib/tools/qhash.h:585 #3 0x00007f82f214d289 in QHashData::free_helper (this=0x19b87c0, node_delete=0x7f82cb586e10 ::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:491 #4 0x00007f82cb583553 in freeData (this=0x7f82cb7afd00 <(anonymous namespace)::Q_QGS_dbDict::innerFunction()::holder>, x=) at ../../include/QtCore/../../src/corelib/tools/qhash.h:621 #5 ~QHash (this=0x7f82cb7afd00 <(anonymous namespace)::Q_QGS_dbDict::innerFunction()::holder>, __in_chrg=) at ../../include/QtCore/../../src/corelib/tools/qhash.h:342 #6 ~QConnectionDict (this=0x7f82cb7afd00 <(anonymous namespace)::Q_QGS_dbDict::innerFunction()::holder>, __in_chrg=) at kernel/qsqldatabase.cpp:110 #7 (anonymous namespace)::Q_QGS_dbDict::Holder::~Holder (this=0x7f82cb7afd00 <(anonymous namespace)::Q_QGS_dbDict::innerFunction()::holder>, __in_chrg=) at kernel/qsqldatabase.cpp:126 #8 0x00007f82cb583553 in operator() (this=) from /usr/lib/libQt5Sql.so.5 #9 QSqlDatabase::contains (connectionName=...) at kernel/qsqldatabase.cpp:627 #10 0x00007f82f1940e78 in __run_exit_handlers () from /usr/lib/libc.so.6 #11 0x00007f82f1940ec5 in exit () from /usr/lib/libc.so.6 #12 0x00007f82e79d95de in QXcbConnection::processXcbEvents (this=0x18d64d0) at qxcbconnection.cpp:1377 #13 0x00007f82f22f9eb1 in QObject::event (this=0x18d64d0, e=) at kernel/qobject.cpp:1246 #14 0x00007f82f22ca769 in QCoreApplication::notify (this=, receiver=, event=) at kernel/qcoreapplication.cpp:1038 #15 0x00007f82f22ca89b in QCoreApplication::notifyInternal (this=0x7fff4e4a6540, receiver=0x18d64d0, event=event@entry=0x7f82e00047e0) at kernel/qcoreapplication.cpp:965 #16 0x00007f82f22ccc96 in sendEvent (event=0x7f82e00047e0, receiver=) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224 #17 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x18cbc20) at kernel/qcoreapplication.cpp:1593 #18 0x00007f82f22cd178 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451 #19 0x00007f82f2320e33 in postEventSourceDispatch (s=0x191d5d0) at kernel/qeventdispatcher_glib.cpp:271 #20 0x00007f82ee0f7a17 in g_main_dispatch (context=0x7f82e00016f0) at gmain.c:3122 #21 g_main_context_dispatch (context=context@entry=0x7f82e00016f0) at gmain.c:3737 #22 0x00007f82ee0f7c70 in g_main_context_iterate (context=context@entry=0x7f82e00016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=) at gmain.c:3808 #23 0x00007f82ee0f7d1c in g_main_context_iteration (context=0x7f82e00016f0, may_block=may_block@entry=1) at gmain.c:3869 #24 0x00007f82f232123f in QEventDispatcherGlib::processEvents (this=0x1910020, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #25 0x00007f82f22c826a in QEventLoop::exec (this=this@entry=0x7fff4e4a63f0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #26 0x00007f82f22d020c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229 #27 0x00007f82f282140c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1528 #28 0x0000000000411ed4 in main (argc=2, argv=) at /shared/src/kactivities-5.12.0/src/service/Application.cpp:414 Single stepping until exit from function _ZN12QSqlDatabaseD1Ev@plt, which has no line number information. Breakpoint 2, QSqlDatabase::~QSqlDatabase (this=0x19c32e8, __in_chrg=) at kernel/qsqldatabase.cpp:798 798 if (!d->ref.deref()) { 796 QSqlDatabase::~QSqlDatabase() 799 close(); Breakpoint 3, 0x00007f82cb57f5f0 in QSqlDatabase::close()@plt () from /usr/lib/libQt5Sql.so.5 Single stepping until exit from function _ZN12QSqlDatabase5closeEv@plt, which has no line number information. 0x00007f82cb57e680 in ?? () from /usr/lib/libQt5Sql.so.5 Run till exit from #0 0x00007f82cb57e680 in ?? () from /usr/lib/libQt5Sql.so.5 Breakpoint 3, QSqlDatabase::close (this=this@entry=0x19c32e8) at kernel/qsqldatabase.cpp:871 871 d->driver->close(); $4 = { = {_vptr.QObject = 0x7f82cb339c50, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7f82f24232e0 , data = 0x7f82f24231c0 , static_metacall = 0x7f82f23016a0 , relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x19c3190}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7f82f246d3e0 , data = 0x7f82f246a9e0 , static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7f82f2707b80 , stringdata = 0x7f82cb5a58e0 , data = 0x7f82cb5a5820 , static_metacall = 0x7f82cb5a4890 , relatedMetaObjects = 0x0, extradata = 0x0}}} $5 = { = { _vptr.QObject = 0x7f82cb339c50, static staticMetaObject = { d = { superdata = 0x0, stringdata = 0x7f82f24232e0 , data = 0x7f82f24231c0 , static_metacall = 0x7f82f23016a0 , relatedMetaObjects = 0x0, extradata = 0x0 } }, d_ptr = { d = 0x19c3190 }, static staticQtMetaObject = { d = { superdata = 0x0, stringdata = 0x7f82f246d3e0 , data = 0x7f82f246a9e0 , static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0 } } }, members of QSqlDriver: static staticMetaObject = { d = { superdata = 0x7f82f2707b80 , stringdata = 0x7f82cb5a58e0 , data = 0x7f82cb5a5820 , static_metacall = 0x7f82cb5a4890 , relatedMetaObjects = 0x0, extradata = 0x0 } } } $6 = (QSqlDatabasePrivate *) 0x19c3650 $7 = { ref = { > = { > = { _q_value = 0 }, }, }, q = 0x7fff4e4a5a30, driver = 0x19430b0, dbname = { static null = {}, d = 0x197c260 }, uname = { static null = {}, d = 0x7f82f237dde0 }, pword = { static null = {}, d = 0x7f82f237dde0 }, hname = { static null = {}, d = 0x7f82f237dde0 }, drvName = { static null = {}, d = 0x19aefc0 }, port = -1, connOptions = { static null = {}, d = 0x7f82f237dde0 }, connName = { static null = {}, d = 0x19c3370 }, precisionPolicy = QSql::LowPrecisionDouble } Program received signal SIGSEGV, Segmentation fault. 0x00007f82cb583881 in QSqlDatabase::close (this=this@entry=0x19c32e8) at kernel/qsqldatabase.cpp:871 871 d->driver->close(); Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists.