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

            Bug ID: 520439
           Summary: KDE Connect crashes on closing settings
    Classification: Applications
           Product: kdeconnect
      Version First 26.04.1
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: desktop-application
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION

When KDE Connect settings window is closed, it crashes.

STEPS TO REPRODUCE
1. In system tray, open kde connect widget, then click on settings
2. In the app, click on "settings" button
3. In settings, click "close" button

OBSERVED RESULT

App crashes after a second or two

EXPECTED RESULT
No crash

SOFTWARE/OS VERSIONS
Operating System: KDE Linux 2026-05-18
KDE Plasma Version: 6.6.90
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 7.0.7-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600

ADDITIONAL INFORMATION
Backtrace

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 0x7ff9130f9c00 (LWP 56561))]
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007ff918351363 in __pthread_kill_internal (threadid=<optimized out>,
signo=11) at pthread_kill.c:89
#2  0x00007ff9182f57d0 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007ff919fa2469 in KCrash::defaultCrashHandler (sig=11) at
/usr/src/debug/kde-banana-kcrash-git/kcrash/src/kcrash.cpp:623
#4  0x00007ff9182f58f0 in <signal handler called> () at /usr/lib/libc.so.6
#5  0x00007ff919bde331 in QScopedPointer<QObjectData,
QScopedPointerDeleter<QObjectData> >::get (this=0x8, this=<optimized out>)
    at /usr/include/qt6/QtCore/qscopedpointer.h:111
#6  qGetPtrHelper<QScopedPointer<QObjectData,
QScopedPointerDeleter<QObjectData> > > (ptr=..., ptr=<optimized out>)
    at /usr/include/qt6/QtCore/qtclasshelpermacros.h:138
#7  QObject::d_func (this=0x0, this=<optimized out>) at
/usr/include/qt6/QtCore/qobject.h:111
#8  QObjectPrivate::get (o=0x0, o=<optimized out>) at
/usr/include/qt6/QtCore/6.11.1/QtCore/private/qobject_p.h:161
#9  QQmlData::get (object=0x0, create=true, object=<optimized out>,
create=<optimized out>)
    at
/usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmldata_p.h:234
#10 QQmlPrivate::initObjectLookup<(QV4::Lookup::Call)49>
(aotContext=aotContext@entry=0x7ffde47f14f0,
lookup=lookup@entry=0x7ffde47f1270, object=0x0)
    at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqml.cpp:1725
#11 0x00007ff919bde710 in QQmlPrivate::AOTCompiledContext::storeNameSloppy
    (this=this@entry=0x7ffde47f14f0, nameIndex=nameIndex@entry=20,
value=value@entry=0x7ffde47f13d8, type=...)
    at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqml.cpp:1959
#12 0x00007ff909039989 in
QmlCacheGeneratedCode::_qt_qml_org_kde_kdeconnect_DBusProperty_qml::aotBuiltFunctions::{lambda(QQmlPrivate::AOTCompiledContext
const*, void**)#2}::operator()(QQmlPrivate::AOTCompiledContext const*, void**)
const (__closure=0x0, aotContext=0x7ffde47f14f0, argv=0x7ffde47f1780)
    at
/usr/src/debug/kde-banana-kdeconnect-kde-git/build/declarativeplugin/.rcc/qmlcache/kdeconnectdeclarativeplugin_qml/DBusProperty_qml.cpp:658
#13
QmlCacheGeneratedCode::_qt_qml_org_kde_kdeconnect_DBusProperty_qml::aotBuiltFunctions::{lambda(QQmlPrivate::AOTCompiledContext
const*, void**)#2}::_FUN(QQmlPrivate::AOTCompiledContext const*, void**) ()
    at
/usr/src/debug/kde-banana-kdeconnect-kde-git/build/declarativeplugin/.rcc/qmlcache/kdeconnectdeclarativeplugin_qml/DBusProperty_qml.cpp:669
#14 0x00007ff919ba72cb in operator() (argc=<optimized out>,
__closure=0x7ffde47f1580, argv=0x7ffde47f1780)
    at
/usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:452
#15 QV4::coerceAndCall<(anonymous namespace)::AOTCompiledMetaMethod,
QV4::Moth::VME::exec(QV4::MetaTypesStackFrame*,
QV4::ExecutionEngine*)::<lambda(void**, int)> >(QV4::ExecutionEngine *, const
(anonymous namespace)::AOTCompiledMetaMethod *, void **, const QMetaType *,
int, struct {...})
    (engine=engine@entry=0x55b8b8e45230,
typedFunction=typedFunction@entry=0x7ffde47f15c8, argv=<optimized out>,
types=<optimized out>, argc=<optimized out>, call=...) at
/usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4jscall_p.h:560
#16 0x00007ff919baf3fb in QV4::Moth::VME::exec (frame=<optimized out>,
engine=0x55b8b8e45230)
    at
/usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4stackframe_p.h:154
#17 0x00007ff919afdc36 in QV4::Moth::VME::exec (frame=0x7ffde47f1660,
engine=<optimized out>)
    at
/usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:419
#18 QV4::ArrowFunction::virtualCallWithMetaTypes
    (fo=fo@entry=0x7ff90a2014f8, thisObject=thisObject@entry=0x0,
a=a@entry=0x7ffde47f1780, types=types@entry=0x7ffde47f1760, argc=argc@entry=1)
    at
/usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:507
#19 0x00007ff919afe186 in operator() (__closure=<synthetic pointer>,
thisObject=0x0, a=0x7ffde47f1780, types=0x7ffde47f1760, argc=1)
    at
/usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:547
#20 QV4::convertAndCall<QV4::ArrowFunction::virtualCall(const
QV4::FunctionObject*, const QV4::Value*, const QV4::Value*,
int)::<lambda(QObject*, void**, const QMetaType*, int)> >(QV4::ExecutionEngine
*, const QV4::Function::AOTCompiledFunction *, const QV4::Value *, const
QV4::Value *, int, struct {...})
    (engine=<optimized out>, aotFunction=<optimized out>, thisObject=<optimized
out>, argv=<optimized out>, argc=<optimized out>, call=...)
    at
/usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4jscall_p.h:160
#21 0x00007ff919b40488 in QV4::QObjectSlotDispatcher::impl
    (which=<optimized out>, this_=<optimized out>, receiver=<optimized out>,
metaArgs=0x7ffde47f1b60, ret=<optimized out>)
    at
/usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4jscall_p.h:82
#22 0x00007ff91899781b in QtPrivate::QSlotObjectBase::call
    (this=0x55b8b9f091e0, r=<optimized out>, a=0x7ffde47f1b60, this=<optimized
out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:462
#23 doActivate<false> (sender=0x55b8b8e9a530, signal_index=3,
argv=0x7ffde47f1b60) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4372
#24 0x00007ff90904523b in QMetaObject::activate<void, QString>
    (sender=<optimized out>, mo=0x7ff9090935c0
<OrgKdeKdeconnectDaemonInterface::staticMetaObject>, local_signal_index=0,
ret=0x0)
    at /usr/include/qt6/QtCore/qobjectdefs.h:320
#25 OrgKdeKdeconnectDaemonInterface::announcedNameChanged (this=<optimized
out>, _t1=<optimized out>)
    at
/usr/src/debug/kde-banana-kdeconnect-kde-git/build/dbusinterfaces/generated/moc_daemoninterface.cpp:276
--Type <RET> for more, q to quit, c to continue without paging--c
#26 OrgKdeKdeconnectDaemonInterface::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=0x7ffde47f1d68)
    at
/usr/src/debug/kde-banana-kdeconnect-kde-git/build/dbusinterfaces/generated/moc_daemoninterface.cpp:168
#27 0x00007ff909045547 in OrgKdeKdeconnectDaemonInterface::qt_metacall
    (this=this@entry=0x55b8b8e9a530, _c=_c@entry=QMetaObject::InvokeMetaMethod,
_id=0, _a=_a@entry=0x7ffde47f1d68)
    at
/usr/src/debug/kde-banana-kdeconnect-kde-git/build/dbusinterfaces/generated/moc_daemoninterface.cpp:256
#28 0x00007ff909041a7f in DaemonDbusInterface::qt_metacall
(this=0x55b8b8e9a530, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>,
_a=0x7ffde47f1d68)
    at
/usr/src/debug/kde-banana-kdeconnect-kde-git/build/dbusinterfaces/kdeconnectdbusinterfaces_autogen/include/moc_dbusinterfaces.cpp:114
#29 0x00007ff91757bf89 in QDBusConnectionPrivate::deliverCall
(this=0x7ff90c001680, object=0x55b8b8e9a530, msg=..., metaTypes=<optimized
out>, slotIdx=5)
    at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1009
#30 0x00007ff91898ed46 in QObject::event (this=<optimized out>, e=<optimized
out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1479
#31 0x00007ff91a0b011f in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55b8b8e9a530, e=0x7ff90c017d40)
    at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3276
#32 0x00007ff91892a658 in QCoreApplication::notifyInternal2
(receiver=0x55b8b8e9a530, event=event@entry=0x7ff90c017d40)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1114
#33 0x00007ff91892aa61 in QCoreApplication::sendEvent (receiver=<optimized
out>, event=0x7ff90c017d40)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1559
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x55b8b8b02a90)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1914
#35 0x00007ff918c46c98 in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1767
#36 postEventSourceDispatch (s=0x55b8b8b0c730) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:248
#37 0x00007ff9170f3bfd in g_main_dispatch (context=0x7ff90c000f00) at
../glib/glib/gmain.c:3591
#38 0x00007ff9170f5e57 in g_main_context_dispatch_unlocked
(context=0x7ff90c000f00) at ../glib/glib/gmain.c:4451
#39 g_main_context_iterate_unlocked (context=context@entry=0x7ff90c000f00,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../glib/glib/gmain.c:4516
#40 0x00007ff9170f5fe5 in g_main_context_iteration (context=0x7ff90c000f00,
may_block=1) at ../glib/glib/gmain.c:4582
#41 0x00007ff918c440b2 in QEventDispatcherGlib::processEvents
(this=0x55b8b8b0c670, flags=...)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#42 0x00007ff918938983 in QEventLoop::processEvents (this=0x7ffde47f23c0,
flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:109
#43 QEventLoop::exec (this=0x7ffde47f23c0, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:198
#44 0x00007ff91892deaa in QCoreApplication::exec () at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1457
#45 0x00007ff91a0ac33a in QApplication::exec () at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2546
#46 0x000055b89f308fd2 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kde-banana-kdeconnect-kde-git/kdeconnect-kde/app/main.cpp:130
(gdb)

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

Reply via email to