Bug 452482 - Random crash in KWin::BasicEGLSurfaceTextureInternal::updateFromFramebuffer()
Summary: Random crash in KWin::BasicEGLSurfaceTextureInternal::updateFromFramebuffer()
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: git master
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-11 00:55 UTC by Aleix Pol
Modified: 2022-04-15 00:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleix Pol 2022-04-11 00:55:09 UTC
I have started getting it today after rebuilding.

#0  QVector<QOpenGLFramebufferObjectPrivate::ColorAttachment>::operator[](int) const (i=0, this=<error reading variable: Cannot access memory at address 0x114060009>) at ../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/tools/qvector.h:452
#1  QOpenGLFramebufferObject::texture() const (this=0x114060001) at /home/apol/devel/frameworks/qt5/qtbase/src/gui/opengl/qopenglframebufferobject.cpp:1214
#2  0x00007fb648e76665 in KWin::BasicEGLSurfaceTextureInternal::updateFromFramebuffer() (this=0x563fd28e8020) at /home/apol/devel/frameworks/kwin/src/platformsupport/scenes/opengl/basiceglsurfacetexture_internal.cpp:52
#3  0x00007fb648e764bc in KWin::BasicEGLSurfaceTextureInternal::create() (this=0x563fd28e8020) at /home/apol/devel/frameworks/kwin/src/platformsupport/scenes/opengl/basiceglsurfacetexture_internal.cpp:25
#4  0x00007fb648e2d46a in KWin::bindSurfaceTexture(KWin::SurfaceItem*) (surfaceItem=0x563fd27a5500) at /home/apol/devel/frameworks/kwin/src/scenes/opengl/scene_opengl.cpp:385
#5  0x00007fb648e2ccb7 in KWin::OpenGLWindow::createRenderNode(KWin::Item*, KWin::OpenGLWindow::RenderContext*) (this=0x563fd27ae670, item=0x563fd27a5500, context=0x7ffd5396f9c0) at /home/apol/devel/frameworks/kwin/src/scenes/opengl/scene_opengl.cpp:479
#6  0x00007fb648e2ce40 in KWin::OpenGLWindow::createRenderNode(KWin::Item*, KWin::OpenGLWindow::RenderContext*) (this=0x563fd27ae670, item=0x563fd26f0ac0, context=0x7ffd5396f9c0) at /home/apol/devel/frameworks/kwin/src/scenes/opengl/scene_opengl.cpp:495
#7  0x00007fb648e2d878 in KWin::OpenGLWindow::performPaint(int, QRegion const&, KWin::WindowPaintData const&) (this=0x563fd27ae670, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/scenes/opengl/scene_opengl.cpp:569
#8  0x00007fb648e2c4a9 in KWin::SceneOpenGL::performPaintWindow(KWin::EffectWindowImpl*, int, QRegion const&, KWin::WindowPaintData&) (this=0x563fd10fa6c0, w=0x563fd2766660, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/scenes/opengl/scene_opengl.cpp:329
#9  0x00007fb648e2c3b5 in KWin::SceneOpenGL::finalDrawWindow(KWin::EffectWindowImpl*, int, QRegion const&, KWin::WindowPaintData&) (this=0x563fd10fa6c0, w=0x563fd2766660, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/scenes/opengl/scene_opengl.cpp:318
#10 0x00007fb648b9e58a in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x563fd1841330, w=0x563fd2766660, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/effects.cpp:454
#11 0x0000563fd003a6a9 in KWin::BlurEffect::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x563fd14c9920, w=0x563fd2766660, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/effects/blur/blur.cpp:651
#12 0x00007fb648b9e552 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x563fd1841330, w=0x563fd2766660, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/effects.cpp:451
#13 0x00007fb64892d2dd in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x563fd1f1d800, w=0x563fd2766660, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/libkwineffects/kwineffects.cpp:609
#14 0x00007fb648b9e552 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x563fd1841330, w=0x563fd2766660, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/effects.cpp:451
#15 0x00007fb64892d2dd in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x563fd1f07380, w=0x563fd2766660, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/libkwineffects/kwineffects.cpp:609
#16 0x00007fb648b9e552 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x563fd1841330, w=0x563fd2766660, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/effects.cpp:451
#17 0x00007fb648ca69fd in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion const&, KWin::WindowPaintData&) (this=0x563fd10fa6c0, w=0x563fd2766660, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/scene.cpp:649
#18 0x00007fb648b9e1af in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x563fd1841330, w=0x563fd2766660, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/effects.cpp:414
#19 0x00007fb64892d1a5 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&)Python Exception <class 'gdb.MemoryError'>: Cannot access memory at address 0x4
 (this=0x563fd14c9920, w=0x563fd2766660, mask=6, region=#20 0x00007fb648b9e172 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x563fd1841330, w=0x563fd2766660, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/effects.cpp:411
#21 0x00007fb64891e353 in KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) (this=0x563fd1f1d800, w=0x563fd2766660, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/libkwineffects/kwinanimationeffect.cpp:624
#22 0x00007fb648b9e172 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x563fd1841330, w=0x563fd2766660, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/effects.cpp:411
#23 0x0000563fd001ed02 in KWin::SlidingPopupsEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) (this=0x563fd1f07380, w=0x563fd2766660, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/effects/slidingpopups/slidingpopups.cpp:189
#24 0x00007fb648b9e172 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x563fd1841330, w=0x563fd2766660, mask=6, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/effects.cpp:411
#25 0x00007fb648ca68e4 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion const&) (this=0x563fd10fa6c0, w=0x563fd27ae670, mask=6, region=...) at /home/apol/devel/frameworks/kwin/src/scene.cpp:638
#26 0x00007fb648ca651a in KWin::Scene::paintSimpleScreen(int, QRegion const&) (this=0x563fd10fa6c0, region=...) at /home/apol/devel/frameworks/kwin/src/scene.cpp:556
#27 0x00007fb648e2c1d6 in KWin::SceneOpenGL::paintSimpleScreen(int, QRegion const&) (this=0x563fd10fa6c0, mask=0, region=...) at /home/apol/devel/frameworks/kwin/src/scenes/opengl/scene_opengl.cpp:283
#28 0x00007fb648ca61fa in KWin::Scene::finalPaintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x563fd10fa6c0, mask=0, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/scene.cpp:511
#29 0x00007fb648b9ded7 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x563fd1841330, mask=0, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/effects.cpp:370
#30 0x00007fb64892d0c2 in KWin::Effect::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x563fd14c9920, mask=0, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/libkwineffects/kwineffects.cpp:564
#31 0x00007fb648b9dea7 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x563fd1841330, mask=0, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/effects.cpp:367
#32 0x00007fb64892d0c2 in KWin::Effect::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x563fd1f1d800, mask=0, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/libkwineffects/kwineffects.cpp:564
#33 0x00007fb648b9dea7 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x563fd1841330, mask=0, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/effects.cpp:367
#34 0x00007fb64892d0c2 in KWin::Effect::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x563fd1f07380, mask=0, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/libkwineffects/kwineffects.cpp:564
#35 0x00007fb648b9dea7 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) (this=0x563fd1841330, mask=0, region=..., data=...) at /home/apol/devel/frameworks/kwin/src/effects.cpp:367
#36 0x00007fb648ca6152 in KWin::Scene::paintScreen(QRegion const&) (this=0x563fd10fa6c0, region=...) at /home/apol/devel/frameworks/kwin/src/scene.cpp:498
#37 0x00007fb648e2b2d2 in KWin::SceneOpenGL::paint(QRegion const&) (this=0x563fd10fa6c0, region=...) at /home/apol/devel/frameworks/kwin/src/scenes/opengl/scene_opengl.cpp:103
#38 0x00007fb648ca41c1 in KWin::SceneDelegate::paint(QRegion const&) (this=0x563fd11bfbf0, region=...) at /home/apol/devel/frameworks/kwin/src/scene.cpp:127
#39 0x00007fb648b2e432 in KWin::Compositor::paintPass(KWin::RenderLayer*, QRegion const&) (this=0x563fd1080c80, layer=0x563fd1502ac0, region=...) at /home/apol/devel/frameworks/kwin/src/composite.cpp:742
#40 0x00007fb648b2def4 in KWin::Compositor::composite(KWin::RenderLoop*) (this=0x563fd1080c80, renderLoop=0x563fd12dddc0) at /home/apol/devel/frameworks/kwin/src/composite.cpp:688
#41 0x00007fb648b2d021 in KWin::Compositor::handleFrameRequested(KWin::RenderLoop*) (this=0x563fd1080c80, renderLoop=0x563fd12dddc0) at /home/apol/devel/frameworks/kwin/src/composite.cpp:640
#42 0x00007fb648b367a3 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KWin::RenderLoop*>, void, void (KWin::Compositor::*)(KWin::RenderLoop*)>::call(void (KWin::Compositor::*)(KWin::RenderLoop*), KWin::Compositor*, void**) (f=
    (void (KWin::Compositor::*)(KWin::Compositor * const, KWin::RenderLoop *)) 0x7fb648b2d000 <KWin::Compositor::handleFrameRequested(KWin::RenderLoop*)>, o=0x563fd1080c80, arg=0x7ffd53970f40) at /home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:152
