Bug 308402

Summary: K Torrent crashes upon startup after updates and every consequent time
Product: [Applications] ktorrent Reporter: Daniel L McGrew <danix>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel L McGrew 2012-10-14 21:08:48 UTC
Application: ktorrent (4.1.3)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-32-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed: Downloaded latest updates for Kubuntu 11 and restarted computer. K Torrent fails every time after this latest batch of updates. 

- Unusual behavior I noticed: I clicked the relaunch but it failed every single time... 

- Custom settings of the application: Custom settings are two torrents downloading and both up and down speeds are set for wide-open...

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbf3433b780 (LWP 2882))]

Thread 6 (Thread 0x7fbf1d429700 (LWP 2885)):
#0  0x00007fbf2bd62f4e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fbf2bd6349a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbf22c33406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#3  0x00007fbf2bd849e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbf2d5b4e9a in start_thread (arg=0x7fbf1d429700) at pthread_create.c:308
#5  0x00007fbf301eccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fbf0f1c3700 (LWP 2888)):
#0  0x00007fbf301e1303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fbf2bd63036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbf2bd63164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbf31b42426 in QEventDispatcherGlib::processEvents (this=0x7fbf08002600, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fbf31b11c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbf31b11ed7 in QEventLoop::exec (this=0x7fbf0f1c2e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fbf31a10fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fbf31a13fcb in QThreadPrivate::start (arg=0xb747c0) at thread/qthread_unix.cpp:298
#8  0x00007fbf2d5b4e9a in start_thread (arg=0x7fbf0f1c3700) at pthread_create.c:308
#9  0x00007fbf301eccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fbf0e9c2700 (LWP 2889)):
#0  0x00007fbf33e9e814 in ref (this=0x850780) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#1  QList (this=0x7fbf0e9c1d30, l=...) at /usr/include/qt4/QtCore/qlist.h:118
#2  QForeachContainer (t=..., this=0x7fbf0e9c1d30) at /usr/include/qt4/QtCore/qglobal.h:2253
#3  dht::RPCServer::Private::run (this=0x850a80) at ../../src/dht/rpcserver.cpp:91
#4  0x00007fbf31a13fcb in QThreadPrivate::start (arg=0x850a80) at thread/qthread_unix.cpp:298
#5  0x00007fbf2d5b4e9a in start_thread (arg=0x7fbf0e9c2700) at pthread_create.c:308
#6  0x00007fbf301eccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fbef3cee700 (LWP 2893)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbf0561adec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fbf0561af19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fbf2d5b4e9a in start_thread (arg=0x7fbef3cee700) at pthread_create.c:308
#4  0x00007fbf301eccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbef0ff9700 (LWP 2894)):
#0  0x00007fbf2bd626e6 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fbf2bd62f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbf2bd63164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbf31b42426 in QEventDispatcherGlib::processEvents (this=0x7fbeec002670, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fbf31b11c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbf31b11ed7 in QEventLoop::exec (this=0x7fbef0ff8e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fbf31a10fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fbf31a13fcb in QThreadPrivate::start (arg=0x282ab90) at thread/qthread_unix.cpp:298
#8  0x00007fbf2d5b4e9a in start_thread (arg=0x7fbef0ff9700) at pthread_create.c:308
#9  0x00007fbf301eccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbf3433b780 (LWP 2882)):
[KCrash Handler]
#6  data (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#7  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2430
#8  d_func (this=0x0) at qdbusabstractinterface.h:159
#9  QDBusAbstractInterface::callWithArgumentList (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.cpp:430
#10 0x00007fbf0403a100 in Reset (this=0x0) at ../../dnssd/avahi_entrygroup_interface.h:94
#11 serverStateChanged (this=0x1d35610, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:203
#12 DNSSD::PublicServicePrivate::serverStateChanged (this=0x1d35610, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:193
#13 0x00007fbf0403a343 in DNSSD::PublicService::publishAsync (this=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:230
#14 0x00007fbefa7f89ce in kt::TorrentService::start (this=0x2153700) at ../../../plugins/zeroconf/torrentservice.cpp:83
#15 0x00007fbf33e76a9d in start (this=0x1abd1d0) at ../../src/torrent/peersourcemanager.cpp:81
#16 bt::PeerSourceManager::start (this=0x1abd1d0) at ../../src/torrent/peersourcemanager.cpp:73
#17 0x00007fbf33e8009d in bt::TorrentControl::continueStart (this=0x1a461f0) at ../../src/torrent/torrentcontrol.cpp:461
#18 0x00007fbf33e809cf in bt::TorrentControl::start (this=0x1a461f0) at ../../src/torrent/torrentcontrol.cpp:432
#19 0x00007fbf33b83e01 in kt::QueueManager::startSafely (this=<optimized out>, tc=0x1a461f0) at ../../libktcore/torrent/queuemanager.cpp:731
#20 0x00007fbf33b83f49 in startInternal (tc=0x1a461f0, this=0xb1dce0) at ../../libktcore/torrent/queuemanager.cpp:102
#21 kt::QueueManager::startInternal (this=0xb1dce0, tc=0x1a461f0) at ../../libktcore/torrent/queuemanager.cpp:91
#22 0x00007fbf33b85ec3 in kt::QueueManager::orderQueue (this=0xb1dce0) at ../../libktcore/torrent/queuemanager.cpp:588
#23 0x00000000004330e0 in kt::Core::qt_metacall (this=0x827f80, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0x1d35490) at ./core.moc:194
#24 0x00007fbf31b2c446 in QObject::event (this=0x827f80, e=<optimized out>) at kernel/qobject.cpp:1195
#25 0x00007fbf30e95894 in notify_helper (e=0x1d359d0, receiver=0x827f80, this=0x85a830) at kernel/qapplication.cpp:4559
#26 QApplicationPrivate::notify_helper (this=0x85a830, receiver=0x827f80, e=0x1d359d0) at kernel/qapplication.cpp:4531
#27 0x00007fbf30e9a713 in QApplication::notify (this=0x7fff33319800, receiver=0x827f80, e=0x1d359d0) at kernel/qapplication.cpp:4420
#28 0x0000000000439a21 in kt::App::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at ../../ktorrent/app.cpp:99
#29 0x00007fbf31b12e9c in QCoreApplication::notifyInternal (this=0x7fff33319800, receiver=0x827f80, event=0x1d359d0) at kernel/qcoreapplication.cpp:876
#30 0x00007fbf31b16c6a in sendEvent (event=0x1d359d0, receiver=0x827f80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x7e5670) at kernel/qcoreapplication.cpp:1500
#32 0x00007fbf31b41f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#34 0x00007fbf2bd62d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fbf2bd630a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fbf2bd63164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fbf31b423bf in QEventDispatcherGlib::processEvents (this=0x7e6b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00007fbf30f3dd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fbf31b11c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fbf31b11ed7 in QEventLoop::exec (this=0x7fff33319790, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007fbf31b16f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#42 0x0000000000428452 in main (argc=1, argv=0x7fff3331a678) at ../../ktorrent/main.cpp:177

Possible duplicates by query: bug 306876, bug 305968, bug 305585, bug 303683, bug 303178.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-10-14 21:26:35 UTC

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