-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inspected applications hang up on various occasions (qt.qpa.events.reader: [heap]) #700
Comments
can you try attaching gdb to the target application to see where its stuck? |
Maybe a flame graph would be more informative? I've seen some, however never tried collecting one myself yet. I mean, sometimes it stuck without CPU throttling — just not processing incoming events. But other times it is CPU-bound which probably means a lot of calls in different places — which in turn means you never know when exactly an attach would happen. |
Hi, I tried reproducing this today using the |
Hi, sorry, i'm slow on responses and still bad at debugging stuff. I just launched GammaRay against plasmashell session, switched between two on the Quick Scenes, and it hanged on third. I'm on current master (02190e4). full traceback of plasmashell process❯ gdb --pid=5585 GNU gdb (GDB) 12.1 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 5585 [New LWP 5587] [New LWP 5588] [New LWP 5652] [New LWP 5889] [New LWP 6261] [New LWP 6313] [New LWP 6321] [New LWP 6338] [New LWP 6400] [New LWP 6415] [New LWP 6416] [New LWP 6417] [New LWP 6418] [New LWP 6818] This GDB supports auto-downloading debuginfo from the following URLs: https://debuginfod.archlinux.org Enable debuginfod for this session? (y or [n]) y Debuginfod has been enabled. To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit. [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". 0x00007f5f2d5be23f in std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::find(QSGNode* const&) const () from /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/gammaray_quickinspector.so (gdb) info threads Id Target Id Frame * 1 Thread 0x7f5f5c3d1b00 (LWP 5585) "plasmashell" 0x00007f5f2d5be23f in std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::find(QSGNode* const&) const () from /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/gammaray_quickinspector.so 2 Thread 0x7f5f59aa56c0 (LWP 5587) "QDBusConnection" 0x00007f5f5e3140bf in __GI___poll (fds=0x7f5f540053e0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 3 Thread 0x7f5f592a46c0 (LWP 5588) "QXcbEventQueue" 0x00007f5f5e3140bf in __GI___poll (fds=fds@entry=0x7f5f592a3988, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 4 Thread 0x7f5f4bfff6c0 (LWP 5652) "QQmlThread" 0x00007f5f5e3140bf in __GI___poll (fds=0x7f5f440025e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 5 Thread 0x7f5f39bba6c0 (LWP 5889) "plasmashell" pselect64_syscall (sigmask=, timeout=, exceptfds=0x0, writefds=0x0, readfds=0x7f5f39bb1990, nfds=30) at ../sysdeps/unix/sysv/linux/pselect.c:34 6 Thread 0x7f5f2ffff6c0 (LWP 6261) "QSGRenderThread" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5650511727b4) at futex-internal.c:57 7 Thread 0x7f5f13fff6c0 (LWP 6313) "CPMMListener" 0x00007f5f5e3140bf in __GI___poll (fds=0x7f5f13ffeab8, nfds=1, timeout=300000) at ../sysdeps/unix/sysv/linux/poll.c:29 8 Thread 0x7f5f137fe6c0 (LWP 6321) "QSGRenderThread" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x565050ac5420) at futex-internal.c:57 9 Thread 0x7f5f07fff6c0 (LWP 6338) "QQuickPixmapRea" 0x00007f5f5e3140bf in __GI___poll (fds=0x7f5efc005730, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 10 Thread 0x7f5f067fc6c0 (LWP 6400) "KCupsConnection" 0x00007f5f5e3140bf in __GI___poll (fds=0x7f5ed40029e0, nfds=1, timeout=3499373) at ../sysdeps/unix/sysv/linux/poll.c:29 11 Thread 0x7f5ef34526c0 (LWP 6415) "QSGRenderThread" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7f5f4c00c004) at futex-internal.c:57 12 Thread 0x7f5ef18596c0 (LWP 6416) "QSGRenderThread" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5650562a99c0) at futex-internal.c:57 13 Thread 0x7f5ef0e586c0 (LWP 6417) "QSGRenderThread" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x56505660b554) at futex-internal.c:57 14 Thread 0x7f5eeb3fe6c0 (LWP 6418) "QSGRenderThread" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x565056701ed4) at futex-internal.c:57 15 Thread 0x7f5ee29ff6c0 (LWP 6818) "QSGRenderThread" __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x565055da7e64) at futex-internal.c:57 (gdb) info stack #0 0x00007f5f2d5be23f in std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::find(QSGNode* const&) const () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/gammaray_quickinspector.so #1 0x00007f5f2d5bbd5b in GammaRay::QuickSceneGraphModel::itemForSgNode(QSGNode*) const () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/gammaray_quickinspector.so #2 0x00007f5f2d5981c3 in GammaRay::QuickInspector::itemSelectionChanged(QItemSelection const&) () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/gammaray_quickinspector.so #3 0x00007f5f5eabd3df in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdd8d81340, r=, this=0x5650578152b0, this=, r=, a=) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #4 doActivate(QObject*, int, void**) (sender=0x5650515755a0, signal_index=3, argv=0x7ffdd8d81340) at kernel/qobject.cpp:3919 #5 0x00007f5f5ea5154c in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) (this=, _t1=, _t2=) at .moc/moc_qitemselectionmodel.cpp:475 #6 0x00007f5f5ea56d6f in QItemSelectionModel::select(QItemSelection const&, QFlags) (this=0x5650515755a0, selection=, command=...) at itemmodels/qitemselectionmodel.cpp:1340 #7 0x00007f5f2e38d15f in GammaRay::NetworkSelectionModel::select(QItemSelection const&, QFlags) () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/../../../libgammaray_core-qt5_15-x86_64.so.3.0.0 #8 0x00007f5f5ea53880 in QItemSelectionModel::select(QModelIndex const&, QFlags) (this=0x5650515755a0, index=, command=...) at itemmodels/qitemselectionmodel.cpp:1190 #9 0x00007f5f2d598743 in GammaRay::QuickInspector::selectItem(QQuickItem*) () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/gammaray_quickinspector.so #10 0x00007f5f2d598c08 in GammaRay::QuickInspector::selectWindow(QQuickWindow*) () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/gammaray_quickinspector.so #11 0x00007f5f2d598ef8 in GammaRay::QuickInspector::selectWindow(int) () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/gammaray_quickinspector.so #12 0x00007f5f5ea9c56e in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const (this=, object=0x565056217e20, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:2310 #13 0x00007f5f5ea9cf60 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) (obj=0x565056217e20, member=0x565053501148 "selectWindow", type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1522 #14 0x00007f5f2e245693 in GammaRay::Endpoint::invokeObjectLocal(QObject*, char const*, QList const&) () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/../../../libgammaray_common-qt5_15-x86_64.so.3.0.0 #15 0x00007f5f2e245c95 in GammaRay::Endpoint::dispatchMessage(GammaRay::Message const&) () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/../../../libgammaray_common-qt5_15-x86_64.so.3.0.0 #16 0x00007f5f2e242010 in GammaRay::Endpoint::readyRead() () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/../../../libgammaray_common-qt5_15-x86_64.so.3.0.0 #17 0x00007f5f5eabd3df in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdd8d82080, r=, this=0x7f5ecc16d1b0, this=, r=, a=) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #18 doActivate(QObject*, int, void**) (sender=0x7f5f28631f80, signal_index=3, argv=0x7ffdd8d82080) at kernel/qobject.cpp:3919 #19 0x00007f5f5f5b7ee0 in QAbstractSocketPrivate::emitReadyRead(int) (channel=0, this=0x5650549abf00) at socket/qabstractsocket.cpp:1323 #20 QAbstractSocketPrivate::canReadNotification() (this=0x5650549abf00) at socket/qabstractsocket.cpp:748 #21 0x00007f5f5f5ce76a in QAbstractSocketEngine::readNotification() (this=) at socket/qabstractsocketengine.cpp:160 #22 QReadNotifier::event(QEvent*) (this=, e=) at socket/qnativesocketengine.cpp:1274 #23 0x00007f5f5f978b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=, receiver=0x56505795dfe0, e=0x7ffdd8d82190) at kernel/qapplication.cpp:3637 #24 0x00007f5f5ea8cf98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x56505795dfe0, event=0x7ffdd8d82190) at kernel/qcoreapplication.cpp:1064 #25 0x00007f5f5ead6aa6 in socketNotifierSourceDispatch(GSource*, GSourceFunc, gpointer) (source=0x56504ecb7b10) at kernel/qeventdispatcher_glib.cpp:107 #26 0x00007f5f5cd1687b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0 #27 0x00007f5f5cd6d299 in () at /usr/lib/libglib-2.0.so.0 #28 0x00007f5f5cd15132 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #29 0x00007f5f5ead7c4c in QEventDispatcherGlib::processEvents(QFlags) (this=0x56504ecb29a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #30 0x00007f5f5ea8573c in QEventLoop::exec(QFlags) (this=0x7ffdd8d82410, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #31 0x00007f5f5ea90269 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #32 0x000056504d36cc5d in main(int, char**) (argc=2, argv=0x7ffdd8d826d8) at /home/ratijas/kde/src/kde/workspace/plasma-workspace/shell/main.cpp:255 (gdb) bt full #0 0x00007f5f2d5be23f in std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::find(QSGNode* const&) const () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/gammaray_quickinspector.so #1 0x00007f5f2d5bbd5b in GammaRay::QuickSceneGraphModel::itemForSgNode(QSGNode*) const () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/gammaray_quickinspector.so #2 0x00007f5f2d5981c3 in GammaRay::QuickInspector::itemSelectionChanged(QItemSelection const&) () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/gammaray_quickinspector.so #3 0x00007f5f5eabd3df in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdd8d81340, r=, this=0x5650578152b0, this=, r=, a=) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 receiver = td = receiverInSameThread = senderData = {previous = 0x0, receiver = 0x565056217e20, sender = 0x5650515755a0, signal = 3} c = 0x5650578152e0 connections = {d = 0x565051575f10} list = inSenderThread = true highestConnectionId = 3 signalVector = 0x565057814ca0 currentThreadId = 0x7f5f5c3d1b00 sp = signal_spy_set = 0x7f5f2e3e7940 empty_argv = {0x0} senderDeleted = false #4 doActivate(QObject*, int, void**) (sender=0x5650515755a0, signal_index=3, argv=0x7ffdd8d81340) at kernel/qobject.cpp:3919 receiver = td = receiverInSameThread = senderData = {previous = 0x0, receiver = 0x565056217e20, sender = 0x5650515755a0, signal = 3} c = 0x5650578152e0 connections = {d = 0x565051575f10} list = inSenderThread = true highestConnectionId = 3 signalVector = 0x565057814ca0 currentThreadId = 0x7f5f5c3d1b00 sp = signal_spy_set = 0x7f5f2e3e7940 empty_argv = {0x0} senderDeleted = false #5 0x00007f5f5ea5154c in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) (this=, _t1=, _t2=) at .moc/moc_qitemselectionmodel.cpp:475 _a = {0x0, 0x7ffdd8d813e8, 0x7ffdd8d813d0} #6 0x00007f5f5ea56d6f in QItemSelectionModel::select(QItemSelection const&, QFlags) (this=0x5650515755a0, selection=, command=...) at itemmodels/qitemselectionmodel.cpp:1340 d = 0x565051575b40 sel = {> = {> = {}, {p = {static shared_null = {ref = {atomic = {_q_value = std::atomic = { -1 }}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x56505865d400}, d = 0x56505865d400}}, } old = {> = {> = {}, {p = {static shared_null = {ref = {atomic = {_q_value = std::atomic = { -1 }}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x565053546080}, d = 0x565053546080}}, } newSelection = {> = {> = {}, {p = {static shared_null = {ref = {atomic = {_q_value = std::atomic = { -1 }}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x56505a88d540}, d = 0x56505a88d540}}, } #7 0x00007f5f2e38d15f in GammaRay::NetworkSelectionModel::select(QItemSelection const&, QFlags) () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/../../../libgammaray_core-qt5_15-x86_64.so.3.0.0 #8 0x00007f5f5ea53880 in QItemSelectionModel::select(QModelIndex const&, QFlags) (this=0x5650515755a0, index=, command=...) at itemmodels/qitemselectionmodel.cpp:1190 selection = {> = {> = {}, {p = {static shared_null = {ref = {atomic = {_q_value = std::atomic = { -1 }}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x56505b187500}, d = 0x56505b187500}}, } #9 0x00007f5f2d598743 in GammaRay::QuickInspector::selectItem(QQuickItem*) () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/gammaray_quickinspector.so #10 0x00007f5f2d598c08 in GammaRay::QuickInspector::selectWindow(QQuickWindow*) () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/gammaray_quickinspector.so #11 0x00007f5f2d598ef8 in GammaRay::QuickInspector::selectWindow(int) () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/gammaray_quickinspector.so #12 0x00007f5f5ea9c56e in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const (this=, object=0x565056217e20, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:2310 typeNames = {0x1 , 0x56505974df08 "int", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0} paramCount = currentThreadId = objectThread = receiverInSameThread = param = {0x0, 0x56505bdf5160, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0} idx_relative = 1 idx_offset = 17 callFunction = 0x7f5f2d58ba40 #13 0x00007f5f5ea9cf60 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) (obj=0x565056217e20, member=0x565053501148 "selectWindow", type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1522 sig = {a = 512, s = 18, ptr = 0x7ffdd8d81ac0 "selectWindow(int)", {array = "selectWindow(int)\000\000\000\000\000\000\000T\035\330\330\375\177\000\000H\035\330\330\375\177", '\000' , "\001\000\000\000\000\000\000\000\067\000\000\000_\177\000\000\004\000\000\000\000\000\000\000\220\311\330\330\375\177\000\000\240y\313NPV\000\000\n\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\000bDTPV\000\000\275f.^_\177\000\000\260\033\330\330\375\177\000\000\212\r\255^_\177\000\000\000\000\000\000\000\000\000\000"..., q_for_alignment_1 = 7590663667208447347, q_for_alignment_2 = 2.8052136868211761e+199}} len = typeNames = {0x7ffdd8d81c60 "\020\035\330\330\375\177", 0x56505974df08 "int", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0} paramCount = meta = 0x7f5f2d6001a0 idx = method = {mobj = 0x7f5f2d6001a0 , handle = 19} #14 0x00007f5f2e245693 in GammaRay::Endpoint::invokeObjectLocal(QObject*, char const*, QList const&) () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/../../../libgammaray_common-qt5_15-x86_64.so.3.0.0 #15 0x00007f5f2e245c95 in GammaRay::Endpoint::dispatchMessage(GammaRay::Message const&) () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/../../../libgammaray_common-qt5_15-x86_64.so.3.0.0 #16 0x00007f5f2e242010 in GammaRay::Endpoint::readyRead() () at /usr/local/kde/lib/gammaray/3.0/qt5_15-x86_64/../../../libgammaray_common-qt5_15-x86_64.so.3.0.0 #17 0x00007f5f5eabd3df in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdd8d82080, r=, this=0x7f5ecc16d1b0, this=, r=, a=) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 receiver = td = receiverInSameThread = senderData = {previous = 0x0, receiver = 0x56505557ef70, sender = 0x7f5f28631f80, signal = 3} c = 0x5650534ba1a0 connections = {d = 0x565058982f00} list = inSenderThread = true highestConnectionId = 4 signalVector = 0x5650545a9640 currentThreadId = 0x7f5f5c3d1b00 sp = signal_spy_set = 0x7f5f2e3e7940 empty_argv = {0x0} senderDeleted = false #18 doActivate(QObject*, int, void**) (sender=0x7f5f28631f80, signal_index=3, argv=0x7ffdd8d82080) at kernel/qobject.cpp:3919 receiver = td = receiverInSameThread = senderData = {previous = 0x0, receiver = 0x56505557ef70, sender = 0x7f5f28631f80, signal = 3} c = 0x5650534ba1a0 connections = {d = 0x565058982f00} list = inSenderThread = true highestConnectionId = 4 signalVector = 0x5650545a9640 currentThreadId = 0x7f5f5c3d1b00 sp = signal_spy_set = 0x7f5f2e3e7940 empty_argv = {0x0} senderDeleted = false #19 0x00007f5f5f5b7ee0 in QAbstractSocketPrivate::emitReadyRead(int) (channel=0, this=0x5650549abf00) at socket/qabstractsocket.cpp:1323 q = q = #20 QAbstractSocketPrivate::canReadNotification() (this=0x5650549abf00) at socket/qabstractsocket.cpp:748 q = #21 0x00007f5f5f5ce76a in QAbstractSocketEngine::readNotification() (this=) at socket/qabstractsocketengine.cpp:160 receiver = #22 QReadNotifier::event(QEvent*) (this=, e=) at socket/qnativesocketengine.cpp:1274 #23 0x00007f5f5f978b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=, receiver=0x56505795dfe0, e=0x7ffdd8d82190) at kernel/qapplication.cpp:3637 consumed = false filtered = false #24 0x00007f5f5ea8cf98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x56505795dfe0, event=0x7ffdd8d82190) at kernel/qcoreapplication.cpp:1064 selfRequired = true result = false cbdata = {0x56505795dfe0, 0x7ffdd8d82190, 0x7ffdd8d8213f} d = threadData = 0x56504eb80800 scopeLevelCounter = {threadData = 0x56504eb80800} #25 0x00007f5f5ead6aa6 in socketNotifierSourceDispatch(GSource*, GSourceFunc, gpointer) (source=0x56504ecb7b10) at kernel/qeventdispatcher_glib.cpp:107 p = i = 10 event = {_vptr.QEvent = 0x7f5f5ed13490 , static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7f5f5eb69080 <_ZL25qt_meta_stringdata_QEvent.lto_priv.0>, data = 0x7f5f5eb68ac0 <_ZL19qt_meta_data_QEvent.lto_priv.0>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 50, posted = 0, spont = 0, m_accept = 1, reserved = 3029} #26 0x00007f5f5cd1687b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0 #27 0x00007f5f5cd6d299 in () at /usr/lib/libglib-2.0.so.0 #28 0x00007f5f5cd15132 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #29 0x00007f5f5ead7c4c in QEventDispatcherGlib::processEvents(QFlags) (this=0x56504ecb29a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 d = 0x56504ecb22e0 canWait = true savedFlags = {i = 0} result = #30 0x00007f5f5ea8573c in QEventLoop::exec(QFlags) (this=0x7ffdd8d82410, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 d = 0x56504f1b53f0 threadData = locker = {val = 94902918056152} app = #31 0x00007f5f5ea90269 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 threadData = 0x56504eb80800 eventLoop = { = {_vptr.QObject = 0x7f5f5ed11730 , static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7f5f5eb74920 <_ZL26qt_meta_stringdata_QObject.lto_priv.0>, data = 0x7f5f5eb74800 <_ZL20qt_meta_data_QObject.lto_priv.0>, static_metacall = 0x7f5f5eabde80 , relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x56504f1b53f0}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7f5f5eb9b500 <_ZL21qt_meta_stringdata_Qt.lto_priv.0>, data = 0x7f5f5eb98680 <_ZL15qt_meta_data_Qt.lto_priv.0>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7f5f5ed0a560 }, stringdata = 0x7f5f5eb702e0 <_ZL29qt_meta_stringdata_QEventLoop.lto_priv.0>, data = 0x7f5f5eb70280 <_ZL23qt_meta_data_QEventLoop.lto_priv.0>, static_metacall = 0x7f5f5ea83f80 , relatedMetaObjects = 0x0, extradata = 0x0}}} returnCode = #32 0x000056504d36cc5d in main(int, char**) (argc=2, argv=0x7ffdd8d826d8) at /home/ratijas/kde/src/kde/workspace/plasma-workspace/shell/main.cpp:255 format = {d = 0x56504eb8afb0} qpaVariable = false app = { = { = { = {_vptr.QObject = 0x7f5f5fe83660 , static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7f5f5eb74920 <_ZL26qt_meta_stringdata_QObject.lto_priv.0>, data = 0x7f5f5eb74800 <_ZL20qt_meta_data_QObject.lto_priv.0>, static_metacall = 0x7f5f5eabde80 , relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x56504eb8b2b0}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7f5f5eb9b500 <_ZL21qt_meta_stringdata_Qt.lto_priv.0>, data = 0x7f5f5eb98680 <_ZL15qt_meta_data_Qt.lto_priv.0>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7f5f5ed0a560 }, stringdata = 0x7f5f5eb70060 <_ZL35qt_meta_stringdata_QCoreApplication.lto_priv.0>, data = 0x7f5f5eb6ff40 <_ZL29qt_meta_data_QCoreApplication.lto_priv.0>, static_metacall = 0x7f5f5ea8f870 , relatedMetaObjects = 0x0, extradata = 0x0}}, static self = 0x7ffdd8d82560}, static staticMetaObject = {d = {superdata = {direct = 0x7f5f5ed0f380 }, stringdata = 0x7f5f5f35b720 <_ZL34qt_meta_stringdata_QGuiApplication.lto_priv.0>, data = 0x7f5f5f35b4a0 <_ZL28qt_meta_data_QGuiApplication.lto_priv.0>, static_metacall = 0x7f5f5ef4b7e0 , relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7f5f5f447e80 }, stringdata = 0x7f5f5fd468e0 <_ZL31qt_meta_stringdata_QApplication.lto_priv.0>, data = 0x7f5f5fd46760 <_ZL25qt_meta_data_QApplication.lto_priv.0>, static_metacall = 0x7f5f5f97a3f0 , relatedMetaObjects = 0x0, extradata = 0x0}}} aboutData = {d = std::unique_ptr = {get() = 0x56504edd09a0}} replace = false corona = 0x56504eeed510 __PRETTY_FUNCTION__ = "int main(int, char**)" service = { = {_vptr.QObject = 0x7f5f60fbd680 , static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7f5f5eb74920 <_ZL26qt_meta_stringdata_QObject.lto_priv.0>, data = 0x7f5f5eb74800 <_ZL20qt_meta_data_QObject.lto_priv.0>, static_metacall = 0x7f5f5eabde80 , relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x56504f11cb50}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7f5f5eb9b500 <_ZL21qt_meta_stringdata_Qt.lto_priv.0>, data = 0x7f5f5eb98680 <_ZL15qt_meta_data_Qt.lto_priv.0>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7f5f5ed0a560 }, stringdata = 0x7f5f60faf0c0 , data = 0x7f5f60faf360 , static_metacall = 0x7f5f60f9ae7a , relatedMetaObjects = 0x0, extradata = 0x0}}, d = std::unique_ptr = {get() = 0x56504f1127b0}} |
Some events tend to cause hangs and block UI forever, while an application is inspected with GammaRay. Note that it is not the GammaRay itself that hangs up, but the application that it attaches to.
Most notably, it often happens when a popup is about to appear. It also happens consistently when entering edit mode in Plasmoid Viewer (KDE/Plasma debugger tool on its own).
When such hang is triggered, application starts spamming in console output like this:
It may happen with both Widgets and QML applications.
The text was updated successfully, but these errors were encountered: