Bug 410658

Summary: [Wayland] Konsole crashed on close after I hover over the menu bar
Product: [Frameworks and Libraries] kwayland Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Martin Flöser <mgraesslin>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.62.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=402389
Latest Commit: Version Fixed In:

Description Patrick Silva 2019-08-06 15:41:34 UTC
Application: konsole (19.07.90)

Qt Version: 5.13.0
Frameworks Version: 5.60.0
Operating System: Linux 5.2.5-arch1-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
Now always I can reproduce this crash, it only happened twice on my system after the  steps below.
- What I was doing when the application crashed:
start Wayland session
open konsole
open "File" menu
while "File" menu is still open, move the cursor quickly from one end of the menu bar to the other several times
close Konsole... crash

-- Backtrace:
Application: Konsole (konsole), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2fe9d21800 (LWP 14179))]

Thread 3 (Thread 0x7f2fe63e2700 (LWP 14182)):
#0  0x00007f2fedd47415 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f2fe66ebebc in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f2fe66ebab8 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f2fedd4157f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f2ff091f0e3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f2fe86b6700 (LWP 14181)):
#0  0x00007f2ff0914667 in poll () at /usr/lib/libc.so.6
#1  0x00007f2feb78ea80 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f2feb78eb51 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f2fef19c9bc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f2fe0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2fef1435ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f2fe86b5d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f2feef762f5 in QThread::exec() (this=this@entry=0x7f2fee722080 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f2fee69eb37 in QDBusConnectionManager::run() (this=0x7f2fee722080 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007f2feef77520 in QThreadPrivate::start(void*) (arg=0x7f2fee722080 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:360
#8  0x00007f2fedd4157f in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f2ff091f0e3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f2fe9d21800 (LWP 14179)):
[KCrash Handler]
#6  0x00007f2ff085d755 in raise () at /usr/lib/libc.so.6
#7  0x00007f2ff0848851 in abort () at /usr/lib/libc.so.6
#8  0x00007f2ff0a72f80 in  () at /usr/lib/libwayland-client.so.0
#9  0x00007f2ff0a6ec88 in wl_proxy_marshal_array_constructor_versioned () at /usr/lib/libwayland-client.so.0
#10 0x00007f2ff0a6edde in wl_proxy_marshal () at /usr/lib/libwayland-client.so.0
#11 0x00007f2fe95ef2e5 in  () at /usr/lib/libKF5WaylandClient.so.5
#12 0x00007f2fe95ef3d1 in KWayland::Client::Buffer::~Buffer() () at /usr/lib/libKF5WaylandClient.so.5
#13 0x00007f2fe9622343 in  () at /usr/lib/libKF5WaylandClient.so.5
#14 0x00007f2fe9620cc1 in  () at /usr/lib/libKF5WaylandClient.so.5
#15 0x00007f2fe96223b5 in  () at /usr/lib/libKF5WaylandClient.so.5
#16 0x00007f2fe962153a in KWayland::Client::ShmPool::release() () at /usr/lib/libKF5WaylandClient.so.5
#17 0x00007f2fe962160c in KWayland::Client::ShmPool::~ShmPool() () at /usr/lib/libKF5WaylandClient.so.5
#18 0x00007f2fe96216ba in KWayland::Client::ShmPool::~ShmPool() () at /usr/lib/libKF5WaylandClient.so.5
#19 0x00007f2fef16e75e in QObjectPrivate::deleteChildren() (this=this@entry=0x55e52adea010) at kernel/qobject.cpp:2019
#20 0x00007f2fef178ba8 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#21 0x00007f2fe96079ba in KWayland::Client::Registry::~Registry() () at /usr/lib/libKF5WaylandClient.so.5
#22 0x00007f2fef16e75e in QObjectPrivate::deleteChildren() (this=this@entry=0x55e52ade9f40) at kernel/qobject.cpp:2019
#23 0x00007f2fef178ba8 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#24 0x00007f2fe95f14aa in KWayland::Client::ConnectionThread::~ConnectionThread() () at /usr/lib/libKF5WaylandClient.so.5
#25 0x00007f2fef16e75e in QObjectPrivate::deleteChildren() (this=this@entry=0x55e52a9f0c80) at kernel/qobject.cpp:2019
#26 0x00007f2fef178ba8 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#27 0x00007f2fe86fa9cf in  () at /usr/lib/qt/plugins/styles/breeze.so
#28 0x00007f2fe86fab99 in  () at /usr/lib/qt/plugins/styles/breeze.so
#29 0x00007f2fe870bf17 in  () at /usr/lib/qt/plugins/styles/breeze.so
#30 0x00007f2fe870c009 in  () at /usr/lib/qt/plugins/styles/breeze.so
#31 0x00007f2fefb06e94 in QApplication::~QApplication() (this=0x55e52a95cb70, __in_chrg=<optimized out>) at kernel/qapplication.cpp:835
#32 0x00007f2fefb070fa in QApplication::~QApplication() (this=0x55e52a95cb70, __in_chrg=<optimized out>) at kernel/qapplication.cpp:790
#33 0x00007f2ff0a14406 in kdemain(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/konsole-19.07.90/src/main.cpp:213
#34 0x00007f2ff0849ee3 in __libc_start_main () at /usr/lib/libc.so.6
#35 0x000055e5297e005e in _start ()
[Inferior 1 (process 14179) detached]

Reported using DrKonqi
Comment 1 Patrick Silva 2021-05-16 14:14:07 UTC
cannot reproduce on neon unstable or Arch Linux.