#43 0x00007fb648b366fd in QtPrivate::FunctionPointer<void (KWin::Compositor::*)(KWin::RenderLoop*)>::call<QtPrivate::List<KWin::RenderLoop*>, void>(void (KWin::Compositor::*)(KWin::RenderLoop*), KWin::Compositor*, void**) (f=(void (KWin::Compositor::*)(KWin::Compositor * const, KWin::RenderLoop *)) 0x7fb648b2d000 <KWin::Compositor::handleFrameRequested(KWin::RenderLoop*)>, o=0x563fd1080c80, arg=0x7ffd53970f40)
    at /home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:185
#44 0x00007fb648b36642 in QtPrivate::QSlotObject<void (KWin::Compositor::*)(KWin::RenderLoop*), QtPrivate::List<KWin::RenderLoop*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x563fd184a4b0, r=0x563fd1080c80, a=0x7ffd53970f40, ret=0x0) at /home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:418
#45 0x00007fb646dd9ec3 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd53970f40, r=0x563fd1080c80, this=0x563fd184a4b0) at ../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:398
#46 doActivate<false>(QObject*, int, void**) (sender=0x563fd12dddc0, signal_index=5, argv=0x7ffd53970f40) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:3886
#47 0x00007fb648ab6243 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) (this=0x563fd12dddc0, _t1=0x563fd12dddc0) at src/kwin_autogen/EWIEGA46WW/moc_renderloop.cpp:206
#48 0x00007fb648c883d3 in KWin::RenderLoopPrivate::dispatch() (this=0x563fd12e17c0) at /home/apol/devel/frameworks/kwin/src/renderloop.cpp:152
#49 0x00007fb648c88b48 in KWin::RenderLoopPrivate::RenderLoopPrivate(KWin::RenderLoop*)::$_0::operator()() const (this=0x563fd12de1e0) at /home/apol/devel/frameworks/kwin/src/renderloop.cpp:32
#50 0x00007fb648c88af6 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWin::RenderLoopPrivate::RenderLoopPrivate(KWin::RenderLoop*)::$_0>::call(KWin::RenderLoopPrivate::RenderLoopPrivate(KWin::RenderLoop*)::$_0&, void**) (f=..., arg=0x7ffd53971140) at /home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:146
#51 0x00007fb648c88ac1 in QtPrivate::Functor<KWin::RenderLoopPrivate::RenderLoopPrivate(KWin::RenderLoop*)::$_0, 0>::call<QtPrivate::List<>, void>(KWin::RenderLoopPrivate::RenderLoopPrivate(KWin::RenderLoop*)::$_0&, void*, void**) (f=..., arg=0x7ffd53971140) at /home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:256
#52 0x00007fb648c88a61 in QtPrivate::QFunctorSlotObject<KWin::RenderLoopPrivate::RenderLoopPrivate(KWin::RenderLoop*)::$_0, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x563fd12de1d0, r=0x563fd12dddc0, a=0x7ffd53971140, ret=0x0) at /home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:443
#53 0x00007fb646dd9ec3 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd53971140, r=0x563fd12dddc0, this=0x563fd12de1d0) at ../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:398
#54 doActivate<false>(QObject*, int, void**) (sender=0x563fd12e17d8, signal_index=3, argv=0x7ffd53971140) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:3886
#55 0x00007fb646dd338f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7fb64707b280 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd53971140) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:3946
#56 0x00007fb646ddde8a in QTimer::timeout(QTimer::QPrivateSignal) (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#57 0x00007fb646dcfd2f in QObject::event(QEvent*) (this=0x563fd12e17d8, e=0x7ffd539712c0) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:1336
#58 0x00007fb645a556cf in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x563fd12e17d8, e=0x7ffd539712c0) at /home/apol/devel/frameworks/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3637
#59 0x00007fb646da369a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x563fd12e17d8, event=0x7ffd539712c0) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1064
#60 0x00007fb646dfa11b in QTimerInfoList::activateTimers() (this=this@entry=0x563fd0e9e3b8) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:643
#61 0x00007fb646df78dc in QEventDispatcherUNIXPrivate::activateTimers() (this=this@entry=0x563fd0e9e330) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:249
#62 0x00007fb646df8627 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:516
#63 0x0000563fd00d346d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at /home/apol/devel/frameworks/qt5/qtbase/src/platformsupport/eventdispatchers/qunixeventdispatcher.cpp:63
#64 0x00007fb646da209b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd53971460, flags=..., flags@entry=...) at ../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/global/qflags.h:69
#65 0x00007fb646daa370 in QCoreApplication::exec() () at ../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/global/qflags.h:121
#66 0x0000563fcff8ff9d in main(int, char**) (argc=14, argv=0x7ffd53971ef8) at /home/apol/devel/frameworks/kwin/src/main_wayland.cpp:659
Comment 1 Aleix Pol 2022-04-11 10:57:33 UTC
I thought it was related to multiple screens, but I seem to get it randomly.

