Bug 396258 - wayland: using window decorations installed from store crashes plasma when trying to close any window
Summary: wayland: using window decorations installed from store crashes plasma when tr...
Status: RESOLVED DUPLICATE of bug 395346
Alias: None
Product: kwin
Classification: Plasma
Component: aurorae (show other bugs)
Version: 5.13.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2018-07-06 16:00 UTC by Miroslav Spehar
Modified: 2018-07-11 21:46 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
mspehar: Wayland+


Attachments
gdb backtrace (22.89 KB, text/plain)
2018-07-08 15:09 UTC, Miroslav Spehar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Spehar 2018-07-06 16:00:55 UTC
when using window decoration theme from kde store, it crashes plasma whenever window is being closed. afterwards i cannot access terminal.

reproduce: install window decorations like lindows, change theme to that one and try to close the window

hint: might be connected to sddm since sddm hangs during reboot until timeout is reached (remotely triggered)
Comment 1 Alexander Mentyu 2018-07-08 14:18:21 UTC
Can reproduce

Plasma: 5.13.2
Apps: 18.04.2
Frameworks: 5.47.0
Qt: 5.11.1
Kernel: 4.18.0-1-MANJARO
OS: Netrunner Rolling
Video: Intel 4400
Driver: xf86-video-intel 1:2.99.917+831+ge7bfc906-1
Mesa 3D: 18.1.3
Screen: 1600x900
Xorg: 1.20
Wayland: 1.15.0-1
Wayland Protocols: 1.14-1
Comment 2 David Edmundson 2018-07-08 14:50:39 UTC
Crashes need backtraces
Comment 3 Miroslav Spehar 2018-07-08 14:54:49 UTC
(In reply to David Edmundson from comment #2)
> Crashes need backtraces

unfortunatelly, now also going in that area of systemsettings5 also crashes, so i can't reach the problem with closing the window to get the backtrace.

would it help if i provide backtrace of systemsettings5 crashing?
Comment 4 Miroslav Spehar 2018-07-08 15:09:04 UTC
Created attachment 113839 [details]
gdb backtrace

actually i figure out how to get the backtrace, it's attached.

explanation how did it work:
1. when i try to enter application style on standard dpi monitor, systemsettings5 crashes
2. when i try to enter application style on hidpi monitor, it works

i'll open another bug with this issue(s)
Comment 5 Miroslav Spehar 2018-07-08 15:09:39 UTC
bt added
Comment 6 Christophe Marin 2018-07-08 16:23:53 UTC
Pasting inline:
Thread 1 (Thread 0x7f5d89442880 (LWP 1176)):
#0  0x00007f5d88eea811 in KWin::Scene::windowClosed (this=0x5640507876a0, c=<optimized out>, deleted=0x564050af3120) at /usr/src/debug/kwin5-5.13.2-1.1.x86_64/scene.cpp:417
#1  0x00007f5d88fb7c03 in KWin::Scene::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>)
    at /usr/src/debug/kwin5-5.13.2-1.1.x86_64/build/kwin_autogen/EWIEGA46WW/moc_scene.cpp:98
#2  0x00007f5d869abb83 in QMetaObject::activate(QObject*, int, int, void**) () at kernel/qobject.cpp:3771
#3  0x00007f5d869ac1b7 in QMetaObject::activate (sender=sender@entry=0x5640509b62a0, m=m@entry=0x7f5d8926b240 <KWin::Toplevel::staticMetaObject>, local_signal_index=local_signal_index@entry=5, 
    argv=argv@entry=0x7ffdba656300) at kernel/qobject.cpp:3633
#4  0x00007f5d88fb0b2e in KWin::Toplevel::windowClosed (this=this@entry=0x5640509b62a0, _t1=<optimized out>, _t1@entry=0x5640509b62a0, _t2=<optimized out>, _t2@entry=0x564050af3120)
    at /usr/src/debug/kwin5-5.13.2-1.1.x86_64/build/kwin_autogen/EWIEGA46WW/moc_toplevel.cpp:718
