Bug 245853 - KTorrent
Summary: KTorrent
Status: RESOLVED DUPLICATE of bug 242042
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-27 01:42 UTC by Randy Gordey
Modified: 2010-07-27 10:32 UTC (History)
0 users

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 Randy Gordey 2010-07-27 01:42:54 UTC
Application: ktorrent (4.0.1)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.33.6-147.fc13.i686.PAE i686
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
Application crashes every few hours when download a large Torrent (40 Gig+)

The crash can be reproduced every time.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0xb783f780 (LWP 537))]

Thread 4 (Thread 0xb49ffb70 (LWP 540)):
#0  0x00723424 in __kernel_vsyscall ()
#1  0x0062c091 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x069b3865 in dht::RPCServerThread::run (this=0x88b61d8) at /usr/src/debug/libktorrent-1.0.1/src/dht/rpcserver.cpp:107
#3  0x0772974f in QThreadPrivate::start (arg=0x88b61d8) at thread/qthread_unix.cpp:248
#4  0x00116919 in start_thread (arg=0xb49ffb70) at pthread_create.c:301
#5  0x00633cbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xb0f9ab70 (LWP 546)):
#0  0x00723424 in __kernel_vsyscall ()
#1  0x0011a5d4 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:236
#2  0x0772900f in thread_sleep (ti=<value optimized out>) at thread/qthread_unix.cpp:398
#3  0x07729164 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:424
#4  0x06957e72 in net::DownloadThread::update (this=0x8891858) at /usr/src/debug/libktorrent-1.0.1/src/net/downloadthread.cpp:91
#5  0x069585d8 in net::NetworkThread::run (this=0x8891858) at /usr/src/debug/libktorrent-1.0.1/src/net/networkthread.cpp:48
#6  0x0772974f in QThreadPrivate::start (arg=0x8891858) at thread/qthread_unix.cpp:248
#7  0x00116919 in start_thread (arg=0xb0f9ab70) at pthread_create.c:301
#8  0x00633cbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xb0599b70 (LWP 547)):
#0  0x00723424 in __kernel_vsyscall ()
#1  0x0011a5d4 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:236
#2  0x0772900f in thread_sleep (ti=<value optimized out>) at thread/qthread_unix.cpp:398
#3  0x07729164 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:424
#4  0x069575f2 in net::UploadThread::update (this=0x8891c60) at /usr/src/debug/libktorrent-1.0.1/src/net/uploadthread.cpp:89
#5  0x069585d8 in net::NetworkThread::run (this=0x8891c60) at /usr/src/debug/libktorrent-1.0.1/src/net/networkthread.cpp:48
#6  0x0772974f in QThreadPrivate::start (arg=0x8891c60) at thread/qthread_unix.cpp:248
#7  0x00116919 in start_thread (arg=0xb0599b70) at pthread_create.c:301
#8  0x00633cbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb783f780 (LWP 537)):
[KCrash Handler]
#6  data (this=0x0, obj=0xb4a602c8) at ../../src/corelib/tools/qscopedpointer.h:135
#7  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (this=0x0, obj=0xb4a602c8) at ../../src/corelib/global/qglobal.h:2314
#8  d_func (this=0x0, obj=0xb4a602c8) at kernel/qobject.h:125
#9  QObject::installEventFilter (this=0x0, obj=0xb4a602c8) at kernel/qobject.cpp:2087
#10 0x02539bea in QGtkStylePrivate::init (this=0xb4a601c8) at styles/qgtkstyle_p.cpp:282
#11 0x0251f766 in QGtkStyle::QGtkStyle (this=0xb4a9d6d0) at styles/qgtkstyle.cpp:192
#12 0x0249a6ba in QStyleFactory::create (key=...) at styles/qstylefactory.cpp:177
#13 0x0219f8e0 in QApplication::style () at kernel/qapplication.cpp:1357
#14 0x021e2c45 in QWidget::style (this=0x89dabc8) at kernel/qwidget.cpp:2452
#15 0x021e9250 in QWidget::isActiveWindow (this=0x89dabc8) at kernel/qwidget.cpp:6384
#16 0x0249b4f9 in QStyleOption::init (this=0xbfcec848, widget=0x917f568) at styles/qstyleoption.cpp:206
#17 0x026e6e85 in QAbstractItemView::viewOptions (this=0x917f568) at itemviews/qabstractitemview.cpp:3441
#18 0x026ea3cc in QAbstractItemViewPrivate::viewOptionsV4 (this=0x917fb50) at itemviews/qabstractitemview.cpp:3471
#19 0x0272e0c0 in QTreeView::indexRowSizeHint (this=0x917f568, index=...) at itemviews/qtreeview.cpp:2840
#20 0x02736802 in QTreeView::dataChanged (this=0x917f568, topLeft=..., bottomRight=...) at itemviews/qtreeview.cpp:679
#21 0x026f0358 in QAbstractItemView::qt_metacall (this=0x917f568, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbfcecbd4) at .moc/release-shared/moc_qabstractitemview.cpp:234
#22 0x0273d93b in QTreeView::qt_metacall (this=0x917f568, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbfcecbd4) at .moc/release-shared/moc_qtreeview.cpp:119
#23 0x0781fbcb in QMetaObject::metacall (object=0x917f568, cl=QMetaObject::InvokeMetaMethod, idx=47, argv=0xbfcecbd4) at kernel/qmetaobject.cpp:237
#24 0x0782ea75 in QMetaObject::activate (sender=0x9123d68, m=0x7930638, local_signal_index=0, argv=0xbfcecbd4) at kernel/qobject.cpp:3295
#25 0x07876c2a in QAbstractItemModel::dataChanged (this=0x9123d68, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#26 0x01d92424 in kt::RouterModel::update (this=0x9123d68) at /usr/src/debug/ktorrent-4.0.1/plugins/upnp/routermodel.cpp:184
#27 0x01d90539 in kt::UPnPWidget::updatePortMappings (this=0x9184448) at /usr/src/debug/ktorrent-4.0.1/plugins/upnp/upnpwidget.cpp:199
#28 0x01d91633 in kt::UPnPWidget::qt_metacall (this=0x9184448, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcecdcc)
    at /usr/src/debug/ktorrent-4.0.1/i686-redhat-linux-gnu/plugins/upnp/upnpwidget.moc:89
#29 0x0781fbcb in QMetaObject::metacall (object=0x9184448, cl=QMetaObject::InvokeMetaMethod, idx=31, argv=0xbfcecdcc) at kernel/qmetaobject.cpp:237
#30 0x0782ea75 in QMetaObject::activate (sender=0x9125748, m=0x1dac404, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3295
#31 0x01da4408 in kt::UPnPRouter::updateGUI (this=0x9125748) at /usr/src/debug/ktorrent-4.0.1/i686-redhat-linux-gnu/libktupnp/upnprouter.moc:100
#32 0x01da60f1 in kt::UPnPRouter::undoForward (this=0x9125748, srv=0x91d3e68, port=..., waitjob=0x0) at /usr/src/debug/ktorrent-4.0.1/libktupnp/upnprouter.cpp:306
#33 0x01da643e in kt::UPnPRouter::undoForward (this=0x9125748, port=..., waitjob=0x0) at /usr/src/debug/ktorrent-4.0.1/libktupnp/upnprouter.cpp:321
#34 0x01d9038c in kt::UPnPWidget::portRemoved (this=0x9184448, port=...) at /usr/src/debug/ktorrent-4.0.1/plugins/upnp/upnpwidget.cpp:221
#35 0x06953aef in net::PortList::removePort (this=0x89e8df0, number=6881, proto=net::UDP) at /usr/src/debug/libktorrent-1.0.1/src/net/portlist.cpp:67
#36 0x069e436a in utp::UTPServer::stop (this=0x89e90e8) at /usr/src/debug/libktorrent-1.0.1/src/utp/utpserver.cpp:471
#37 0x06988d1a in bt::Globals::shutdownUTPServer (this=0x89e89e8) at /usr/src/debug/libktorrent-1.0.1/src/torrent/globals.cpp:104
#38 0x06988edf in bt::Globals::~Globals (this=0x89e89e8, __in_chrg=<value optimized out>) at /usr/src/debug/libktorrent-1.0.1/src/torrent/globals.cpp:46
#39 0x06988f43 in bt::Globals::~Globals (this=0x89e89e8, __in_chrg=<value optimized out>) at /usr/src/debug/libktorrent-1.0.1/src/torrent/globals.cpp:50
#40 0x06988ccc in bt::Globals::cleanup () at /usr/src/debug/libktorrent-1.0.1/src/torrent/globals.cpp:61
#41 0x08066e35 in main (argc=-1263894448, argv=0x0) at /usr/src/debug/ktorrent-4.0.1/ktorrent/main.cpp:190

Possible duplicates by query: bug 219985.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-07-27 10:32:50 UTC
Upgrade to 4.0.2 and libktorrent 1.0.2, this should be fixed in that release.

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