Whenever internal textures are used?
Comment 2 Aleix Pol 2022-04-11 10:58:19 UTC
I can reproduce it when triggering "ctrl+alt+esc"
Comment 3 Nate Graham 2022-04-11 18:41:57 UTC
No crash when I hit ctrl+alt+esc, FWIW.
Comment 4 Aleix Pol 2022-04-11 23:41:29 UTC
After the MR I get much less frequent crashes, but I still get some. Here is a backtrace. It may give an insight on why it's needed, note the output=0x0

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f34d0433a97 in KWin::Workspace::clientArea (this=0x561c9bb5d3a0, opt=KWin::PlacementArea, output=0x0, desktop=0x561c9c020350) at /home/apol/devel/frameworks/kwin/src/workspace.cpp:2287
2287            screenArea = effectiveOutput->geometry();
[Current thread is 1 (Thread 0x7f34c832ca80 (LWP 20733))]
(gdb) where
#0  0x00007f34d0433a97 in KWin::Workspace::clientArea(KWin::clientAreaOption, KWin::AbstractOutput const*, KWin::VirtualDesktop const*) const (this=
    0x561c9bb5d3a0, opt=KWin::PlacementArea, output=0x0, desktop=0x561c9c020350) at /home/apol/devel/frameworks/kwin/src/workspace.cpp:2287