#5  0x00007f5d88f596dc in KWin::ShellClient::destroyClient (this=0x5640509b62a0) at /usr/src/debug/kwin5-5.13.2-1.1.x86_64/shell_client.cpp:377
#6  0x00007f5d869abce0 in QtPrivate::QSlotObjectBase::call (a=0x7ffdba656460, r=0x5640509b62a0, this=0x564050b60270) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#7  QMetaObject::activate(QObject*, int, int, void**) () at kernel/qobject.cpp:3754
#8  0x00007f5d869ac1b7 in QMetaObject::activate (sender=sender@entry=0x564050826510, m=m@entry=0x7f5d86dfca20 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, 
    argv=argv@entry=0x7ffdba656460) at kernel/qobject.cpp:3633
#9  0x00007f5d869ac24f in QObject::destroyed (this=this@entry=0x564050826510, _t1=<optimized out>, _t1@entry=0x564050826510) at .moc/moc_qobject.cpp:214
#10 0x00007f5d869b262f in QObject::~QObject() () at kernel/qobject.cpp:904
#11 0x00007f5d87df9e67 in KWayland::Server::XdgTopLevelV6Interface::~XdgTopLevelV6Interface (this=0x564050826510, __in_chrg=<optimized out>)
    at /usr/src/debug/kwayland-5.47.0-1.2.x86_64/src/server/xdgshell_v6_interface_p.h:92
#12 KWayland::Server::XdgTopLevelV6Interface::~XdgTopLevelV6Interface (this=0x564050826510, __in_chrg=<optimized out>)
    at /usr/src/debug/kwayland-5.47.0-1.2.x86_64/src/server/xdgshell_v6_interface_p.h:92
#13 0x00007f5d869ac418 in QObject::event(QEvent*) () at kernel/qobject.cpp:1242
#14 0x00007f5d86f83c11 in QApplicationPrivate::notify_helper (this=this@entry=0x5640506a7350, receiver=receiver@entry=0x564050826510, e=e@entry=0x564050ed1360) at kernel/qapplication.cpp:3728
#15 0x00007f5d86f8adf0 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3487
#16 0x00007f5d86983d29 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#17 0x00007f5d86986bdb in QCoreApplication::sendEvent (event=0x564050ed1360, receiver=<optimized out>) at kernel/qcoreapplication.h:234
#18 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at kernel/qcoreapplication.cpp:1745
#19 0x00007f5d8176f024 in QQuickRenderControlPrivate::windowDestroyed (this=0x564050e43930) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/quick/items/qquickrendercontrol.cpp:190
#20 0x00007f5d8176f200 in QQuickRenderControl::~QQuickRenderControl (this=0x564050e58fa0, __in_chrg=<optimized out>)
    at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/quick/items/qquickrendercontrol.cpp:181
#21 0x00007f5d8176f229 in QQuickRenderControl::~QQuickRenderControl (this=0x564050e58fa0, __in_chrg=<optimized out>)
    at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/quick/items/qquickrendercontrol.cpp:169
#22 0x00007f5d48d7ad19 in Aurorae::Decoration::~Decoration (this=0x564050aea8d0, __in_chrg=<optimized out>)
    at /usr/src/debug/kwin5-5.13.2-1.1.x86_64/plugins/kdecorations/aurorae/src/aurorae.cpp:273
#23 0x00007f5d48d7ae29 in Aurorae::Decoration::~Decoration (this=0x564050aea8d0, __in_chrg=<optimized out>)
    at /usr/src/debug/kwin5-5.13.2-1.1.x86_64/plugins/kdecorations/aurorae/src/aurorae.cpp:267
#24 0x00007f5d88e31246 in KWin::AbstractClient::destroyDecoration (this=0x5640509b62a0) at /usr/src/debug/kwin5-5.13.2-1.1.x86_64/abstract_client.cpp:1435
#25 0x00007f5d88f596f0 in KWin::ShellClient::destroyClient (this=0x5640509b62a0) at /usr/src/debug/kwin5-5.13.2-1.1.x86_64/shell_client.cpp:379
#26 0x00007f5d869abce0 in QtPrivate::QSlotObjectBase::call (a=0x7ffdba656948, r=0x5640509b62a0, this=0x564050707630) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#27 QMetaObject::activate(QObject*, int, int, void**) () at kernel/qobject.cpp:3754
#28 0x00007f5d869ac1b7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f5d88041fe0 <KWayland::Server::Resource::staticMetaObject>, local_signal_index=local_signal_index@entry=0, 
    argv=argv@entry=0x0) at kernel/qobject.cpp:3633
