Bug 234815 - KGet: segmentation fault
Summary: KGet: segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 16:39 UTC by Pablo Cabezas
Modified: 2010-04-22 17:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Cabezas 2010-04-19 16:39:16 UTC
Application: kget (2.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-ARCH i686
Distribution (Platform): Archlinux Packages

-- Information about the crash:
KGet close suddenly, while it downloads a file.

Application: KGet (kget), signal: Segmentation fault
[KCrash Handler]
#6  0xb70da730 in BitSet::setAll(bool) () from /usr/lib/libkgetcore.so.4
#7  0xb70cec8b in DataSourceFactory::finished() () from /usr/lib/libkgetcore.so.4
#8  0xb70d78b6 in DataSourceFactory::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkgetcore.so.4
#9  0xb6921e0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#10 0xb69303af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0xb70fa3a7 in ?? () from /usr/lib/libkgetcore.so.4
#12 0xb70fb1f9 in ?? () from /usr/lib/libkgetcore.so.4
#13 0xb70fb757 in ?? () from /usr/lib/libkgetcore.so.4
#14 0xb6921e0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#15 0xb69303af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#16 0xb6b8ca63 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#17 0xb6b8cdc8 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#18 0xb7252dd0 in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#19 0xb72532fd in KIO::TransferJob::slotFinished() () from /usr/lib/libkio.so.5
#20 0xb72511e3 in KIO::TransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#21 0xb6921e0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#22 0xb69303af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#23 0xb731caf7 in KIO::SlaveInterface::finished() () from /usr/lib/libkio.so.5
#24 0xb731fe1d in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#25 0xb731cfb3 in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#26 0xb7310498 in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#27 0xb73106a3 in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#28 0xb6921e0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#29 0xb69303af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#30 0xb721bb07 in KIO::Connection::readyRead() () from /usr/lib/libkio.so.5
#31 0xb721deae in ?? () from /usr/lib/libkio.so.5
#32 0xb721dfde in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#33 0xb6921e0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#34 0xb692c316 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#35 0xb692d3ee in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#36 0xb5e7aeec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#37 0xb5e81a3e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#38 0xb75e72ca in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#39 0xb691cc0b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#40 0xb691f5e3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#41 0xb691f74d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#42 0xb6948a0f in ?? () from /usr/lib/libQtCore.so.4
#43 0xb5583895 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#44 0xb5587568 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#45 0xb5587748 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#46 0xb6948505 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#47 0xb5f37ab5 in ?? () from /usr/lib/libQtGui.so.4
#48 0xb691b249 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#49 0xb691b69a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0xb691f80f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#51 0xb5e7af87 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#52 0x080eb315 in _start ()


The crash can be reproduced every time.

 -- Backtrace:
Application: KGet (kget), signal: Segmentation fault
[KCrash Handler]
#6  0xb70da730 in BitSet::setAll(bool) () from /usr/lib/libkgetcore.so.4
#7  0xb70cec8b in DataSourceFactory::finished() () from /usr/lib/libkgetcore.so.4
#8  0xb70d78b6 in DataSourceFactory::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkgetcore.so.4
#9  0xb6921e0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#10 0xb69303af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0xb70fa3a7 in ?? () from /usr/lib/libkgetcore.so.4
#12 0xb70fb1f9 in ?? () from /usr/lib/libkgetcore.so.4
#13 0xb70fb757 in ?? () from /usr/lib/libkgetcore.so.4
#14 0xb6921e0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#15 0xb69303af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#16 0xb6b8ca63 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#17 0xb6b8cdc8 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#18 0xb7252dd0 in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#19 0xb72532fd in KIO::TransferJob::slotFinished() () from /usr/lib/libkio.so.5
#20 0xb72511e3 in KIO::TransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#21 0xb6921e0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#22 0xb69303af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#23 0xb731caf7 in KIO::SlaveInterface::finished() () from /usr/lib/libkio.so.5
#24 0xb731fe1d in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#25 0xb731cfb3 in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#26 0xb7310498 in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#27 0xb73106a3 in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#28 0xb6921e0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#29 0xb69303af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#30 0xb721bb07 in KIO::Connection::readyRead() () from /usr/lib/libkio.so.5
#31 0xb721deae in ?? () from /usr/lib/libkio.so.5
#32 0xb721dfde in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#33 0xb6921e0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#34 0xb692c316 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#35 0xb692d3ee in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#36 0xb5e7aeec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#37 0xb5e81a3e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#38 0xb75e72ca in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#39 0xb691cc0b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#40 0xb691f5e3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#41 0xb691f74d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#42 0xb6948a0f in ?? () from /usr/lib/libQtCore.so.4
#43 0xb5583895 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#44 0xb5587568 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#45 0xb5587748 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#46 0xb6948505 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#47 0xb5f37ab5 in ?? () from /usr/lib/libQtGui.so.4
#48 0xb691b249 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#49 0xb691b69a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0xb691f80f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#51 0xb5e7af87 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#52 0x080eb315 in _start ()

Reported using DrKonqi
Comment 1 Lukas Appelhans 2010-04-19 17:34:42 UTC
Can you install KGet-debug-packages and post a better backtrace? :)

