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

            Bug ID: 414894
           Summary: kdeconnectd segfaults in Device::name()
           Product: kdeconnect
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: n...@kde.org
  Target Milestone: ---

I am using the latest KDE Connect from the Google Play store on my phone, and
the host-side app (and all other KDE software) is running from git master on
openSUSE Tumbleweed

$ source ~/kde/build/kdeconnect-kde/prefix.sh
$ ~/kde/usr/lib64/libexec/kdeconnectd
kdeconnect.interfaces: dbus interface not valid
kdeconnect.interfaces: dbus interface not valid
kdeconnect.interfaces: dbus interface not valid

Segmentation fault (core dumped)


Full backtrace:

#0  QString::QString (other=..., this=0x7fffffffa050)
    at /usr/include/qt5/QtCore/qstring.h:956
#1  Device::name (this=0x5fe0a0)
    at /usr/src/debug/kdeconnect-kde-1.3.5-1.2.x86_64/core/device.h:77
#2  SftpPlugin::addToDolphin (this=this@entry=0x5f86e0)
    at
/usr/src/debug/kdeconnect-kde-1.3.5-1.2.x86_64/plugins/sftp/sftpplugin.cpp:72
#3  0x00007fffeac0f367 in SftpPlugin::SftpPlugin (this=0x5f86e0,
parent=<optimized out>, 
    args=...)
    at
/usr/src/debug/kdeconnect-kde-1.3.5-1.2.x86_64/plugins/sftp/sftpplugin.cpp:57
#4  0x00007fffeac143da in KPluginFactory::createInstance<SftpPlugin, QObject> (
    parentWidget=<optimized out>, parent=<optimized out>, args=...)
    at /usr/include/qt5/QtCore/qobject.h:503
#5  0x00007ffff7591f52 in KPluginFactory::create (this=this@entry=0x5c7d80, 
    iface=0x7ffff7fb9590 <qt_meta_stringdata_KdeConnectPlugin+144>
"KdeConnectPlugin", 
    parentWidget=parentWidget@entry=0x0, parent=parent@entry=0x5fe0a0,
args=..., 
    keyword=...) at
/home/nate/kde/src/kcoreaddons/src/lib/plugin/kpluginfactory.cpp:145
#6  0x00007ffff7f98696 in KPluginFactory::create<KdeConnectPlugin> (args=..., 
    parent=0x5fe0a0, this=0x5c7d80) at /usr/include/qt5/QtCore/qobject.h:143
#7  PluginLoader::instantiatePluginForDevice (this=this@entry=0x5c9fc0,
pluginName=..., 
    device=<optimized out>, device@entry=0x5fe0a0)
    at /home/nate/kde/src/kdeconnect-kde/core/pluginloader.cpp:79
#8  0x00007ffff7fb26e0 in Device::reloadPlugins (this=this@entry=0x5fe0a0)
    at /home/nate/kde/src/kdeconnect-kde/core/device.cpp:181
#9  0x00007ffff7fb27b0 in Device::pairStatusChanged (this=0x5fe0a0, 
    status=DeviceLink::Paired) at
/home/nate/kde/src/kdeconnect-kde/core/device.cpp:262
#10 0x00007ffff6505638 in QtPrivate::QSlotObjectBase::call (a=0x7fffffffa5a0, 
    r=0x5fe0a0, this=0x5ee2a0)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#11 QMetaObject::activate (sender=0x5f4480, signalOffset=<optimized out>, 
    local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3789
#12 0x00007ffff7f6c731 in DeviceLink::pairStatusChanged
(this=this@entry=0x5f4480, 
    _t1=<optimized out>, _t1@entry=DeviceLink::Paired)
    at
/home/nate/kde/build/kdeconnect-kde/core/kdeconnectcore_autogen/CSWKE6ESUK/moc_devicelink.cpp:211
#13 0x00007ffff7f94c08 in DeviceLink::setPairStatus (this=this@entry=0x5f4480, 
    status=status@entry=DeviceLink::Paired)
    at /home/nate/kde/src/kdeconnect-kde/core/backends/devicelink.cpp:40
#14 0x00007ffff7f8575f in LanDeviceLink::setPairStatus (this=0x5f4480, 
    status=<optimized out>)
    at
/home/nate/kde/src/kdeconnect-kde/core/backends/lan/landevicelink.cpp:178
#15 0x00007ffff7f86ffd in LanPairingHandler::acceptPairing (this=0x5dfdd0)
    at
