Application: kdeinit5 (kdeinit5), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". 29 return SYSCALL_CANCEL (wait4, pid, stat_loc, options, NULL); [Current thread is 1 (Thread 0x7fa13017c8c0 (LWP 1194))] Thread 5 (Thread 0x7fa0f8ea0700 (LWP 1372)): #0 0x00007fa1290707f9 in g_mutex_lock (mutex=mutex@entry=0x7fa0e4000990) at gthread-posix.c:1336 #1 0x00007fa12902b258 in g_main_context_iteration (context=0x7fa0e4000990, may_block=may_block@entry=1) at gmain.c:3989 #2 0x00007fa12e54cd8b in QEventDispatcherGlib::processEvents (this=0x7fa0e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #3 0x00007fa12e4fe0ba in QEventLoop::exec (this=this@entry=0x7fa0f8e9fd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210 #4 0x00007fa12e35b643 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507 #5 0x00007fa12e35fa1a in QThreadPrivate::start (arg=0x55647ef325a0) at thread/qthread_unix.cpp:344 #6 0x00007fa12cf8e6ca in start_thread (arg=0x7fa0f8ea0700) at pthread_create.c:333 #7 0x00007fa12d752f6f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105 Thread 4 (Thread 0x7fa0fbfff700 (LWP 1205)): #0 g_mutex_unlock (mutex=0x55647ef05050) at gthread-posix.c:1348 #1 0x00007fa12902a097 in g_main_context_acquire (context=context@entry=0x55647ef05050) at gmain.c:3283 #2 0x00007fa12902b005 in g_main_context_iterate (context=0x55647ef05050, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3879 #3 0x00007fa12902b4e2 in g_main_loop_run (loop=0x55647ef03050) at gmain.c:4125 #4 0x00007fa11a75f946 in gdbus_shared_thread_func (user_data=0x55647ef03540) at gdbusprivate.c:247 #5 0x00007fa129052b03 in g_thread_proxy (data=0x55647ef048a0) at gthread.c:784 #6 0x00007fa12cf8e6ca in start_thread (arg=0x7fa0fbfff700) at pthread_create.c:333 #7 0x00007fa12d752f6f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105 Thread 3 (Thread 0x7fa103c69700 (LWP 1204)): #0 0x00007fa12d74700d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fa12902b156 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa0fc0008c0, timeout=<optimized out>, context=0x55647ef02d30) at gmain.c:4228 #2 g_main_context_iterate (context=context@entry=0x55647ef02d30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3924 #3 0x00007fa12902b26c in g_main_context_iteration (context=0x55647ef02d30, may_block=may_block@entry=1) at gmain.c:3990 #4 0x00007fa12902b2b1 in glib_worker_main (data=<optimized out>) at gmain.c:5783 #5 0x00007fa129052b03 in g_thread_proxy (data=0x55647ef04850) at gthread.c:784 #6 0x00007fa12cf8e6ca in start_thread (arg=0x7fa103c69700) at pthread_create.c:333 #7 0x00007fa12d752f6f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105 Thread 2 (Thread 0x7fa10cf4c700 (LWP 1199)): #0 g_source_iter_next (iter=iter@entry=0x7fa10cf4bb00, source=source@entry=0x7fa10cf4baf8) at gmain.c:950 #1 0x00007fa12902a63b in g_main_context_prepare (context=context@entry=0x7fa108000990, priority=priority@entry=0x7fa10cf4bb80) at gmain.c:3479 #2 0x00007fa12902b07b in g_main_context_iterate (context=context@entry=0x7fa108000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3909 #3 0x00007fa12902b26c in g_main_context_iteration (context=0x7fa108000990, may_block=may_block@entry=1) at gmain.c:3990 #4 0x00007fa12e54cd8b in QEventDispatcherGlib::processEvents (this=0x7fa1080008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #5 0x00007fa12e4fe0ba in QEventLoop::exec (this=this@entry=0x7fa10cf4bcc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210 #6 0x00007fa12e35b643 in QThread::exec (this=this@entry=0x7fa1302b3060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507 #7 0x00007fa13023d7a9 in QDBusConnectionManager::run (this=0x7fa1302b3060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:196 #8 0x00007fa12e35fa1a in QThreadPrivate::start (arg=0x7fa1302b3060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:344 #9 0x00007fa12cf8e6ca in start_thread (arg=0x7fa10cf4c700) at pthread_create.c:333 #10 0x00007fa12d752f6f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105 Thread 1 (Thread 0x7fa13017c8c0 (LWP 1194)): [KCrash Handler] #5 std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=<error reading variable: Cannot access memory at address 0x30>) at /usr/include/c++/6.2.1/bits/atomic_base.h:396 #6 QAtomicOps<int>::load<int> (_q_value=<error reading variable: Cannot access memory at address 0x30>) at /usr/include/qt5/QtCore/qatomic_cxx11.h:103 #7 QBasicAtomicInteger<int>::load (this=<error reading variable: Cannot access memory at address 0x30>) at /usr/include/qt5/QtCore/qbasicatomic.h:99 #8 QtPrivate::RefCount::isShared (this=<error reading variable: Cannot access memory at address 0x30>) at /usr/include/qt5/QtCore/qrefcount.h:101 #9 QMap<QString, KDirWatchPrivate::Entry>::detach (this=0x30) at /usr/include/qt5/QtCore/qmap.h:366 #10 0x00007fa12d3e6296 in QMap<QString, KDirWatchPrivate::Entry>::begin (this=0x30) at /usr/include/qt5/QtCore/qmap.h:554 #11 KDirWatchPrivate::removeEntries (this=0x0, instance=instance@entry=0x7fa12d6490b0 <(anonymous namespace)::Q_QGS_s_pKDirWatchSelf::innerFunction()::holder>) at /usr/src/debug/kcoreaddons-5.27.0/src/lib/io/kdirwatch.cpp:1103 #12 0x00007fa12d3e659f in KDirWatch::~KDirWatch (this=0x7fa12d6490b0 <(anonymous namespace)::Q_QGS_s_pKDirWatchSelf::innerFunction()::holder>, __in_chrg=<optimized out>) at /usr/src/debug/kcoreaddons-5.27.0/src/lib/io/kdirwatch.cpp:1882 #13 0x00007fa12d3e65b9 in (anonymous namespace)::Q_QGS_s_pKDirWatchSelf::Holder::~Holder (this=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/kcoreaddons-5.27.0/src/lib/io/kdirwatch.cpp:1846 #14 0x00007fa12d685420 in __run_exit_handlers (status=status@entry=1, listp=0x7fa12da0b5b8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:83 #15 0x00007fa12d68547a in __GI_exit (status=status@entry=1) at exit.c:105 #16 0x00007fa12f708c65 in _XDefaultIOError (dpy=dpy@entry=0x55647f266910) at XlibInt.c:1263 #17 0x00007fa11e6a862e in ioErrorHandler (dpy=0x55647f266910) at qxcbconnection.cpp:165 #18 0x00007fa12f708e9e in _XIOError (dpy=dpy@entry=0x55647f266910) at XlibInt.c:1469 #19 0x00007fa12f7061b8 in require_socket (dpy=0x55647f266910) at xcb_io.c:70 #20 0x00007fa12f706995 in require_socket (dpy=0x55647f266910) at xcb_io.c:505 #21 _XFlush (dpy=0x55647f266910) at xcb_io.c:502 #22 0x00007fa12f709525 in _XGetRequest (dpy=dpy@entry=0x55647f266910, type=type@entry=60 '<', len=len@entry=8) at XlibInt.c:1707 #23 0x00007fa12f6e9dc7 in XFreeGC (dpy=dpy@entry=0x55647f266910, gc=0x55647f271b80) at FreeGC.c:43 #24 0x00007fa12f6e392c in XCloseDisplay (dpy=0x55647f266910) at ClDisplay.c:56 #25 0x00007fa0d4e90bbc in XlibBackend::~XlibBackend() () from /usr/lib64/qt5/plugins/kded_touchpad.so #26 0x00007fa0d4e90c09 in XlibBackend::~XlibBackend() () from /usr/lib64/qt5/plugins/kded_touchpad.so #27 0x00007fa0d4e77a9e in QThreadStorage<QSharedPointer<XlibBackend> >::deleteData(void*) () from /usr/lib64/qt5/plugins/kded_touchpad.so #28 0x00007fa12e35dee2 in QThreadStorageData::finish (p=0x55647ecfdc40) at thread/qthreadstorage.cpp:201 #29 0x00007fa12e500e3c in QCoreApplicationPrivate::cleanupThreadData (this=this@entry=0x55647ed14120) at kernel/qcoreapplication.cpp:462 #30 0x00007fa12e836648 in QGuiApplicationPrivate::~QGuiApplicationPrivate (this=0x55647ed14120, __in_chrg=<optimized out>) at kernel/qguiapplication.cpp:1481 #31 0x00007fa12ed46269 in QApplicationPrivate::~QApplicationPrivate (this=0x55647ed14120, __in_chrg=<optimized out>) at kernel/qapplication.cpp:199 #32 0x00007fa12e52dc17 in QScopedPointerDeleter<QObjectData>::cleanup (pointer=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:60 #33 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer (this=0x7fffb52be918, __in_chrg=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:107 #34 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:900 #35 0x00007fa12e50594c in QCoreApplication::~QCoreApplication (this=0x7fffb52be910, __in_chrg=<optimized out>) at kernel/qcoreapplication.cpp:821 #36 0x00007fa12e8364b4 in QGuiApplication::~QGuiApplication (this=0x7fffb52be910, __in_chrg=<optimized out>) at kernel/qguiapplication.cpp:595 #37 0x00007fa12ed483df in QApplication::~QApplication (this=0x7fffb52be910, __in_chrg=<optimized out>) at kernel/qapplication.cpp:825 #38 0x00007fa11ec392a8 in kdemain () from /lib64/libkdeinit5_kded5.so #39 0x000055647cf6ff87 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) () #40 0x000055647cf6d26b in main ()
Your crashes are really curious. Are you using some unconventional X11 setup? Here, XCloseDisplay causes an X IO Error.
Ah wait, it is the touchpad kded module. You probably have an Wayland setup, but the touchpad module uses the XLib backend? Reassigning.
(In reply to Christoph Feck from comment #2) > Ah wait, it is the touchpad kded module. You probably have an Wayland setup, > but the touchpad module uses the XLib backend? Reassigning. Upon logout XlibBackend destructor causes XDisplayCleanup::cleanup() to trigger which simply calls XCloseDisplay() (in X11 library) to close the connection. But lower in the stack X11 gets _XIOError. I'm not sure why. Like Christoph asked, are you in [X]Wayland session?
(In reply to Rajeesh K V from comment #3) > (In reply to Christoph Feck from comment #2) > > Ah wait, it is the touchpad kded module. You probably have an Wayland setup, > > but the touchpad module uses the XLib backend? Reassigning. > > Upon logout XlibBackend destructor causes XDisplayCleanup::cleanup() to > trigger which simply calls XCloseDisplay() (in X11 library) to close the > connection. > But lower in the stack X11 gets _XIOError. I'm not sure why. > > Like Christoph asked, are you in [X]Wayland session? Definitely not, for now. It was ordinary X11 session.
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version? If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!