Bug 382329

Summary: System Tray Settings crash.
Product: [Plasma] plasmashell Reporter: rооt <cerebellum>
Component: System TrayAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: cerebellum
Priority: NOR Keywords: drkonqi
Version: master   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description rооt 2017-07-14 09:06:15 UTC
Application: plasmashell (5.10.90)

Qt Version: 5.9.1
Frameworks Version: 5.37.0
Operating System: Linux 4.12.1-2-native x86_64
Distribution: Ubuntu Artful Aardvark (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
System Tray Settings --> Entries (changed the settings or not does not matter) --> OK --> Click on anything in the system tray --> Crash

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc5dcfe9900 (LWP 28369))]

Thread 7 (Thread 0x7fc52723d700 (LWP 28449)):
#0  0x00007fc5d67007fd in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc5d15d9250 in read (__nbytes=16, __buf=0x7fc52723ca30, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  0x00007fc5d15d9250 in g_wakeup_acknowledge (wakeup=0x7fc5ac002780) at ../../../../glib/gwakeup.c:210
#3  0x00007fc5d159424e in g_main_context_check (context=context@entry=0x7fc520000990, max_priority=2147483647, fds=fds@entry=0x7fc5200013c0, n_fds=n_fds@entry=1) at ../../../../glib/gmain.c:3664
#4  0x00007fc5d1594724 in g_main_context_iterate (context=context@entry=0x7fc520000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3883
#5  0x00007fc5d159489c in g_main_context_iteration (context=0x7fc520000990, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3947
#6  0x00007fc5d7029aeb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fc5200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007fc5d6fd22ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fc52723cc50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#8  0x00007fc5d6dfbcd3 in QThread::exec() (this=this@entry=0x560e869b8d50) at thread/qthread.cpp:515
#9  0x00007fc5daac3ae6 in QQuickPixmapReader::run() (this=0x560e869b8d50) at util/qquickpixmapcache.cpp:868
#10 0x00007fc5d6e00a99 in QThreadPrivate::start(void*) (arg=0x560e869b8d50) at thread/qthread_unix.cpp:368
#11 0x00007fc5d5ca774a in start_thread (arg=0x7fc52723d700) at pthread_create.c:456
#12 0x00007fc5d6710caf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 6 (Thread 0x7fc5b2fb0700 (LWP 28447)):
#0  0x00007fc5d5cad520 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc5dc75f724 in QTWTF::TCMalloc_PageHeap::scavengerThread() (this=0x7fc5dca44ec0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fc5dc75f769 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fc5d5ca774a in start_thread (arg=0x7fc5b2fb0700) at pthread_create.c:456
#4  0x00007fc5d6710caf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 5 (Thread 0x7fc5bcd50700 (LWP 28431)):
#0  0x00007fc5d1593c03 in g_main_context_prepare (context=context@entry=0x7fc5ac000990, priority=priority@entry=0x7fc5bcd4fb60) at ../../../../glib/gmain.c:3432
#1  0x00007fc5d15946ab in g_main_context_iterate (context=context@entry=0x7fc5ac000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3866
#2  0x00007fc5d159489c in g_main_context_iteration (context=0x7fc5ac000990, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3947
#3  0x00007fc5d7029aeb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fc5ac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fc5d6fd22ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fc5bcd4fca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fc5d6dfbcd3 in QThread::exec() (this=this@entry=0x560e865155f0) at thread/qthread.cpp:515
#6  0x00007fc5d9f2dc55 in QQmlThreadPrivate::run() (this=0x560e865155f0) at qml/ftw/qqmlthread.cpp:147
#7  0x00007fc5d6e00a99 in QThreadPrivate::start(void*) (arg=0x560e865155f0) at thread/qthread_unix.cpp:368
#8  0x00007fc5d5ca774a in start_thread (arg=0x7fc5bcd50700) at pthread_create.c:456
#9  0x00007fc5d6710caf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 4 (Thread 0x7fc5befc4700 (LWP 28398)):
#0  0x00007fc5d6704cdd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc5d1594786 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fc5b4002e70, timeout=<optimized out>, context=0x7fc5b4000990) at ../../../../glib/gmain.c:4185
#2  0x00007fc5d1594786 in g_main_context_iterate (context=context@entry=0x7fc5b4000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3881
#3  0x00007fc5d159489c in g_main_context_iteration (context=0x7fc5b4000990, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3947
#4  0x00007fc5d7029aeb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fc5b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fc5d6fd22ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fc5befc3ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fc5d6dfbcd3 in QThread::exec() (this=this@entry=0x560e864c5110) at thread/qthread.cpp:515
#7  0x00007fc5d9f2dc55 in QQmlThreadPrivate::run() (this=0x560e864c5110) at qml/ftw/qqmlthread.cpp:147
#8  0x00007fc5d6e00a99 in QThreadPrivate::start(void*) (arg=0x560e864c5110) at thread/qthread_unix.cpp:368
#9  0x00007fc5d5ca774a in start_thread (arg=0x7fc5befc4700) at pthread_create.c:456
#10 0x00007fc5d6710caf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 3 (Thread 0x7fc5c4b55700 (LWP 28388)):
#0  0x00007fc5d6704cdd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc5d1594786 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fc5b8003020, timeout=<optimized out>, context=0x7fc5b8000990) at ../../../../glib/gmain.c:4185
#2  0x00007fc5d1594786 in g_main_context_iterate (context=context@entry=0x7fc5b8000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3881
#3  0x00007fc5d159489c in g_main_context_iteration (context=0x7fc5b8000990, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3947
#4  0x00007fc5d7029aeb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fc5b80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fc5d6fd22ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fc5c4b54c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fc5d6dfbcd3 in QThread::exec() (this=this@entry=0x7fc5d7719d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#7  0x00007fc5d74a5f25 in QDBusConnectionManager::run() (this=0x7fc5d7719d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007fc5d6e00a99 in QThreadPrivate::start(void*) (arg=0x7fc5d7719d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#9  0x00007fc5d5ca774a in start_thread (arg=0x7fc5c4b55700) at pthread_create.c:456
#10 0x00007fc5d6710caf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 2 (Thread 0x7fc5c678f700 (LWP 28379)):
#0  0x00007fc5d6704cdd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc5db6bfc62 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fc5db6c18d7 in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fc5c88d5f49 in QXcbEventReader::run() (this=0x560e863fe300) at qxcbconnection.cpp:1322
#4  0x00007fc5d6e00a99 in QThreadPrivate::start(void*) (arg=0x560e863fe300) at thread/qthread_unix.cpp:368
#5  0x00007fc5d5ca774a in start_thread (arg=0x7fc5c678f700) at pthread_create.c:456
#6  0x00007fc5d6710caf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 1 (Thread 0x7fc5dcfe9900 (LWP 28369)):
[KCrash Handler]
#6  0x00007fc5d9f154ce in QVector<QQmlPropertyData>::count() const (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:234
#7  0x00007fc5d9f154ce in QQmlPropertyCache::property(int) const (index=61, this=0x0) at ../../include/QtQml/5.9.1/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:711
#8  0x00007fc5d9f154ce in QQmlBinding::getPropertyData(QQmlPropertyData**, QQmlPropertyData*) const (this=this@entry=0x560e888f6eb0, propertyData=propertyData@entry=0x7fff871f70a8, valueTypeData=valueTypeData@entry=0x7fff871f70b0) at qml/qqmlbinding.cpp:520
#9  0x00007fc5d9f18f02 in GenericBinding<2>::write(QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>) (this=0x560e888f6eb0, result=..., isUndefined=<optimized out>, flags=...) at qml/qqmlbinding.cpp:246
#10 0x00007fc5d9f194d0 in QQmlNonbindingBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) (this=0x560e888f6eb0, watcher=..., flags=..., scope=...) at qml/qqmlbinding.cpp:210
#11 0x00007fc5d9f166b3 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) (this=0x560e888f6eb0, flags=..., flags@entry=...) at qml/qqmlbinding.cpp:167
#12 0x00007fc5d9f1690e in QQmlBinding::refresh() (this=<optimized out>) at qml/qqmlbinding.cpp:439
#13 0x00007fc5d9eebbf4 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:106
#14 0x00007fc5d9e8de54 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) (object=0x560e8890e710, index=43, a=0x0) at qml/qqmlengine.cpp:839
#15 0x00007fc5d7001756 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x560e8890e710, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3644
#16 0x00007fc5dca8e115 in  () at /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#17 0x00007fc5d7001097 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x560e8890e710, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x7fff871f8e10) at kernel/qobject.cpp:3766
#18 0x00007fc5d7001967 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x560e8890e710, m=m@entry=0x7fc5d7e44440 <QWindow::staticMetaObject>, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x7fff871f8e10) at kernel/qobject.cpp:3628
#19 0x00007fc5d781c5c2 in QWindow::visibleChanged(bool) (this=this@entry=0x560e8890e710, _t1=<optimized out>) at .moc/moc_qwindow.cpp:743
#20 0x00007fc5d7821dd0 in QWindow::setVisible(bool) (this=0x560e8890e710, visible=<optimized out>) at kernel/qwindow.cpp:530
#21 0x00007fc5dca8baab in PlasmaQuick::Dialog::setVisible(bool) () at /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#22 0x00007fc5dca8e255 in  () at /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#23 0x00007fc5dca8facb in PlasmaQuick::Dialog::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#24 0x00007fc5d9e89e62 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) (this=<optimized out>, o=<optimized out>, c=QMetaObject::WriteProperty, _id=<optimized out>, a=0x7fff871f9050) at qml/qqmlvmemetaobject.cpp:904
#25 0x00007fc5d9ea029b in QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const (this=this@entry=0x7fff871f92c0, target=target@entry=0x560e888ee080, value=<optimized out>, flags=...) at ../../include/QtQml/5.9.1/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:324
#26 0x00007fc5d9e9eca5 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) (object=object@entry=0x560e888ee080, property=..., value=..., context=0x560e888f5720, flags=..., flags@entry=...) at qml/qqmlproperty.cpp:1196
#27 0x00007fc5d9e67afb in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) (engine=engine@entry=0x560e865267e0, object=object@entry=0x560e888ee080, property=0x7fff871f92c0, value=...) at jsruntime/qv4qobjectwrapper.cpp:475
#28 0x00007fc5d9e685eb in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) (engine=0x560e865267e0, qmlContext=<optimized out>, object=0x560e888ee080, name=<optimized out>, revisionMode=QV4::QObjectWrapper::IgnoreRevision, value=...) at jsruntime/qv4qobjectwrapper.cpp:361
#29 0x00007fc5d9e68721 in QV4::QObjectWrapper::put(QV4::Managed*, QV4::String*, QV4::Value const&) (m=0x7fc5b38013f0, name=0x7fc5b38013e8, value=...) at jsruntime/qv4qobjectwrapper.cpp:637
#30 0x00007fc5d9e7750a in QV4::Object::put(QV4::String*, QV4::Value const&) (v=..., name=<optimized out>, this=<optimized out>) at jsruntime/qv4object_p.h:348
#31 0x00007fc5d9e7750a in QV4::Runtime::method_setProperty(QV4::ExecutionEngine*, QV4::Value const&, int, QV4::Value const&) (engine=0x560e865267e0, object=..., nameIndex=<optimized out>, value=...) at jsruntime/qv4runtime.cpp:599
#32 0x00007fc52415ed09 in  ()
#33 0x00007fc5b38013f8 in  ()
#34 0x0000560e86526cc0 in  ()
#35 0x0000000000000060 in  ()
#36 0x00007fc5d9cfecca in memset (__len=140735460381648, __ch=0, __dest=0x7fc5b38013e0) at /usr/include/x86_64-linux-gnu/bits/string3.h:90
#37 0x00007fc5d9cfecca in QV4::MemoryManager::allocData(unsigned long) (this=0x0, size=140735460381648) at memory/qv4mm.cpp:768
#38 0x0000000000000000 in  ()

Reported using DrKonqi
Comment 1 Christoph Feck 2017-07-17 18:18:58 UTC

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