Lukas
Comment 2 Pablo Cabezas 2010-04-20 17:10:20 UTC
(In reply to comment #1)
> Can you install KGet-debug-packages and post a better backtrace? :)
> 
> Lukas

I've installed KGet-debug and this is the new backtrace:

Application: KGet (kget), signal: Segmentation fault
[Current thread is 1 (Thread 0xb372a9c0 (LWP 3547))]

Thread 2 (Thread 0xb1863b70 (LWP 3557)):
#0  0xb78a7424 in __kernel_vsyscall ()
#1  0xb6f2a262 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb68d630f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb68cb0ab in ?? () from /usr/lib/libQtCore.so.4
#4  0xb68d544e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6f2594c in start_thread () from /lib/libpthread.so.0
#6  0xb5c4ceae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb372a9c0 (LWP 3547)):
[KCrash Handler]
#6  0xb7194730 in BitSet::setAll (this=0x0, on=true) at /home/phil/kdemod/core/kdenetwork/src/kdenetwork-4.4.2/kget/core/bitset.cpp:76
#7  0xb7188c8b in DataSourceFactory::finished (this=0x834fa40) at /home/phil/kdemod/core/kdenetwork/src/kdenetwork-4.4.2/kget/core/datasourcefactory.cpp:231
#8  0xb71918b6 in DataSourceFactory::qt_metacall (this=0x834fa40, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfae3d3c)
    at /home/phil/kdemod/core/kdenetwork/src/kdenetwork-4.4.2/kget/datasourcefactory.moc:151
