runners and KIO::NetAccess

Petri Damstén petri.damsten at gmail.com
Thu Jan 8 17:36:16 CET 2009


Hi,

If i try to do KIO::NetAccess::download or KIO::NetAccess::synchronousRun in a 
runner I get a crash. I can't figure out how should I download data from the 
net in runners? 

Petri

#0  0x00007f38f0fdc50f in KIO::TransferJob::sendAsyncData (this=0x15fbf00, 
dataForSlave=@0x43195ec0)
    at /home/damu/Development/src/kdelibs/kio/kio/job.cpp:1028
#1  0x00007f38f0fdfbef in KIO::TransferJob::slotDataReq (this=0x15fbf00)
    at /home/damu/Development/src/kdelibs/kio/kio/job.cpp:1088
#2  0x00007f38f0fe970d in KIO::TransferJob::qt_metacall (this=0x15fbf00, 
_c=QMetaObject::InvokeMetaMethod,
    _id=<value optimized out>, _a=0x1374850) at 
/home/damu/Development/build/kdelibs/kio/jobclasses.moc:338
#3  0x00007f38f4332da5 in QObject::event () from /usr/lib/libQtCore.so.4
#4  0x00007f38f3629c3d in QApplicationPrivate::notify_helper () from 
/usr/lib/libQtGui.so.4
#5  0x00007f38f36319ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#6  0x00007f38f517876b in KApplication::notify (this=0xd43400, 
receiver=0x15fbf00, event=0x15fa340)
    at /home/damu/Development/src/kdelibs/kdeui/kernel/kapplication.cpp:307
#7  0x00007f38f4323d61 in QCoreApplication::notifyInternal () from 
/usr/lib/libQtCore.so.4
#8  0x00007f38f43249fa in QCoreApplicationPrivate::sendPostedEvents () from 
/usr/lib/libQtCore.so.4
#9  0x00007f38f434c4d3 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f38ede1bd3b in g_main_context_dispatch () from 
/usr/lib/libglib-2.0.so.0
#11 0x00007f38ede1f50d in ?? () from /usr/lib/libglib-2.0.so.0
#12 0x00007f38ede1f6cb in g_main_context_iteration () from 
/usr/lib/libglib-2.0.so.0
#13 0x00007f38f434c15f in QEventDispatcherGlib::processEvents () from 
/usr/lib/libQtCore.so.4
#14 0x00007f38f4322682 in QEventLoop::processEvents () from 
/usr/lib/libQtCore.so.4
#15 0x00007f38f432280d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#16 0x00007f38f107899c in KIO::NetAccess::enter_loop (this=0x43196880)
    at /home/damu/Development/src/kdelibs/kio/kio/netaccess.cpp:502
#17 0x00007f38f1079046 in KIO::NetAccess::synchronousRunInternal 
(this=0x43196880, job=0x15f9e90, window=0x0,
    data=0x0, finalURL=0x0, metaData=<value optimized out>)
    at /home/damu/Development/src/kdelibs/kio/kio/netaccess.cpp:487
#18 0x00007f38f107972e in KIO::NetAccess::synchronousRun (job=0x15f9e90, 
window=0x0, data=0x0, finalURL=0x0,
    metaData=0x0) at 
/home/damu/Development/src/kdelibs/kio/kio/netaccess.cpp:277

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090108/b085dfb4/attachment.sig 


More information about the Plasma-devel mailing list