Bug 281693

Summary: not fixed for gnome?
Product: [Applications] ktorrent Reporter: Borobot Florin <bmailflorin>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Borobot Florin 2011-09-09 15:42:28 UTC
Application: ktorrent (4.1.0)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.6-0.7-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
it crashes during download 90% of the time, even with dht off. my quick fix is limiting download speed to 7500, this makes for a 5% crash rate. note that I had no problem downloadin about 10 mb/s in windows with same hardware, also ktorrent wasn't crashing when used un kde, currently running opensuse gnome. thank you!

The crash can be reproduced every time.

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

Thread 7 (Thread 0x7f3586501700 (LWP 4500)):
#0  0x00007f3590f5b503 in poll () from /lib64/libc.so.6
#1  0x00007f358c293114 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f358c293a35 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#3  0x00007f3586e681b4 in ?? () from /lib64/libgio-2.0.so.0
#4  0x00007f358c2ba466 in ?? () from /lib64/libglib-2.0.so.0
#5  0x00007f3592616a3f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f3590f6467d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f357628f700 (LWP 4502)):
[KCrash Handler]
#6  0x00007f3594c63d68 in ?? () from /usr/lib64/libktorrent.so.3
#7  0x00007f3594c5fe59 in utp::UTPServer::Private::wakeUpPollPipes(QSharedPointer<utp::Connection>, bool, bool) () from /usr/lib64/libktorrent.so.3
#8  0x00007f3594c5ff80 in utp::UTPServer::stateChanged(QSharedPointer<utp::Connection>, bool, bool) () from /usr/lib64/libktorrent.so.3
#9  0x00007f3594c679fa in utp::Connection::checkState() () from /usr/lib64/libktorrent.so.3
#10 0x00007f3594c6800e in utp::Connection::handlePacket(utp::PacketParser const&, QByteArray const&) () from /usr/lib64/libktorrent.so.3
#11 0x00007f3594c617da in utp::UTPServer::handlePacket(QByteArray const&, net::Address const&) () from /usr/lib64/libktorrent.so.3
#12 0x00007f3594c5f9d0 in utp::UTPServer::Private::dataReceived(QByteArray const&, net::Address const&) () from /usr/lib64/libktorrent.so.3
#13 0x00007f3594bcf120 in net::ServerSocket::readyToRead(int) () from /usr/lib64/libktorrent.so.3
#14 0x00007f3594bb13bb in net::ServerSocket::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libktorrent.so.3
#15 0x00007f35929a3def in QMetaObject::activate (sender=0x733c30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f357628e570) at kernel/qobject.cpp:3272
#16 0x00007f35929ebebe in QSocketNotifier::activated (this=<value optimized out>, _t1=30) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#17 0x00007f35929a999b in QSocketNotifier::event (this=0x733c30, e=0x7f357628ec00) at kernel/qsocketnotifier.cpp:317
#18 0x00007f3591b3dd14 in QApplicationPrivate::notify_helper (this=0x736440, receiver=0x733c30, e=0x7f357628ec00) at kernel/qapplication.cpp:4445
#19 0x00007f3591b4622a in QApplication::notify (this=<value optimized out>, receiver=0x733c30, e=0x7f357628ec00) at kernel/qapplication.cpp:4324
#20 0x000000000043c4d1 in ?? ()
#21 0x00007f359298ebfc in QCoreApplication::notifyInternal (this=0x7fffa2716f20, receiver=0x733c30, event=0x7f357628ec00) at kernel/qcoreapplication.cpp:732
#22 0x00007f35929b92f9 in sendEvent (source=0x7f35800048a0) at kernel/qcoreapplication.h:215
#23 socketNotifierSourceDispatch (source=0x7f35800048a0) at kernel/qeventdispatcher_glib.cpp:110
#24 0x00007f358c292bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#25 0x00007f358c2933b0 in ?? () from /lib64/libglib-2.0.so.0
#26 0x00007f358c293650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#27 0x00007f35929b991f in QEventDispatcherGlib::processEvents (this=0x913f60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#28 0x00007f359298e052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007f359298e265 in QEventLoop::exec (this=0x7f357628ee20, flags=...) at kernel/qeventloop.cpp:201
#30 0x00007f35928a31e4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#31 0x00007f35928a5a5e in QThreadPrivate::start (arg=0x916510) at thread/qthread_unix.cpp:285
#32 0x00007f3592616a3f in start_thread () from /lib64/libpthread.so.0
#33 0x00007f3590f6467d in clone () from /lib64/libc.so.6
#34 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f3575a8e700 (LWP 4503)):
#0  0x00007f3594bce1b0 in net::Poll::poll(int) () from /usr/lib64/libktorrent.so.3
#1  0x00007f3594c30373 in ?? () from /usr/lib64/libktorrent.so.3
#2  0x00007f35928a5a5e in QThreadPrivate::start (arg=0x976b90) at thread/qthread_unix.cpp:285
#3  0x00007f3592616a3f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f3590f6467d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f3572e43700 (LWP 4584)):
#0  0x00007f359261b38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f35928a4b93 in QMutexPrivate::wait (this=0x739b50, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f35928a1505 in QMutex::lock (this=0x739ab8) at thread/qmutex.cpp:167
#3  0x00007f3594c632c0 in utp::UTPServer::preparePolling(net::Poll*, net::Poll::Mode, QSharedPointer<utp::Connection>) () from /usr/lib64/libktorrent.so.3
#4  0x00007f3594c6b303 in utp::UTPSocket::prepare(net::Poll*, net::Poll::Mode) () from /usr/lib64/libktorrent.so.3
#5  0x00007f3594bcae46 in ?? () from /usr/lib64/libktorrent.so.3
#6  0x00007f3594bcaf46 in ?? () from /usr/lib64/libktorrent.so.3
#7  0x00007f3594bcb149 in ?? () from /usr/lib64/libktorrent.so.3
#8  0x00007f35928a5a5e in QThreadPrivate::start (arg=0x6e7870) at thread/qthread_unix.cpp:285
#9  0x00007f3592616a3f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f3590f6467d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3572642700 (LWP 4585)):
#0  0x00007f359261b38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f35928a4b93 in QMutexPrivate::wait (this=0x6e77f0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f35928a1505 in QMutex::lock (this=0x6e6e30) at thread/qmutex.cpp:167
#3  0x00007f3594bca7ac in ?? () from /usr/lib64/libktorrent.so.3
#4  0x00007f3594bcb149 in ?? () from /usr/lib64/libktorrent.so.3
#5  0x00007f35928a5a5e in QThreadPrivate::start (arg=0x6e7d90) at thread/qthread_unix.cpp:285
#6  0x00007f3592616a3f in start_thread () from /lib64/libpthread.so.0
#7  0x00007f3590f6467d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3571e41700 (LWP 4586)):
#0  0x00007f359261b38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f35928a614b in wait (this=<value optimized out>, mutex=0x7f3580791390, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7f3580791390, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f3594bcdd12 in ?? () from /usr/lib64/libktorrent.so.3
#4  0x00007f35928a5a5e in QThreadPrivate::start (arg=0x7f3580791380) at thread/qthread_unix.cpp:285
#5  0x00007f3592616a3f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f3590f6467d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f35950ce760 (LWP 4499)):
#0  0x00007f359261b38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f35928a4b93 in QMutexPrivate::wait (this=0x739b50, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f35928a1505 in QMutex::lock (this=0x739ab8) at thread/qmutex.cpp:167
#3  0x00007f3594c607c6 in utp::UTPServer::connectTo(net::Address const&) () from /usr/lib64/libktorrent.so.3
#4  0x00007f3594c6aa35 in utp::UTPSocket::connectTo(net::Address const&) () from /usr/lib64/libktorrent.so.3
#5  0x00007f3594bd3994 in ?? () from /usr/lib64/libktorrent.so.3
#6  0x00007f3594beac85 in bt::PeerConnector::Private::start(bt::PeerConnector::Method) () from /usr/lib64/libktorrent.so.3
#7  0x00007f3594beb369 in bt::PeerConnector::Private::authenticationFinished(bt::Authenticate*, bool) () from /usr/lib64/libktorrent.so.3
#8  0x00007f3594bd3d88 in ?? () from /usr/lib64/libktorrent.so.3
#9  0x00007f3594bd2a30 in ?? () from /usr/lib64/libktorrent.so.3
#10 0x00007f3594bd2e48 in ?? () from /usr/lib64/libktorrent.so.3
#11 0x00007f3594bd0888 in ?? () from /usr/lib64/libktorrent.so.3
#12 0x00007f35929a3def in QMetaObject::activate (sender=0x7f3580c519e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#13 0x00007f35929a2799 in QObject::event (this=0x7f3580c519e0, e=<value optimized out>) at kernel/qobject.cpp:1175
#14 0x00007f3591b3dd14 in QApplicationPrivate::notify_helper (this=0x736440, receiver=0x7f3580c519e0, e=0x7fffa2716b70) at kernel/qapplication.cpp:4445
#15 0x00007f3591b4622a in QApplication::notify (this=<value optimized out>, receiver=0x7f3580c519e0, e=0x7fffa2716b70) at kernel/qapplication.cpp:4324
#16 0x000000000043c4d1 in ?? ()
#17 0x00007f359298ebfc in QCoreApplication::notifyInternal (this=0x7fffa2716f20, receiver=0x7f3580c519e0, event=0x7fffa2716b70) at kernel/qcoreapplication.cpp:732
#18 0x00007f35929bc4d8 in sendEvent (this=0x7342d0) at kernel/qcoreapplication.h:215
#19 QTimerInfoList::activateTimers (this=0x7342d0) at kernel/qeventdispatcher_unix.cpp:618
#20 0x00007f35929b9244 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#21 0x00007f358c292bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#22 0x00007f358c2933b0 in ?? () from /lib64/libglib-2.0.so.0
#23 0x00007f358c293650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#24 0x00007f35929b991f in QEventDispatcherGlib::processEvents (this=0x6e5610, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#25 0x00007f3591be2d8e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f359298e052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007f359298e265 in QEventLoop::exec (this=0x7fffa2716e80, flags=...) at kernel/qeventloop.cpp:201
#28 0x00007f35929926ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#29 0x000000000042bf45 in _start ()

This bug may be a duplicate of or related to bug 270127.

Possible duplicates by query: bug 281507, bug 272297, bug 271163, bug 270127, bug 270109.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-09-10 09:51:28 UTC
This was fixed in 4.1.1

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