https://bugs.kde.org/show_bug.cgi?id=390887
Bug ID: 390887 Summary: Crash when opening systemsettings5 as root Product: systemsettings Version: 5.12.1 Platform: Neon Packages OS: Linux Status: UNCONFIRMED Keywords: drkonqi Severity: normal Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: gulagehierleit...@gmail.com Target Milestone: --- Application: systemsettings5 (5.12.1) Qt Version: 5.9.3 Frameworks Version: 5.43.0 Operating System: Linux 4.13.0-32-generic x86_64 Distribution: KDE neon User Edition 5.12 -- Information about the crash: - What I was doing when the application crashed: I ran `export $(dbus-launch)` and then `systemsettings5` from konsole and shortly after selecting the first menu, the application crashed. - Custom settings of the application: The entire application is the settings application :( -- Backtrace: Application: Systemeinstellungen (systemsettings5), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7fe787c448c0 (LWP 12861))] Thread 5 (Thread 0x7fe74dfe5700 (LWP 12881)): #0 0x00007fe77d981f25 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007fe77d9823f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fe77d98249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fe7840696cb in QEventDispatcherGlib::processEvents (this=0x7fe7480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #4 0x00007fe784011e2a in QEventLoop::exec (this=this@entry=0x7fe74dfe4ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #5 0x00007fe783e3a8f4 in QThread::exec (this=this@entry=0x75f2910) at thread/qthread.cpp:515 #6 0x00007fe7819b0d25 in QQmlThreadPrivate::run (this=0x75f2910) at qml/ftw/qqmlthread.cpp:147 #7 0x00007fe783e3f709 in QThreadPrivate::start (arg=0x75f2910) at thread/qthread_unix.cpp:368 #8 0x00007fe77fc306ba in start_thread (arg=0x7fe74dfe5700) at pthread_create.c:333 #9 0x00007fe78374e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 4 (Thread 0x7fe755ade700 (LWP 12866)): #0 0x00007fe78374274d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fe77d98238c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fe77d98249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fe7840696cb in QEventDispatcherGlib::processEvents (this=0x7fe7500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #4 0x00007fe784011e2a in QEventLoop::exec (this=this@entry=0x7fe755addce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #5 0x00007fe783e3a8f4 in QThread::exec (this=this@entry=0x2a6bc60) at thread/qthread.cpp:515 #6 0x00007fe7819b0d25 in QQmlThreadPrivate::run (this=0x2a6bc60) at qml/ftw/qqmlthread.cpp:147 #7 0x00007fe783e3f709 in QThreadPrivate::start (arg=0x2a6bc60) at thread/qthread_unix.cpp:368 #8 0x00007fe77fc306ba in start_thread (arg=0x7fe755ade700) at pthread_create.c:333 #9 0x00007fe78374e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 3 (Thread 0x7fe75f666700 (LWP 12865)): #0 0x00007fe78374274d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fe77d98238c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fe77d98249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fe7840696cb in QEventDispatcherGlib::processEvents (this=0x7fe7580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #4 0x00007fe784011e2a in QEventLoop::exec (this=this@entry=0x7fe75f665ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #5 0x00007fe783e3a8f4 in QThread::exec (this=this@entry=0x27f7260) at thread/qthread.cpp:515 #6 0x00007fe7819b0d25 in QQmlThreadPrivate::run (this=0x27f7260) at qml/ftw/qqmlthread.cpp:147 #7 0x00007fe783e3f709 in QThreadPrivate::start (arg=0x27f7260) at thread/qthread_unix.cpp:368 #8 0x00007fe77fc306ba in start_thread (arg=0x7fe75f666700) at pthread_create.c:333 #9 0x00007fe78374e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7fe76b72f700 (LWP 12863)): #0 0x00007fe78374274d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fe77d98238c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fe77d98249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fe7840696cb in QEventDispatcherGlib::processEvents (this=0x7fe7640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #4 0x00007fe784011e2a in QEventLoop::exec (this=this@entry=0x7fe76b72ecd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #5 0x00007fe783e3a8f4 in QThread::exec (this=this@entry=0x7fe785bdbd40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515 #6 0x00007fe785967315 in QDBusConnectionManager::run (this=0x7fe785bdbd40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178 #7 0x00007fe783e3f709 in QThreadPrivate::start (arg=0x7fe785bdbd40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368 #8 0x00007fe77fc306ba in start_thread (arg=0x7fe76b72f700) at pthread_create.c:333 #9 0x00007fe78374e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7fe787c448c0 (LWP 12861)): [KCrash Handler] #4 QScopedPointer<Common::QSqlDatabaseWrapper, QScopedPointerDeleter<Common::QSqlDatabaseWrapper> >::isNull (this=<error reading variable: Cannot access memory at address 0x0>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:145 #5 QScopedPointer<Common::QSqlDatabaseWrapper, QScopedPointerDeleter<Common::QSqlDatabaseWrapper> >::operator Common::QSqlDatabaseWrapper* QScopedPointer<Common::QSqlDatabaseWrapper, QScopedPointerDeleter<Common::QSqlDatabaseWrapper> >::* (this=<error reading variable: Cannot access memory at address 0x0>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:134 #6 Common::Database::Private::query (query=..., this=<error reading variable: Cannot access memory at address 0x0>) at /workspace/build/src/common/database/Database.cpp:135 #7 Common::Database::execQuery (this=0x0, query=..., ignoreErrors=ignoreErrors@entry=false) at /workspace/build/src/common/database/Database.cpp:249 #8 0x00007fe75fad6b25 in KActivities::Stats::ResultModelPrivate::fillTitleAndMimetype (this=this@entry=0x2ae89f0, result=...) at /workspace/build/src/resultmodel.cpp:901 #9 0x00007fe75fade263 in KActivities::Stats::ResultModelPrivate::onResultScoreUpdated (this=0x2ae89f0, resource=..., score=0, lastUpdate=1519283388, firstUpdate=1519283388) at /workspace/build/src/resultmodel.cpp:829 #10 0x00007fe7840405a6 in QtPrivate::QSlotObjectBase::call (a=0x7fffbf05a800, r=0x2ae88e0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101 #11 QMetaObject::activate (sender=0x2ae8a38, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffbf05a800) at kernel/qobject.cpp:3749 #12 0x00007fe784040b87 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fe75fcf3c40 <KActivities::Stats::ResultWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffbf05a800) at kernel/qobject.cpp:3628 #13 0x00007fe75fae933b in KActivities::Stats::ResultWatcher::resultScoreUpdated (this=<optimized out>, _t1=..., _t2=0, _t3=1519283388, _t4=1519283388) at /workspace/build/obj-x86_64-linux-gnu/src/moc_resultwatcher.cpp:204 #14 0x00007fe7840405a6 in QtPrivate::QSlotObjectBase::call (a=0x7fffbf05a9a0, r=0x2ae8a38, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101 #15 QMetaObject::activate (sender=sender@entry=0x2ae9ce0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffbf05a9a0) at kernel/qobject.cpp:3749 #16 0x00007fe784040b87 in QMetaObject::activate (sender=sender@entry=0x2ae9ce0, m=m@entry=0x7fe75fcf3920 <OrgKdeActivityManagerResourcesScoringInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffbf05a9a0) at kernel/qobject.cpp:3628 #17 0x00007fe75fae85ce in OrgKdeActivityManagerResourcesScoringInterface::ResourceScoreUpdated (_t6=1519283388, _t5=1519283388, _t4=0, _t3=..., _t2=..., _t1=..., this=0x2ae9ce0) at /workspace/build/obj-x86_64-linux-gnu/src/resourcesscoring_interface.moc:216 #18 OrgKdeActivityManagerResourcesScoringInterface::qt_static_metacall (_o=_o@entry=0x2ae9ce0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=3, _a=_a@entry=0x7fffbf05ab40) at /workspace/build/obj-x86_64-linux-gnu/src/resourcesscoring_interface.moc:113 #19 0x00007fe75fae8855 in OrgKdeActivityManagerResourcesScoringInterface::qt_metacall (this=0x2ae9ce0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffbf05ab40) at /workspace/build/obj-x86_64-linux-gnu/src/resourcesscoring_interface.moc:181 #20 0x00007fe785973683 in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:998 #21 0x00007fe7840412b9 in QObject::event (this=0x2ae9ce0, e=<optimized out>) at kernel/qobject.cpp:1246 #22 0x00007fe785004b9c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x2ae9ce0, e=0x7fe764012540) at kernel/qapplication.cpp:3722 #23 0x00007fe78500c5a7 in QApplication::notify (this=0x7fffbf05b220, receiver=0x2ae9ce0, e=0x7fe764012540) at kernel/qapplication.cpp:3481 #24 0x00007fe784013df8 in QCoreApplication::notifyInternal2 (receiver=0x2ae9ce0, event=event@entry=0x7fe764012540) at kernel/qcoreapplication.cpp:1018 #25 0x00007fe7840165db in QCoreApplication::sendEvent (event=0x7fe764012540, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233 #26 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2331430) at kernel/qcoreapplication.cpp:1678 #27 0x00007fe784016a48 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1532 #28 0x00007fe78406a0a3 in postEventSourceDispatch (s=0x238c5f0) at kernel/qeventdispatcher_glib.cpp:276 #29 0x00007fe77d982197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #30 0x00007fe77d9823f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #31 0x00007fe77d98249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #32 0x00007fe7840696af in QEventDispatcherGlib::processEvents (this=0x2380dd0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #33 0x00007fe784011e2a in QEventLoop::exec (this=this@entry=0x7fffbf05b100, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #34 0x00007fe78401ad64 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1291 #35 0x00007fe78488dbdc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1679 #36 0x00007fe785004af5 in QApplication::exec () at kernel/qapplication.cpp:2910 #37 0x000000000040b6fe in main (argc=1, argv=<optimized out>) at /workspace/build/app/main.cpp:67 Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.