#1  0x00007f34d04288e6 in KWin::Workspace::clientArea(KWin::clientAreaOption, KWin::Toplevel const*, KWin::AbstractOutput const*) const (this=0x561c9bb5d3a0, opt=KWin::PlacementArea, window=
    0x561c9bc88770, output=0x0) at /home/apol/devel/frameworks/kwin/src/workspace.cpp:2339
#2  0x00007f34d04337b1 in KWin::Workspace::clientArea(KWin::clientAreaOption, KWin::Toplevel const*) const (this=0x561c9bb5d3a0, opt=KWin::PlacementArea, window=0x561c9bc88770)
    at /home/apol/devel/frameworks/kwin/src/workspace.cpp:2327
#3  0x00007f34d02fe05c in KWin::Placement::placeTransient(KWin::AbstractClient*) (this=0x561c9c01e490, c=0x561c9cb9b120) at /home/apol/devel/frameworks/kwin/src/placement.cpp:525
#4  0x00007f34d02fd8c8 in KWin::Placement::place(KWin::AbstractClient*, QRect const&) (this=0x561c9c01e490, c=0x561c9cb9b120, area=...) at /home/apol/devel/frameworks/kwin/src/placement.cpp:64
#5  0x00007f34d047c69c in KWin::XdgPopupClient::initialize() (this=0x561c9cb9b120) at /home/apol/devel/frameworks/kwin/src/xdgshellclient.cpp:2006
#6  0x00007f34d0486a78 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KWin::XdgPopupClient::*)()>::call(void (KWin::XdgPopupClient::*)(), KWin::XdgPopupClient*, void**)
    (f=(void (KWin::XdgPopupClient::*)(KWin::XdgPopupClient * const)) 0x7f34d047c5e0 <KWin::XdgPopupClient::initialize()>, o=0x561c9cb9b120, arg=0x7ffca9805470)
    at /home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:152