#9  0xb69dbe0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#10 0xb69ea3af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0xb71b43a7 in KioDownload::finished (this=0x82f9d90) at /home/phil/kdemod/core/kdenetwork/src/kdenetwork-4.4.2/kget/kiodownload.moc:147
#12 0xb71b51f9 in KioDownload::slotResult (this=0x82f9d90, kioJob=0x8374ca0) at /home/phil/kdemod/core/kdenetwork/src/kdenetwork-4.4.2/kget/core/kiodownload.cpp:180
#13 0xb71b5757 in KioDownload::qt_metacall (this=0x82f9d90, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfae3f18) at /home/phil/kdemod/core/kdenetwork/src/kdenetwork-4.4.2/kget/kiodownload.moc:109
#14 0xb69dbe0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#15 0xb69ea3af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#16 0xb6c46a63 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#17 0xb6c46dc8 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#18 0xb730cdd0 in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#19 0xb730d2fd in KIO::TransferJob::slotFinished() () from /usr/lib/libkio.so.5
#20 0xb730b1e3 in KIO::TransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#21 0xb69dbe0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#22 0xb69ea3af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#23 0xb73d6af7 in KIO::SlaveInterface::finished() () from /usr/lib/libkio.so.5
#24 0xb73d9e1d in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#25 0xb73d6fb3 in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#26 0xb73ca498 in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#27 0xb73ca6a3 in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#28 0xb69dbe0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#29 0xb69ea3af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#30 0xb72d5b07 in KIO::Connection::readyRead() () from /usr/lib/libkio.so.5
#31 0xb72d7eae in ?? () from /usr/lib/libkio.so.5
#32 0xb72d7fde in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#33 0xb69dbe0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#34 0xb69e6316 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#35 0xb69e73ee in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#36 0xb5f34eec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#37 0xb5f3ba3e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#38 0xb76a12ca in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#39 0xb69d6c0b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#40 0xb69d95e3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#41 0xb69d974d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#42 0xb6a02a0f in ?? () from /usr/lib/libQtCore.so.4
#43 0xb563d895 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#44 0xb5641568 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#45 0xb5641748 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#46 0xb6a02505 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#47 0xb5ff1ab5 in ?? () from /usr/lib/libQtGui.so.4
#48 0xb69d5249 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#49 0xb69d569a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0xb69d980f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#51 0xb5f34f87 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#52 0x080eb315 in main (argc=5, argv=0xbfae5034) at /home/phil/kdemod/core/kdenetwork/src/kdenetwork-4.4.2/kget/main.cpp:184
Comment 3 Matthias Fuchs 2010-04-20 18:04:01 UTC
Could you please list the exact steps (dl link etc.) what you did to make it crash?
As here it does not crash.
Comment 4 Pablo Cabezas 2010-04-20 20:29:22 UTC
I think that crash not depend of the download link. Anyway, I can't manipulate the program before that crash.The application is launched and the icon animated bounces off the desktop. Seconds after, the app crash unexpectedly. Not sure if that answers your question.

Sorry for my terrible English. If you don't understand me, you can tell me, no problem.
Comment 5 Pablo Cabezas 2010-04-20 20:41:17 UTC
I installed the qtmod-debug packages and I have reproduced the same error, this backtrace is scored with 3 stars, I do not know if it will provide better information.

Application: KGet (kget), signal: Segmentation fault
[Current thread is 1 (Thread 0xb35929c0 (LWP 3589))]

