Bug 281605 - Ktorrent crashed.
Summary: Ktorrent crashed.
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
: 289585 302249 305533 310954 333307 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-08 08:59 UTC by helboof
Modified: 2014-04-14 02:29 UTC (History)
5 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 helboof 2011-09-08 08:59:18 UTC
Application: ktorrent (4.1.1)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.3
Operating System: Linux 3.0.0-10-generic x86_64
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
When rebuilding numerous torrents and movements already downloaded, specifying the new directory.

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

Thread 8 (Thread 0x7f0eb4adf700 (LWP 3503)):
#0  0x00007f0ec350d78f in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0ec350ee91 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0ec350f8a2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0ebc2147b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f0ec3534626 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0ec4f23edc in start_thread (arg=0x7f0eb4adf700) at pthread_create.c:304
#6  0x00007f0ec7b5889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f0eaaac7700 (LWP 3505)):
#0  0x00007f0ec7b4c773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0ec350f078 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0ec350f539 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0ec9426f4e in QEventDispatcherGlib::processEvents (this=0xb2e2d0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f0ec93fad52 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0ec93faf57 in QEventLoop::exec (this=0x7f0eaaac6e00, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f0ec931221f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:492
#7  0x00007f0ec9314ca5 in QThreadPrivate::start (arg=0x887ad0) at thread/qthread_unix.cpp:320
#8  0x00007f0ec4f23edc in start_thread (arg=0x7f0eaaac7700) at pthread_create.c:304
#9  0x00007f0ec7b5889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f0eab2c8700 (LWP 3509)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0ea893b15c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f0ea893b289 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f0ec4f23edc in start_thread (arg=0x7f0eab2c8700) at pthread_create.c:304
#4  0x00007f0ec7b5889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f0eb553b700 (LWP 3664)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f0eb553aaf0 in ?? ()
#2  0x00007fffe83ff7e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7f0e5ceb1700 (LWP 3832)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f0e5ceb0d80 in ?? ()
#2  0x00007fffe83ff739 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x7f0e5b6ae700 (LWP 3833)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0ec9313cb3 in QMutexPrivate::wait (this=0x864320, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f0ec93102e5 in QMutex::lock (this=0x8768b0) at thread/qmutex.cpp:167
#3  0x00007f0ecb6ccc50 in update (this=0x876990) at ../../src/net/uploadthread.cpp:49
#4  net::UploadThread::update (this=0x876990) at ../../src/net/uploadthread.cpp:43
#5  0x00007f0ecb6cd549 in net::NetworkThread::run (this=0x876990) at ../../src/net/networkthread.cpp:48
#6  0x00007f0ec9314ca5 in QThreadPrivate::start (arg=0x876990) at thread/qthread_unix.cpp:320
#7  0x00007f0ec4f23edc in start_thread (arg=0x7f0e5b6ae700) at pthread_create.c:304
#8  0x00007f0ec7b5889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0e5e2d3700 (LWP 3834)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0ec931514b in wait (time=18446744073709551615, this=0x7f0eac16d9b0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7f0eac0f0e80, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0ecb6d00da in net::ReverseResolverThread::run (this=0x7f0eac0f0e70) at ../../src/net/reverseresolver.cpp:123
#4  0x00007f0ec9314ca5 in QThreadPrivate::start (arg=0x7f0eac0f0e70) at thread/qthread_unix.cpp:320
#5  0x00007f0ec4f23edc in start_thread (arg=0x7f0e5e2d3700) at pthread_create.c:304
#6  0x00007f0ec7b5889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0ecbbda780 (LWP 3501)):
[KCrash Handler]
#6  bt::PieceData::write (this=0x0, buf=0x7f0e5451fec8 "d14:failure reason61:Please LOG IN and REDOWNLOAD this torrent (passkey not found)12:min intervali1800e15:warning message61:Please LOG IN and REDOWNLOAD this torrent (passkey not found)e", buf_size=186, off=0) at ../../src/diskio/piecedata.cpp:61
#7  0x00007f0ecb6f07a7 in bt::WebSeed::handleData (this=0x2116000, tmp=...) at ../../src/download/webseed.cpp:426
#8  0x00007f0ecb6f0a02 in bt::WebSeed::readData (this=0x2116000) at ../../src/download/webseed.cpp:397
#9  0x00007f0ecb6f1f75 in bt::WebSeed::update (this=0x2116000) at ../../src/download/webseed.cpp:353
#10 0x00007f0ecb6fb3e7 in bt::Downloader::update (this=0x20a8470) at ../../src/download/downloader.cpp:204
#11 0x00007f0ecb7173a9 in bt::TorrentControl::update (this=0x20798f0) at ../../src/torrent/torrentcontrol.cpp:175
#12 0x000000000042b9bd in kt::Core::update (this=0xb2b760) at ../../ktorrent/core.cpp:1052
#13 0x000000000043304d in kt::Core::qt_metacall (this=0xb2b760, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fffe8323be0) at ./core.moc:164
#14 0x00007f0ec940ee5a in QMetaObject::activate (sender=0xb2b788, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#15 0x00007f0ec9412729 in QObject::event (this=0xb2b788, e=<optimized out>) at kernel/qobject.cpp:1181
#16 0x00007f0ec87b1154 in notify_helper (e=0x7fffe8324120, receiver=0xb2b788, this=0x898370) at kernel/qapplication.cpp:4467
#17 QApplicationPrivate::notify_helper (this=0x898370, receiver=0xb2b788, e=0x7fffe8324120) at kernel/qapplication.cpp:4439
#18 0x00007f0ec87b5fc1 in QApplication::notify (this=0x7fffe8325ce0, receiver=0xb2b788, e=0x7fffe8324120) at kernel/qapplication.cpp:4346
#19 0x0000000000439921 in kt::App::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at ../../ktorrent/app.cpp:99
#20 0x00007f0ec93fbb5c in QCoreApplication::notifyInternal (this=0x7fffe8325ce0, receiver=0xb2b788, event=0x7fffe8324120) at kernel/qcoreapplication.cpp:731
#21 0x00007f0ec9428d82 in sendEvent (event=0x7fffe8324120, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QTimerInfoList::activateTimers (this=0x890700) at kernel/qeventdispatcher_unix.cpp:604
#23 0x00007f0ec9426548 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#24 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#25 0x00007f0ec350eb6d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f0ec350f368 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f0ec350f539 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f0ec9426ee6 in QEventDispatcherGlib::processEvents (this=0x83ffa0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#29 0x00007f0ec88587ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f0ec93fad52 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f0ec93faf57 in QEventLoop::exec (this=0x7fffe83243b0, flags=...) at kernel/qeventloop.cpp:201
#32 0x00007f0ec8c64816 in QDialog::exec (this=0x7fffe8324420) at dialogs/qdialog.cpp:552
#33 0x00000000004601a9 in kt::MissingFilesDlg::execute (this=0x7fffe8324420) at ../../ktorrent/dialogs/missingfilesdlg.cpp:145
#34 0x000000000042e7ca in kt::Core::checkMissingFiles (this=0xb2b760, tc=0x2872aa0) at ../../ktorrent/core.cpp:1218
#35 0x0000000000432f35 in aboutToBeStarted (ret=@0x7fffe83247af, tc=<optimized out>, this=0xb2b760) at ../../ktorrent/core.cpp:1289
#36 kt::Core::qt_metacall (this=0xb2b760, _c=<optimized out>, _id=19, _a=0x7fffe8324750) at ./core.moc:173
#37 0x00007f0ec940ee5a in QMetaObject::activate (sender=0x2872aa0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe8324750) at kernel/qobject.cpp:3278
#38 0x00007f0ecb701587 in bt::TorrentInterface::aboutToBeStarted (this=<optimized out>, _t1=0x2872aa0, _t2=<optimized out>) at ./torrentinterface.moc:152
#39 0x00007f0ecb714cc7 in bt::TorrentControl::start (this=0x2872aa0) at ../../src/torrent/torrentcontrol.cpp:403
#40 0x00007f0ecb418e01 in kt::QueueManager::startSafely (this=<optimized out>, tc=0x2872aa0) at ../../libktcore/torrent/queuemanager.cpp:731
#41 0x00007f0ecb41b53b in kt::QueueManager::start (this=0xb2b950, todo=<optimized out>) at ../../libktcore/torrent/queuemanager.cpp:353
#42 0x0000000000432bf6 in start (todo=..., this=0xb2b760) at ../../ktorrent/core.cpp:659
#43 kt::Core::start (this=0xb2b760, todo=...) at ../../ktorrent/core.cpp:636
#44 0x000000000048a756 in kt::View::startAllTorrents (this=0x2e46a40) at ../../ktorrent/view/view.cpp:269
#45 0x00000000004992e6 in kt::ViewManager::qt_metacall (this=0x299b750, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffe8324980) at ./viewmanager.moc:130
#46 0x00007f0ec940ee5a in QMetaObject::activate (sender=0x29b89f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe8324980) at kernel/qobject.cpp:3278
#47 0x00007f0ec87aa892 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#48 0x00007f0ec87aaa7f in QAction::activate (this=0x29b89f0, event=<optimized out>) at kernel/qaction.cpp:1257
#49 0x00007f0ec8b6599a in QAbstractButtonPrivate::click (this=0x3149a10) at widgets/qabstractbutton.cpp:528
#50 0x00007f0ec8b65c4c in QAbstractButton::mouseReleaseEvent (this=0x2b6bea0, e=0x7fffe8325080) at widgets/qabstractbutton.cpp:1121
#51 0x00007f0ec8c22c1a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:721
#52 0x00007f0ec880194a in QWidget::event (this=0x2b6bea0, event=0x7fffe8325080) at kernel/qwidget.cpp:8259
#53 0x00007f0ec87b1154 in notify_helper (e=0x7fffe8325080, receiver=0x2b6bea0, this=0x898370) at kernel/qapplication.cpp:4467
#54 QApplicationPrivate::notify_helper (this=0x898370, receiver=0x2b6bea0, e=0x7fffe8325080) at kernel/qapplication.cpp:4439
#55 0x00007f0ec87b699b in QApplication::notify (this=<optimized out>, receiver=0x2b6bea0, e=0x7fffe8325080) at kernel/qapplication.cpp:4028
#56 0x0000000000439921 in kt::App::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at ../../ktorrent/app.cpp:99
#57 0x00007f0ec93fbb5c in QCoreApplication::notifyInternal (this=0x7fffe8325ce0, receiver=0x2b6bea0, event=0x7fffe8325080) at kernel/qcoreapplication.cpp:731
#58 0x00007f0ec87b2122 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#59 QApplicationPrivate::sendMouseEvent (receiver=0x2b6bea0, event=0x7fffe8325080, alienWidget=0x2b6bea0, nativeWidget=0x312f500, buttonDown=0x2b6bea0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3127
#60 0x00007f0ec8831265 in QETWidget::translateMouseEvent (this=0x312f500, event=<optimized out>) at kernel/qapplication_x11.cpp:4562
#61 0x00007f0ec88301de in QApplication::x11ProcessEvent (this=0x7fffe8325ce0, event=0x7fffe83258a0) at kernel/qapplication_x11.cpp:3684
#62 0x00007f0ec8858b42 in x11EventSourceDispatch (s=0x8a7500, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#63 0x00007f0ec350eb6d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007f0ec350f368 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007f0ec350f539 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007f0ec9426ee6 in QEventDispatcherGlib::processEvents (this=0x83ffa0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#67 0x00007f0ec88587ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#68 0x00007f0ec93fad52 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#69 0x00007f0ec93faf57 in QEventLoop::exec (this=0x7fffe8325c70, flags=...) at kernel/qeventloop.cpp:201
#70 0x00007f0ec93ff7e9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#71 0x0000000000428362 in main (argc=1, argv=0x7fffe8326b58) at ../../ktorrent/main.cpp:177

