Bug 444665 - Kwin crashed in KWin::DeformEffect::unredirect() after logging in
Summary: Kwin crashed in KWin::DeformEffect::unredirect() after logging in
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: 5.23.2
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
: 456584 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-10-30 14:55 UTC by Dmitry Ivanov
Modified: 2023-06-23 15:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.27.7


Attachments
New crash information added by DrKonqi (2.81 KB, text/plain)
2021-10-31 10:05 UTC, bohdan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Ivanov 2021-10-30 14:55:19 UTC
Application: kwin_x11 (5.23.2)

Qt Version: 5.15.3
Frameworks Version: 5.87.0
Operating System: Linux 5.11.0-38-generic x86_64
Windowing System: X11
Distribution: KDE neon User - Plasma 25th Anniversary Edition
DrKonqi: 5.23.2 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I just logged into my laptop running KDE Neon 5.23.2 and almost immediately saw the crash reporter icon in the system tray. I've seen it a couple of times already but didn't pay much attention. But since it reproduced several times, I decided it's worth reporting.

The issue might be connected with the fact that the last time the laptop was on, it had an external monitor connected to it via HDMI cable. And then I started it up without the external monitor connected.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Aborted

[New LWP 1361]
[New LWP 1362]
[New LWP 1363]
[New LWP 1364]
[New LWP 1374]
[New LWP 1394]
[New LWP 1422]
[New LWP 1423]
[New LWP 1424]
[New LWP 1425]
[New LWP 1429]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f02f7a6caff in __GI___poll (fds=0x7ffd30653a38, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7f02f1d2f3c0 (LWP 1351))]

