Bug 238678

Summary: kget crashes after resuming a paused transfer
Product: [Applications] kget Reporter: squan
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED FIXED    
Severity: crash CC: mat69
Priority: NOR Keywords: investigated, triaged
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description squan 2010-05-24 13:55:05 UTC
Application: kget (2.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2) "release 238"
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-0.2-default i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
After performing the following steps kget crashed:
1) Stop a (single) transfer
2) log out from KDE
3) start new KDE session
4) start kget and resume transfer

The resumed transfer started from the beginning (already downloaded data lost).
I guess that this can not easily reproduced.


The crash can be reproduced some of the time.

 -- Backtrace:
Application: KGet (kget), signal: Segmentation fault
[KCrash Handler]
#6  0xb729238d in KIO::FileJob::seek(unsigned long long) () from /usr/lib/libkio.so.5
#7  0xb711f340 in DataSourceFactory::slotWriteData(long long, QByteArray const&, bool&) () from /usr/lib/libkgetcore.so.4
#8  0xb71288f4 in DataSourceFactory::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkgetcore.so.4
#9  0xb690514d in QMetaObject::metacall (object=0x86e6458, cl=InvokeMetaMethod, idx=20, argv=0xbf825200) at kernel/qmetaobject.cpp:237
#10 0xb6913faa in QMetaObject::activate (sender=0x86a4ea0, m=0xb71862a0, local_signal_index=0, argv=0xbf825200) at kernel/qobject.cpp:3293
#11 0xb711e095 in TransferDataSource::data(long long, QByteArray const&, bool&) () from /usr/lib/libkgetcore.so.4
#12 0xb711e1fa in TransferDataSource::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkgetcore.so.4
#13 0xb314a3b2 in KCoreConfigSkeleton::ItemBool::ItemBool(QString const&, QString const&, bool&, bool) () from /usr/lib/kde4/kget_multisegkiofactory.so
#14 0xb690514d in QMetaObject::metacall (object=0x86a4ea0, cl=InvokeMetaMethod, idx=4, argv=0xbf825380) at kernel/qmetaobject.cpp:237
#15 0xb6913faa in QMetaObject::activate (sender=0x88474c8, m=0xb3153c04, local_signal_index=0, argv=0xbf825380) at kernel/qobject.cpp:3293
#16 0xb3146d45 in KCoreConfigSkeleton::ItemBool::ItemBool(QString const&, QString const&, bool&, bool) () from /usr/lib/kde4/kget_multisegkiofactory.so
#17 0xb314726a in KCoreConfigSkeleton::ItemBool::ItemBool(QString const&, QString const&, bool&, bool) () from /usr/lib/kde4/kget_multisegkiofactory.so
#18 0xb3147f7b in KCoreConfigSkeleton::ItemBool::ItemBool(QString const&, QString const&, bool&, bool) () from /usr/lib/kde4/kget_multisegkiofactory.so
#19 0xb3148654 in KCoreConfigSkeleton::ItemBool::ItemBool(QString const&, QString const&, bool&, bool) () from /usr/lib/kde4/kget_multisegkiofactory.so
#20 0xb690514d in QMetaObject::metacall (object=0x88474c8, cl=InvokeMetaMethod, idx=14, argv=0xbf8255a4) at kernel/qmetaobject.cpp:237
#21 0xb6913faa in QMetaObject::activate (sender=0x86fdc88, m=0xb748561c, local_signal_index=0, argv=0xbf8255a4) at kernel/qobject.cpp:3293
#22 0xb726f07d in KIO::TransferJob::data(KIO::Job*, QByteArray const&) () from /usr/lib/libkio.so.5
#23 0xb72bcea8 in KIO::TransferJob::slotData(QByteArray const&) () from /usr/lib/libkio.so.5
#24 0xb73652f3 in KIO::TransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#25 0xb690514d in QMetaObject::metacall (object=0x86fdc88, cl=InvokeMetaMethod, idx=48, argv=0xbf825728) at kernel/qmetaobject.cpp:237
#26 0xb6913faa in QMetaObject::activate (sender=0x86bff88, m=0xb74858fc, local_signal_index=0, argv=0xbf825728) at kernel/qobject.cpp:3293
#27 0xb726d725 in KIO::SlaveInterface::data(QByteArray const&) () from /usr/lib/libkio.so.5
#28 0xb73c2408 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#29 0xb72916ea in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#30 0xb72db5f8 in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#31 0xb72db824 in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#32 0xb690514d in QMetaObject::metacall (object=0x86bff88, cl=InvokeMetaMethod, idx=30, argv=0xbf8259ec) at kernel/qmetaobject.cpp:237
#33 0xb6913faa in QMetaObject::activate (sender=0x86b36e8, m=0xb748550c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#34 0xb7270125 in KIO::Connection::readyRead() () from /usr/lib/libkio.so.5
#35 0xb72940ca in ?? () from /usr/lib/libkio.so.5
#36 0xb72941a7 in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#37 0xb690514d in QMetaObject::metacall (object=0x86b36e8, cl=InvokeMetaMethod, idx=5, argv=0x86dbbf8) at kernel/qmetaobject.cpp:237
#38 0xb690fad5 in QMetaCallEvent::placeMetaCall (this=0x83740e8, object=0x86b36e8) at kernel/qobject.cpp:561
#39 0xb6910c7f in QObject::event (this=0x86b36e8, e=0x83740e8) at kernel/qobject.cpp:1248
#40 0xb5e273fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#41 0xb5e2e248 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#42 0xb760bc01 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#43 0xb68ffdde in QCoreApplication::notifyInternal (this=0xbf8262f8, receiver=0x86b36e8, event=0x83740e8) at kernel/qcoreapplication.cpp:704
#44 0xb69027e3 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#45 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345
#46 0xb690293c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#47 0xb692ce4d in sendPostedEvents () at kernel/qcoreapplication.h:220
#48 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#49 0xb53a64c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#50 0xb53a9d98 in ?? () from /usr/lib/libglib-2.0.so.0
#51 0xb53a9ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#52 0xb692c931 in QEventDispatcherGlib::processEvents (this=0x8132998, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#53 0xb5ee7e0a in ?? () from /usr/lib/libQtGui.so.4
#54 0xb68fe44d in QEventLoop::processEvents (this=0xbf826264, flags=) at kernel/qeventloop.cpp:149
#55 0xb68fe899 in QEventLoop::exec (this=0xbf826264, flags=...) at kernel/qeventloop.cpp:201
#56 0xb6902a10 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#57 0xb5e274a4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#58 0x080f035d in _start ()

Reported using DrKonqi
Comment 1 Matthias Fuchs 2010-05-25 23:33:36 UTC
Indeed, I cannot reproduce it.
Please install the debug package for kdenetwork, otherwise the backtrace is not really useable.

If you installed the debug packages please reupload a backtrace if the crash happens again.
Comment 2 Andrew Crouthamel 2018-09-19 14:40:07 UTC
This bug has had its resolution changed, but accidentally has been left in NEEDSINFO status. I am thus closing this bug and setting the status as RESOLVED to reflect the resolution change.