https://bugs.kde.org/show_bug.cgi?id=452482
Bug ID: 452482 Summary: Crash when moving windows across screens Product: kwin Version: git master Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: core Assignee: kwin-bugs-n...@kde.org Reporter: aleix...@kde.org Target Milestone: --- 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 -- You are receiving this mail because: You are watching all bug changes.