Bug 118777

Summary: crash when downloading a lot files
Product: [Applications] kget Reporter: Martin Koller <kollix>
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Koller 2005-12-21 10:52:11 UTC
Version:           v0.8.5 (using KDE 3.5.0, compiled sources)
Compiler:          gcc version 3.4.3
OS:                Linux (i686) release 2.6.7

I'm trying to download the kolab pakages from 
http://max.kde.org:8080/mirrors/ftp.kolab.org/server/release/kolab-server-2.0.1/sources/

For this I have the kget drop-target positioned beside the konqueror window and just drag/drop each file after another onto the drop target, then hitting return in the "where to save" file dialog.
The download immediately starts, but after adding some files, it happens sometime that kget crashes with the following bt:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]

[KCrash handler]
#4  0x40d0eb79 in QObject::activate_signal (this=0x8286198, clist=0x8272ae0, 
    o=0xbffff2a0) at kernel/qobject.cpp:2343
#5  0x40d0eada in QObject::activate_signal (this=0x8286198, signal=0)
    at kernel/qobject.cpp:2324
#6  0x4107982e in QObject::destroyed (this=0x8286198)
    at .moc/debug-shared-mt/moc_qobject.cpp:102
#7  0x40d0b61b in ~QObject (this=0x8286198) at kernel/qobject.cpp:446
#8  0x40158be7 in ~Job (this=0x8286198) at qptrlist.h:70
#9  0x40158d91 in ~FileCopyJob (this=0x8286198) at qmemarray.h:61
#10 0x0805d838 in ~GetFileJob (this=0x8286198) at getfilejob.cpp:28
#11 0x40d0c454 in QObject::event (this=0x8286198, e=0x41e02700)
    at kernel/qobject.cpp:750
#12 0x40caa0d5 in QApplication::internalNotify (this=0xbffff910, 
    receiver=0x8286198, e=0x41e02700) at kernel/qapplication.cpp:2635
#13 0x40ca9616 in QApplication::notify (this=0xbffff910, receiver=0x8286198, 
    e=0x41e02700) at kernel/qapplication.cpp:2358
#14 0x407a2fc5 in KApplication::notify (this=0xbffff910, receiver=0x8286198, 
    event=0x41e02700) at kapplication.cpp:550
#15 0x40c3c8aa in QApplication::sendEvent (receiver=0x8286198, 
    event=0x41e02700) at qapplication.h:491
#16 0x40caaedb in QApplication::sendPostedEvents (receiver=0x0, event_type=0)
    at kernel/qapplication.cpp:3261
#17 0x40caac94 in QApplication::sendPostedEvents ()
    at kernel/qapplication.cpp:3172
#18 0x40c4f5a4 in QEventLoop::processEvents (this=0x812ca10, flags=4)
    at kernel/qeventloop_x11.cpp:144
#19 0x40cbf31f in QEventLoop::enterLoop (this=0x812ca10)
    at kernel/qeventloop.cpp:198
#20 0x40cbf23a in QEventLoop::exec (this=0x812ca10)
    at kernel/qeventloop.cpp:145
#21 0x40caa241 in QApplication::exec (this=0xbffff910)
    at kernel/qapplication.cpp:2758
#22 0x0809ce0a in main (argc=136784608, argv=0x8272ae0) at main.cpp:209
Comment 1 Leo Spalteholz 2006-03-29 21:43:08 UTC
I just saw this crash yesterday.  However I just tried adding over 40 files and couldn't reproduce it.  Will keep trying.
Comment 2 Leo Spalteholz 2006-03-29 21:56:32 UTC
Ok, got it again, twice.  The crash handler didn't come up in both cases.  It also isn't related to the absolute number of queued downloads in the list, since this time I got up to 109.  I'm adding them fairly quickly, perhaps every 2 seconds or so.  Basically as fast as I can drag them from konqueror onto the kget window and hit enter.  

When it crashes, I get this on the command line:
kget: Fatal IO error: client killed
ICE default IO error handler doing an exit(), pid = 11917, errno = 9

No backtrace as already mentioned.
Comment 3 Urs Wolfer 2007-03-30 17:56:15 UTC
Due to the move from the make_kget_cool branch back into kdenetwork, this issue has been resolved.

For more details about the new KGet please have a look at this page (1st article):
http://commit-digest.org/issues/2007-02-25/
Comment 4 Leo Spalteholz 2007-03-30 21:02:39 UTC
Excellent!  Can't wait. :)