Need help in resolving KGet DataEngine crash

Bhushan Shah bhush94 at gmail.com
Thu Jul 4 12:48:15 UTC 2013


Hello,

I posted this message to kde-devel mailing list but realized that it's not
the right place, I am currently working on new KGet engine, and plasma
widget. I am having problem in sources function,

It looks like this,

QStringList KGetEngine::sources() const
{
    QStringList sources;
    //sources << "KGet";
    QList<TransferHandler*> trans = KGet::allTransfers();
    foreach (TransferHandler *handler, trans) {
        sources << handler->dest().fileName();
    }
    return sources;
}

But KGet::allTransfers function crashes. Here is crash report :

Application: Plasma Engine Explorer (plasmaengineexplorer), signal:
Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[KCrash Handler]
#6  0xae960ca8 in QList (l=..., this=0xbfe42150) at
/usr/include/qt4/QtCore/qlist.h:122
#7  QForeachContainer (t=..., this=0xbfe42150) at
/usr/include/qt4/QtCore/qglobal.h:2365
#8  TransferTreeModel::transferGroups (this=0x0) at
/home/bshah/kdesrc/kde/kdenetwork/kget/core/transfertreemodel.cpp:450
#9  0xae94b14c in KGet::allTransfers () at
/home/bshah/kdesrc/kde/kdenetwork/kget/core/kget.cpp:660
#10 0xaea100e0 in KGetEngine::sources (this=0x9af19f8) at
/home/bshah/kdesrc/kde/kdenetwork/kget/plasma/engine/kgetengine.cpp:65
#11 0x0805418e in _start ()

Thanks,
Bhushan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130704/0217652d/attachment.html>


More information about the Plasma-devel mailing list