Bug 437642

Summary: crashing when closing firefox
Product: [Applications] yakuake Reporter: José Ángel Martínez <jangel.martinez>
Component: generalAssignee: Eike Hein <hein>
Status: RESOLVED UPSTREAM    
Severity: crash CC: sitter
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description José Ángel Martínez 2021-05-25 00:10:28 UTC
Application: yakuake (21.04.1)

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.8.0-53-generic x86_64
Windowing System: Wayland
Drkonqi Version: 5.21.5
Distribution: KDE neon User Edition 5.21

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

I just close Firefox and several kde apps crashed at the same time

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Yakuake (yakuake), signal: Aborted

[New LWP 10591]
[New LWP 10620]
[New LWP 10621]
[New LWP 10622]
[New LWP 10623]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f6804e1eaff in __GI___poll (fds=0x7ffd6a6d82a8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f6800bb3280 (LWP 10534))]

Thread 6 (Thread 0x7f67f2059700 (LWP 10623)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5605c5afc438) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5605c5afc3e8, cond=0x5605c5afc410) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5605c5afc410, mutex=0x5605c5afc3e8) at pthread_cond_wait.c:647
#3  0x00007f67fcc2fb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f67fcc2f75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f6803e3a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f6804e2b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f67f285a700 (LWP 10622)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5605c5afc438) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5605c5afc3e8, cond=0x5605c5afc410) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5605c5afc410, mutex=0x5605c5afc3e8) at pthread_cond_wait.c:647
#3  0x00007f67fcc2fb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f67fcc2f75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f6803e3a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f6804e2b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f67ea85a700 (LWP 10621)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5605c5afc438) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5605c5afc3e8, cond=0x5605c5afc410) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5605c5afc410, mutex=0x5605c5afc3e8) at pthread_cond_wait.c:647
#3  0x00007f67fcc2fb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f67fcc2f75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f6803e3a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f6804e2b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f67f305b700 (LWP 10620)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5605c5afc438) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5605c5afc3e8, cond=0x5605c5afc410) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5605c5afc410, mutex=0x5605c5afc3e8) at pthread_cond_wait.c:647
#3  0x00007f67fcc2fb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f67fcc2f75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f6803e3a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f6804e2b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f67ff843700 (LWP 10591)):
#0  0x00007f6804e1eaff in __GI___poll (fds=0x7f67f8005240, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f680343b36e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f680343b4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f68053e9ffb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f680538e1eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f68051a8a52 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f68063c2f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f68051a9bec in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f6803e3a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f6804e2b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f6800bb3280 (LWP 10534)):
[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007f6804d2e859 in __GI_abort () at abort.c:79
#6  0x00007f680516ebf7 in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f6803140d65 in ?? () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#8  0x00007f680315216c in QtWaylandClient::QWaylandDisplay::flushRequests() () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#9  0x00007f68053c6730 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f68053ca773 in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f68053caf13 in QSocketNotifier::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f6805e66dc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f6805e6fbb8 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f680538f6da in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f68053eabe5 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f680343b17d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f680343b400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f680343b4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f68053e9fe2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f680538e1eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f6805396394 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00005605c49031c4 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:72
[Inferior 1 (process 10534) detached]

Possible duplicates by query: bug 429344, bug 427384, bug 424911, bug 423222, bug 423132.

Reported using DrKonqi
Comment 1 Harald Sitter 2021-05-27 07:06:53 UTC
This means that the compositor crashed. Due to a Qt issue, when this happens, the app using it will crash too. KDE developers submitted a fix, but sadly it was not merged. See https://codereview.qt-project.org/c/qt/qtwayland/+/308984.

Until we get better handling of this in Qt, the best we can do is debug why the compositor crashed in the first place. So can you please get a backtrace of the crash in kwin_wayland and then file a new bug report with it on kwin | wayland-generic? Thanks!

You may be able to use the `coredumpctl` utility to retrieve the backtrace. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl