Bug 169222 - The application KGet (kget) crashed and caused the signal 11 (SIGSEGV).
Summary: The application KGet (kget) crashed and caused the signal 11 (SIGSEGV).
Status: RESOLVED WORKSFORME
Alias: None
Product: kget
Classification: Applications
Component: torrent (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-16 11:09 UTC by Todor Gyumyushev
Modified: 2009-02-05 12:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todor Gyumyushev 2008-08-16 11:09:55 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7) Target: x86_64-linux-gnu
OS:                Linux

adding torrent file and click play to start download, crash kget
Comment 1 Todor Gyumyushev 2008-08-16 11:10:25 UTC
Application: KGet (kget), signal SIGSEGV
0x00007fb72e5ceb81 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 21004)]

Thread 2 (Thread 0x419cb950 (LWP 21006)):
#0  0x00007fb72f037e1d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb72f2b57a7 in QWaitCondition::wait (this=<value optimized out>, mutex=0x94d3d0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  0x00007fb72f2ab4f5 in QThreadPoolThread::run (this=0x94d5c0) at concurrent/qthreadpool.cpp:141
#3  0x00007fb72f2b4d45 in QThreadPrivate::start (arg=0x94d5c0) at thread/qthread_unix.cpp:190
#4  0x00007fb72f0333f7 in start_thread () from /lib/libpthread.so.0
#5  0x00007fb72e608b2d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb732dde780 (LWP 21004)):
[KCrash Handler]
#5  bt::ChunkManager::getDataDir (this=0x0) at /home/todor/kdesource/kdenetwork/kget/transfer-plugins/bittorrent/libbtcore/diskio/chunkmanager.cpp:143
#6  0x00007fb725e27922 in bt::TorrentControl::saveStats (this=0x97e110) at /home/todor/kdesource/kdenetwork/kget/transfer-plugins/bittorrent/libbtcore/torrent/torrentcontrol.cpp:1047
#7  0x00007fb725e29363 in bt::TorrentControl::setTrafficLimits (this=0x97e110, up=0, down=<value optimized out>)
    at /home/todor/kdesource/kdenetwork/kget/transfer-plugins/bittorrent/libbtcore/torrent/torrentcontrol.cpp:1855
#8  0x00007fb725d9e7dd in BTTransfer::setSpeedLimits (this=0x885850, ulLimit=0, dlLimit=0) at /home/todor/kdesource/kdenetwork/kget/transfer-plugins/bittorrent/bttransfer.cpp:183
#9  0x00007fb725d9f424 in BTTransfer::startTorrent (this=0x885850) at /home/todor/kdesource/kdenetwork/kget/transfer-plugins/bittorrent/bttransfer.cpp:211
#10 0x00007fb725da126c in BTTransfer::init (this=0x885850, src=<value optimized out>, data=<value optimized out>)
    at /home/todor/kdesource/kdenetwork/kget/transfer-plugins/bittorrent/bttransfer.cpp:336
#11 0x00007fb725da1cdb in BTTransfer::qt_metacall (this=0x885850, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3ae0f750)
    at /home/todor/kdesource/knet/kget/transfer-plugins/bittorrent/bttransfer.moc:79
#12 0x00007fb72f3aa526 in QMetaObject::activate (sender=0x793d60, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x41) at kernel/qobject.cpp:3007
#13 0x00007fb7323ab7b7 in Download::finishedSuccessfully (this=0x7fff3ae0f190, _t1=<value optimized out>, _t2=<value optimized out>) at /home/todor/kdesource/knet/kget/moc_download.cpp:87
#14 0x00007fb7323ca371 in Download::slotResult (this=0x793d60, job=<value optimized out>) at /home/todor/kdesource/kdenetwork/kget/core/download.cpp:56
#15 0x00007fb7323ab88e in Download::qt_metacall (this=0x793d60, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff3ae0fa50) at /home/todor/kdesource/knet/kget/moc_download.cpp:75
#16 0x00007fb72f3aa526 in QMetaObject::activate (sender=0x92a3c0, from_signal_index=<value optimized out>, to_signal_index=7, argv=0x41) at kernel/qobject.cpp:3007
#17 0x00007fb730f221a2 in KJob::result (this=0x7fff3ae0f190, _t1=0x92a3c0) at /home/todor/kdesource/klibs/kdecore/kjob.moc:186
#18 0x00007fb730f22977 in KJob::emitResult (this=0x92a3c0) at /home/todor/kdesource/kdelibs/kdecore/jobs/kjob.cpp:290
#19 0x00007fb731a58cba in KIO::SimpleJob::slotFinished (this=0x92a3c0) at /home/todor/kdesource/kdelibs/kio/kio/job.cpp:498
#20 0x00007fb731a5ce23 in KIO::TransferJob::slotFinished (this=0x92a3c0) at /home/todor/kdesource/kdelibs/kio/kio/job.cpp:967
#21 0x00007fb731a6667e in KIO::TransferJob::qt_metacall (this=0x92a3c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3ae0fe60)
    at /home/todor/kdesource/klibs/kio/jobclasses.moc:336
