[kwin] [Bug 434453] kwin_wayland crashes when tiling window

2021-03-29 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=434453

Nicolas Fella  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #7 from Nicolas Fella  ---
well, I don't get this any more. Quite possibly this was caused by a leftover
kwin QPA plugin from before we made that static

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 434453] kwin_wayland crashes when tiling window

2021-03-20 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=434453

--- Comment #6 from Nicolas Fella  ---
Yet another different backtrace:

#0  0x772daf93 in QHashData::free_helper(void (*)(QHashData::Node*))
(this=0x5657f170, node_delete=0x76646fa4  >::deleteNode2(QHashData::Node*)>) at
tools/qhash.cpp:571
#1  0x7664682f in QHash
>::freeData(QHashData*) (this=0x5653f308, x=0x5657f170) at
/home/nico/kde/usr/include/QtCore/qhash.h:619
#2  0x76645e40 in QHash >::~QHash()
(this=0x5653f308, __in_chrg=) at
/home/nico/kde/usr/include/QtCore/qhash.h:250
#3  0x76646f5c in QHashNode > >::~QHashNode() (this=0x5653f2f0,
__in_chrg=)
at /home/nico/kde/usr/include/QtCore/qhash.h:147
#4  0x76646f80 in QHash > >::deleteNode2(QHashData::Node*)
(node=0x5653f2f0)
at /home/nico/kde/usr/include/QtCore/qhash.h:595
#5  0x76646c1e in QHash > >::deleteNode(QHashNode > >*)
(this=0x56594e00, node=0x5653f2f0) at
/home/nico/kde/usr/include/QtCore/qhash.h:585
#6  0x766462c2 in QHash > >::remove(long long const&) (this=0x56594e00,
akey=@0x7fffa3c0: 2959232466948)
at /home/nico/kde/usr/include/QtCore/qhash.h:824
#7  0x76645326 in operator()(QSGTexture*) const
(__closure=0x7fffa3b0, texture=0x5660a5d0) at
/home/nico/kde/src/kdeclarative/src/quickaddons/imagetexturescache.cpp:37
#8  0x7664583a in QtSharedPointer::executeDeleter >(QSGTexture *,
struct {...}) (t=0x5660a5d0, d=...) at
/home/nico/kde/usr/include/QtCore/qsharedpointer_impl.h:114
#9  0x766457e0 in QtSharedPointer::CustomDeleter >::execute(void)
(this=0x565bcb60) at
/home/nico/kde/usr/include/QtCore/qsharedpointer_impl.h:171
#10 0x766456f6 in
QtSharedPointer::ExternalRefCountWithCustomDeleter
>::deleter(QtSharedPointer::ExternalRefCountData *) (self=0x565bcb50) at
/home/nico/kde/usr/include/QtCore/qsharedpointer_impl.h:205
#11 0x7fffb879a9df in QtSharedPointer::ExternalRefCountData::destroy()
(this=0x565bcb50) at
/home/nico/kde/usr/include/QtCore/qsharedpointer_impl.h:149
#12 0x7fffb87af048 in
QSharedPointer::deref(QtSharedPointer::ExternalRefCountData*)
(dd=0x565bcb50) at
/home/nico/kde/usr/include/QtCore/qsharedpointer_impl.h:458
#13 0x7fffb87aee06 in QSharedPointer::deref()
(this=0x55ff3730) at
/home/nico/kde/usr/include/QtCore/qsharedpointer_impl.h:453
#14 0x7fffb87aec60 in QSharedPointer::~QSharedPointer()
(this=0x55ff3730, __in_chrg=) at
/home/nico/kde/usr/include/QtCore/qsharedpointer_impl.h:310
#15 0x7fffb87b59ec in ManagedTextureNode::~ManagedTextureNode()
(this=0x55ff35b0, __in_chrg=)
at
/home/nico/kde/usr/include/KF5/KDeclarative/quickaddons/managedtexturenode.h:32
#16 0x7fffb87b8112 in Plasma::FrameItemNode::~FrameItemNode()
(this=0x55ff35b0, __in_chrg=)
at
/home/nico/kde/src/plasma-framework/src/declarativeimports/core/framesvgitem.cpp:63
#17 0x7fffb87b812e in Plasma::FrameItemNode::~FrameItemNode()
(this=0x55ff35b0, __in_chrg=)
at
/home/nico/kde/src/plasma-framework/src/declarativeimports/core/framesvgitem.cpp:63
#18 0x7628c652 in QSGNode::destroy() (this=this@entry=0x565ff7f0)
at scenegraph/coreapi/qsgnode.cpp:388
#19 0x7628c677 in QSGNode::~QSGNode() (this=0x565ff7f0,
__in_chrg=) at scenegraph/coreapi/qsgnode.cpp:326
#20 0x7fffb87b8162 in Plasma::FrameNode::~FrameNode() (this=0x565ff7f0,
__in_chrg=)
at
/home/nico/kde/src/plasma-framework/src/declarativeimports/core/framesvgitem.cpp:29
#21 0x7fffb87b817e in Plasma::FrameNode::~FrameNode() (this=0x565ff7f0,
__in_chrg=)
at
/home/nico/kde/src/plasma-framework/src/declarativeimports/core/framesvgitem.cpp:29
#22 0x7fffb87b3f2f in Plasma::FrameSvgItem::updatePaintNode(QSGNode*,
QQuickItem::UpdatePaintNodeData*) (this=0x564264a0, oldNode=0x565ff7f0)
at
/home/nico/kde/src/plasma-framework/src/declarativeimports/core/framesvgitem.cpp:565
#23 0x76357438 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*)
(this=0x560fc0c0, item=0x564264a0) at items/qquickwindow.cpp:3872
#24 0x76357ccb in QQuickWindowPrivate::updateDirtyNodes()
(this=this@entry=0x560fc0c0) at items/qquickwindow.cpp:3617
#25 0x763595ac in QQuickWindowPrivate::syncSceneGraph()
(this=this@entry=0x560fc0c0) at items/qquickwindow.cpp:524
#26 0x762db39e in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*)
(this=0x564626b0, window=) at
scenegraph/qsgrenderloop.cpp:751
#27 0x762dd237 in
QSGGuiThreadRenderLoop::exposureChanged(QQuickWindow*) (this=0x564626b0,
window=) at scenegraph/qsgrenderloop.cpp:852
#28 0x7789c1b5 in QWindow::event(QEvent*) (this=0x56457230,
ev=) at kernel/qwindow.cpp:2438
#29 0x74c6314f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=, receiver=0x56457230, e=0x7fffab00) at
kernel/qapplication.cpp:3632