Thread 3 (Thread 0xb16cdb70 (LWP 3603)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb6d92262 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb673e30f in QWaitConditionPrivate::wait (this=0x87c8e94, mutex=0x87c8e90, time=30000) at thread/qwaitcondition_unix.cpp:85
#3  QWaitCondition::wait (this=0x87c8e94, mutex=0x87c8e90, time=30000) at thread/qwaitcondition_unix.cpp:159
#4  0xb67330ab in QThreadPoolThread::run (this=0x87d21c8) at concurrent/qthreadpool.cpp:140
#5  0xb673d44e in QThreadPrivate::start (arg=0x87d21c8) at thread/qthread_unix.cpp:248
#6  0xb6d8d94c in start_thread () from /lib/libpthread.so.0
#7  0xb5ab4eae in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb0eccb70 (LWP 3604)):
#0  0xb770f424 in __kernel_vsyscall ()
#1  0xb6d92262 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb673e30f in QWaitConditionPrivate::wait (this=0x87c8e94, mutex=0x87c8e90, time=30000) at thread/qwaitcondition_unix.cpp:85
#3  QWaitCondition::wait (this=0x87c8e94, mutex=0x87c8e90, time=30000) at thread/qwaitcondition_unix.cpp:159
#4  0xb67330ab in QThreadPoolThread::run (this=0x875a690) at concurrent/qthreadpool.cpp:140
#5  0xb673d44e in QThreadPrivate::start (arg=0x875a690) at thread/qthread_unix.cpp:248
#6  0xb6d8d94c in start_thread () from /lib/libpthread.so.0
#7  0xb5ab4eae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb35929c0 (LWP 3589)):
[KCrash Handler]
#6  0xb6ffc730 in BitSet::setAll (this=0x0, on=true) at /home/phil/kdemod/core/kdenetwork/src/kdenetwork-4.4.2/kget/core/bitset.cpp:76
#7  0xb6ff0c8b in DataSourceFactory::finished (this=0x871bad0) at /home/phil/kdemod/core/kdenetwork/src/kdenetwork-4.4.2/kget/core/datasourcefactory.cpp:231
#8  0xb6ff98b6 in DataSourceFactory::qt_metacall (this=0x871bad0, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfcdf1fc)
    at /home/phil/kdemod/core/kdenetwork/src/kdenetwork-4.4.2/kget/datasourcefactory.moc:151
#9  0xb6843e0a in QMetaObject::metacall (object=0x871bad0, cl=3048387456, idx=27, argv=0xbfcdf1fc) at kernel/qmetaobject.cpp:237
#10 0xb68523af in QMetaObject::activate (sender=0x87c8a70, m=0xb705835c, local_signal_index=3, argv=<value optimized out>) at kernel/qobject.cpp:3293
#11 0xb701c3a7 in KioDownload::finished (this=0x87c8a70) at /home/phil/kdemod/core/kdenetwork/src/kdenetwork-4.4.2/kget/kiodownload.moc:147
#12 0xb701d1f9 in KioDownload::slotResult (this=0x87c8a70, kioJob=0x8734720) at /home/phil/kdemod/core/kdenetwork/src/kdenetwork-4.4.2/kget/core/kiodownload.cpp:180
#13 0xb701d757 in KioDownload::qt_metacall (this=0x87c8a70, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfcdf3d8) at /home/phil/kdemod/core/kdenetwork/src/kdenetwork-4.4.2/kget/kiodownload.moc:109
#14 0xb6843e0a in QMetaObject::metacall (object=0x87c8a70, cl=3048387456, idx=13, argv=0xbfcdf3d8) at kernel/qmetaobject.cpp:237
#15 0xb68523af in QMetaObject::activate (sender=0x8734720, m=0xb6c1bec8, local_signal_index=3, argv=<value optimized out>) at kernel/qobject.cpp:3293
#16 0xb6aaea63 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#17 0xb6aaedc8 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#18 0xb7174dd0 in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#19 0xb71752fd in KIO::TransferJob::slotFinished() () from /usr/lib/libkio.so.5
#20 0xb71731e3 in KIO::TransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#21 0xb6843e0a in QMetaObject::metacall (object=0x8734720, cl=3048387456, idx=0, argv=0x8734720) at kernel/qmetaobject.cpp:237
#22 0xb68523af in QMetaObject::activate (sender=0x8797d50, m=0xb7322fc4, local_signal_index=4, argv=<value optimized out>) at kernel/qobject.cpp:3293
#23 0xb723eaf7 in KIO::SlaveInterface::finished() () from /usr/lib/libkio.so.5
#24 0xb7241e1d in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#25 0xb723efb3 in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#26 0xb7232498 in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#27 0xb72326a3 in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#28 0xb6843e0a in QMetaObject::metacall (object=0x8797d50, cl=3048387456, idx=142179664, argv=0xbfcdf818) at kernel/qmetaobject.cpp:237
#29 0xb68523af in QMetaObject::activate (sender=0x873a348, m=0xb731f8a0, local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3293
#30 0xb713db07 in KIO::Connection::readyRead() () from /usr/lib/libkio.so.5
#31 0xb713feae in ?? () from /usr/lib/libkio.so.5
#32 0xb713ffde in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#33 0xb6843e0a in QMetaObject::metacall (object=0x873a348, cl=3048387456, idx=141638504, argv=0x873a348) at kernel/qmetaobject.cpp:237
#34 0xb684e316 in QMetaCallEvent::placeMetaCall (this=0x87d59f0, object=0x873a348) at kernel/qobject.cpp:561
#35 0xb684f3ee in QObject::event (this=0x873a348, e=0x87d59f0) at kernel/qobject.cpp:1248
#36 0xb5d9ceec in QApplicationPrivate::notify_helper (this=0x85ffb20, receiver=0x873a348, e=0x87d59f0) at kernel/qapplication.cpp:4304
#37 0xb5da3a3e in QApplication::notify (this=0xbfce02c8, receiver=0x873a348, e=0x87d59f0) at kernel/qapplication.cpp:3708
#38 0xb75092ca in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#39 0xb683ec0b in QCoreApplication::notifyInternal (this=0xbfce02c8, receiver=0x873a348, event=0x87d59f0) at kernel/qcoreapplication.cpp:704
#40 0xb68415e3 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x85c0c10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x85c0c10) at kernel/qcoreapplication.cpp:1345
#42 0xb684174d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#43 0xb686aa0f in QCoreApplication::sendPostedEvents (s=0x8601d10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#44 postEventSourceDispatch (s=0x8601d10) at kernel/qeventdispatcher_glib.cpp:276
#45 0xb54a5895 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#46 0xb54a9568 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#47 0xb54a9748 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#48 0xb686a505 in QEventDispatcherGlib::processEvents (this=0x85c0768, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#49 0xb5e59ab5 in QGuiEventDispatcherGlib::processEvents (this=0x85c0768, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0xb683d249 in QEventLoop::processEvents (this=0xbfce0234, flags=) at kernel/qeventloop.cpp:149
#51 0xb683d69a in QEventLoop::exec (this=0xbfce0234, flags=...) at kernel/qeventloop.cpp:201
#52 0xb684180f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#53 0xb5d9cf87 in QApplication::exec () at kernel/qapplication.cpp:3583
#54 0x080eb315 in main (argc=1, argv=0xbfce04f4) at /home/phil/kdemod/core/kdenetwork/src/kdenetwork-4.4.2/kget/main.cpp:184
Comment 6 Matthias Fuchs 2010-04-20 22:39:50 UTC
What is important are the exact steps that led to the crash. I think I know where it happens but I can not reproduce it.

I could release a workaround -- have finished one an hour ago -- though I would not know if it fixes the problem as I cannot reproduce the crash. That is why all steps you did are so important.
Comment 7 Pablo Cabezas 2010-04-20 23:09:43 UTC
When I run the application from the terminal:
[Pablo @ chakra-laptop ~] $ kget
QApplication:: qAppName: Please instantiate the QApplication object first
Connecting to deprecated signal QDBusConnectionInterface: serviceOwnerChanged (QString, QString, QString)
[Pablo @ chakra-laptop ~] $ QWidget:: insertAction: Attempt to insert null action
kget (14,458) / kio (KIOJob) KIO:: TransferJob:: slotData: mimetype () not emitted When first sending data!; job URL = Kurl (http://l.yimg.com/g/images/spaceball. gif ") data size = 0
KCrash: Application 'kget' crashing ...
sock_file = / home/pablo/.kdemod4/socket-chakra-laptop/kdeinit4__0

[Pablo @ chakra-laptop ~] $
As I see, the problem is downloading an image with size 0.
I've solved the problem. Deleting the corrupt file of the transfer.kgt in /.kdemod4/share/apps/kget/
Comment 8 Matthias Fuchs 2010-04-22 17:42:51 UTC
Really interesting I can't reproduce it with this link, I'll upload the workaround nevertheless.
Comment 9 Matthias Fuchs 2010-04-22 17:59:55 UTC
SVN commit 1117617 by mfuchs:

Whenever a DataSourceFactory is created use a default segSize.
Only offer one DataSourceFactory.
Check if size is specified.

BUG:234815

 M  +10 -37    core/datasourcefactory.cpp  
 M  +2 -6      core/datasourcefactory.h  
 M  +1 -1      transfer-plugins/metalink/metalink.cpp  
 M  +1 -1      transfer-plugins/multisegmentkio/transfermultisegkio.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1117617