crafh of daemon sometimes

Attila Balint abalint21 at gmail.com
Wed Jan 15 14:21:04 UTC 2014


Its just a hunch but I'm guessing that a thread is created as a receiver
and that reads the the socket. The socket was created as blocking and when
you stop the process it exits this state and there is no check that there
was an actual message received and it tries to decrypt a message. I haven't
looked at the code but .... :D

Attila Balint
Mobile: (+4)0740791399
eMail/GTalk: abalint21 at gmail.com
 <abalint21 at gmail.com>Skype: abalint21


On Wed, Jan 15, 2014 at 3:17 PM, Yuri Samoilenko <kinnalru at gmail.com> wrote:

> Sometimes when I manually stop/start kdeconnect service(through
> systemsettings) I reaches this crash.
>
> Thread 1 (Thread 0xb5463980 (LWP 480)):
>
> [KCrash Handler]
>
> #6 0xb0ecdcae in ?? () from /usr/lib/qca2/libqca.so.2
> #7 0xb0ecdec8 in QCA::MemoryRegion::MemoryRegion(QByteArray const&,
> bool) () from /usr/lib/qca2/libqca.so.2
> #8 0xb0ecdf4b in QCA::SecureArray::SecureArray(QByteArray const&) ()
> from /usr/lib/qca2/libqca.so.2
> #9 0xaf58bc96 in NetworkPackage::decrypt (this=0xbfab5038, key=...,
> out=0xbfab505c) at
> /home/jerry/devel/kde/kdeconnect-kde/kded/networkpackage.cpp:154
> #10 0xaf587891 in LanDeviceLink::dataReceived (this=0x96a6ec8) at
> /home/jerry/devel/kde/kdeconnect-kde/kded/backends/lan/landevicelink.cpp:92
> #11 0xaf5813bb in qt_static_metacall (_id=0, _o=0x96a6ec8,
> _c=<optimized out>, _a=<optimized out>) at
> /home/jerry/devel/kde/kdeconnect-kde/build/kded/moc_landevicelink.cpp:48
> #12 LanDeviceLink::qt_static_metacall (_o=0x96a6ec8,
> _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfab514c) at
> /home/jerry/devel/kde/kdeconnect-kde/build/kded/moc_landevicelink.cpp:42
> #13 0xb6cea979 in QMetaObject::activate(QObject*, QMetaObject const*,
> int, void**) () from /usr/lib/qt4/libQtCore.so.4
> #14 0xaf581a55 in SocketLineReader::readyRead (this=0x96ceb18) at
>
> /home/jerry/devel/kde/kdeconnect-kde/build/kded/moc_socketlinereader.cpp:110
> #15 0xaf588f5e in SocketLineReader::dataReceived (this=0x96ceb18) at
>
> /home/jerry/devel/kde/kdeconnect-kde/kded/backends/lan/socketlinereader.cpp:66
> #16 0xaf581a98 in SocketLineReader::qt_static_metacall (_o=<optimized
> out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at
> /home/jerry/devel/kde/kdeconnect-kde/build/kded/moc_socketlinereader.cpp:55
> #17 0xb6cea979 in QMetaObject::activate(QObject*, QMetaObject const*,
> int, void**) () from /usr/lib/qt4/libQtCore.so.4
> #18 0xb6d39ef5 in QIODevice::readyRead() () from
> /usr/lib/qt4/libQtCore.so.4
> #19 0xb5c46619 in ?? () from /usr/lib/qt4/libQtNetwork.so.4
> #20 0xb5c36d19 in ?? () from /usr/lib/qt4/libQtNetwork.so.4
> #21 0xb5c5299b in ?? () from /usr/lib/qt4/libQtNetwork.so.4
> #22 0xb61d38cc in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () from /usr/lib/qt4/libQtGui.so.4
> #23 0xb61d67ec in QApplication::notify(QObject*, QEvent*) () from
> /usr/lib/qt4/libQtGui.so.4
> #24 0xb7459631 in KApplication::notify(QObject*, QEvent*) () from
> /usr/lib/libkdeui.so.5
> #25 0xb6cd36fe in QCoreApplication::notifyInternal(QObject*, QEvent*)
> () from /usr/lib/qt4/libQtCore.so.4
> #26 0xb6d05dc8 in ?? () from /usr/lib/qt4/libQtCore.so.4
> #27 0xb5887923 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
> #28 0xb5887cc0 in ?? () from /usr/lib/libglib-2.0.so.0
> #29 0xb5887da1 in g_main_context_iteration () from
> /usr/lib/libglib-2.0.so.0
> #30 0xb6d0572f in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> () from /usr/lib/qt4/libQtCore.so.4
> #31 0xb628461a in ?? () from /usr/lib/qt4/libQtGui.so.4
> #32 0xb6cd212c in
> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
> from /usr/lib/qt4/libQtCore.so.4
> #33 0xb6cd2421 in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib/qt4/libQtCore.so.4
> #34 0xb6cd7d1a in QCoreApplication::exec() () from
> /usr/lib/qt4/libQtCore.so.4
> #35 0xb61d1e74 in QApplication::exec() () from /usr/lib/qt4/libQtGui.so.4
> #36 0xb52583e0 in kdemain () from /usr/lib/libkdeinit4_kded4.so
> #37 0x0804fae6 in _start ()
> _______________________________________________
> KDEConnect mailing list
> KDEConnect at kde.org
> https://mail.kde.org/mailman/listinfo/kdeconnect
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20140115/945474d1/attachment.html>


More information about the KDEConnect mailing list