-- 
You are receiving this mail because:
You are watching 

[kwin] [Bug 434453] kwin_wayland crashes when tiling window

2021-03-20 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=434453

--- Comment #5 from Nicolas Fella  ---
Created attachment 136900
  --> https://bugs.kde.org/attachment.cgi?id=136900=edit
Video

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 434453] kwin_wayland crashes when tiling window

2021-03-20 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=434453

--- Comment #4 from Nicolas Fella  ---
What may or may not be related is that tiling is also visually broken (see
video)

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 434453] kwin_wayland crashes when tiling window

2021-03-20 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=434453

--- Comment #3 from Nicolas Fella  ---
The others are:

#0  0x73d61ef5 in raise () at /usr/lib/libc.so.6
#1  0x73d4b862 in abort () at /usr/lib/libc.so.6
#2  0x73da3f38 in __libc_message () at /usr/lib/libc.so.6
#3  0x73dabbea in  () at /usr/lib/libc.so.6
#4  0x73dacae6 in unlink_chunk.constprop () at /usr/lib/libc.so.6
#5  0x73dad33b in _int_free () at /usr/lib/libc.so.6
#6  0x73db0ca8 in free () at /usr/lib/libc.so.6
#7  0x7fffe65a0668 in  () at /usr/lib/dri/iris_dri.so
#8  0x7fffe64f01eb in  () at /usr/lib/dri/iris_dri.so
#9  0x7fffe64f088b in  () at /usr/lib/dri/iris_dri.so
#10 0x7fffe64f0e78 in  () at /usr/lib/dri/iris_dri.so
#11 0x7fffe64f117a in  () at /usr/lib/dri/iris_dri.so
#12 0x767e1b76 in KWin::GLTexture::clear() (this=0x566b5b80) at
/home/nico/kde/src/kwin/src/libkwineffects/kwingltexture.cpp:533
#13 0x7fffe7b44f9a in KWin::SceneOpenGLDecorationRenderer::resizeTexture()
(this=0x565888c0) at
/home/nico/kde/src/kwin/src/plugins/scenes/opengl/scene_opengl.cpp:2732
#14 0x7fffe7b44912 in KWin::SceneOpenGLDecorationRenderer::render()
(this=0x565888c0) at
/home/nico/kde/src/kwin/src/plugins/scenes/opengl/scene_opengl.cpp:2623
#15 0x7fffe7b3916b in KWin::OpenGLWindow::getDecorationTexture() const
(this=0x56077530) at
/home/nico/kde/src/kwin/src/plugins/scenes/opengl/scene_opengl.cpp:1212
#16 0x7fffe7b39723 in
KWin::OpenGLWindow::initializeRenderContext(KWin::OpenGLWindow::RenderContext&,
KWin::WindowPaintData const&) (this=0x56077530, context=..., data=...)
at /home/nico/kde/src/kwin/src/plugins/scenes/opengl/scene_opengl.cpp:1313
#17 0x7fffe7b3a531 in KWin::OpenGLWindow::performPaint(int, QRegion const&,
KWin::WindowPaintData const&) (this=0x56077530, mask=10, region=...,
_data=...)
at /home/nico/kde/src/kwin/src/plugins/scenes/opengl/scene_opengl.cpp:1470
#18 0x7fffe7b3862b in
KWin::SceneOpenGL2::performPaintWindow(KWin::EffectWindowImpl*, int, QRegion
const&, KWin::WindowPaintData&)
(this=0x55a4f3b0, w=0x56590290, mask=10, region=..., data=...) at
/home/nico/kde/src/kwin/src/plugins/scenes/opengl/scene_opengl.cpp:1085
#19 0x7fffe7b3849c in
KWin::SceneOpenGL2::finalDrawWindow(KWin::EffectWindowImpl*, int, QRegion
const&, KWin::WindowPaintData&)
(this=0x55a4f3b0, w=0x56590290, mask=10, region=..., data=...) at
/home/nico/kde/src/kwin/src/plugins/scenes/opengl/scene_opengl.cpp:1067
#20 0x76bfefd0 in
KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&,
KWin::WindowPaintData&)
(this=0x56149c40, w=0x56590290, mask=10, region=..., data=...) at
/home/nico/kde/src/kwin/src/effects.cpp:470
#21 0x768a5956 in KWin::BlurEffect::drawWindow(KWin::EffectWindow*,
int, QRegion const&, KWin::WindowPaintData&)
(this=0x560712b0, w=0x56590290, mask=10, region=..., data=...) at
/home/nico/kde/src/kwin/src/effects/blur/blur.cpp:593
#22 0x76bfef80 in
KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&,
KWin::WindowPaintData&)
(this=0x56149c40, w=0x56590290, mask=10, region=..., data=...) at
/home/nico/kde/src/kwin/src/effects.cpp:467
#23 0x7683d11d in KWin::Effect::drawWindow(KWin::EffectWindow*, int,
QRegion const&, KWin::WindowPaintData&)
(this=0x56471a20, w=0x56590290, mask=10, region=..., data=...) at
/home/nico/kde/src/kwin/src/libkwineffects/kwineffects.cpp:615
#24 0x76bfef80 in
KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&,
KWin::WindowPaintData&)
(this=0x56149c40, w=0x56590290, mask=10, region=..., data=...) at
/home/nico/kde/src/kwin/src/effects.cpp:467
#25 0x76ce5929 in
KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion const&,
KWin::WindowPaintData&)
(this=0x55a4f3b0, w=0x56590290, mask=10, region=..., data=...) at
/home/nico/kde/src/kwin/src/scene.cpp:647
#26 0x76bfecb7 in
KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&,
KWin::WindowPaintData&)
(this=0x56149c40, w=0x56590290, mask=10, region=..., data=...) at
/home/nico/kde/src/kwin/src/effects.cpp:433
#27 0x7683cfdb in KWin::Effect::paintWindow(KWin::EffectWindow*, int,
QRegion, KWin::WindowPaintData&) (this=0x560712b0, w=0x56590290,
mask=10, region=..., data=...)
at /home/nico/kde/src/kwin/src/libkwineffects/kwineffects.cpp:585
#28 0x76bfec70 in
KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&,
KWin::WindowPaintData&)
(this=0x56149c40, w=0x56590290, mask=10, region=..., data=...) at
/home/nico/kde/src/kwin/src/effects.cpp:430
#29 0x7682e8d0 in
KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion,
KWin::WindowPaintData&)
(this=0x56471a20, w=0x56590290, mask=10, region=..., 

[kwin] [Bug 434453] kwin_wayland crashes when tiling window

2021-03-20 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=434453

--- Comment #2 from Nicolas Fella  ---
I can reproduce it with kwin_wayland --exit-with-session "konsole -platform
wayland"

The weird thing is that I've seen multiple different backtraces for the
seemingly same crash. This one seems to appear most often:

#0  0x73d61ef5 in raise () at /usr/lib/libc.so.6
#1  0x73d4b862 in abort () at /usr/lib/libc.so.6
#2  0x73da3f38 in __libc_message () at /usr/lib/libc.so.6
#3  0x73dabbea in  () at /usr/lib/libc.so.6
#4  0x73dacae6 in unlink_chunk.constprop () at /usr/lib/libc.so.6
#5  0x73dacc75 in malloc_consolidate () at /usr/lib/libc.so.6
#6  0x73daeb03 in _int_malloc () at /usr/lib/libc.so.6
#7  0x73db07a1 in malloc () at /usr/lib/libc.so.6
#8  0x772ab9d1 in QArrayData::allocate(unsigned long, unsigned long,
unsigned long, QFlags)
(objectSize=, alignment=8, capacity=19, options=...) at
tools/qarraydata.cpp:218
#9  0x76cefcdc in QTypedArrayData::allocate(unsigned
long, QFlags) (capacity=10, options=...)
at /home/nico/kde/usr/include/QtCore/qarraydata.h:224
#10 0x76cf089f in QVector::realloc(int,
QFlags) (this=0x5682fb10, aalloc=10,
options=...)
at /home/nico/kde/usr/include/QtCore/qvector.h:699
#11 0x76cede89 in
QVector::operator+=(QVector const&)
(this=0x5682fb10, l=...) at /home/nico/kde/usr/include/QtCore/qvector.h:978
#12 0x76cee095 in
QVector::operator<<(QVector const&)
(this=0x5682fb10, l=...) at /home/nico/kde/usr/include/QtCore/qvector.h:295
#13 0x76ce77ab in KWin::Scene::Window::buildQuads(bool) const
(this=0x556ef210, force=false) at
/home/nico/kde/src/kwin/src/scene.cpp:1011
#14 0x76ce36c6 in KWin::Scene::paintSimpleScreen(int, QRegion const&)
(this=0x55a4e570, orig_mask=8, region=...) at
/home/nico/kde/src/kwin/src/scene.cpp:342
#15 0x7fffe7b38197 in KWin::SceneOpenGL2::paintSimpleScreen(int, QRegion
const&) (this=0x55a4e570, mask=8, region=...)
at /home/nico/kde/src/kwin/src/plugins/scenes/opengl/scene_opengl.cpp:1032
#16 0x76ce2b9c in KWin::Scene::finalPaintScreen(int, QRegion const&,
KWin::ScreenPaintData&) (this=0x55a4e570, mask=8, region=..., data=...)
at /home/nico/kde/src/kwin/src/scene.cpp:224
#17 0x76bfe9f2 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion
const&, KWin::ScreenPaintData&) (this=0x560edf10, mask=8, region=...,
data=...)
at /home/nico/kde/src/kwin/src/effects.cpp:390
#18 0x7683cf08 in KWin::Effect::paintScreen(int, QRegion const&,
KWin::ScreenPaintData&) (this=0x56342110, mask=8, region=..., data=...)
at /home/nico/kde/src/kwin/src/libkwineffects/kwineffects.cpp:570
#19 0x76bfe9be in KWin::EffectsHandlerImpl::paintScreen(int, QRegion
const&, KWin::ScreenPaintData&) (this=0x560edf10, mask=8, region=...,
data=...)
at /home/nico/kde/src/kwin/src/effects.cpp:387
#20 0x7683cf08 in KWin::Effect::paintScreen(int, QRegion const&,
KWin::ScreenPaintData&) (this=0x5613d270, mask=8, region=..., data=...)
at /home/nico/kde/src/kwin/src/libkwineffects/kwineffects.cpp:570
#21 0x76bfe9be in KWin::EffectsHandlerImpl::paintScreen(int, QRegion
const&, KWin::ScreenPaintData&) (this=0x560edf10, mask=8, region=...,
data=...)
at /home/nico/kde/src/kwin/src/effects.cpp:387
#22 0x7683cf08 in KWin::Effect::paintScreen(int, QRegion const&,
KWin::ScreenPaintData&) (this=0x56478000, mask=8, region=..., data=...)
at /home/nico/kde/src/kwin/src/libkwineffects/kwineffects.cpp:570
#23 0x76bfe9be in KWin::EffectsHandlerImpl::paintScreen(int, QRegion
const&, KWin::ScreenPaintData&) (this=0x560edf10, mask=8, region=...,
data=...)
at /home/nico/kde/src/kwin/src/effects.cpp:387
#24 0x76ce2901 in KWin::Scene::paintScreen(int*, QRegion const&,
QRegion const&, QRegion*, QRegion*, KWin::RenderLoop*, QMatrix4x4 const&)
(this=0x55a4e570, mask=0x7fffccf4, damage=..., repaint=...,
updateRegion=0x7fffcd00, validRegion=0x7fffcd08,
renderLoop=0x556b9080, projection=...)
at /home/nico/kde/src/kwin/src/scene.cpp:196
#25 0x7fffe7b3623e in KWin::SceneOpenGL::paint(int, QRegion const&,
QList const&, KWin::RenderLoop*)
(this=0x55a4e570, screenId=0, damage=..., toplevels=...,
renderLoop=0x556b9080) at
/home/nico/kde/src/kwin/src/plugins/scenes/opengl/scene_opengl.cpp:681
#26 0x76ba3e55 in
KWin::Compositor::handleFrameRequested(KWin::RenderLoop*) (this=0x557d7f70,
renderLoop=0x556b9080) at /home/nico/kde/src/kwin/src/composite.cpp:665
#27 0x76babeed in QtPrivate::FunctorCall,
QtPrivate::List, void, void
(KWin::Compositor::*)(KWin::RenderLoop*)>::call(void
(KWin::Compositor::*)(KWin::RenderLoop*), KWin::Compositor*, void**)
(f= table offset 128, o=0x557d7f70, arg=0x7fffd0a0) at
/home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:152

-- 
You are receiving this mail 

[kwin] [Bug 434453] kwin_wayland crashes when tiling window

2021-03-20 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=434453

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk

--- Comment #1 from David Edmundson  ---
Trace doesn't really make sense.

We're still inside the InternalClient constructor, a crash whilst emitting our
own signal implies we've somehow deleted "this" from inside here. 

I can't reproduce, Nico could you try nested and with valgrind? 

Also a clean build

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 434453] kwin_wayland crashes when tiling window

2021-03-20 Thread Justin Zobel
https://bugs.kde.org/show_bug.cgi?id=434453

Justin Zobel  changed:

   What|Removed |Added

   Keywords||wayland
   Severity|normal  |crash

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 434453] kwin_wayland crashes when tiling window

2021-03-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=434453

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.