Bug 450933 - Kwin crashed in KWin::AnimationEffect::postPaintScreen()
Summary: Kwin crashed in KWin::AnimationEffect::postPaintScreen()
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.24.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
: 472509 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-02-27 18:47 UTC by Matej Mrenica
Modified: 2024-04-25 15:13 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matej Mrenica 2022-02-27 18:47:55 UTC
SUMMARY
I was using Firefox, when my (Plasma) session crashed with the following log: https://pastebin.com/ChnsNkje
Comment 1 Matej Mrenica 2022-02-27 18:48:42 UTC
Copy from above link:
#0  0x00007f1a819d9ca8 in vtable for KWaylandServer::SurfaceInterfacePrivate () at /usr/lib/libKWaylandServer.so.5
#1  0x00007f1a81849233 in KWin::AnimationEffect::postPaintScreen() (this=0x55a4b4469fc0) at /usr/src/debug/kwin-5.24.2/src/libkwineffects/kwinanimationeffect.cpp:668
#2  0x00007f1a81c7aae5 in KWin::EffectsHandlerImpl::postPaintScreen() (this=0x55a4b386c860) at /usr/src/debug/kwin-5.24.2/src/effects.cpp:414
#3  0x00007f1a81ce99ca in KWin::Scene::paintScreen(QRegion const&, QRegion const&, QRegion*, QRegion*, KWin::RenderLoop*, QMatrix4x4 const&)
    (this=0x55a4b35bb090, damage=<optimized out>, repaint=..., updateRegion=0x7fffa4b15b30, validRegion=0x7fffa4b15b28, renderLoop=<optimized out>, projection=...)
    at /usr/src/debug/kwin-5.24.2/src/scene.cpp:288
#4  0x00007f1a81db0037 in KWin::SceneOpenGL::paint(KWin::AbstractOutput*, QRegion const&, QList<KWin::Toplevel*> const&, KWin::RenderLoop*)
    (this=0x55a4b35bb090, output=0x55a4b48b1440, damage=..., toplevels=<optimized out>, renderLoop=0x55a4b4603270) at /usr/src/debug/kwin-5.24.2/src/scenes/opengl/scene_opengl.cpp:259
#5  0x00007f1a81c4c7f4 in KWin::Compositor::composite(KWin::RenderLoop*) (this=0x55a4b35f9070, renderLoop=0x55a4b4603270) at /usr/src/debug/kwin-5.24.2/src/composite.cpp:633
#6  0x00007f1a7fbef9d3 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
    (a=0x7fffa4b15d90, r=<optimized out>, this=0x55a4b377a0d0, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  doActivate<false>(QObject*, int, void**) (sender=0x55a4b4603270, signal_index=5, argv=0x7fffa4b15d90) at kernel/qobject.cpp:3886
#8  0x00007f1a81c0a7a7 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) (this=<optimized out>, _t1=<optimized out>)
    at /usr/src/debug/build/src/kwin_autogen/EWIEGA46WW/moc_renderloop.cpp:206
#9  0x00007f1a81cdbec8 in KWin::RenderLoopPrivate::dispatch() (this=0x55a4b45e9a20) at /usr/src/debug/kwin-5.24.2/src/renderloop.cpp:150
#10 0x00007f1a7fbef9d3 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
    (a=0x7fffa4b15eb0, r=<optimized out>, this=0x55a4b39c3080, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 doActivate<false>(QObject*, int, void**) (sender=0x55a4b45e9a38, signal_index=3, argv=0x7fffa4b15eb0) at kernel/qobject.cpp:3886
#12 0x00007f1a7fbf1c0f in QTimer::timeout(QTimer::QPrivateSignal) (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#13 0x00007f1a7fbe2d56 in QObject::event(QEvent*) (this=0x55a4b45e9a38, e=0x7fffa4b16050) at kernel/qobject.cpp:1291
#14 0x00007f1a8067b1a6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55a4b45e9a38, e=0x7fffa4b16050) at kernel/qapplication.cpp:3632
#15 0x00007f1a7fbbeb9a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55a4b45e9a38, event=0x7fffa4b16050) at kernel/qcoreapplication.cpp:1064
#16 0x00007f1a7fc0a335 in QTimerInfoList::activateTimers() (this=0x55a4b32f0bf8) at kernel/qtimerinfo_unix.cpp:643
#17 0x00007f1a7fc0a7d2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:516
#18 0x000055a4b2b376e2 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
--Type <RET> for more, q to quit, c to continue without paging--
#19 0x00007f1a7fbb6e6b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffa4b161f0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#20 0x00007f1a7fbc25c7 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#21 0x00007f1a7ff8d332 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867
#22 0x00007f1a8067952a in QApplication::exec() () at kernel/qapplication.cpp:2824
#23 0x000055a4b2a462da in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin-5.24.2/src/main_wayland.cpp:727
Comment 2 Vlad Zahorodnii 2023-01-19 12:33:00 UTC
Can't reproduce. Reopen if the issue is present in 5.26 or 5.27
Comment 3 Nate Graham 2023-09-08 19:17:38 UTC
*** Bug 472509 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2023-09-08 19:18:23 UTC
Re-opening since we got a new report of this crash from Plasma 5.27.6.
Comment 5 Zamundaaa 2024-04-24 16:36:13 UTC
Can you still reproduce this in Plasma 6?
Comment 6 Matej Mrenica 2024-04-24 16:49:12 UTC
(In reply to Zamundaaa from comment #5)
> Can you still reproduce this in Plasma 6?

Me, I haven't had any Kwin crashes in a long time. Only GPU crashes/freezes but that's a different issue.
Comment 7 Antti Savolainen 2024-04-24 18:13:34 UTC
I've changed my setup from Nvidia to AMD so I can no longer verify or deny if it happens.
Comment 8 Zamundaaa 2024-04-25 15:13:26 UTC
Okay, then let's assume it's fixed