#7  0x00007f34d04869dd in QtPrivate::FunctionPointer<void (KWin::XdgPopupClient::*)()>::call<QtPrivate::List<>, void>(void (KWin::XdgPopupClient::*)(), KWin::XdgPopupClient*, void**)
    (f=(void (KWin::XdgPopupClient::*)(KWin::XdgPopupClient * const)) 0x7f34d047c5e0 <KWin::XdgPopupClient::initialize()>, o=0x561c9cb9b120, arg=0x7ffca9805470)
    at /home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:185
#8  0x00007f34d0486922 in QtPrivate::QSlotObject<void (KWin::XdgPopupClient::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
    (which=1, this_=0x561c9b9b6150, r=0x561c9cb9b120, a=0x7ffca9805470, ret=0x0) at /home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:418
#9  0x00007f34ce47aec3 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffca9805470, r=0x561c9cb9b120, this=0x561c9b9b6150)
    at ../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false>(QObject*, int, void**) (sender=0x561c9cba6fd0, signal_index=4, argv=0x7ffca9805470) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:3886
#11 0x00007f34cf12f0ea in KWaylandServer::SurfaceInterfacePrivate::applyState(KWaylandServer::SurfaceState*) (this=0x561c9cb49880, next=<optimized out>)
    at /home/apol/devel/frameworks/kwayland-server/src/server/surface_interface.cpp:660
#12 0x00007f34cbb1b536 in  () at /usr/lib/libffi.so.8
#13 0x00007f34cbb18037 in  () at /usr/lib/libffi.so.8
#14 0x00007f34cf055af2 in  () at /usr/lib/libwayland-server.so.0
#15 0x00007f34cf059e14 in  () at /usr/lib/libwayland-server.so.0
#16 0x00007f34cf05884a in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0
#17 0x00007f34cf0fa984 in KWaylandServer::Display::dispatchEvents() (this=<optimized out>) at /home/apol/devel/frameworks/kwayland-server/src/server/display.cpp:114
#18 0x00007f34ce47aec3 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffca9805e10, r=0x561c9b6cf840, this=0x561c9b6bbce0)
    at ../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate<false>(QObject*, int, void**) (sender=0x561c9bdf3390, signal_index=3, argv=0x7ffca9805e10) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:3886
#20 0x00007f34ce47438f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
    (sender=sender@entry=0x561c9bdf3390, m=m@entry=0x7f34ce71c140 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffca9805e10)
    at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:3946
#21 0x00007f34ce47e3af in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) (this=this@entry=0x561c9bdf3390, _t1=..., _t2=<optimized out>, _t3=...)
    at .moc/moc_qsocketnotifier.cpp:178
#22 0x00007f34ce47ebab in QSocketNotifier::event(QEvent*) (this=0x561c9bdf3390, e=0x7ffca9805f30) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qsocketnotifier.cpp:302
#23 0x00007f34cd0f66cf in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x561c9bdf3390, e=0x7ffca9805f30)
    at /home/apol/devel/frameworks/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3637
#24 0x00007f34ce44469a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x561c9bdf3390, event=0x7ffca9805f30)
    at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1064
#25 0x00007f34ce49913b in QEventDispatcherUNIXPrivate::activateSocketNotifiers() (this=0x561c9b68f600) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:304
#26 0x00007f34ce49959b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...)
    at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:511
#27 0x0000561c9aac046d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...)
    at /home/apol/devel/frameworks/qt5/qtbase/src/platformsupport/eventdispatchers/qunixeventdispatcher.cpp:63
#28 0x00007f34ce44309b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffca98060c0, flags=..., flags@entry=...)
    at ../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/global/qflags.h:69
#29 0x00007f34ce44b370 in QCoreApplication::exec() () at ../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/global/qflags.h:121
#30 0x0000561c9a97cf9d in main(int, char**) (argc=14, argv=0x7ffca9806b58) at /home/apol/devel/frameworks/kwin/src/main_wayland.cpp:659
Comment 5 Aleix Pol 2022-04-15 00:31:14 UTC
I don't really know what happened, I am not getting the crash anymore and it was very weird. Closing for now.