/home/nate/kde/src/kdeconnect-kde/core/backends/lan/lanpairinghandler.cpp:97
#16 0x00007ffff7faf6d2 in Device::acceptPairing (this=<optimized out>)
    at /home/nate/kde/src/kdeconnect-kde/core/device.cpp:358
#17 0x00007ffff7f6da7d in Device::qt_static_metacall (_o=_o@entry=0x5fe0a0, 
    _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=11, 
    _a=_a@entry=0x7fffffffa840)
    at
/home/nate/kde/build/kdeconnect-kde/core/kdeconnectcore_autogen/EWIEGA46WW/moc_device.cpp:235
#18 0x00007ffff7f6f0b3 in Device::qt_metacall (this=0x5fe0a0,
#19 0x00007ffff745c78b in QDBusConnectionPrivate::deliverCall (this=<optimized
out>, 
    object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>)
    at qdbusintegrator.cpp:999
#20 0x00007ffff7461b50 in QDBusConnectionPrivate::activateCall (
    this=this@entry=0x7fffe4004ef0, object=0x5fe0a0, flags=241, msg=...)
    at qdbusintegrator.cpp:902
#21 0x00007ffff746229f in QDBusConnectionPrivate::activateCall (msg=..., 
    flags=<optimized out>, object=<optimized out>, this=0x7fffe4004ef0)
    at qdbusintegrator.cpp:851
#22 QDBusConnectionPrivate::activateObject (pathStartPos=<optimized out>,
msg=..., 
    node=..., this=0x7fffe4004ef0) at qdbusintegrator.cpp:1510
#23 QDBusConnectionPrivate::activateObject (this=0x7fffe4004ef0, node=...,
msg=..., 
    pathStartPos=<optimized out>) at qdbusintegrator.cpp:1436
#24 0x00007ffff746507e in QDBusActivateObjectEvent::placeMetaCall
(this=0x7fffe40218b0)
    at qdbusintegrator.cpp:1606
#25 0x00007ffff6505eea in QObject::event (this=0x5fe0a0, e=<optimized out>)
    at kernel/qobject.cpp:1260
#26 0x00007ffff6f0ec62 in QApplicationPrivate::notify_helper
(this=this@entry=0x41ce80, 
    receiver=receiver@entry=0x5fe0a0, e=e@entry=0x7fffe40218b0)
    at kernel/qapplication.cpp:3703
#27 0x00007ffff6f181e0 in QApplication::notify (this=0x7fffffffb090,
receiver=0x5fe0a0, 
    e=0x7fffe40218b0) at kernel/qapplication.cpp:3449
#28 0x00007ffff64da562 in QCoreApplication::notifyInternal2 (receiver=0x5fe0a0, 
    event=0x7fffe40218b0) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:143
#29 0x00007ffff64dd1f8 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, 
    event_type=0, data=0x422ad0) at kernel/qcoreapplication.cpp:1840
#30 0x00007ffff6531333 in postEventSourceDispatch (s=s@entry=0x51a5e0)
    at kernel/qeventdispatcher_glib.cpp:277
#31 0x00007ffff4d0df88 in g_main_dispatch (context=0x7fffec005010)
    at ../glib/gmain.c:3179
#32 g_main_context_dispatch (context=context@entry=0x7fffec005010)
    at ../glib/gmain.c:3844
#33 0x00007ffff4d0e310 in g_main_context_iterate
(context=context@entry=0x7fffec005010, 
    block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../glib/gmain.c:3917
#34 0x00007ffff4d0e39f in g_main_context_iteration (context=0x7fffec005010, 
    may_block=may_block@entry=1) at ../glib/gmain.c:3978
#35 0x00007ffff6530971 in QEventDispatcherGlib::processEvents (this=0x5195d0,
flags=...)
    at kernel/qeventdispatcher_glib.cpp:423
#36 0x00007ffff64d90cb in QEventLoop::exec (this=this@entry=0x7fffffffafd0,
flags=..., 
    flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#37 0x00007ffff64e0d32 in QCoreApplication::exec ()
    at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#38 0x00007ffff68d1d5c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1788
#39 0x00007ffff6f0ebd5 in QApplication::exec () at kernel/qapplication.cpp:2859
#40 0x0000000000403958 in main (argc=<optimized out>, argv=<optimized out>)
    at /home/nate/kde/src/kdeconnect-kde/daemon/kdeconnectd.cpp:180

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

Reply via email to