Bug 391263 - [Activity Pager - wayland] - creates a crash on Exit
Summary: [Activity Pager - wayland] - creates a crash on Exit
Status: RESOLVED DUPLICATE of bug 390151
Alias: None
Product: plasmashell
Classification: Plasma
Component: Pager (show other bugs)
Version: 5.12.2
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-01 19:14 UTC by Michail Vourlakos
Modified: 2018-03-29 14:50 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 Michail Vourlakos 2018-03-01 19:14:53 UTC
The following crash was discovered from Latte under wayland. Latte was crashing on exit because of the Activity Pager. Activity Pager is using a Wayland::PlasmaWindowManagement faulty!

Latte has the same issue, it is parenting the PlasmaWindowManagement at an object that isnt deleted when closing the application, as such KWayland does not get a signal to delete that PlasmaWindowManagement. This isnt happening with libtaskmanager and I must rework the Latte Wayland WindowManagement (I wasnt resposible for that code in Latte v0.7)

the ActivityPager backtrace is the following:

Application: Latte Dock (latte-dock), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f99891988c0 (LWP 7943))]

Thread 1 (Thread 0x7f99891988c0 (LWP 7943)):
[KCrash Handler]
#4  0x00007f998096e5b9 in ?? () from /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#5  0x00007f998096a7be in wl_proxy_destroy () from /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#6  0x00007f99882ddbd7 in KWayland::Client::PlasmaWindow::release() () from /usr/lib/x86_64-linux-gnu/libKF5WaylandClient.so.5
#7  0x00007f99882ddbfa in KWayland::Client::PlasmaWindow::~PlasmaWindow() () from /usr/lib/x86_64-linux-gnu/libKF5WaylandClient.so.5
#8  0x00007f99882ddce9 in KWayland::Client::PlasmaWindow::~PlasmaWindow() () from /usr/lib/x86_64-linux-gnu/libKF5WaylandClient.so.5
#9  0x00007f998397df73 in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f9983987e94 in QObject::~QObject() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f99882de289 in KWayland::Client::PlasmaWindowManagement::~PlasmaWindowManagement() () from /usr/lib/x86_64-linux-gnu/libKF5WaylandClient.so.5
#12 0x00007f998397df73 in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f9983987e94 in QObject::~QObject() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f99642126a3 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemKWaylandPlugin.so
#15 0x00007f9982a96ff8 in __run_exit_handlers (status=0, listp=0x7f9982e215f8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#16 0x00007f9982a97045 in __GI_exit (status=<optimized out>) at exit.c:104
#17 0x00007f9982a7d837 in __libc_start_main (main=0x43cdd0 <main>, argc=2, argv=0x7ffe94c6fdb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe94c6fda8) at ../csu/libc-start.c:325
#18 0x000000000043ece9 in _start ()
Comment 1 Christoph Feck 2018-03-29 14:50:22 UTC
If you can reproduce, please install debug symbols for kwayland and libwayland and add an updated backtrace to bug 390151.

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