Bug 185918

Summary: kget crashes when downloading multiple files simultaneously
Product: [Applications] kget Reporter: Perpetuum_Mobile <perpetuum-mobile>
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Perpetuum_Mobile 2009-03-02 00:42:22 UTC
Version:           2.1.4 (using KDE 4.1.4)
Compiler:          gcc version 4.3.3 (Debian 4.3.3-3)  
OS:                Linux
Installed from:    Debian testing/unstable Packages

Debian Squeeze with KDE 4.1.4 from backports..

just the subject
1) added links to download
2) kget crashed (after some random time)
3) launched kget
4) go to (2)

it does not crash if only to download 1 file per time.

p.s. it just works and then crashes, without even touching it
p.p.s. in Debian Lenny it was the same

report:

Произошла фатальная ошибка
The application KGet (kget) crashed and caused the signal 11 (SIGSEGV).
Please help us improve the software you use by filing a report at http://bugs.kde.org. Useful details include how to reproduce the error, documents that were loaded, etc.

Приложение: KGet (kget), сигнал SIGSEGV

Thread 1 (Thread 0xb5f15b60 (LWP 915)):
#0  0xb7f7c424 in __kernel_vsyscall ()
#1  0xb689eed0 in nanosleep () from /lib/i686/cmov/libc.so.6
#2  0xb689ed0f in sleep () from /lib/i686/cmov/libc.so.6
#3  0xb7e34528 in ?? () from /usr/lib/libkdeui.so.5
#4  0x00000000 in ?? ()
Comment 1 Dario Andres 2009-03-02 01:10:55 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? 
You may need to install the "kdenetwork-dbg" package
Thanks :)
Comment 2 Perpetuum_Mobile 2009-03-05 00:44:00 UTC
ok, now, some news're here:
this time it has come in such way -
1) added one download (using right mouse button click on kget icon in "systray" - "new download")
2) while it was running, added one more (same way)
3) while they were running, clicked with right mouse button on icon of kget in "systray"
4) icon disappeared and window of kget crash analyzer appeared instead...
so, here is the backtrace report (kdenetwork-dbg had been installed):

Приложение: KGet (kget), сигнал SIGSEGV

Thread 1 (Thread 0xb5ef5b60 (LWP 1151)):
[KCrash Handler]
#6  0xb6bac56a in operator<< (dbg={stream = 0xbfb76410}, o=0xa293bb0) at kernel/qobject.cpp:3415
#7  0xb4688a57 in SegmentFactory::splitSegment (this=0xa2cd010, Seg=0xa293bb0, n=5) at /tmp/buildd/kdenetwork-4.1.4/kget/transfer-plugins/multisegmentkio/segmentfactory.cpp:266
#8  0xb468d24e in MultiSegmentCopyJob::slotSplitSegment (this=0xa2cdaa0) at /tmp/buildd/kdenetwork-4.1.4/kget/transfer-plugins/multisegmentkio/multisegkio.cpp:263
#9  0xb4690963 in MultiSegmentCopyJob::qt_metacall (this=0xa2cdaa0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfb76508)
    at /tmp/buildd/kdenetwork-4.1.4/obj-i486-linux-gnu/kget/transfer-plugins/multisegmentkio/multisegkio.moc:100
#10 0xb6bacbe0 in QMetaObject::activate (sender=0xa2dbe58, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3031
#11 0xb6bad962 in QMetaObject::activate (sender=0xa2dbe58, m=0xb6c7a0c8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101
#12 0xb6bb2f37 in QSingleShotTimer::timeout (this=0xa2dbe58) at .moc/release-shared/qtimer.moc:74
#13 0xb6bb305c in QSingleShotTimer::timerEvent (this=0xa2dbe58) at kernel/qtimer.cpp:294
#14 0xb6ba76bf in QObject::event (this=0xa2dbe58, e=0xbfb7699c) at kernel/qobject.cpp:1120
#15 0xb6e2779c in QApplicationPrivate::notify_helper (this=0x94f0870, receiver=0xa2dbe58, e=0xbfb7699c) at kernel/qapplication.cpp:3803
#16 0xb6e2f61e in QApplication::notify (this=0xbfb76c28, receiver=0xa2dbe58, e=0xbfb7699c) at kernel/qapplication.cpp:3393
#17 0xb7da721d in KApplication::notify (this=0xbfb76c28, receiver=0xa2dbe58, event=0xbfb7699c) at /tmp/buildd/kde4libs-4.1.4/kdeui/kernel/kapplication.cpp:311
#18 0xb6b980e1 in QCoreApplication::notifyInternal (this=0xbfb76c28, receiver=0xa2dbe58, event=0xbfb7699c) at kernel/qcoreapplication.cpp:587
#19 0xb6bc6041 in QTimerInfoList::activateTimers (this=0x94f3b04) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#20 0xb6bc2690 in timerSourceDispatch (source=0x94f3ad0) at kernel/qeventdispatcher_glib.cpp:160
#21 0xb6270368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0xb6273a03 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x094f2cc8 in ?? ()
#24 0x00000000 in ?? ()

