Bug 410631

Summary: kwin_wayland crashed on logout
Product: [Plasma] kwin Reporter: Patrick Silva <bugseforuns>
Component: platform-wayland-nestedAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash    
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2019-08-05 22:26:36 UTC
SUMMARY
sometimes kwin_wayland crashes wheen I try to do logout after I open the network editor via right click on network icon in systray and selecting "Configure network connections..."

Operating System: Ubuntu 18.04.3 LTS (Bionic Beaver)
KDE Plasma Version: 5.16.80
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.3


Thread 8 (Thread 1243.1369):
#0  0x00007f6c05ac49f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f6c0349efb8)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f6c0349ef68, cond=0x7f6c0349ef90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f6c0349ef90, mutex=0x7f6c0349ef68) at pthread_cond_wait.c:655
#3  0x00007f6c031a8844 in ?? () from target:/usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f6c031a8889 in ?? () from target:/usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f6c05abe6db in start_thread (arg=0x7f6bc68bb700) at pthread_create.c:463
#6  0x00007f6c03b2788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 1243.1367):
#0  0x00007f6c03b1abf9 in __GI___poll (fds=0x7f6bc0004660, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6bfa9a05c9 in ?? () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6bfa9a06dc in g_main_context_iteration () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c04685daf in QEventDispatcherGlib::processEvents (this=0x7f6bc0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007f6c0462703a in QEventLoop::exec (this=this@entry=0x7f6bd2484d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f6c0444e4ca in QThread::exec (this=this@entry=0x55cfe3746b70) at thread/qthread.cpp:531
#6  0x00007f6bff003115 in QQmlThreadPrivate::run (this=0x55cfe3746b70) at qml/ftw/qqmlthread.cpp:148
#7  0x00007f6c0444fc72 in QThreadPrivate::start (arg=0x55cfe3746b70) at thread/qthread_unix.cpp:361
#8  0x00007f6c05abe6db in start_thread (arg=0x7f6bd2485700) at pthread_create.c:463
#9  0x00007f6c03b2788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 1243.1340):
#0  0x00007f6c03b1abf9 in __GI___poll (fds=0x7f6bd80046c0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6bfa9a05c9 in ?? () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6bfa9a06dc in g_main_context_iteration () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c04685daf in QEventDispatcherGlib::processEvents (this=0x7f6bd8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007f6c0462703a in QEventLoop::exec (this=this@entry=0x7f6be719dd20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f6c0444e4ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007f6c0444fc72 in QThreadPrivate::start (arg=0x55cfe30e1fc0) at thread/qthread_unix.cpp:361
#7  0x00007f6c05abe6db in start_thread (arg=0x7f6be719e700) at pthread_create.c:463
#8  0x00007f6c03b2788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 1243.1338):
#0  0x00007f6c03b1abf9 in __GI___poll (fds=0x7f6be8016d60, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6bfa9a05c9 in ?? () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6bfa9a06dc in g_main_context_iteration () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c04685daf in QEventDispatcherGlib::processEvents (this=0x7f6be8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007f6c0462703a in QEventLoop::exec (this=this@entry=0x7f6bec86fcf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f6c0444e4ca in QThread::exec (
    this=this@entry=0x7f6c05ab5d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:531
#6  0x00007f6c0583e015 in QDBusConnectionManager::run (
    this=0x7f6c05ab5d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007f6c0444fc72 in QThreadPrivate::start (
    arg=0x7f6c05ab5d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#8  0x00007f6c05abe6db in start_thread (arg=0x7f6bec870700) at pthread_create.c:463
#9  0x00007f6c03b2788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 1243.1243):
#0  0x00007f6be531c170 in ?? () from target:/usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0
#1  0x00007f6be5319151 in ?? () from target:/usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0
#2  0x00007f6be531f2c9 in ?? () from target:/usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0
#3  0x00007f6be530c7cc in eglTerminate () from target:/usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0
#4  0x00007f6c0716ab24 in KWin::Platform::~Platform() () from target:/usr/lib/x86_64-linux-gnu/libkwin.so.5
#5  0x00007f6be7dd6479 in KWin::DrmBackend::~DrmBackend() ()
   from target:/usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.waylandbackends/KWinWaylandDrmBackend.so
#6  0x00007f6c046563bb in QObjectPrivate::deleteChildren (this=this@entry=0x55cfe307dcc0) at kernel/qobject.cpp:2010
#7  0x00007f6c0465fffb in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#8  0x00007f6c0462b2e6 in QCoreApplication::~QCoreApplication (this=0x7ffec9b74010, __in_chrg=<optimized out>)
    at kernel/qcoreapplication.cpp:893
#9  0x00007f6bfd80e5e3 in QGuiApplication::~QGuiApplication (this=0x7ffec9b74010, __in_chrg=<optimized out>)
    at kernel/qguiapplication.cpp:641
#10 0x00007f6c04c3b0b9 in QApplication::~QApplication (this=0x7ffec9b74010, __in_chrg=<optimized out>) at kernel/qapplication.cpp:790
#11 0x000055cfe20c05f4 in main (argc=<optimized out>, argv=<optimized out>) at ./main_wayland.cpp:406
Desanexando do programa: target:/usr/bin/kwin_wayland, process 1243
Ending remote debugging.
Comment 1 Vlad Zahorodnii 2019-09-06 08:53:25 UTC
Please report this bug to Mesa developers.