kotelnik / plasma-applet-active-window-control

Plasma 5 applet for controlling currently active window.
GNU General Public License v2.0
119 stars 18 forks source link

Current master version makes latte-dock crash (plasma panel ok) #42

Closed kupiqu closed 7 years ago

kupiqu commented 7 years ago

Unfortunately this last version (commit ccc7a93633cf2c250a616b40d2a643daf465df1c, not saying this is the exact commit, I just tried with it) makes latte-dock seg fault (works fine in plasma panel). As I don't know where the ultimate issue is, I will open a new issue in both sides. Please see backtrace below:

Application: Latte Dock (latte-dock), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8bcc3618c0 (LWP 6154))]

Thread 15 (Thread 0x7f8b16bdf700 (LWP 6230)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f8bda5f1936 in QWaitConditionPrivate::wait_relative (time=30000, this=0x6e67ff0) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=30000, this=0x6e67ff0) at thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this@entry=0x6dc2180, mutex=mutex@entry=0x6cb4de0, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007f8bda5ed1ea in QThreadPoolThread::run (this=0x6dc2170) at thread/qthreadpool.cpp:133
#5  0x00007f8bda5f0b48 in QThreadPrivate::start (arg=0x6dc2170) at thread/qthread_unix.cpp:368
#6  0x00007f8bd67316ba in start_thread (arg=0x7f8b16bdf700) at pthread_create.c:333
#7  0x00007f8bd9ce782d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 14 (Thread 0x7f8b1f3d6700 (LWP 6197)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f8bda5f1936 in QWaitConditionPrivate::wait_relative (time=30000, this=0x7f8b180053d0) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=30000, this=0x7f8b180053d0) at thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this@entry=0x7f8b180050e0, mutex=mutex@entry=0x7f8b18004e80, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007f8bda5ed1ea in QThreadPoolThread::run (this=0x7f8b180050d0) at thread/qthreadpool.cpp:133
#5  0x00007f8bda5f0b48 in QThreadPrivate::start (arg=0x7f8b180050d0) at thread/qthread_unix.cpp:368
#6  0x00007f8bd67316ba in start_thread (arg=0x7f8b1f3d6700) at pthread_create.c:333
#7  0x00007f8bd9ce782d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7f8b1fbd7700 (LWP 6196)):
#0  0x00007f8bd9cd769d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f8bd4f2a6f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8bd4ee6e74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8bd4ee7330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8bd4ee749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8bda81175b in QEventDispatcherGlib::processEvents (this=0x7f8b180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f8bda7bc0ba in QEventLoop::exec (this=this@entry=0x7f8b1fbd6d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f8bda5ebf64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#8  0x00007f8bda5f0b48 in QThreadPrivate::start (arg=0x258bd60) at thread/qthread_unix.cpp:368
#9  0x00007f8bd67316ba in start_thread (arg=0x7f8b1fbd7700) at pthread_create.c:333
#10 0x00007f8bd9ce782d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7f8b2fbe2700 (LWP 6190)):
#0  __GI___tls_get_addr (ti=0x7f8bdaa04738) at dl-tls.c:834
#1  0x00007f8bda5efa46 in get_thread_data () at thread/qthread_unix.cpp:189
#2  QThreadData::current (createIfNecessary=createIfNecessary@entry=true) at thread/qthread_unix.cpp:244
#3  0x00007f8bda811011 in postEventSourcePrepare (timeout=0x0, s=0x7f8b240012d0) at kernel/qeventdispatcher_glib.cpp:252
#4  postEventSourceCheck (source=0x7f8b240012d0) at kernel/qeventdispatcher_glib.cpp:269
#5  0x00007f8bd4ee6dc1 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f8bd4ee7330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f8bd4ee749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f8bda81175b in QEventDispatcherGlib::processEvents (this=0x7f8b240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#9  0x00007f8bda7bc0ba in QEventLoop::exec (this=this@entry=0x7f8b2fbe1cc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#10 0x00007f8bda5ebf64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#11 0x00007f8b343dd587 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#12 0x00007f8bda5f0b48 in QThreadPrivate::start (arg=0x3b91ff0) at thread/qthread_unix.cpp:368
#13 0x00007f8bd67316ba in start_thread (arg=0x7f8b2fbe2700) at pthread_create.c:333
#14 0x00007f8bd9ce782d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7f8b35b76700 (LWP 6180)):
#0  0x00007f8bd4f2ba94 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f8bd4ee7381 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8bd4ee749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8bda81175b in QEventDispatcherGlib::processEvents (this=0x7f8b280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f8bda7bc0ba in QEventLoop::exec (this=this@entry=0x7f8b35b75d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f8bda5ebf64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f8bda5f0b48 in QThreadPrivate::start (arg=0x2927b80) at thread/qthread_unix.cpp:368
#7  0x00007f8bd67316ba in start_thread (arg=0x7f8b35b76700) at pthread_create.c:333
#8  0x00007f8bd9ce782d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f8b377a7700 (LWP 6175)):
#0  0x00007f8bd9cd769d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f8bd4f2a6f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8bd4ee6e74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8bd4ee7330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8bd4ee749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8bda81175b in QEventDispatcherGlib::processEvents (this=0x7f8b300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f8bda7bc0ba in QEventLoop::exec (this=this@entry=0x7f8b377a6d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f8bda5ebf64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#8  0x00007f8bda5f0b48 in QThreadPrivate::start (arg=0x3368b50) at thread/qthread_unix.cpp:368
#9  0x00007f8bd67316ba in start_thread (arg=0x7f8b377a7700) at pthread_create.c:333
#10 0x00007f8bd9ce782d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f8b5bfff700 (LWP 6174)):
#0  0x00007f8bd9cdbb5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f8bd4ee738c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8bd4ee749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8bda81175b in QEventDispatcherGlib::processEvents (this=0x7f8b500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f8bda7bc0ba in QEventLoop::exec (this=this@entry=0x7f8b5bffece0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f8bda5ebf64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f8b605d3975 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so
#7  0x00007f8bda5f0b48 in QThreadPrivate::start (arg=0x2962640) at thread/qthread_unix.cpp:368
#8  0x00007f8bd67316ba in start_thread (arg=0x7f8b5bfff700) at pthread_create.c:333
#9  0x00007f8bd9ce782d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f8b62bc8700 (LWP 6169)):
#0  0x00007f8bd9cdbb5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f8bd4ee738c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8bd4ee749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8bda81175b in QEventDispatcherGlib::processEvents (this=0x7f8b4c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f8bda7bc0ba in QEventLoop::exec (this=this@entry=0x7f8b62bc7d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f8bda5ebf64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f8bda5f0b48 in QThreadPrivate::start (arg=0x299d980) at thread/qthread_unix.cpp:368
#7  0x00007f8bd67316ba in start_thread (arg=0x7f8b62bc8700) at pthread_create.c:333
#8  0x00007f8bd9ce782d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f8b5b7fe700 (LWP 6161)):
#0  0x00007f8bd4ee4427 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f8bd4ee68bb in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8bd4ee72bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8bd4ee749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8bda81175b in QEventDispatcherGlib::processEvents (this=0x7f8b540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f8bda7bc0ba in QEventLoop::exec (this=this@entry=0x7f8b5b7fdd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f8bda5ebf64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f8bda5f0b48 in QThreadPrivate::start (arg=0x293a2c0) at thread/qthread_unix.cpp:368
#8  0x00007f8bd67316ba in start_thread (arg=0x7f8b5b7fe700) at pthread_create.c:333
#9  0x00007f8bd9ce782d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f8b63fff700 (LWP 6160)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8bab6d19a4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f8bab6d1bfa in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f8bac7da1d1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#4  0x00007f8bd67316ba in start_thread (arg=0x7f8b63fff700) at pthread_create.c:333
#5  0x00007f8bd9ce782d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f8b6887d700 (LWP 6159)):
#0  0x00007f8bd9cdbb5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f8bd4ee738c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8bd4ee749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8bda81175b in QEventDispatcherGlib::processEvents (this=0x7f8b640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f8bda7bc0ba in QEventLoop::exec (this=this@entry=0x7f8b6887cd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f8bda5ebf64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f8bda5f0b48 in QThreadPrivate::start (arg=0x29369d0) at thread/qthread_unix.cpp:368
#7  0x00007f8bd67316ba in start_thread (arg=0x7f8b6887d700) at pthread_create.c:333
#8  0x00007f8bd9ce782d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f8ba9196700 (LWP 6158)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8bac7aa5ab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f8bac7aa5e9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f8bd67316ba in start_thread (arg=0x7f8ba9196700) at pthread_create.c:333
#4  0x00007f8bd9ce782d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f8bc2311700 (LWP 6157)):
#0  0x00007f8bda810d09 in timerSourcePrepareHelper (timeout=0x7f8bc2310b14, src=0x7f8bb4002c70) at kernel/qeventdispatcher_glib.cpp:132
#1  timerSourcePrepare (source=0x7f8bb4002c70, timeout=0x7f8bc2310b14) at kernel/qeventdispatcher_glib.cpp:165
#2  0x00007f8bd4ee691d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8bd4ee72bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8bd4ee749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8bda81175b in QEventDispatcherGlib::processEvents (this=0x7f8bb40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f8bda7bc0ba in QEventLoop::exec (this=this@entry=0x7f8bc2310ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f8bda5ebf64 in QThread::exec (this=this@entry=0x1f6ee60) at thread/qthread.cpp:507
#8  0x00007f8bdc41ebf5 in QQmlThreadPrivate::run (this=0x1f6ee60) at qml/ftw/qqmlthread.cpp:147
#9  0x00007f8bda5f0b48 in QThreadPrivate::start (arg=0x1f6ee60) at thread/qthread_unix.cpp:368
#10 0x00007f8bd67316ba in start_thread (arg=0x7f8bc2311700) at pthread_create.c:333
#11 0x00007f8bd9ce782d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f8bc3b68700 (LWP 6156)):
#0  0x00007f8bd4ee43e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f8bd4ee68bb in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8bd4ee72bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8bd4ee749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8bda81175b in QEventDispatcherGlib::processEvents (this=0x7f8bbc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f8bda7bc0ba in QEventLoop::exec (this=this@entry=0x7f8bc3b67cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f8bda5ebf64 in QThread::exec (this=this@entry=0x7f8bde18cd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#7  0x00007f8bde118735 in QDBusConnectionManager::run (this=0x7f8bde18cd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f8bda5f0b48 in QThreadPrivate::start (arg=0x7f8bde18cd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#9  0x00007f8bd67316ba in start_thread (arg=0x7f8bc3b68700) at pthread_create.c:333
#10 0x00007f8bd9ce782d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f8bcc3618c0 (LWP 6154)):
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=<error reading variable: Cannot access memory at address 0x0>) at /usr/include/c++/5/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=<error reading variable: Cannot access memory at address 0x0>) at ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=<error reading variable: Cannot access memory at address 0x0>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:99
#9  QtPrivate::RefCount::isShared (this=<error reading variable: Cannot access memory at address 0x0>) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:101
#10 QVector<QScriptLine>::isDetached (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:108
#11 QVector<QScriptLine>::detach (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:384
#12 QVector<QScriptLine>::data (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:129
#13 QVector<QScriptLine>::operator[] (i=0, this=0x0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:438
#14 QTextLine::y (this=this@entry=0x7ffc0af960c0) at text/qtextlayout.cpp:1445
#15 0x00007f8bdc729906 in QQuickTextPrivate::setupTextLayout (this=this@entry=0x6c91210, baseline=baseline@entry=0x7ffc0af961b0) at items/qquicktext.cpp:1082
#16 0x00007f8bdc72a2e3 in QQuickTextPrivate::updateSize (this=this@entry=0x6c91210) at items/qquicktext.cpp:404
#17 0x00007f8bdc72ccd8 in QQuickText::geometryChanged (this=0x6c90ec0, newGeometry=..., oldGeometry=...) at items/qquicktext.cpp:2241
#18 0x00007f8bdc6d44f6 in QQuickItem::setSize (this=0x6c90ec0, size=...) at items/qquickitem.cpp:6674
#19 0x00007f8bc001a0c3 in QQuickGridLayoutItem::setGeometry (this=0x6c9d970, rect=...) at qquickgridlayoutengine_p.h:120
#20 0x00007f8bdaddd78c in QGridLayoutEngine::setGeometries (this=this@entry=0x70e7378, contentsGeometry=..., styleInfo=<optimized out>) at util/qgridlayoutengine.cpp:1060
#21 0x00007f8bc0019899 in QQuickGridLayoutBase::rearrange (this=this@entry=0x70e51d0, size=...) at qquicklinearlayout.cpp:531
#22 0x00007f8bc00199cc in QQuickGridLayoutBase::componentComplete (this=0x70e51d0) at qquicklinearlayout.cpp:353
#23 0x00007f8bdc4153fc in QQmlObjectCreator::finalize (this=0x70e5630, interrupt=...) at qml/qqmlobjectcreator.cpp:1241
#24 0x00007f8bdc3a6a7a in QQmlIncubatorPrivate::incubate (this=this@entry=0x70e5560, i=...) at qml/qqmlincubator.cpp:354
#25 0x00007f8bdc3a73d0 in QQmlEnginePrivate::incubate (this=this@entry=0x1f6f200, i=..., forContext=forContext@entry=0x70e54a0) at qml/qqmlincubator.cpp:93
#26 0x00007f8bdc3a267b in QQmlComponent::create (this=<optimized out>, incubator=..., context=<optimized out>, forContext=forContext@entry=0x0) at qml/qqmlcomponent.cpp:1069
#27 0x00007f8bdc795c9a in QQuickLoaderPrivate::_q_sourceLoaded (this=this@entry=0x70e2a50) at items/qquickloader.cpp:721
#28 0x00007f8bdc795e38 in QQuickLoaderPrivate::load (this=0x70e2a50) at items/qquickloader.cpp:603
#29 0x00007f8bdc4153fc in QQmlObjectCreator::finalize (this=0x70e1b50, interrupt=...) at qml/qqmlobjectcreator.cpp:1241
#30 0x00007f8bdc3a6a7a in QQmlIncubatorPrivate::incubate (this=this@entry=0x70e1a80, i=...) at qml/qqmlincubator.cpp:354
#31 0x00007f8bdc3a73d0 in QQmlEnginePrivate::incubate (this=this@entry=0x1f6f200, i=..., forContext=forContext@entry=0x70e19c0) at qml/qqmlincubator.cpp:93
#32 0x00007f8bdc3a267b in QQmlComponent::create (this=<optimized out>, incubator=..., context=<optimized out>, forContext=forContext@entry=0x0) at qml/qqmlcomponent.cpp:1069
#33 0x00007f8bdc795c9a in QQuickLoaderPrivate::_q_sourceLoaded (this=this@entry=0x3321e70) at items/qquickloader.cpp:721
#34 0x00007f8bdc795e38 in QQuickLoaderPrivate::load (this=0x3321e70) at items/qquickloader.cpp:603
#35 0x00007f8bdc796b08 in QQuickLoader::qt_static_metacall (_o=_o@entry=0x3321e20, _c=_c@entry=QMetaObject::WriteProperty, _id=_id@entry=2, _a=_a@entry=0x7ffc0af96bf0) at .moc/moc_qquickloader_p.cpp:258
#36 0x00007f8bdc796c1b in QQuickLoader::qt_metacall (this=0x3321e20, _c=QMetaObject::WriteProperty, _id=2, _a=0x7ffc0af96bf0) at .moc/moc_qquickloader_p.cpp:309
#37 0x00007f8bdc39f0da in QQmlPropertyPrivate::write (object=object@entry=0x3321e20, property=..., value=..., context=context@entry=0x3eae5d0, flags=...) at qml/qqmlproperty.cpp:1259
#38 0x00007f8bdc3a0c93 in QQmlPropertyPrivate::writeValueProperty (object=0x3321e20, core=..., value=..., context=0x3eae5d0, flags=...) at qml/qqmlproperty.cpp:1183
#39 0x00007f8bdc40ae77 in QQmlBinding::write (this=this@entry=0x3d49e10, core=..., result=..., isUndefined=<optimized out>, flags=...) at qml/qqmlbinding.cpp:333
#40 0x00007f8bdc40bfd8 in QQmlBinding::update (this=0x3d49e10, flags=...) at qml/qqmlbinding.cpp:197
#41 0x00007f8bdc40c88e in QQmlBinding::refresh (this=<optimized out>) at qml/qqmlbinding.cpp:409
#42 0x00007f8bdc3e2f8e in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:100
#43 0x00007f8bdc38ef1c in QQmlData::signalEmitted (object=0x6e8cea0, index=30, a=0x0) at qml/qqmlengine.cpp:779
#44 0x00007f8bda7e95d6 in QMetaObject::activate (sender=0x6e8cea0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=argv@entry=0x0) at kernel/qobject.cpp:3618
#45 0x00007f8bdc389885 in QQmlVMEMetaObject::activate (this=this@entry=0x6d3e960, object=<optimized out>, index=<optimized out>, args=args@entry=0x0) at qml/qqmlvmemetaobject.cpp:1205
#46 0x00007f8bdc38add9 in QQmlVMEMetaObject::metaCall (this=0x6d3e960, o=<optimized out>, c=<optimized out>, _id=<optimized out>, a=<optimized out>) at qml/qqmlvmemetaobject.cpp:755
#47 0x00007f8bdc38a986 in QQmlVMEMetaObject::metaCall (this=0x33225e0, o=<optimized out>, c=QMetaObject::WriteProperty, _id=42, a=0x7ffc0af98f00) at qml/qqmlvmemetaobject.cpp:883
#48 0x00007f8bdc38a986 in QQmlVMEMetaObject::metaCall (this=0x3321a70, o=<optimized out>, c=QMetaObject::WriteProperty, _id=42, a=0x7ffc0af98f00) at qml/qqmlvmemetaobject.cpp:883
#49 0x00007f8bdc38a986 in QQmlVMEMetaObject::metaCall (this=0x3323c10, o=<optimized out>, c=QMetaObject::WriteProperty, _id=42, a=0x7ffc0af98f00) at qml/qqmlvmemetaobject.cpp:883
#50 0x00007f8bdc38a986 in QQmlVMEMetaObject::metaCall (this=0x6e12fe0, o=<optimized out>, c=QMetaObject::WriteProperty, _id=42, a=0x7ffc0af98f00) at qml/qqmlvmemetaobject.cpp:883
#51 0x00007f8bdc39f0da in QQmlPropertyPrivate::write (object=object@entry=0x6e8cea0, property=..., value=..., context=context@entry=0x3eae5d0, flags=...) at qml/qqmlproperty.cpp:1259
#52 0x00007f8bdc3a0c93 in QQmlPropertyPrivate::writeValueProperty (object=0x6e8cea0, core=..., value=..., context=0x3eae5d0, flags=...) at qml/qqmlproperty.cpp:1183
#53 0x00007f8bdc40ae77 in QQmlBinding::write (this=this@entry=0x6e42260, core=..., result=..., isUndefined=<optimized out>, flags=...) at qml/qqmlbinding.cpp:333
#54 0x00007f8bdc40bfd8 in QQmlBinding::update (this=0x6e42260, flags=...) at qml/qqmlbinding.cpp:197
#55 0x00007f8bdc40c88e in QQmlBinding::refresh (this=<optimized out>) at qml/qqmlbinding.cpp:409
#56 0x00007f8bdc3e2f8e in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:100
#57 0x00007f8bdc38ef1c in QQmlData::signalEmitted (object=0x6895820, index=31, a=0x0) at qml/qqmlengine.cpp:779
#58 0x00007f8bda7e95d6 in QMetaObject::activate (sender=sender@entry=0x6895820, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3618
#59 0x00007f8bda7e9837 in QMetaObject::activate (sender=sender@entry=0x6895820, m=m@entry=0x7f8bdc9202c0 <QQuickLoader::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3602
#60 0x00007f8bdc796e25 in QQuickLoader::itemChanged (this=<optimized out>) at .moc/moc_qquickloader_p.cpp:329
#61 QQuickLoaderPrivate::incubatorStateChanged (this=0x3321410, status=QQmlIncubator::Ready) at items/qquickloader.cpp:673
#62 0x00007f8bdc3a7108 in QQmlIncubatorPrivate::changeStatus (s=<optimized out>, this=0x70e1620) at qml/qqmlincubator.cpp:707
#63 QQmlIncubatorPrivate::incubate (this=this@entry=0x70e1620, i=...) at qml/qqmlincubator.cpp:374
#64 0x00007f8bdc3a73d0 in QQmlEnginePrivate::incubate (this=this@entry=0x1f6f200, i=..., forContext=forContext@entry=0x70e1560) at qml/qqmlincubator.cpp:93
#65 0x00007f8bdc3a267b in QQmlComponent::create (this=<optimized out>, incubator=..., context=<optimized out>, forContext=forContext@entry=0x0) at qml/qqmlcomponent.cpp:1069
#66 0x00007f8bdc795c9a in QQuickLoaderPrivate::_q_sourceLoaded (this=this@entry=0x3321410) at items/qquickloader.cpp:721
#67 0x00007f8bdc795e38 in QQuickLoaderPrivate::load (this=0x3321410) at items/qquickloader.cpp:603
#68 0x00007f8bdc4153fc in QQmlObjectCreator::finalize (this=0x3d499d0, interrupt=...) at qml/qqmlobjectcreator.cpp:1241
#69 0x00007f8bdc3a6a7a in QQmlIncubatorPrivate::incubate (this=this@entry=0x33190a0, i=...) at qml/qqmlincubator.cpp:354
#70 0x00007f8bdc3a73d0 in QQmlEnginePrivate::incubate (this=0x1f6f200, i=..., forContext=forContext@entry=0x32e4a40) at qml/qqmlincubator.cpp:93
#71 0x00007f8bdc43d957 in QQmlDelegateModelItem::incubateObject (this=this@entry=0x6e43350, component=<optimized out>, engine=<optimized out>, context=context@entry=0x6e1e3c0, forContext=forContext@entry=0x32e4a40) at types/qqmldelegatemodel.cpp:1943
#72 0x00007f8bdc446f8d in QQmlDelegateModelPrivate::object (this=this@entry=0x32e6bb0, group=QQmlListCompositor::Default, index=index@entry=0, asynchronous=asynchronous@entry=false) at types/qqmldelegatemodel.cpp:987
#73 0x00007f8bdc447285 in QQmlDelegateModel::object (this=<optimized out>, index=0, asynchronous=<optimized out>) at types/qqmldelegatemodel.cpp:1023
#74 0x00007f8bdc7759b1 in QQuickRepeaterPrivate::requestItems (this=0x32e6420) at items/qquickrepeater.cpp:400
#75 0x00007f8bdc775c6c in QQuickRepeater::regenerate (this=this@entry=0x32e63f0) at items/qquickrepeater.cpp:394
#76 0x00007f8bdc776baf in QQuickRepeater::modelUpdated (this=0x32e63f0, changeSet=..., reset=<optimized out>) at items/qquickrepeater.cpp:456
#77 0x00007f8bdc82f7f0 in QQuickRepeater::qt_static_metacall (_o=_o@entry=0x32e63f0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=7, _a=_a@entry=0x7ffc0af9b5d0) at .moc/moc_qquickrepeater_p.cpp:138
#78 0x00007f8bdc82fc68 in QQuickRepeater::qt_metacall (this=0x32e63f0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7ffc0af9b5d0) at .moc/moc_qquickrepeater_p.cpp:258
#79 0x00007f8bda7e9014 in QMetaObject::activate (sender=sender@entry=0x32e6b80, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffc0af9b5d0) at kernel/qobject.cpp:3755
#80 0x00007f8bda7e9837 in QMetaObject::activate (sender=sender@entry=0x32e6b80, m=m@entry=0x7f8bdc53fb80 <QQmlInstanceModel::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffc0af9b5d0) at kernel/qobject.cpp:3602
#81 0x00007f8bdc46c0c6 in QQmlInstanceModel::modelUpdated (this=this@entry=0x32e6b80, _t1=..., _t2=true) at .moc/moc_qqmlobjectmodel_p.cpp:220
#82 0x00007f8bdc43c238 in QQmlDelegateModelPrivate::emitModelUpdated (this=<optimized out>, changeSet=..., reset=<optimized out>) at types/qqmldelegatemodel.cpp:1445
#83 0x00007f8bdc441cb5 in QQmlDelegateModelGroupPrivate::emitModelUpdated (this=0x32e6e30, reset=reset@entry=true) at types/qqmldelegatemodel.cpp:2254
#84 0x00007f8bdc441e5a in QQmlDelegateModelPrivate::emitChanges (this=0x32e6bb0) at types/qqmldelegatemodel.cpp:1464
#85 0x00007f8bdc446566 in QQmlDelegateModel::_q_modelReset (this=0x32e6b80) at types/qqmldelegatemodel.cpp:1503
#86 0x00007f8bdc4690f5 in QQmlDelegateModel::qt_static_metacall (_o=_o@entry=0x32e6b80, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=7, _a=_a@entry=0x7ffc0af9b8d0) at .moc/moc_qqmldelegatemodel_p.cpp:193
#87 0x00007f8bdc4698e8 in QQmlDelegateModel::qt_metacall (this=0x32e6b80, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7ffc0af9b8d0) at .moc/moc_qqmldelegatemodel_p.cpp:334
#88 0x00007f8bda7e9014 in QMetaObject::activate (sender=sender@entry=0x32f1ed0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=18, argv=argv@entry=0x0) at kernel/qobject.cpp:3755
#89 0x00007f8bda7e9837 in QMetaObject::activate (sender=sender@entry=0x32f1ed0, m=m@entry=0x7f8bdaa02d80 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=18, argv=argv@entry=0x0) at kernel/qobject.cpp:3602
#90 0x00007f8bda85ef93 in QAbstractItemModel::modelReset (this=this@entry=0x32f1ed0) at .moc/moc_qabstractitemmodel.cpp:655
#91 0x00007f8bda760a5c in QAbstractItemModel::endResetModel (this=0x32f1ed0) at itemmodels/qabstractitemmodel.cpp:3182
#92 0x00007f8b605f7aca in AppMenuModel::update() () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/private/activeWindowControl/libactivewindowcontrolplugin.so
#93 0x00007f8b605fc57b in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (AppMenuModel::*)()>::call(void (AppMenuModel::*)(), AppMenuModel*, void**) () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/private/activeWindowControl/libactivewindowcontrolplugin.so
#94 0x00007f8b605fc0d6 in void QtPrivate::FunctionPointer<void (AppMenuModel::*)()>::call<QtPrivate::List<>, void>(void (AppMenuModel::*)(), AppMenuModel*, void**) () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/private/activeWindowControl/libactivewindowcontrolplugin.so
#95 0x00007f8b605fb891 in QtPrivate::QSlotObject<void (AppMenuModel::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/private/activeWindowControl/libactivewindowcontrolplugin.so
#96 0x00007f8bda7e91f6 in QtPrivate::QSlotObjectBase::call (a=0x7ffc0af9bb40, r=0x32f1ed0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#97 QMetaObject::activate (sender=0x32f1ed0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3723
#98 0x00007f8b605fd8dd in AppMenuModel::modelNeedsUpdate() () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/private/activeWindowControl/libactivewindowcontrolplugin.so
#99 0x00007f8b605f84e0 in AppMenuModel::updateApplicationMenu(QString const&, QString const&)::{lambda(QMenu*)#1}::operator()(QMenu*) const () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/private/activeWindowControl/libactivewindowcontrolplugin.so
#100 0x00007f8b605f8e19 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QMenu*>, void, AppMenuModel::updateApplicationMenu(QString const&, QString const&)::{lambda(QMenu*)#1}>::call({lambda(QMenu*)#1}&, void**) () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/private/activeWindowControl/libactivewindowcontrolplugin.so
#101 0x00007f8b605f8d61 in void QtPrivate::Functor<AppMenuModel::updateApplicationMenu(QString const&, QString const&)::{lambda(QMenu*)#1}, 1>::call<QtPrivate::List<QMenu*>, void>({lambda(QMenu*)#1}&, void*, {lambda(QMenu*)#1}&*) () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/private/activeWindowControl/libactivewindowcontrolplugin.so
#102 0x00007f8b605f8cfc in QtPrivate::QFunctorSlotObject<AppMenuModel::updateApplicationMenu(QString const&, QString const&)::{lambda(QMenu*)#1}, 1, QtPrivate::List<QMenu*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/private/activeWindowControl/libactivewindowcontrolplugin.so
#103 0x00007f8bda7e91f6 in QtPrivate::QSlotObjectBase::call (a=0x7ffc0af9bdf0, r=0x32f1ed0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#104 QMetaObject::activate (sender=0x7084af0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3723
#105 0x00007f8b605ffb84 in DBusMenuImporter::menuUpdated(QMenu*) () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/private/activeWindowControl/libactivewindowcontrolplugin.so
#106 0x00007f8b605fef60 in DBusMenuImporter::slotGetLayoutFinished(QDBusPendingCallWatcher*) () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/private/activeWindowControl/libactivewindowcontrolplugin.so
#107 0x00007f8b60609328 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QDBusPendingCallWatcher*>, void, void (DBusMenuImporter::*)(QDBusPendingCallWatcher*)>::call(void (DBusMenuImporter::*)(QDBusPendingCallWatcher*), DBusMenuImporter*, void**) () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/private/activeWindowControl/libactivewindowcontrolplugin.so
#108 0x00007f8b60608a2f in void QtPrivate::FunctionPointer<void (DBusMenuImporter::*)(QDBusPendingCallWatcher*)>::call<QtPrivate::List<QDBusPendingCallWatcher*>, void>(void (DBusMenuImporter::*)(QDBusPendingCallWatcher*), DBusMenuImporter*, void**) () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/private/activeWindowControl/libactivewindowcontrolplugin.so
#109 0x00007f8b60607973 in QtPrivate::QSlotObject<void (DBusMenuImporter::*)(QDBusPendingCallWatcher*), QtPrivate::List<QDBusPendingCallWatcher*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/private/activeWindowControl/libactivewindowcontrolplugin.so
#110 0x00007f8bda7e91f6 in QtPrivate::QSlotObjectBase::call (a=0x7ffc0af9c1b0, r=0x7084af0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#111 QMetaObject::activate (sender=0x3c97bb0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc0af9c1b0) at kernel/qobject.cpp:3723
#112 0x00007f8bda7e9837 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f8bde18b5c0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc0af9c1b0) at kernel/qobject.cpp:3602
#113 0x00007f8bde16f4af in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=0x3c97bb0) at .moc/moc_qdbuspendingcall.cpp:152
#114 0x00007f8bde16f5a8 in QDBusPendingCallWatcherPrivate::_q_finished (this=<optimized out>) at qdbuspendingcall.cpp:494
#115 QDBusPendingCallWatcher::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:83
#116 0x00007f8bda7e9d99 in QObject::event (this=0x3c97bb0, e=<optimized out>) at kernel/qobject.cpp:1263
#117 0x00007f8bdb09cecc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x3c97bb0, e=0x7f8bbc009290) at kernel/qapplication.cpp:3799
#118 0x00007f8bdb0a48c6 in QApplication::notify (this=0x7ffc0af9c8f0, receiver=0x3c97bb0, e=0x7f8bbc009290) at kernel/qapplication.cpp:3556
#119 0x00007f8bda7be0c8 in QCoreApplication::notifyInternal2 (receiver=0x3c97bb0, event=event@entry=0x7f8bbc009290) at kernel/qcoreapplication.cpp:988
#120 0x00007f8bda7c078b in QCoreApplication::sendEvent (event=0x7f8bbc009290, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#121 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1e83b90) at kernel/qcoreapplication.cpp:1649
#122 0x00007f8bda7c0bf8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#123 0x00007f8bda811333 in postEventSourceDispatch (s=0x1ecd1c0) at kernel/qeventdispatcher_glib.cpp:276
#124 0x00007f8bd4ee7197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#125 0x00007f8bd4ee73f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#126 0x00007f8bd4ee749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#127 0x00007f8bda81173f in QEventDispatcherGlib::processEvents (this=0x1ee3730, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#128 0x00007f8bda7bc0ba in QEventLoop::exec (this=this@entry=0x7ffc0af9c750, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#129 0x00007f8bda7c46cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#130 0x000000000047903c in main (argc=1, argv=0x7ffc0af9ca58) at Latte-Dock/app/main.cpp:112
kupiqu commented 7 years ago

Actually that commit is responsible for the crash, I tried with the one before (9c2bdc3ce7e0f4d017a5c6c3e4a866f5c30129ec), and it does not make latte-dock crash

kupiqu commented 7 years ago

I found that the issue is the size of the panel, it works for >=40px, it crashes for 32px.

I'll check, but surely the same happens for plasma, if panel is thin too

kotelnik commented 7 years ago

Interesting... I couldn't replicate it with very thin (around 20px) Plasma panel though. So far I cannot come up with a sensible solution. I don't want to merge AppMenu.qml back to main.qml because main.qml is already pretty big and the code is cleaner this way... So far it looks like this is the only reason for the crashes though.

kupiqu commented 7 years ago

Indeed, I could not confirm the issue in a regular plasma panel either.

kotelnik commented 7 years ago

Is this still a problem?

kupiqu commented 7 years ago

No, not a problem anymore. Sorry I guess I forgot about this issue as discussion was moved to a different although related issue (issue #59).