hope, this will help better
Comment 3 Perpetuum_Mobile 2009-03-05 00:48:39 UTC
this time i just launched kget again and really did not do nothing else (any move or click) and after some seconds it crashed again (with that 2 downloads, described in previous message):

Приложение: KGet (kget), сигнал SIGSEGV

Thread 1 (Thread 0xb5eb0b60 (LWP 11343)):
[KCrash Handler]
#6  0xb6b6756a in operator<< (dbg={stream = 0xbfa323e0}, o=0x95eb258) at kernel/qobject.cpp:3415
#7  0xb4640a57 in SegmentFactory::splitSegment (this=0x959b468, Seg=0x95eb258, n=5) at /tmp/buildd/kdenetwork-4.1.4/kget/transfer-plugins/multisegmentkio/segmentfactory.cpp:266
#8  0xb464524e in MultiSegmentCopyJob::slotSplitSegment (this=0x959b880) at /tmp/buildd/kdenetwork-4.1.4/kget/transfer-plugins/multisegmentkio/multisegkio.cpp:263
#9  0xb4648963 in MultiSegmentCopyJob::qt_metacall (this=0x959b880, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfa324d8)
    at /tmp/buildd/kdenetwork-4.1.4/obj-i486-linux-gnu/kget/transfer-plugins/multisegmentkio/multisegkio.moc:100
#10 0xb6b67be0 in QMetaObject::activate (sender=0x95deee0, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3031
#11 0xb6b68962 in QMetaObject::activate (sender=0x95deee0, m=0xb6c350c8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101
#12 0xb6b6df37 in QSingleShotTimer::timeout (this=0x95deee0) at .moc/release-shared/qtimer.moc:74
#13 0xb6b6e05c in QSingleShotTimer::timerEvent (this=0x95deee0) at kernel/qtimer.cpp:294
#14 0xb6b626bf in QObject::event (this=0x95deee0, e=0xbfa3296c) at kernel/qobject.cpp:1120
#15 0xb6de279c in QApplicationPrivate::notify_helper (this=0x921b870, receiver=0x95deee0, e=0xbfa3296c) at kernel/qapplication.cpp:3803
#16 0xb6dea61e in QApplication::notify (this=0xbfa32bf8, receiver=0x95deee0, e=0xbfa3296c) at kernel/qapplication.cpp:3393
#17 0xb7d6221d in KApplication::notify (this=0xbfa32bf8, receiver=0x95deee0, event=0xbfa3296c) at /tmp/buildd/kde4libs-4.1.4/kdeui/kernel/kapplication.cpp:311
#18 0xb6b530e1 in QCoreApplication::notifyInternal (this=0xbfa32bf8, receiver=0x95deee0, event=0xbfa3296c) at kernel/qcoreapplication.cpp:587
#19 0xb6b81041 in QTimerInfoList::activateTimers (this=0x921eb04) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#20 0xb6b7d690 in timerSourceDispatch (source=0x921ead0) at kernel/qeventdispatcher_glib.cpp:160
#21 0xb622b368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0xb622ea03 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x0921dcc8 in ?? ()
#24 0x00000000 in ?? ()
Comment 4 Lukas Appelhans 2009-03-05 12:56:02 UTC

*** This bug has been marked as a duplicate of bug 178756 ***