#22 0x00007fb72f3aa526 in QMetaObject::activate (sender=0x939da0, from_signal_index=<value optimized out>, to_signal_index=8, argv=0x41) at kernel/qobject.cpp:3007
#23 0x00007fb731b2099d in KIO::SlaveInterface::dispatch (this=0x939da0, _cmd=104, rawdata=@0x7fff3ae10140) at /home/todor/kdesource/kdelibs/kio/kio/slaveinterface.cpp:176
#24 0x00007fb731b1d388 in KIO::SlaveInterface::dispatch (this=0x939da0) at /home/todor/kdesource/kdelibs/kio/kio/slaveinterface.cpp:91
#25 0x00007fb731b0c943 in KIO::Slave::gotInput (this=0x939da0) at /home/todor/kdesource/kdelibs/kio/kio/slave.cpp:319
#26 0x00007fb731b0d566 in KIO::Slave::qt_metacall (this=0x939da0, _c=QMetaObject::InvokeMetaMethod, _id=9951872, _a=0x7fff3ae102b0) at /home/todor/kdesource/klibs/kio/slave.moc:75
#27 0x00007fb72f3aa526 in QMetaObject::activate (sender=0x9347c0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x41) at kernel/qobject.cpp:3007
#28 0x00007fb731a24bde in KIO::ConnectionPrivate::dequeue (this=0x934a00) at /home/todor/kdesource/kdelibs/kio/kio/connection.cpp:82
#29 0x00007fb731a24c7d in KIO::Connection::qt_metacall (this=0x9347c0, _c=QMetaObject::InvokeMetaMethod, _id=9951872, _a=0x934350) at /home/todor/kdesource/klibs/kio/connection.moc:72
#30 0x00007fb72f3a5107 in QObject::event (this=0x9347c0, e=0x93a590) at kernel/qobject.cpp:1131
#31 0x00007fb73023861f in QApplicationPrivate::notify_helper (this=0x6a0b10, receiver=0x9347c0, e=0x93a590) at kernel/qapplication.cpp:3800
#32 0x00007fb73023a7d5 in QApplication::notify (this=0x7fff3ae10c70, receiver=0x9347c0, e=0x93a590) at kernel/qapplication.cpp:3765
#33 0x00007fb732808efb in KApplication::notify (this=0x7fff3ae10c70, receiver=0x9347c0, event=0x93a590) at /home/todor/kdesource/kdelibs/kdeui/kernel/kapplication.cpp:311
#34 0x00007fb72f396349 in QCoreApplication::notifyInternal (this=0x7fff3ae10c70, receiver=0x9347c0, event=0x93a590) at kernel/qcoreapplication.cpp:591
#35 0x00007fb72f39766b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x67b560) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 0x00007fb72f3bf363 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#37 0x00007fb72c5143d4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0x00007fb72c5176e5 in ?? () from /usr/lib/libglib-2.0.so.0
#39 0x00007fb72c517bcb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#40 0x00007fb72f3bf65f in QEventDispatcherGlib::processEvents (this=0x6a0ac0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#41 0x00007fb7302c0b7f in QGuiEventDispatcherGlib::processEvents (this=0x7fff3ae0f190, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007fb72f3957c5 in QEventLoop::processEvents (this=<value optimized out>, flags=@0x7fff3ae10ba0) at kernel/qeventloop.cpp:149
#43 0x00007fb72f39591b in QEventLoop::exec (this=0x7fff3ae10be0, flags=@0x7fff3ae10bf0) at kernel/qeventloop.cpp:200
#44 0x00007fb72f397969 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:849
#45 0x00000000004592a3 in main (argc=5, argv=0x7fff3ae11258) at /home/todor/kdesource/kdenetwork/kget/main.cpp:153

Comment 2 Dario Andres 2008-12-31 13:53:18 UTC
Can you still reproduce this bug with a recent KDE (4.1.3 / 4.2beta2 / 4.2svn) ? Thanks :)
Comment 3 Todor Gyumyushev 2009-01-01 15:32:16 UTC
I got the following with KGET in trunk
----
kget(447)/kdecore (KLibLoader) kde4Factory: The library "/opt/kde4/lib/kde4/kget_bittorrentfactory.so" does not offer a qt_plugin_instance function.                                                                                                                                        
kget(447)/kdecore (KLibLoader) kde3Factory: The library "/opt/kde4/lib/kde4/kget_bittorrentfactory.so" does not offer an "init_kget_bittorrentfactory" function.   
----
And also a popup message saying BT plugin could not be loaded.
Comment 4 Dario Andres 2009-02-04 20:31:38 UTC
But the crash is gone ?

Also... "kde3Factory:", do you have a mixed KDE3/KDE4 installation ?

Thanks
Comment 5 Todor Gyumyushev 2009-02-05 12:15:09 UTC
Might be something to do with mixed installation.

I've already switched away from Debian and now the bug is gone.

I think you should close this bug.