Bug 394328

Summary: Forced close of settings
Product: [Applications] systemsettings Reporter: Christoph Lange <christoph.t.lange>
Component: kcm_kameraAssignee: Marcus Meissner <marcus>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.12.5   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christoph Lange 2018-05-16 13:47:28 UTC
Application: systemsettings5 (5.12.5)

Qt Version: 5.10.0
Frameworks Version: 5.46.0
Operating System: Linux 4.13.0-41-generic x86_64
Distribution: KDE neon User Edition 5.12

-- Information about the crash:
- What I was doing when the application crashed: Opening settings for removable drives lead to instant crash of settings app.

-- 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 0x7fe71c86c8c0 (LWP 28711))]

Thread 4 (Thread 0x7fe6e9f13700 (LWP 28726)):
#0  0x00007fe71838174d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe7122ea38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe7122ea49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe718cb45cb in QEventDispatcherGlib::processEvents (this=0x7fe6e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fe718c5b64a in QEventLoop::exec (this=this@entry=0x7fe6e9f12ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fe718a7b554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#6  0x00007fe7165b5a35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fe718a806eb in QThreadPrivate::start (arg=0x11ac930) at thread/qthread_unix.cpp:376
#8  0x00007fe7148066ba in start_thread (arg=0x7fe6e9f13700) at pthread_create.c:333
#9  0x00007fe71838d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fe6f391e700 (LWP 28719)):
#0  0x00007fe71837d27d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe71232d6f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe7122e9e74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe7122ea330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe7122ea49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe718cb45cb in QEventDispatcherGlib::processEvents (this=0x7fe6ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fe718c5b64a in QEventLoop::exec (this=this@entry=0x7fe6f391dce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007fe718a7b554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#8  0x00007fe7165b5a35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fe718a806eb in QThreadPrivate::start (arg=0xe83de0) at thread/qthread_unix.cpp:376
#10 0x00007fe7148066ba in start_thread (arg=0x7fe6f391e700) at pthread_create.c:333
#11 0x00007fe71838d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fe6ffeee700 (LWP 28714)):
#0  0x00007fe71232ea94 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe7122e9910 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe7122ea2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe7122ea49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe718cb45cb in QEventDispatcherGlib::processEvents (this=0x7fe6f80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fe718c5b64a in QEventLoop::exec (this=this@entry=0x7fe6ffeedcd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fe718a7b554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#7  0x00007fe71a5942c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fe718a806eb in QThreadPrivate::start (arg=0x7fe71a808d60) at thread/qthread_unix.cpp:376
#9  0x00007fe7148066ba in start_thread (arg=0x7fe6ffeee700) at pthread_create.c:333
#10 0x00007fe71838d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fe71c86c8c0 (LWP 28711)):
[KCrash Handler]
#6  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:140
#7  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1013
#8  QStandardItemModel::d_func (this=0x0) at itemmodels/qstandarditemmodel.h:431
#9  QStandardItemModel::clear (this=0x0) at itemmodels/qstandarditemmodel.cpp:2143
#10 0x00007fe6e2ede48a in KKameraConfig::populateDeviceListView (this=this@entry=0x729f2f0) at /workspace/build/kcontrol/kamera.cpp:175
#11 0x00007fe6e2edfdaf in KKameraConfig::load (this=<optimized out>) at /workspace/build/kcontrol/kamera.cpp:269
#12 0x00007fe71b95a209 in KCModule::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /workspace/build/obj-x86_64-linux-gnu/src/moc_kcmodule.cpp:110
#13 0x00007fe718c8b4c9 in QObject::event (this=this@entry=0x729f2f0, e=e@entry=0x72b1c90) at kernel/qobject.cpp:1246
#14 0x00007fe719c705e3 in QWidget::event (this=0x729f2f0, event=0x72b1c90) at kernel/qwidget.cpp:9263
#15 0x00007fe719c30acc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x729f2f0, e=0x72b1c90) at kernel/qapplication.cpp:3732
#16 0x00007fe719c38417 in QApplication::notify (this=0x7ffd415d9420, receiver=0x729f2f0, e=0x72b1c90) at kernel/qapplication.cpp:3491
#17 0x00007fe718c5d3c8 in QCoreApplication::notifyInternal2 (receiver=0x729f2f0, event=event@entry=0x72b1c90) at kernel/qcoreapplication.cpp:1044
#18 0x00007fe718c5ffcb in QCoreApplication::sendEvent (event=0x72b1c90, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xa67460) at kernel/qcoreapplication.cpp:1719
#20 0x00007fe718c60438 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1573
#21 0x00007fe718cb4fa3 in postEventSourceDispatch (s=0xacd630) at kernel/qeventdispatcher_glib.cpp:276
#22 0x00007fe7122ea197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fe7122ea3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fe7122ea49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fe718cb45af in QEventDispatcherGlib::processEvents (this=this@entry=0xacfa90, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#26 0x00007fe70b5421a1 in QPAEventDispatcherGlib::processEvents (this=0xacfa90, flags=...) at qeventdispatcher_glib.cpp:69
#27 0x00007fe718c5b64a in QEventLoop::exec (this=this@entry=0x7ffd415d9300, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#28 0x00007fe718c64854 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1332
#29 0x00007fe71948083c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1687
#30 0x00007fe719c30a25 in QApplication::exec () at kernel/qapplication.cpp:2917
#31 0x000000000040b6fe in main (argc=1, argv=<optimized out>) at /workspace/build/app/main.cpp:67

Reported using DrKonqi
Comment 1 Christoph Feck 2018-09-26 00:08:23 UTC

*** This bug has been marked as a duplicate of bug 305061 ***