Summary: | kwin_wayland crash when closing down | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Andrei Amuraritei <andamu> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fabian, kde |
Priority: | NOR | Flags: | mgraesslin:
Wayland+
mgraesslin: X11- |
Version: | 5.9.5 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Andrei Amuraritei
2017-04-29 23:58:36 UTC
compare adcd98aa1f2ac2f3d0da46dcc41eb23944acbafe in breeze Valgrind log ==8862== ==8862== Invalid read of size 8 ==8862== at 0x11364BBD: wl_map_insert_at (in /usr/lib/libwayland-server.so.0.1.0) ==8862== by 0x126B0F1D: wl_proxy_destroy (in /usr/lib/libwayland-client.so.0.3.0) ==8862== by 0xB0922D6: org_kde_kwin_shadow_manager_destroy (wayland-shadow-client-protocol.h:135) ==8862== by 0xB09354B: KWayland::Client::WaylandPointer<org_kde_kwin_shadow_manager, &org_kde_kwin_shadow_manager_destroy>::release() (wayland_pointer_p.h:53) ==8862== by 0xB09266B: KWayland::Client::ShadowManager::release() (shadow.cpp:57) ==8862== by 0xB092601: KWayland::Client::ShadowManager::~ShadowManager() (shadow.cpp:52) ==8862== by 0xB092639: KWayland::Client::ShadowManager::~ShadowManager() (shadow.cpp:53) ==8862== by 0xD59331E: QObjectPrivate::deleteChildren() (qobject.cpp:1992) ==8862== by 0xD5945CC: QObject::~QObject() (qobject.cpp:1022) ==8862== by 0x1D1FA35F: Breeze::ShadowHelper::~ShadowHelper() (breezeshadowhelper.cpp:72) ==8862== by 0x1D1FA37F: Breeze::ShadowHelper::~ShadowHelper() (breezeshadowhelper.cpp:80) ==8862== by 0x1D2012A7: Breeze::Style::~Style() (breezestyle.cpp:200) ==8862== Address 0x1b9bfa08 is 120 bytes inside a block of size 320 free'd ==8862== at 0x4C2C14B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==8862== by 0xB04C5CE: KWayland::Client::ConnectionThread::Private::~Private() (connection_thread.cpp:76) ==8862== by 0xB04E97F: QScopedPointerDeleter<KWayland::Client::ConnectionThread::Private>::cleanup(KWayland::Client::ConnectionThread::Private*) (qscopedpointer.h:60) ==8862== by 0xB04E79C: QScopedPointer<KWayland::Client::ConnectionThread::Private, QScopedPointerDeleter<KWayland::Client::ConnectionThread::Private> >::~QScopedPointer() (qscopedpointer.h:107) ==8862== by 0xB04D071: KWayland::Client::ConnectionThread::~ConnectionThread() (connection_thread.cpp:184) ==8862== by 0xB04D099: KWayland::Client::ConnectionThread::~ConnectionThread() (connection_thread.cpp:187) ==8862== by 0xD58BC71: qDeleteInEventHandler(QObject*) (qobject.cpp:4596) ==8862== by 0xD58D9E3: QObject::event(QEvent*) (qobject.cpp:1237) ==8862== by 0xC8136A2: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3713) ==8862== by 0xC81B44D: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3085) ==8862== by 0xD55DD6D: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1014) ==8862== by 0xD562D2E: sendEvent (qcoreapplication.h:233) ==8862== by 0xD562D2E: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (qcoreapplication.cpp:1674) ---------- The clientConnectionThread deleteLater() trace is: Thread 1 "kwin_wayland" hit Breakpoint 2, KWin::WaylandServer::destroyInternalConnection (this=0x6a0f60) at /home/david/projects/kde5/src/kde/workspace/kwin/wayland_server.cpp:91 91 emit terminatingInternalClientConnection(); (gdb) bt #0 0x00007ffff7a05b7c in KWin::WaylandServer::destroyInternalConnection() (this=0x6a0f60) at /home/david/projects/kde5/src/kde/workspace/kwin/wayland_server.cpp:91 #1 0x00007ffff7a05cd4 in KWin::WaylandServer::terminateClientConnections() (this=0x6a0f60) at /home/david/projects/kde5/src/kde/workspace/kwin/wayland_server.cpp:108 #2 0x00000000004080d0 in KWin::ApplicationWayland::~ApplicationWayland() (this=0x7fffffffd7d0, __in_chrg=<optimized out>) at /home/david/projects/kde5/src/kde/workspace/kwin/main_wayland.cpp:121 #3 0x000000000040cf93 in main(int, char**) (argc=9, argv=0x7fffffffe238) at /home/david/projects/kde5/src/kde/workspace/kwin/main_wayland.cpp:472 (gdb) Still happens with Plasma 5.10.4 and kwin master. (In reply to Fabian Vogt from comment #3) > Still happens with Plasma 5.10.4 and kwin master. Same backtrace? The crash here should be fixed (at least the test case which used to crash doesn't crash any more). But it's possible that there are other crashes on tear down. (In reply to Martin Flöser from comment #4) > (In reply to Fabian Vogt from comment #3) > > Still happens with Plasma 5.10.4 and kwin master. > > Same backtrace? The crash here should be fixed (at least the test case which > used to crash doesn't crash any more). But it's possible that there are > other crashes on tear down. The exact same backtrace: #0 0x00007fffe9c9d039 in wl_map_insert_at () at /usr/lib64/libwayland-server.so.0 #1 0x00007fffe8d621ae in wl_proxy_destroy () at /usr/lib64/libwayland-client.so.0 #2 0x00007ffff0ec4f15 in KWayland::Client::Registry::release() () at /usr/lib64/libKF5WaylandClient.so.5 #3 0x00007ffff0ec4f3c in KWayland::Client::Registry::~Registry() () at /usr/lib64/libKF5WaylandClient.so.5 #4 0x00007ffff0ec4fc9 in KWayland::Client::Registry::~Registry() () at /usr/lib64/libKF5WaylandClient.so.5 #5 0x00007fffee17702b in QObjectPrivate::deleteChildren() () at /usr/lib64/libQt5Core.so.5 #6 0x00007fffee18038b in QObject::~QObject() () at /usr/lib64/libQt5Core.so.5 #7 0x00007fffdddd55ff in Breeze::ShadowHelper::~ShadowHelper() () at /usr/lib64/qt5/plugins/styles/breeze.so #8 0x00007fffdddd5620 in Breeze::ShadowHelper::~ShadowHelper() () at /usr/lib64/qt5/plugins/styles/breeze.so #9 0x00007fffddddb6d8 in Breeze::Style::~Style() () at /usr/lib64/qt5/plugins/styles/breeze.so #10 0x00007fffddddb73c in Breeze::Style::~Style() () at /usr/lib64/qt5/plugins/styles/breeze.so #11 0x00007fffeeed1275 in QApplication::~QApplication() () at /usr/lib64/libQt5Widgets.so.5 #12 0x00007ffff78f6960 in KWin::Application::~Application() () at /usr/lib64/libkwin.so.5 #13 0x000000000040899a in KWin::ApplicationWayland::~ApplicationWayland() () #14 0x000000000040d690 in main () and you also use KWayland master? (In reply to Martin Flöser from comment #6) > and you also use KWayland master? No, 5.36. I'll try it with master. (In reply to Fabian Vogt from comment #7) > (In reply to Martin Flöser from comment #6) > > and you also use KWayland master? > > No, 5.36. I'll try it with master. Still happens. Thanks for testing, that's weird Is this still the case? With the tests which should trigger the Breeze shadow I'm not able to trigger any crash. (In reply to Martin Flöser from comment #10) > Is this still the case? With the tests which should trigger the Breeze > shadow I'm not able to trigger any crash. I haven't seen it in a while, but that might be a coincidence. Assuming fixed. If it happens again, please reopen. |