Bug 306876

Summary: ktorrent crashes on start-up
Product: [Applications] ktorrent Reporter: Pavel <pasha-pivo>
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 Pavel 2012-09-16 08:28:14 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-30-generic-pae i686
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed: just trying to start the program on the current session. it can crash randomly after restarting the system.

The crash can be reproduced some of the time.

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

Thread 5 (Thread 0xb1c09b40 (LWP 20674)):
#0  0xb4f4ac60 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb5987634 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb4d29410 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4ce9c78 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4cea125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4cea201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb67e68e7 in QEventDispatcherGlib::processEvents (this=0xb1302000, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb67b250d in QEventLoop::processEvents (this=0xb1c09270, flags=...) at kernel/qeventloop.cpp:149
#8  0xb67b27a9 in QEventLoop::exec (this=0xb1c09270, flags=...) at kernel/qeventloop.cpp:204
#9  0xb669b94c in QThread::exec (this=0x981bd68) at thread/qthread.cpp:501
#10 0xb771f90d in utp::UTPServerThread::run (this=0x981bd68) at ../../src/utp/utpserverthread.cpp:41
#11 0xb669ede0 in QThreadPrivate::start (arg=0x981bd68) at thread/qthread_unix.cpp:298
#12 0xb4f47d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0xb5979ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xb126cb40 (LWP 20682)):
#0  0xb77c6424 in __kernel_vsyscall ()
#1  0xb596b380 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb7679567 in net::Poll::poll (this=0xb126c20c, timeout=500) at ../../src/net/poll.cpp:99
#3  0xb76e5ab9 in dht::RPCServer::Private::run (this=0x9835038) at ../../src/dht/rpcserver.cpp:95
#4  0xb669ede0 in QThreadPrivate::start (arg=0x9835038) at thread/qthread_unix.cpp:298
#5  0xb4f47d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb5979ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xa76aeb40 (LWP 20774)):
#0  0xb77c6424 in __kernel_vsyscall ()
#1  0xb4f4b96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb59873dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xaf8b8263 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xaf8b837f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb4f47d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb5979ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa65b3b40 (LWP 20775)):
#0  0xb77c6424 in __kernel_vsyscall ()
#1  0xb596b380 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb4cf7a7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4cea0ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4cea201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb67e68e7 in QEventDispatcherGlib::processEvents (this=0xa6d00ab8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb67b250d in QEventLoop::processEvents (this=0xa65b3270, flags=...) at kernel/qeventloop.cpp:149
#7  0xb67b27a9 in QEventLoop::exec (this=0xa65b3270, flags=...) at kernel/qeventloop.cpp:204
#8  0xb669b94c in QThread::exec (this=0xa25c3d0) at thread/qthread.cpp:501
#9  0xb669ba3b in QThread::run (this=0xa25c3d0) at thread/qthread.cpp:568
#10 0xb669ede0 in QThreadPrivate::start (arg=0xa25c3d0) at thread/qthread_unix.cpp:298
#11 0xb4f47d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb5979ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb430a980 (LWP 20531)):
[KCrash Handler]
#7  data (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#8  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2430
#9  d_func (this=<optimized out>) at qdbusabstractinterface.h:159
#10 QDBusAbstractInterface::callWithArgumentList (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.cpp:430
#11 0xae074249 in Reset (this=0x0) at ../../dnssd/avahi_entrygroup_interface.h:94
#12 serverStateChanged (this=0xa2ebf00, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:203
#13 DNSSD::PublicServicePrivate::serverStateChanged (this=0xa2ebf00, s=1) at ../../dnssd/avahi-publicservice.cpp:193
#14 0xae0744b1 in DNSSD::PublicService::publishAsync (this=0xa2e8768) at ../../dnssd/avahi-publicservice.cpp:230
#15 0xb032e691 in kt::TorrentService::start (this=0x9c42298) at ../../../plugins/zeroconf/torrentservice.cpp:83
#16 0xb76b9f2d in start (this=0x9868fe8) at ../../src/torrent/peersourcemanager.cpp:81
#17 bt::PeerSourceManager::start (this=0x9868fe8) at ../../src/torrent/peersourcemanager.cpp:73
#18 0xb76c477e in bt::TorrentControl::continueStart (this=0x985da30) at ../../src/torrent/torrentcontrol.cpp:461
#19 0xb76c51a6 in bt::TorrentControl::start (this=0x985da30) at ../../src/torrent/torrentcontrol.cpp:432
#20 0xb75cf26a in kt::QueueManager::startSafely (this=0x982c260, tc=0x985da30) at ../../libktcore/torrent/queuemanager.cpp:731
#21 0xb75cf3eb in startInternal (tc=0x985da30, this=0x982c260) at ../../libktcore/torrent/queuemanager.cpp:102
#22 kt::QueueManager::startInternal (this=0x982c260, tc=0x985da30) at ../../libktcore/torrent/queuemanager.cpp:91
#23 0xb75d12dc in kt::QueueManager::orderQueue (this=0x982c260) at ../../libktcore/torrent/queuemanager.cpp:614
#24 0x08072c79 in kt::Core::qt_metacall (this=0x982dd10, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0x98fa030) at ./core.moc:194
#25 0xb67bac9d in metacall (argv=0x98fa030, idx=49, cl=QMetaObject::InvokeMetaMethod, object=0x982dd10) at kernel/qmetaobject.cpp:245
#26 QMetaObject::metacall (object=0x982dd10, cl=QMetaObject::InvokeMetaMethod, idx=49, argv=0x98fa030) at kernel/qmetaobject.cpp:240
#27 0xb67c5c35 in placeMetaCall (object=0x982dd10, this=0x985cf18) at kernel/qobject.cpp:527
#28 QMetaCallEvent::placeMetaCall (this=0x985cf18, object=0x982dd10) at kernel/qobject.cpp:522
#29 0xb67cec7b in QObject::event (this=0x982dd10, e=0x985cf18) at kernel/qobject.cpp:1195
#30 0xb5c9eed4 in notify_helper (e=0x985cf18, receiver=0x982dd10, this=0x9754858) at kernel/qapplication.cpp:4559
#31 QApplicationPrivate::notify_helper (this=0x9754858, receiver=0x982dd10, e=0x985cf18) at kernel/qapplication.cpp:4531
#32 0xb5ca430d in QApplication::notify (this=0x985cf18, receiver=0x982dd10, e=0x985cf18) at kernel/qapplication.cpp:4288
#33 0x08079937 in kt::App::notify (this=0xbfc05d50, receiver=0x982dd10, event=0x985cf18) at ../../ktorrent/app.cpp:99
#34 0xb67b397e in QCoreApplication::notifyInternal (this=0xbfc05d50, receiver=0x982dd10, event=0x985cf18) at kernel/qcoreapplication.cpp:876
#35 0xb67b7ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x96e7370) at kernel/qcoreapplication.cpp:1500
#37 0xb67b7e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#38 0xb67e6494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#39 postEventSourceDispatch (s=0x97311e0) at kernel/qeventdispatcher_glib.cpp:279
#40 0xb4ce9d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0xb4cea125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#42 0xb4cea201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0xb67e6887 in QEventDispatcherGlib::processEvents (this=0x96e7ed8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#44 0xb5d57aaa in QGuiEventDispatcherGlib::processEvents (this=0x96e7ed8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0xb67b250d in QEventLoop::processEvents (this=0xbfc05cc4, flags=...) at kernel/qeventloop.cpp:149
#46 0xb67b27a9 in QEventLoop::exec (this=0xbfc05cc4, flags=...) at kernel/qeventloop.cpp:204
#47 0xb67b7eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#48 0xb5c9ca74 in QApplication::exec () at kernel/qapplication.cpp:3820
#49 0x080678a8 in main (argc=<error reading variable: Cannot access memory at address 0x74>, argv=<error reading variable: Cannot access memory at address 0x78>) at ../../ktorrent/main.cpp:177

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

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

Reported using DrKonqi
Comment 1 Christoph Feck 2012-09-17 00:16:13 UTC

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