#29 0x00007f5d87e00240 in KWayland::Server::Resource::unbound (this=<optimized out>)
    at /usr/src/debug/kwayland-5.47.0-1.2.x86_64/build/src/server/KF5WaylandServer_autogen/EWIEGA46WW/moc_resource.cpp:138
#30 0x00007f5d87dd885c in KWayland::Server::Resource::Private::unbind(wl_resource*) () at /usr/src/debug/kwayland-5.47.0-1.2.x86_64/src/server/resource.cpp:68
#31 0x00007f5d7edaf564 in destroy_resource (element=0x564050be5770, data=data@entry=0x0) at src/wayland-server.c:675
#32 0x00007f5d7edaf5c6 in wl_resource_destroy (resource=<optimized out>) at src/wayland-server.c:690
#33 0x00007f5d78ae86c5 in ffi_call_unix64 () at ../src/x86/unix64.S:101
#34 0x00007f5d78ae7bd7 in ffi_call_int () at ../src/x86/ffi64.c:662
#35 0x00007f5d78ae822d in ffi_call (cif=cif@entry=0x7ffdba656b70, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffdba656c40) at ../src/x86/ffi64.c:674
#36 0x00007f5d7edb301d in wl_closure_invoke (closure=<optimized out>, flags=2, target=<optimized out>, opcode=0, data=<optimized out>) at src/connection.c:935
#37 0x00007f5d7edaf8d7 in wl_client_connection_data (fd=<optimized out>, mask=<optimized out>, data=0x564050b66ce0) at src/wayland-server.c:406
#38 0x00007f5d7edb1232 in wl_event_loop_dispatch (loop=0x5640506de3b0, timeout=timeout@entry=0) at src/event-loop.c:423
#39 0x00007f5d87dbd2ce in KWayland::Server::Display::Private::dispatch (this=<optimized out>) at /usr/src/debug/kwayland-5.47.0-1.2.x86_64/src/server/display.cpp:141
#40 0x00007f5d869abce0 in QtPrivate::QSlotObjectBase::call (a=0x7ffdba6570e0, r=0x5640506d58c0, this=0x5640506d6210) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#41 QMetaObject::activate(QObject*, int, int, void**) () at kernel/qobject.cpp:3754
#42 0x00007f5d869ac1b7 in QMetaObject::activate (sender=sender@entry=0x5640506d6000, m=m@entry=0x7f5d86e04c40 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, 
    argv=argv@entry=0x7ffdba6570e0) at kernel/qobject.cpp:3633
#43 0x00007f5d869b6c89 in QSocketNotifier::activated (this=this@entry=0x5640506d6000, _t1=<optimized out>, _t2=...) at .moc/moc_qsocketnotifier.cpp:136
#44 0x00007f5d869b6f71 in QSocketNotifier::event (this=0x5640506d6000, e=0x7ffdba657330) at kernel/qsocketnotifier.cpp:266
#45 0x00007f5d86f83c11 in QApplicationPrivate::notify_helper (this=this@entry=0x5640506a7350, receiver=receiver@entry=0x5640506d6000, e=e@entry=0x7ffdba657330) at kernel/qapplication.cpp:3728
#46 0x00007f5d86f8adf0 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3487
#47 0x00007f5d86983d29 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#48 0x00007f5d869cff6b in QCoreApplication::sendEvent (event=0x7ffdba657330, receiver=0x5640506d6000) at kernel/qcoreapplication.h:234
#49 QEventDispatcherUNIXPrivate::activateSocketNotifiers() () at kernel/qeventdispatcher_unix.cpp:304
#50 0x00007f5d869d0247 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at kernel/qeventdispatcher_unix.cpp:509
#51 0x00007f5d710e918d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:68
#52 0x00007f5d86982b3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#53 0x00007f5d8698a8be in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#54 0x000056404fda2bc3 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin5-5.13.2-1.1.x86_64/main_wayland.cpp:924
Comment 7 Bernhard Übelacker 2018-07-09 21:20:39 UTC
Might this be a duplicate of #395346?
Comment 8 David Edmundson 2018-07-11 21:46:15 UTC
#20 0x00007f5d8176f200 in QQuickRenderControl::~QQuickRenderControl (this=0x564050e58fa0, __in_chrg=<optimized out>)

It is

*** This bug has been marked as a duplicate of bug 395346 ***