Reported using DrKonqi
Comment 1 Joris Guisson 2011-09-10 10:15:18 UTC
Git commit 87493da1a57bdb22f5ca06d9ce23dcedaa0a1726 by Joris Guisson.
Committed on 10/09/2011 at 12:15.
Pushed by guisson into branch 'master'.

Fix crash in webseed code

BUG: 281605

M  +3    -0    ChangeLog
M  +2    -1    src/download/webseed.cpp

http://commits.kde.org/libktorrent/87493da1a57bdb22f5ca06d9ce23dcedaa0a1726
Comment 2 Joris Guisson 2011-09-10 10:17:48 UTC
Git commit d73bc5a623fb9e6681f7a8df52d6327a7999b2df by Joris Guisson.
Committed on 10/09/2011 at 12:15.
Pushed by guisson into branch '1.1'.

Backport to 1.1: Fix crash in webseed code

CCBUG: 281605

M  +3    -0    ChangeLog
M  +2    -1    src/download/webseed.cpp

http://commits.kde.org/libktorrent/d73bc5a623fb9e6681f7a8df52d6327a7999b2df
Comment 3 kabud 2011-12-22 14:22:51 UTC
*** Bug 289585 has been marked as a duplicate of this bug. ***
Comment 4 Joris Guisson 2012-07-02 16:25:26 UTC
*** Bug 302249 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2012-08-21 09:42:11 UTC
*** Bug 305533 has been marked as a duplicate of this bug. ***
Comment 6 Jekyll Wu 2012-12-01 00:43:05 UTC
*** Bug 310954 has been marked as a duplicate of this bug. ***
Comment 7 Jekyll Wu 2014-04-14 02:29:10 UTC
*** Bug 333307 has been marked as a duplicate of this bug. ***