Bug 393524

Summary: System Settings immediately crashes on start
Product: [Frameworks and Libraries] frameworks-activities-stats Reporter: Davide Beatrici <kde>
Component: generalAssignee: Ivan Čukić <ivan.cukic>
Status: RESOLVED FIXED    
Severity: crash CC: plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.44.0   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Davide Beatrici 2018-04-25 23:43:06 UTC
Application: systemsettings5 (5.12.4)

Qt Version: 5.10.1
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-2-amd64 x86_64
Distribution: Debian GNU/Linux testing (buster)

-- Information about the crash:
I have tried to restart it multiple times.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb59d9d6c80 (LWP 32184))]

Thread 5 (Thread 0x7fb56b129700 (LWP 32190)):
#0  0x00007fb5994415d9 in __GI___poll (fds=0x7fb564003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb593010439 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fb564003ce0, timeout=<optimized out>, context=0x7fb564000bf0) at ../../../../glib/gmain.c:4204
#2  g_main_context_iterate (context=context@entry=0x7fb564000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3898
#3  0x00007fb59301054c in g_main_context_iteration (context=0x7fb564000bf0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3964
#4  0x00007fb599d851bb in QEventDispatcherGlib::processEvents (this=0x7fb564000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fb599d28b6a in QEventLoop::exec (this=this@entry=0x7fb56b128d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fb599b3e7ea in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#7  0x00007fb597689885 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fb599b43b4f in QThreadPrivate::start (arg=0x55b9ae16b230) at thread/qthread_unix.cpp:376
#9  0x00007fb5955ae5aa in start_thread (arg=0x7fb56b129700) at pthread_create.c:463
#10 0x00007fb59944bcbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fb572fe7700 (LWP 32189)):
#0  0x00007fb5994415d9 in __GI___poll (fds=0x7fb56c004a00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb593010439 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fb56c004a00, timeout=<optimized out>, context=0x7fb56c000bf0) at ../../../../glib/gmain.c:4204
#2  g_main_context_iterate (context=context@entry=0x7fb56c000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3898
#3  0x00007fb59301054c in g_main_context_iteration (context=0x7fb56c000bf0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3964
#4  0x00007fb599d851bb in QEventDispatcherGlib::processEvents (this=0x7fb56c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fb599d28b6a in QEventLoop::exec (this=this@entry=0x7fb572fe6d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fb599b3e7ea in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#7  0x00007fb597689885 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fb599b43b4f in QThreadPrivate::start (arg=0x55b9ade9d260) at thread/qthread_unix.cpp:376
#9  0x00007fb5955ae5aa in start_thread (arg=0x7fb572fe7700) at pthread_create.c:463
#10 0x00007fb59944bcbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fb581433700 (LWP 32187)):
#0  idleTimerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7fb581432ba4) at kernel/qeventdispatcher_glib.cpp:207
#1  0x00007fb59300f998 in g_main_context_prepare (context=context@entry=0x7fb57c000bf0, priority=priority@entry=0x7fb581432c30) at ../../../../glib/gmain.c:3475
#2  0x00007fb59301036b in g_main_context_iterate (context=context@entry=0x7fb57c000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3883
#3  0x00007fb59301054c in g_main_context_iteration (context=0x7fb57c000bf0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3964
#4  0x00007fb599d851bb in QEventDispatcherGlib::processEvents (this=0x7fb57c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fb599d28b6a in QEventLoop::exec (this=this@entry=0x7fb581432d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fb599b3e7ea in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#7  0x00007fb59b673df5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fb599b43b4f in QThreadPrivate::start (arg=0x7fb59b8e6d60) at thread/qthread_unix.cpp:376
#9  0x00007fb5955ae5aa in start_thread (arg=0x7fb581433700) at pthread_create.c:463
#10 0x00007fb59944bcbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fb58aa0b700 (LWP 32186)):
#0  0x00007fb5994415d9 in __GI___poll (fds=0x7fb58aa0aca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb59513a0f7 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fb59513bd1a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fb58d7bab19 in QXcbEventReader::run (this=0x55b9ada8a400) at qxcbconnection.cpp:1370
#4  0x00007fb599b43b4f in QThreadPrivate::start (arg=0x55b9ada8a400) at thread/qthread_unix.cpp:376
#5  0x00007fb5955ae5aa in start_thread (arg=0x7fb58aa0b700) at pthread_create.c:463
#6  0x00007fb59944bcbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fb59d9d6c80 (LWP 32184)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007fb59938b231 in __GI_abort () at abort.c:79
#8  0x00007fb599b2e197 in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1716
#9  QMessageLogger::fatal (this=this@entry=0x7fff33f2efc0, msg=msg@entry=0x7fb5732640f8 "KActivities: Database can not be opened in WAL mode. Check the SQLite version (required >3.7.0). And whether your filesystem supports shared memory") at global/qlogging.cpp:822
#10 0x00007fb57325ee16 in Common::Database::instance (source=source@entry=Common::Database::ResourcesDatabase, openMode=openMode@entry=Common::Database::ReadOnly) at ./src/common/database/Database.cpp:205
#11 0x00007fb57324fcc9 in KActivities::Stats::ResultModelPrivate::ResultModelPrivate (this=0x55b9ae26eae0, query=..., clientId=..., parent=0x55b9ae25dfc0) at ./src/resultmodel.cpp:70
#12 0x00007fb57324ebd5 in KActivities::Stats::ResultModel::ResultModel (this=0x55b9ae25dfc0, query=..., parent=<optimized out>) at ./src/resultmodel.cpp:956
#13 0x00007fb57347e7ff in SidebarMode::initWidget (this=this@entry=0x55b9ade3e780) at ./sidebar/SidebarMode.cpp:516
#14 0x00007fb57347eca9 in SidebarMode::mainWidget (this=0x55b9ade3e780) at ./sidebar/SidebarMode.cpp:288
#15 0x000055b9abf72677 in SettingsBase::changePlugin (this=this@entry=0x55b9adb0e2e0) at ./app/SettingsBase.cpp:331
#16 0x000055b9abf749a4 in SettingsBase::initApplication (this=<optimized out>) at ./app/SettingsBase.cpp:125
#17 0x00007fb599d66d94 in QtPrivate::QSlotObjectBase::call (a=0x7fff33f2f420, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:378
#18 QSingleShotTimer::timerEvent (this=0x55b9addd9390) at kernel/qtimer.cpp:318
#19 0x00007fb599d5acbb in QObject::event (this=0x55b9addd9390, e=<optimized out>) at kernel/qobject.cpp:1269
#20 0x00007fb59ad1b6cc in QApplicationPrivate::notify_helper (this=this@entry=0x55b9ada98640, receiver=receiver@entry=0x55b9addd9390, e=e@entry=0x7fff33f2f6f0) at kernel/qapplication.cpp:3732
#21 0x00007fb59ad22e84 in QApplication::notify (this=0x7fff33f2fa40, receiver=0x55b9addd9390, e=0x7fff33f2f6f0) at kernel/qapplication.cpp:3491
#22 0x00007fb599d2a938 in QCoreApplication::notifyInternal2 (receiver=0x55b9addd9390, event=event@entry=0x7fff33f2f6f0) at kernel/qcoreapplication.cpp:1050
#23 0x00007fb599d8463e in QCoreApplication::sendEvent (event=0x7fff33f2f6f0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#24 QTimerInfoList::activateTimers (this=this@entry=0x55b9adaf7a90) at kernel/qtimerinfo_unix.cpp:643
#25 0x00007fb599d84e01 in timerSourceDispatch (source=source@entry=0x55b9adaf7a30) at kernel/qeventdispatcher_glib.cpp:182
#26 0x00007fb593010287 in g_main_dispatch (context=0x7fb584004ff0) at ../../../../glib/gmain.c:3177
#27 g_main_context_dispatch (context=context@entry=0x7fb584004ff0) at ../../../../glib/gmain.c:3830
#28 0x00007fb5930104c0 in g_main_context_iterate (context=context@entry=0x7fb584004ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3903
#29 0x00007fb59301054c in g_main_context_iteration (context=0x7fb584004ff0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3964
#30 0x00007fb599d8519f in QEventDispatcherGlib::processEvents (this=0x55b9adaf7950, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007fb58d83f201 in QPAEventDispatcherGlib::processEvents (this=0x55b9adaf7950, flags=...) at qeventdispatcher_glib.cpp:69
#32 0x00007fb599d28b6a in QEventLoop::exec (this=this@entry=0x7fff33f2f960, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#33 0x00007fb599d31ed4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1338
#34 0x000055b9abf6fe44 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:67

Possible duplicates by query: bug 392610, bug 392092, bug 389152, bug 382406, bug 379557.

Reported using DrKonqi
Comment 1 Davide Beatrici 2018-04-25 23:55:28 UTC
Plasma crashed when I tried to open the Application Launcher on the second monitor.

I rebooted Debian and now everything works as expected.

I'm leaving the report open, in case it may be useful.
Comment 2 Ivan Čukić 2018-05-17 13:01:11 UTC
Fixed in 9b47babb6c4172535be0630141d6f8c6047c2724