https://bugs.kde.org/show_bug.cgi?id=492378
Bug ID: 492378 Summary: kde connect daemon crash on fedora 40 KDE 6 Classification: Applications Product: kdeconnect Version: 24.08.0 Platform: Fedora RPMs OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: common Assignee: albertv...@gmail.com Reporter: efedagl...@gmail.com CC: andrew.g.r.hol...@gmail.com Target Milestone: --- Application: kdeconnectd (24.08.0) Qt Version: 6.7.2 Frameworks Version: 6.5.0 Operating System: Linux 6.10.6-200.fc40.x86_64 x86_64 Windowing System: X11 Distribution: "Fedora Linux 40 (KDE Plasma)" DrKonqi: 6.1.4 [CoredumpBackend] -- Information about the crash: KDE connect daemon crashes on its own when im not using it The crash can be reproduced sometimes. -- Backtrace: Application: KDE Connect Daemon (kdeconnectd), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>} [New LWP 3135] [New LWP 3224] [New LWP 3314] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/usr/bin/kdeconnectd'. Program terminated with signal SIGSEGV, Segmentation fault. #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0; [Current thread is 1 (Thread 0x7f9e67bedb00 (LWP 3135))] Cannot QML trace cores :( [Current thread is 1 (Thread 0x7f9e67bedb00 (LWP 3135))] Thread 3 (Thread 0x7f9e594006c0 (LWP 3314)): #0 0x00007f9e6bf1c87d in __GI___poll (fds=fds@entry=0x7f9e593ff968, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f9e6a6d7072 in poll (__fds=0x7f9e593ff968, __nfds=1, __timeout=-1) at /usr/include/bits/poll2.h:39 #2 _xcb_conn_wait (c=c@entry=0x557f07edfb20, vector=vector@entry=0x0, count=count@entry=0x0, cond=<optimized out>) at /usr/src/debug/libxcb-1.17.0-1.fc40.x86_64/src/xcb_conn.c:510 #3 0x00007f9e6a6d8c8c in _xcb_conn_wait (c=0x557f07edfb20, cond=0x557f07edfb60, vector=0x0, count=0x0) at /usr/src/debug/libxcb-1.17.0-1.fc40.x86_64/src/xcb_conn.c:476 #4 xcb_wait_for_event (c=0x557f07edfb20) at /usr/src/debug/libxcb-1.17.0-1.fc40.x86_64/src/xcb_in.c:703 #5 0x00007f9e59f9ef08 in QXcbEventQueue::run (this=0x557f07ed9560) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/plugins/platforms/xcb/qxcbeventqueue.cpp:192 #6 0x00007f9e6c75463c in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:326 #7 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:262 #8 QThreadPrivate::start (arg=0x557f07ed9560) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:285 #9 0x00007f9e6bea66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447 #10 0x00007f9e6bf2a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 2 (Thread 0x7f9e59e006c0 (LWP 3224)): #0 0x00007f9e6bf1c87d in __GI___poll (fds=0x557f085af910, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f9e6b3b5c34 in g_main_context_poll_unlocked (priority=2147483647, context=0x7f9e54000c80, timeout=<optimized out>, fds=0x557f085af910, n_fds=4) at ../glib/gmain.c:4521 #2 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f9e54000c80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4212 #3 0x00007f9e6b355383 in g_main_context_iteration (context=0x7f9e54000c80, may_block=1) at ../glib/gmain.c:4282 #4 0x00007f9e6c8850a3 in QEventDispatcherGlib::processEvents (this=0x7f9e54000b70, flags=...) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394 #5 0x00007f9e6c5a3b03 in QEventLoop::exec (this=this@entry=0x7f9e59dffa20, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/global/qflags.h:34 #6 0x00007f9e6c6b7e4f in QThread::exec (this=this@entry=0x7f9e6debfcc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/global/qflags.h:74 #7 0x00007f9e6de30e41 in QDBusConnectionManager::run (this=0x7f9e6debfcc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/dbus/qdbusconnectionmanager.cpp:144 #8 0x00007f9e6c75463c in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:326 #9 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:262 #10 QThreadPrivate::start (arg=0x7f9e6debfcc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:285 #11 0x00007f9e6bea66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447 #12 0x00007f9e6bf2a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 1 (Thread 0x7f9e67bedb00 (LWP 3135)): [KCrash Handler] #5 0x00007f9e6c70653a in QArrayDataPointer<QRingChunk>::constEnd (this=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/tools/qarraydatapointer.h:127 #6 QList<QRingChunk>::end (this=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/tools/qlist.h:615 #7 QList<QRingChunk>::constLast (this=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/tools/qlist.h:636 #8 QRingBuffer::chop (this=0x0, bytes=16384) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/tools/qringbuffer.cpp:170 #9 0x00007f9e6c55a100 in QIODevicePrivate::QRingBufferRef::chop (this=0x557f0803ee30, bytes=16384) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/io/qiodevice_p.h:73 #10 QIODevicePrivate::read (this=0x557f0803eda0, data=0x7ffcfeef9647 "", maxSize=<optimized out>, peeking=false) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/io/qiodevice.cpp:1100 #11 0x00007f9e6c55b3a0 in QIODevice::readLineData (this=this@entry=0x557f082632f0, data=<optimized out>, data@entry=0x557f08272e90 "", maxSize=maxSize@entry=16384) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/io/qiodevice.cpp:1507 #12 0x00007f9e6c55b5fe in QIODevicePrivate::readLine (this=this@entry=0x557f0803eda0, data=0x557f08272e90 "", maxSize=16384, maxSize@entry=16385) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/io/qiodevice.cpp:1395 #13 0x00007f9e6c55b9f6 in QIODevice::readLine (this=<optimized out>, maxSize=9223372036854775781, maxSize@entry=0) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/tools/qarraydatapointer.h:119 #14 0x00007f9e6e261e75 in BluetoothLinkProvider::serverDataReceived (this=0x557f081bc5a0, peer=..., socket=...) at /usr/include/qt6/QtCore/qsharedpointer_impl.h:274 #15 0x00007f9e6e262724 in operator() (__closure=0x557f082641a0) at /usr/src/debug/kde-connect-24.08.0-1.fc40.x86_64/core/backends/bluetooth/bluetoothlinkprovider.cpp:259 #16 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, BluetoothLinkProvider::serverNewConnection()::<lambda()> >::call (f=..., arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:137 #17 QtPrivate::FunctorCallable<BluetoothLinkProvider::serverNewConnection()::<lambda()> >::call<QtPrivate::List<>, void> (f=..., arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:345 #18 QtPrivate::QCallableObject<BluetoothLinkProvider::serverNewConnection()::<lambda()>, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x557f08264190, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:555 #19 0x00007f9e6c5fc872 in QtPrivate::QSlotObjectBase::call (this=0x557f08264190, r=<optimized out>, a=0x7ffcfeef9988) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469 #20 doActivate<false> (sender=0x557f082632f0, signal_index=3, argv=0x7ffcfeef9988) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qobject.cpp:4086 #21 0x00007f9e6c5fc872 in QtPrivate::QSlotObjectBase::call (this=0x557f0824a4a0, r=<optimized out>, a=0x7ffcfeef9a68) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469 #22 doActivate<false> (sender=0x557f081d2590, signal_index=5, argv=0x7ffcfeef9a68) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qobject.cpp:4086 #23 0x00007f9e6c5f2b47 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f9e6e29bd60 <MultiplexChannelState::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qobject.cpp:4146 #24 0x00007f9e6e24f35a in MultiplexChannelState::readyRead (this=<optimized out>) at /usr/src/debug/kde-connect-24.08.0-1.fc40.x86_64/redhat-linux-build/core/kdeconnectcore_autogen/include/moc_multiplexchannelstate.cpp:215 #25 MultiplexChannel::disconnect (this=0x557f082632f0) at /usr/src/debug/kde-connect-24.08.0-1.fc40.x86_64/core/backends/bluetooth/multiplexchannel.cpp:35 #26 0x00007f9e6c5fc872 in QtPrivate::QSlotObjectBase::call (this=0x557f081cf250, r=<optimized out>, a=0x7ffcfeef9b68) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469 #27 doActivate<false> (sender=0x557f081d2590, signal_index=8, argv=0x7ffcfeef9b68) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qobject.cpp:4086 #28 0x00007f9e6c5f2b47 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f9e6e29bd60 <MultiplexChannelState::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x0) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qobject.cpp:4146 #29 0x00007f9e6e250d15 in MultiplexChannelState::disconnected (this=<optimized out>) at /usr/src/debug/kde-connect-24.08.0-1.fc40.x86_64/redhat-linux-build/core/kdeconnectcore_autogen/include/moc_multiplexchannelstate.cpp:234 #30 ConnectionMultiplexer::disconnected (this=0x557f081c5930) at /usr/src/debug/kde-connect-24.08.0-1.fc40.x86_64/core/backends/bluetooth/connectionmultiplexer.cpp:80 #31 0x00007f9e6c5fc872 in QtPrivate::QSlotObjectBase::call (this=0x557f07f13210, r=<optimized out>, a=0x7ffcfeef9c98) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469 #32 doActivate<false> (sender=0x557f08221720, signal_index=10, argv=0x7ffcfeef9c98) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qobject.cpp:4086 #33 0x00007f9e6cb82dab in QBluetoothSocketPrivateBluez::abort (this=0x557f08247920) at /usr/src/debug/qt6-qtconnectivity-6.7.2-1.fc40.x86_64/src/bluetooth/qbluetoothsocket_bluez.cpp:381 #34 0x00007f9e6c5fcbe0 in doActivate<false> (sender=0x557f07f12da0, signal_index=3, argv=0x7ffcfeef9e00) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qobject.cpp:4098 #35 0x00007f9e6c5f2b47 in QMetaObject::activate (sender=sender@entry=0x557f07f12da0, m=m@entry=0x7f9e6ca8afa0 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcfeef9e00) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qobject.cpp:4146 #36 0x00007f9e6c60a4cd in QSocketNotifier::activated (this=this@entry=0x557f07f12da0, _t1=..., _t2=<optimized out>, _t3=...) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qsocketnotifier.cpp:195 #37 0x00007f9e6c60acdb in QSocketNotifier::event (this=0x557f07f12da0, e=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qsocketnotifier.cpp:327 #38 0x00007f9e6d78b218 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x557f07f12da0, e=0x7ffcfeef9f50) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287 #39 0x00007f9e6c596dc8 in QCoreApplication::notifyInternal2 (receiver=0x557f07f12da0, event=0x7ffcfeef9f50) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1142 #40 0x00007f9e6c59702d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1583 #41 0x00007f9e6c8862af in socketNotifierSourceDispatch (source=0x557f07f8e480) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:75 #42 0x00007f9e6b353e8c in g_main_dispatch (context=0x7f9e54000f00) at ../glib/gmain.c:3344 #43 g_main_context_dispatch_unlocked (context=0x7f9e54000f00) at ../glib/gmain.c:4152 #44 0x00007f9e6b3b5c98 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f9e54000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4217 #45 0x00007f9e6b355383 in g_main_context_iteration (context=0x7f9e54000f00, may_block=1) at ../glib/gmain.c:4282 #46 0x00007f9e6c8850a3 in QEventDispatcherGlib::processEvents (this=0x557f07fdf050, flags=...) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394 #47 0x00007f9e6c5a3b03 in QEventLoop::exec (this=this@entry=0x7ffcfeefa1f0, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/global/qflags.h:34 #48 0x00007f9e6c59f9bc in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/global/qflags.h:74 #49 0x00007f9e6cdd67ed in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:1926 #50 0x00007f9e6d78b189 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/widgets/kernel/qapplication.cpp:2555 #51 0x0000557edff93378 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-connect-24.08.0-1.fc40.x86_64/daemon/kdeconnectd.cpp:196 Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.