Bug 362034

Summary: Application crash when changing icon sizes in the System Settings KCM
Product: [Plasma] plasma-integration Reporter: Eike Hein <hein>
Component: generalAssignee: Martin Flöser <mgraesslin>
Status: RESOLVED FIXED    
Severity: crash CC: heiko.becker, nate
Priority: NOR Keywords: drkonqi
Version: master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eike Hein 2016-04-21 12:34:30 UTC
Application: konversation (1.6-master #5004)
 (Compiled from sources)
Qt Version: 5.6.1
Frameworks Version: 5.21.0
Operating System: Linux 4.5.1-301.surfacebook.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"

-- Information about the crash:
- What I was doing when the application crashed:

I clicked "Apply" in the System Settings Icons module after changing some icon sizes on the Advanced tab.

The crash can be reproduced every time.

-- Backtrace:
Application: Konversation (konversation), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6ac21b5900 (LWP 1714))]

Thread 3 (Thread 0x7f6aa265a700 (LWP 1717)):
#0  0x00007f6ab9f02fdd in poll () at /lib64/libc.so.6
#1  0x00007f6ab36f916c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f6ab36f927c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f6abad2952b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f6a940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007f6abacd530a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f6aa2659ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f6abab0ed3c in QThread::exec() (this=this@entry=0x7f6abb3a5d00 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:504
#6  0x00007f6abb1370a5 in QDBusConnectionManager::run() (this=0x7f6abb3a5d00 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:181
#7  0x00007f6abab138e9 in QThreadPrivate::start(void*) (arg=0x7f6abb3a5d00 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:340
#8  0x00007f6ab7ca860a in start_thread () at /lib64/libpthread.so.0
#9  0x00007f6ab9f0ea4d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f6aa0ba0700 (LWP 1718)):
#0  0x00007f6ab373d719 in g_mutex_lock () at /lib64/libglib-2.0.so.0
#1  0x00007f6ab36f8931 in g_main_context_query () at /lib64/libglib-2.0.so.0
#2  0x00007f6ab36f90e7 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007f6ab36f927c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007f6abad2952b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f6a980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f6abacd530a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f6aa0b9fcd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f6abab0ed3c in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:504
#7  0x00007f6abab138e9 in QThreadPrivate::start(void*) (arg=0x161d940) at thread/qthread_unix.cpp:340
#8  0x00007f6ab7ca860a in start_thread () at /lib64/libpthread.so.0
#9  0x00007f6ab9f0ea4d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f6ac21b5900 (LWP 1714)):
[KCrash Handler]
#6  0x00000000ffffffff in  ()
#7  0x00007f6abacdf759 in QMetaObject::cast(QObject*) const () at kernel/qmetaobject.cpp:311
#8  0x00007f6aa2b5ca4f in KHintsSettings::iconChanged(int) (object=0x2c8ede0) at /home/eike/devel/src/qt5/qtbase/src/corelib/kernel/qobject.h:518
#9  0x00007f6aa2b5ca4f in KHintsSettings::iconChanged(int) (this=<optimized out>, group=<optimized out>) at /home/eike/devel/src/kde/workspace/plasma-integration/src/platformtheme/khintssettings.cpp:306
#10 0x00007f6abad01d74 in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffc569d2f70, r=0x15c5110, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#11 0x00007f6abad01d74 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x7f6abef21040 <(anonymous namespace)::Q_QGS_globalIconLoader::innerFunction()::holder>, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3715
#12 0x00007f6abecfbcea in KIconLoader::iconChanged(int) (this=0x7f6abef21040 <(anonymous namespace)::Q_QGS_globalIconLoader::innerFunction()::holder>, _t1=2) at /home/eike/devel/build/frameworks/kiconthemes/src/moc_kiconloader.moc:262
#13 0x00007f6abecf4651 in KIconLoaderPrivate::_k_refreshIcons(int) (this=0x165f0a0, group=2) at /home/eike/devel/src/frameworks/kiconthemes/src/kiconloader.cpp:459
#14 0x00007f6abecfbac4 in KIconLoader::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x7f6abef21040 <(anonymous namespace)::Q_QGS_globalIconLoader::innerFunction()::holder>, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7ffc569d3140) at /home/eike/devel/build/frameworks/kiconthemes/src/moc_kiconloader.moc:195
#15 0x00007f6abad01cc1 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x7f6abef21010 <(anonymous namespace)::Q_QGS_s_globalData::innerFunction()::holder>, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3730
#16 0x00007f6abecfb9f0 in KIconLoaderGlobalData::iconChanged(int) (this=0x7f6abef21010 <(anonymous namespace)::Q_QGS_s_globalData::innerFunction()::holder>, _t1=2) at /home/eike/devel/build/frameworks/kiconthemes/src/kiconloader.moc:125
#17 0x00007f6abecfb834 in KIconLoaderGlobalData::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x7f6abef21010 <(anonymous namespace)::Q_QGS_s_globalData::innerFunction()::holder>, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffc569d32d0) at /home/eike/devel/build/frameworks/kiconthemes/src/kiconloader.moc:70
#18 0x00007f6abecfb982 in KIconLoaderGlobalData::qt_metacall(QMetaObject::Call, int, void**) (this=0x7f6abef21010 <(anonymous namespace)::Q_QGS_s_globalData::innerFunction()::holder>, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffc569d32d0) at /home/eike/devel/build/frameworks/kiconthemes/src/kiconloader.moc:111
#19 0x00007f6abb14226b in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:978
#20 0x00007f6abad027b1 in QObject::event(QEvent*) (this=0x7f6abef21010 <(anonymous namespace)::Q_QGS_s_globalData::innerFunction()::holder>, e=<optimized out>) at kernel/qobject.cpp:1256
#21 0x00007f6abbcbdacc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7f6abef21010 <(anonymous namespace)::Q_QGS_s_globalData::innerFunction()::holder>, e=0x7f6a9402aed0) at kernel/qapplication.cpp:3804
#22 0x00007f6abbcc2c26 in QApplication::notify(QObject*, QEvent*) (this=0x7ffc569d3930, receiver=0x7f6abef21010 <(anonymous namespace)::Q_QGS_s_globalData::innerFunction()::holder>, e=0x7f6a9402aed0) at kernel/qapplication.cpp:3561
#23 0x00007f6abacd7038 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7f6abef21010 <(anonymous namespace)::Q_QGS_s_globalData::innerFunction()::holder>, event=event@entry=0x7f6a9402aed0) at kernel/qcoreapplication.cpp:1015
#24 0x00007f6abacd8e1a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7f6a9402aed0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:225
#25 0x00007f6abacd8e1a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1181e60) at kernel/qcoreapplication.cpp:1650
#26 0x00007f6abacd92d8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1508
#27 0x00007f6abad29103 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x15d0100) at kernel/qeventdispatcher_glib.cpp:270
#28 0x00007f6ab36f8e3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#29 0x00007f6ab36f91d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#30 0x00007f6ab36f927c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#31 0x00007f6abad2950f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x15d4c70, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#32 0x00007f6abacd530a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc569d3840, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#33 0x00007f6abacdd37d in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1285
#34 0x00000000004891cf in main(int, char**) (argc=1, argv=0x7ffc569d4bf8) at /home/eike/devel/src/extragear/network/konversation/src/main.cpp:159

Reported using DrKonqi
Comment 1 Heiko Becker 2016-07-19 14:30:07 UTC
I still see the same with Qt 5.7.0, KF5 5.24.0 and Plasma 5.7.1.
Comment 2 Nate Graham 2020-09-29 21:13:39 UTC
The KCM was rewritten a while ago so I doubt this would reproduce. In case it does, feel free to re-open with a new backtrace. :)