Thread 12 (Thread 0x7f02affff700 (LWP 1429)):
#0  0x00007f02f7a6cbf6 in __ppoll (fds=fds@entry=0x7f02a8000d98, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007f02f88a5519 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f02a8000d98) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f02a8000d98) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7f02a8000d98, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007f02f88a6bc3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007f02f884d8ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f02afffebe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f02f86672c2 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f02f866845c in QThreadPrivate::start(void*) (arg=0x55e304e175c0) at thread/qthread_unix.cpp:329
#9  0x00007f02f60d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f02f7a79293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f02c9eba700 (LWP 1425)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55e304dfb9a8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e304dfb958, cond=0x55e304dfb980) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55e304dfb980, mutex=0x55e304dfb958) at pthread_cond_wait.c:647
#3  0x00007f02eb34ca4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f02eb34c64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f02f60d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f02f7a79293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f02ca6bb700 (LWP 1424)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55e304dfb9a8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e304dfb958, cond=0x55e304dfb980) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55e304dfb980, mutex=0x55e304dfb958) at pthread_cond_wait.c:647
#3  0x00007f02eb34ca4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f02eb34c64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f02f60d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f02f7a79293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f02caebc700 (LWP 1423)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55e304dfb9a8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e304dfb958, cond=0x55e304dfb980) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55e304dfb980, mutex=0x55e304dfb958) at pthread_cond_wait.c:647
#3  0x00007f02eb34ca4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f02eb34c64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f02f60d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f02f7a79293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f02cb6bd700 (LWP 1422)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55e304dfb9a8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e304dfb958, cond=0x55e304dfb980) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55e304dfb980, mutex=0x55e304dfb958) at pthread_cond_wait.c:647
#3  0x00007f02eb34ca4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f02eb34c64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f02f60d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f02f7a79293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f02e0f6b700 (LWP 1394)):
#0  0x00007f02f7a6cbf6 in __ppoll (fds=fds@entry=0x7f02c4000d78, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007f02f88a5519 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f02c4000d78) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f02c4000d78) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7f02c4000d78, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007f02f88a6bc3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007f02f884d8ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f02e0f6abc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f02f86672c2 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f02f6712549 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f02f866845c in QThreadPrivate::start(void*) (arg=0x55e304e65250) at thread/qthread_unix.cpp:329
#10 0x00007f02f60d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f02f7a79293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f02e3850700 (LWP 1374)):
#0  0x00007f02f7a6cbf6 in __ppoll (fds=fds@entry=0x7f02cc007868, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007f02f88a5519 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f02cc007868) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f02cc007868) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7f02cc007868, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007f02f88a6bc3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007f02f884d8ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f02e384fbb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f02f86672c2 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f02f8514f4b in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f02f866845c in QThreadPrivate::start(void*) (arg=0x7f02f8598d80) at thread/qthread_unix.cpp:329
#10 0x00007f02f60d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f02f7a79293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f02ea17c700 (LWP 1364)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55e3048c4838) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e3048c47e8, cond=0x55e3048c4810) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55e3048c4810, mutex=0x55e3048c47e8) at pthread_cond_wait.c:647
#3  0x00007f02eb34ca4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f02eb34c64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f02f60d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f02f7a79293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f02ea97d700 (LWP 1363)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55e3048c4838) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e3048c47e8, cond=0x55e3048c4810) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55e3048c4810, mutex=0x55e3048c47e8) at pthread_cond_wait.c:647
#3  0x00007f02eb34ca4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f02eb34c64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f02f60d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f02f7a79293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f02e297d700 (LWP 1362)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55e3048c483c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e3048c47e8, cond=0x55e3048c4810) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55e3048c4810, mutex=0x55e3048c47e8) at pthread_cond_wait.c:647
#3  0x00007f02eb34ca4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f02eb34c64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f02f60d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f02f7a79293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f02eb17e700 (LWP 1361)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55e3048c483c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e3048c47e8, cond=0x55e3048c4810) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55e3048c4810, mutex=0x55e3048c47e8) at pthread_cond_wait.c:647
#3  0x00007f02eb34ca4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f02eb34c64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f02f60d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f02f7a79293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f02f1d2f3c0 (LWP 1351)):
[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007f02f797c859 in __GI_abort () at abort.c:79
#6  0x00007f02f797c729 in __assert_fail_base (fmt=0x7f02f04528e9 "%s%s%s:%u: %s%s\320\237\321\200\320\276\320\262\320\265\321\200\320\276\321\207\320\275\320\276\320\265 \321\203\321\202\320\262\320\265\321\200\320\266\320\264\320\265\320\275\320\270\320\265 \302\253%s\302\273 \320\275\320\265 \320\262\321\213\320\277\320\276\320\273\320\275\320\265\320\275\320\276.\n%n", assertion=0x7f02f702e768 "0 && \"Couldn't find current GLX or EGL context.\\n\"", file=0x7f02f702e6c0 "../src/dispatch_common.c", line=863, function=<optimized out>) at assert.c:92
#7  0x00007f02f798df36 in __GI___assert_fail (assertion=0x7f02f702e768 "0 && \"Couldn't find current GLX or EGL context.\\n\"", file=0x7f02f702e6c0 "../src/dispatch_common.c", line=863, function=0x7f02f702e7a0 "epoxy_get_proc_address") at assert.c:101
#8  0x00007f02f700ca9f in  () at /usr/lib/x86_64-linux-gnu/libepoxy.so.0
#9  0x00007f02f6fe261a in  () at /usr/lib/x86_64-linux-gnu/libepoxy.so.0
#10 0x00007f02f77f80d0 in KWin::GLRenderTarget::~GLRenderTarget() (this=0x55e305da8d70, __in_chrg=<optimized out>) at ./src/libkwineffects/kwinglutils.cpp:1115
#11 0x00007f02f782b1ac in QScopedPointerDeleter<KWin::GLRenderTarget>::cleanup(KWin::GLRenderTarget*) (pointer=0x55e305da8d70) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:104
#12 QScopedPointer<KWin::GLRenderTarget, QScopedPointerDeleter<KWin::GLRenderTarget> >::~QScopedPointer() (this=0x55e305e6d2c8, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:107
#13 KWin::DeformOffscreenData::~DeformOffscreenData() (this=0x55e305e6d2c0, __in_chrg=<optimized out>) at ./src/libkwineffects/kwindeformeffect.cpp:14
#14 KWin::DeformEffect::unredirect(KWin::EffectWindow*) (this=0x55e304cba860, window=<optimized out>) at ./src/libkwineffects/kwindeformeffect.cpp:65
#15 0x00007f02f8885dce in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd30654a90, r=0x55e304cba860, this=0x55e304e131a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false>(QObject*, int, void**) (sender=0x55e305733a60, signal_index=15, argv=0x7ffd30654a90) at kernel/qobject.cpp:3886
#17 0x00007f02f887f197 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f02f7843420 <KWin::EffectsHandler::staticMetaObject>, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x7ffd30654a90) at kernel/qobject.cpp:3946
#18 0x00007f02f781c346 in KWin::EffectsHandler::windowDeleted(KWin::EffectWindow*) (this=<optimized out>, _t1=<optimized out>) at ./obj-x86_64-linux-gnu/src/libkwineffects/kwineffects_autogen/EWIEGA46WW/moc_kwineffects.cpp:1666
#19 0x00007f02f944cabd in KWin::EffectsHandlerImpl::<lambda(KWin::Deleted*)>::operator() (__closure=0x55e304f1abb0, d=0x55e305e764b0) at ./src/toplevel.h:923
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KWin::Deleted*>, void, KWin::EffectsHandlerImpl::EffectsHandlerImpl(KWin::Compositor*, KWin::Scene*)::<lambda(KWin::Deleted*)> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#21 QtPrivate::Functor<KWin::EffectsHandlerImpl::EffectsHandlerImpl(KWin::Compositor*, KWin::Scene*)::<lambda(KWin::Deleted*)>, 1>::call<QtPrivate::List<KWin::Deleted*>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#22 QtPrivate::QFunctorSlotObject<KWin::EffectsHandlerImpl::EffectsHandlerImpl(KWin::Compositor*, KWin::Scene*)::<lambda(KWin::Deleted*)>, 1, QtPrivate::List<KWin::Deleted*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55e304f1aba0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#23 0x00007f02f8885dce in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd30654be0, r=0x55e305733a60, this=0x55e304f1aba0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#24 doActivate<false>(QObject*, int, void**) (sender=0x55e304d29c90, signal_index=14, argv=0x7ffd30654be0) at kernel/qobject.cpp:3886
#25 0x00007f02f887f197 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55e304d29c90, m=m@entry=0x7f02f96866c0 <KWin::Workspace::staticMetaObject>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffd30654be0) at kernel/qobject.cpp:3946
#26 0x00007f02f93be156 in KWin::Workspace::deletedRemoved(KWin::Deleted*) (this=this@entry=0x55e304d29c90, _t1=<optimized out>, _t1@entry=0x55e305e764b0) at ./obj-x86_64-linux-gnu/src/kwin_autogen/EWIEGA46WW/moc_workspace.cpp:696
#27 0x00007f02f95548d6 in KWin::Workspace::removeDeleted(KWin::Deleted*) (this=0x55e304d29c90, c=<optimized out>, c@entry=0x55e305e764b0) at ./src/workspace.cpp:764
#28 0x00007f02f9438b05 in KWin::Deleted::~Deleted() (this=0x55e305e764b0, __in_chrg=<optimized out>) at ./src/workspace.h:806
#29 0x00007f02f9438dad in KWin::Deleted::~Deleted() (this=0x55e305e764b0, __in_chrg=<optimized out>) at ./src/deleted.cpp:42
#30 0x00007f02f887c6e3 in QObject::event(QEvent*) (this=0x55e305e764b0, e=0x7f02ec006180) at kernel/qobject.cpp:1301
#31 0x00007f02f7ea1dc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55e3046aea60, receiver=receiver@entry=0x55e305e764b0, e=e@entry=0x7f02ec006180) at kernel/qapplication.cpp:3632
#32 0x00007f02f7eaabb8 in QApplication::notify(QObject*, QEvent*) (this=0x7ffd30655260, receiver=0x55e305e764b0, e=0x7f02ec006180) at kernel/qapplication.cpp:3156
#33 0x00007f02f884edaa in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55e305e764b0, event=0x7f02ec006180) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#34 0x00007f02f88516b1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55e3046893f0) at kernel/qcoreapplication.cpp:1821
#35 0x00007f02f88a699e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55e30475ca40, flags=...) at kernel/qeventdispatcher_unix.cpp:468
#36 0x00007f02f1666262 in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55e30475ca40, flags=...) at qxcbeventdispatcher.cpp:60
#37 0x00007f02f884d8ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd30655170, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#38 0x00007f02f8855a64 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#39 0x000055e30428eae3 in main(int, char**) (argc=<optimized out>, argv=0x7ffd30655418) at ./src/main_x11.cpp:483
[Inferior 1 (process 1351) detached]

Possible duplicates by query: bug 442091, bug 441716, bug 440464, bug 440318, bug 440033.

Reported using DrKonqi
Comment 1 bohdan 2021-10-31 10:05:12 UTC
Created attachment 143043 [details]
New crash information added by DrKonqi

kwin_x11 (5.23.2) using Qt 5.15.2

- What I was doing when the application crashed:
started system and get crash

- Unusual behavior I noticed:
started system and get crash

- Custom settings of the application:
started system and get crash

-- Backtrace (Reduced):
#10 0x00007fa328f5aaec in KWin::GLRenderTarget::~GLRenderTarget() () at /usr/lib/libkwinglutils.so.13
#11 0x00007fa328f8c569 in KWin::DeformEffect::unredirect(KWin::EffectWindow*) () at /usr/lib/libkwineffects.so.13
[...]
#13 0x00007fa328f7da33 in KWin::EffectsHandler::windowDeleted(KWin::EffectWindow*) () at /usr/lib/libkwineffects.so.13
[...]
#16 0x00007fa32ab00a23 in KWin::Workspace::deletedRemoved(KWin::Deleted*) () at /usr/lib/libkwin.so.5
#17 0x00007fa32ac84464 in KWin::Workspace::removeDeleted(KWin::Deleted*) () at /usr/lib/libkwin.so.5
Comment 2 Nate Graham 2022-07-13 20:19:17 UTC
*** Bug 456584 has been marked as a duplicate of this bug. ***
Comment 3 Andrew 2022-07-24 21:00:33 UTC
More of it

[KCrash Handler]
#4  0x00007fdb4028ec4c in __pthread_kill_implementation () at /lib64/libc.so.6
#5  0x00007fdb4023e9c6 in raise () at /lib64/libc.so.6
#6  0x00007fdb402287f4 in abort () at /lib64/libc.so.6
#7  0x00007fdb4022871b in _nl_load_domain.cold () at /lib64/libc.so.6
#8  0x00007fdb40237576 in  () at /lib64/libc.so.6
#9  0x00007fdb4138f90f in  () at /lib64/libepoxy.so.0
#10 0x00007fdb4133d99a in epoxy_glDeleteFramebuffers_global_rewrite_ptr () at /lib64/libepoxy.so.0
#11 0x00007fdb421b09e3 in KWin::DeformEffect::unredirect(KWin::EffectWindow*) () at /lib64/libkwineffects.so.13
#12 0x000056257f663c20 in KWin::WobblyWindowsEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::duration<long, std::ratio<1l, 1000l> >) ()
#13 0x00007fdb429edc1b in KWin::EffectsHandlerImpl::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::duration<long, std::ratio<1l, 1000l> >) () at /lib64/libkwin.so.5
#14 0x00007fdb42a64a53 in KWin::Scene::preparePaintSimpleScreen() () at /lib64/libkwin.so.5
#15 0x00007fdb42a6a26d in KWin::Scene::prePaint(KWin::Output*) () at /lib64/libkwin.so.5
#16 0x00007fdb429bdce3 in KWin::Compositor::prePaintPass(KWin::RenderLayer*) () at /lib64/libkwin.so.5
#17 0x00007fdb429bf465 in KWin::Compositor::composite(KWin::RenderLoop*) () at /lib64/libkwin.so.5
#18 0x00007fdb429ca2e5 in KWin::X11Compositor::composite(KWin::RenderLoop*) () at /lib64/libkwin.so.5
#19 0x00007fdb416dac36 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#20 0x00007fdb42986036 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) () at /lib64/libkwin.so.5
#21 0x00007fdb42a578a7 in KWin::RenderLoopPrivate::dispatch() () at /lib64/libkwin.so.5
#22 0x00007fdb416dac36 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#23 0x00007fdb416ddfce in QTimer::timeout(QTimer::QPrivateSignal) () at /lib64/libQt5Core.so.5
#24 0x00007fdb416d1525 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#25 0x00007fdb40baec82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#26 0x00007fdb416a7658 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#27 0x00007fdb416f7681 in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#28 0x00007fdb416f5c30 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#29 0x00007fdb2e11cec2 in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5XcbQpa.so.5
#30 0x00007fdb416a60ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#31 0x00007fdb416ae162 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#32 0x000056257f5f02c1 in main ()
[Inferior 1 (process 2221) detached]
Comment 4 Bug Janitor Service 2023-06-17 12:02:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4189
Comment 5 David Edmundson 2023-06-17 13:21:46 UTC
Git commit c5a29b4b66c001c49c5bcf9aa9250d8322eefbbd by David Edmundson.
Committed on 17/06/2023 at 13:12.
Pushed by davidedmundson into branch 'master'.

effects: Make OpenGL context current before deleting framebuffer

When we delete a window we unredirect, when we unredirect, we delete the
framebuffer which requires an openGL context.

handleWindowDeleted is the entry point from workspace events to effects
code, so it's made current here.
Related: bug 471139

M  +1    -0    src/libkwineffects/kwinoffscreeneffect.cpp

https://invent.kde.org/plasma/kwin/-/commit/c5a29b4b66c001c49c5bcf9aa9250d8322eefbbd
Comment 6 Nate Graham 2023-06-23 15:34:17 UTC
Git commit ed916ff21629f3e91ee987552d778b1a65d66702 by Nate Graham, on behalf of David Edmundson.
Committed on 23/06/2023 at 15:08.
Pushed by ngraham into branch 'Plasma/5.27'.

effects: Make OpenGL context current before deleting framebuffer

When we delete a window we unredirect, when we unredirect, we delete the
framebuffer which requires an openGL context.

handleWindowDeleted is the entry point from workspace events to effects
code, so it's made current here.
Related: bug 471139


(cherry picked from commit c5a29b4b66c001c49c5bcf9aa9250d8322eefbbd)

M  +1    -0    src/libkwineffects/kwinoffscreeneffect.cpp

https://invent.kde.org/plasma/kwin/-/commit/ed916ff21629f3e91ee987552d778b1a65d66702