https://bugs.kde.org/show_bug.cgi?id=426293

            Bug ID: 426293
           Summary: All my Qt clients die when I disconnect my display
           Product: kwin
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: aleix...@kde.org
  Target Milestone: ---

Might be a bug in QtWayland/client, used to bring the whole session down, now
it's just Qt clients. Firefox and XWayland clients survive it.

Here's a backtrace for kwrite, but I'm pretty sure all other QtGui processes
crashed (I get like ~20 drkonqi SNI wanting attention).

Application: KWrite (kwrite), signal: Aborted
Content of s_kcrashErrorMessage: (null)
[New LWP 33411]
[New LWP 33412]
[New LWP 33413]
[New LWP 33414]
[New LWP 33415]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007fd14e36a46f in poll () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7fd14a3e7d40 (LWP 33408))]

Thread 6 (Thread 0x7fd13b159640 (LWP 33415)):
#0  0x00007fd14d73a6a2 in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x00007fd141d7290c in ?? () from /usr/lib/dri/iris_dri.so
#2  0x00007fd141d71308 in ?? () from /usr/lib/dri/iris_dri.so
#3  0x00007fd14d7343e9 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fd14e375293 in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7fd133159640 (LWP 33414)):
#0  0x00007fd14d73a6a2 in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x00007fd141d7290c in ?? () from /usr/lib/dri/iris_dri.so
#2  0x00007fd141d71308 in ?? () from /usr/lib/dri/iris_dri.so
#3  0x00007fd14d7343e9 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fd14e375293 in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7fd13b95a640 (LWP 33413)):
#0  0x00007fd14d73a6a2 in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x00007fd141d7290c in ?? () from /usr/lib/dri/iris_dri.so
#2  0x00007fd141d71308 in ?? () from /usr/lib/dri/iris_dri.so
#3  0x00007fd14d7343e9 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fd14e375293 in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fd13c15b640 (LWP 33412)):
#0  0x00007fd14d73a6a2 in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x00007fd141d7290c in ?? () from /usr/lib/dri/iris_dri.so
#2  0x00007fd141d71308 in ?? () from /usr/lib/dri/iris_dri.so
#3  0x00007fd14d7343e9 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fd14e375293 in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fd148dab640 (LWP 33411)):
#0  0x00007fd14e36a46f in poll () from /usr/lib/libc.so.6
#1  0x00007fd14af60168 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fd14af11221 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#3  0x00007fd14eaafa9b in QEventDispatcherGlib::processEvents
(this=0x7fd144000b60, flags=...) at
/home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fd14ea56eeb in QEventLoop::exec (this=this@entry=0x7fd148daabf0,
flags=..., flags@entry=...) at
../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/global/qflags.h:141
#5  0x00007fd14e877b8e in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/global/qflags.h:121
#6  0x00007fd14ed48a27 in QDBusConnectionManager::run (this=0x7fd14edb5d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
/home/apol/devel/frameworks/qt5/qtbase/src/dbus/qdbusconnection.cpp:179
#7  0x00007fd14e878cd1 in QThreadPrivate::start (arg=0x7fd14edb5d80 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
/home/apol/devel/frameworks/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:329
#8  0x00007fd14d7343e9 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007fd14e375293 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fd14a3e7d40 (LWP 33408)):
[KCrash Handler]
#5  0x00007fd14e2b2615 in raise () from /usr/lib/libc.so.6
#6  0x00007fd14e29b862 in abort () from /usr/lib/libc.so.6
#7  0x00007fd14e83dc41 in qt_message_fatal (message=<synthetic pointer>...,
context=...) at
/home/apol/devel/frameworks/qt5/qtbase/src/corelib/global/qlogging.cpp:1914
#8  QMessageLogger::fatal (this=this@entry=0x7ffd81cbcf60,
msg=msg@entry=0x7fd149e3a0f8 "The Wayland connection experienced a fatal error:
%s") at
/home/apol/devel/frameworks/qt5/qtbase/src/corelib/global/qlogging.cpp:893
#9  0x00007fd149dc3d80 in QtWaylandClient::QWaylandDisplay::checkError
(this=<optimized out>) at
/home/apol/build-devel/qt5/qtbase/include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/global/qlogging.h:90
#10 0x00007fd149dc3dce in QtWaylandClient::QWaylandDisplay::flushRequests
(this=0x5609c7b87860) at
/home/apol/devel/frameworks/qt5/qtwayland/src/client/qwaylanddisplay.cpp:222
#11 0x00007fd14ea8eb40 in doActivate<false> (sender=0x5609c7bc4170,
signal_index=3, argv=argv@entry=0x7ffd81cbd0a0) at
../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:395
#12 0x00007fd14ea87e60 in QMetaObject::activate
(sender=sender@entry=0x5609c7bc4170, m=m@entry=0x7fd14ed28140
<QSocketNotifier::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd81cbd0a0)
at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:3946
#13 0x00007fd14ea91f3f in QSocketNotifier::activated
(this=this@entry=0x5609c7bc4170, _t1=..., _t2=<optimized out>, _t3=...) at
.moc/moc_qsocketnotifier.cpp:178
#14 0x00007fd14ea9273b in QSocketNotifier::event (this=0x5609c7bc4170,
e=0x7ffd81cbd1b0) at
/home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qsocketnotifier.cpp:302
#15 0x00007fd14f5e714f in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x5609c7bc4170, e=0x7ffd81cbd1b0) at
/home/apol/devel/frameworks/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3630
#16 0x00007fd14ea5852a in QCoreApplication::notifyInternal2
(receiver=0x5609c7bc4170, event=0x7ffd81cbd1b0) at
../../include/QtCore/5.15.1/QtCore/private/../../../../../../../../devel/frameworks/qt5/qtbase/src/corelib/thread/qthread_p.h:325
#17 0x00007fd14eab0635 in socketNotifierSourceDispatch (source=0x5609c7bc6c80)
at
/home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:107
#18 0x00007fd14af1243c in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#19 0x00007fd14af601d9 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x00007fd14af11221 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#21 0x00007fd14eaafa7f in QEventDispatcherGlib::processEvents
(this=0x5609c7bc4a90, flags=...) at
/home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#22 0x00007fd14ea56eeb in QEventLoop::exec (this=this@entry=0x7ffd81cbd3c0,
flags=..., flags@entry=...) at
../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/global/qflags.h:141
#23 0x00007fd14ea5f160 in QCoreApplication::exec () at
../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/global/qflags.h:121
#24 0x00005609c6416fe6 in main (argc=1, argv=0x7ffd81cbd668) at
/home/apol/devel/frameworks/kate/kwrite/main.cpp:329
[Inferior 1 (process 33408) detached]

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

Reply via email to