Bug 250500 - ktorrent crashes when queue changes
Summary: ktorrent crashes when queue changes
Status: RESOLVED DUPLICATE of bug 245796
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-07 22:56 UTC by EssL
Modified: 2010-09-08 18:11 UTC (History)
0 users

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 EssL 2010-09-07 22:56:00 UTC
Application: ktorrent (4.0.2)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.6.3
Operating System: Linux 2.6.31.12-0.2-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
When a new torrent starts, either manualy starting/stopping/changing queue priority or automatically when a torrent is finished ktorrent crashes.

The crash can be reproduced every time.

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

Thread 8 (Thread 0x7fe6cfcbc910 (LWP 14599)):
#0  0x00007fe6de776d52 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007fe6d8952abd in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe6d8954332 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe6d89548e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fe6deb1d1e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007fe6deaf2432 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fe6deaf280c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007fe6dea0149b in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007fe6e092c73e in utp::UTPServerThread::run (this=0x7fe6c800a630) at /usr/src/debug/libktorrent-1.0.3/src/utp/utpserverthread.cpp:44
#9  0x00007fe6dea03f95 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007fe6de77465d in start_thread () from /lib64/libpthread.so.0
#11 0x00007fe6dd0d2e1d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fe6cf4bb910 (LWP 14600)):
#0  0x00007fe6dd0cc3e2 in select () from /lib64/libc.so.6
#1  0x00007fe6e08f4adc in dht::RPCServerThread::run (this=0x7fe6c80096d0) at /usr/src/debug/libktorrent-1.0.3/src/dht/rpcserver.cpp:107
#2  0x00007fe6dea03f95 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fe6de77465d in start_thread () from /lib64/libpthread.so.0
#4  0x00007fe6dd0d2e1d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fe6c5fb2910 (LWP 14662)):
#0  0x00007fe6de7792cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe6dea03905 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007fe6dea03a70 in QThread::msleep(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00007fe6e0894bdd in net::DownloadThread::update (this=0x6e5280) at /usr/src/debug/libktorrent-1.0.3/src/net/downloadthread.cpp:91
#4  0x00007fe6e0895429 in net::NetworkThread::run (this=0x6e5280) at /usr/src/debug/libktorrent-1.0.3/src/net/networkthread.cpp:48
#5  0x00007fe6dea03f95 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00007fe6de77465d in start_thread () from /lib64/libpthread.so.0
#7  0x00007fe6dd0d2e1d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fe6cdda2910 (LWP 14663)):
#0  0x00007fe6de7792cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe6dea03905 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007fe6dea03a70 in QThread::msleep(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00007fe6e089426d in net::UploadThread::update (this=0x6e58f0) at /usr/src/debug/libktorrent-1.0.3/src/net/uploadthread.cpp:89
#4  0x00007fe6e0895429 in net::NetworkThread::run (this=0x6e58f0) at /usr/src/debug/libktorrent-1.0.3/src/net/networkthread.cpp:48
#5  0x00007fe6dea03f95 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00007fe6de77465d in start_thread () from /lib64/libpthread.so.0
#7  0x00007fe6dd0d2e1d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fe6cd5a1910 (LWP 14664)):
#0  0x00007fe6de779049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe6dea04fdb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fe6e0898472 in net::ReverseResolverThread::run (this=0x2353fc0) at /usr/src/debug/libktorrent-1.0.3/src/net/reverseresolver.cpp:123
#3  0x00007fe6dea03f95 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fe6de77465d in start_thread () from /lib64/libpthread.so.0
#5  0x00007fe6dd0d2e1d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe6c67fc910 (LWP 16075)):
#0  0x00007fe6de7792cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe6dea04f42 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fe6deee843c in ?? () from /usr/lib64/libkdecore.so.5
#3  0x00007fe6def04fa8 in ?? () from /usr/lib64/libkdecore.so.5
#4  0x00007fe6dea03f95 in ?? () from /usr/lib64/libQtCore.so.4
#5  0x00007fe6de77465d in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe6dd0d2e1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe6c6ffd910 (LWP 16076)):
#0  0x00007fe6de7792cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe6dea04f42 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fe6deee843c in ?? () from /usr/lib64/libkdecore.so.5
#3  0x00007fe6def04fa8 in ?? () from /usr/lib64/libkdecore.so.5
#4  0x00007fe6dea03f95 in ?? () from /usr/lib64/libQtCore.so.4
#5  0x00007fe6de77465d in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe6dd0d2e1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe6e0d6c750 (LWP 14597)):
[KCrash Handler]
#6  0x00007fe6e089dec5 in bt::Authenticate::stop (this=0x260b140) at /usr/src/debug/libktorrent-1.0.3/src/peer/authenticate.cpp:220
#7  0x00007fe6e08a92b5 in bt::PeerManager::stop (this=0x1567af0) at /usr/src/debug/libktorrent-1.0.3/src/peer/peermanager.cpp:550
#8  0x00007fe6e08d9b9f in bt::TorrentControl::stop (this=0x15fa620, wjob=0x0) at /usr/src/debug/libktorrent-1.0.3/src/torrent/torrentcontrol.cpp:486
#9  0x00007fe6e05d6daa in kt::QueueManager::stopSafely(bt::TorrentInterface*, bt::WaitJob*) () from /usr/lib64/libktcore.so.11
#10 0x00007fe6e05d9d4b in kt::QueueManager::orderQueue() () from /usr/lib64/libktcore.so.11
#11 0x000000000044ce7f in _start ()

Possible duplicates by query: bug 247207.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-09-08 18:11:38 UTC

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