Bug 251659

Summary: KTorrent crash
Product: [Applications] ktorrent Reporter: proDOOMman <prodoomman>
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 proDOOMman 2010-09-18 13:34:48 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu maverick (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
KTorrent crashed when notebook wake up from suspend2ram.
I think ktorrent can't detect network up/down, because on my computer disabled "Network manager user settings service" and enabled gnome's nm-applet

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

Thread 7 (Thread 0xb556eb70 (LWP 12388)):
#0  0x008f13f4 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x014a1fee in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0x0664a59f in QEventDispatcherGlib::processEvents (this=0x85ebd88, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#3  0x0661a609 in QEventLoop::processEvents (this=0xb556e290, flags=) at kernel/qeventloop.cpp:149
#4  0x0661aa8a in QEventLoop::exec (this=0xb556e290, flags=...) at kernel/qeventloop.cpp:201
#5  0x06516b7e in QThread::exec (this=0x85e8700) at thread/qthread.cpp:490
#6  0x0039439e in utp::UTPServerThread::run (this=0x85e8700) at ../../src/utp/utpserverthread.cpp:44
#7  0x06519df9 in QThreadPrivate::start (arg=0x85e8700) at thread/qthread_unix.cpp:266
#8  0x008eecc9 in start_thread () from /lib/libpthread.so.0
#9  0x00d186ae in clone () from /lib/libc.so.6

Thread 6 (Thread 0xb4d6db70 (LWP 12389)):
#0  0x007fc416 in __kernel_vsyscall ()
#1  0x00d11381 in select () from /lib/libc.so.6
#2  0x003568db in dht::RPCServerThread::run (this=0x8640358) at ../../src/dht/rpcserver.cpp:107
#3  0x06519df9 in QThreadPrivate::start (arg=0x8640358) at thread/qthread_unix.cpp:266
#4  0x008eecc9 in start_thread () from /lib/libpthread.so.0
#5  0x00d186ae in clone () from /lib/libc.so.6

Thread 5 (Thread 0xaecffb70 (LWP 12399)):
#0  0x007fc416 in __kernel_vsyscall ()
#1  0x008f34dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x06518ef2 in QMutexPrivate::wait (this=0x8550910, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0x065145ca in QMutex::lock (this=0x8116894) at thread/qmutex.cpp:167
#4  0x002e7890 in net::SocketMonitor::lock (this=0x8116890) at ../../src/net/socketmonitor.cpp:82
#5  0x002e95c5 in net::DownloadThread::update (this=0x8550978) at ../../src/net/downloadthread.cpp:51
#6  0x002ea178 in net::NetworkThread::run (this=0x8550978) at ../../src/net/networkthread.cpp:48
#7  0x06519df9 in QThreadPrivate::start (arg=0x8550978) at thread/qthread_unix.cpp:266
#8  0x008eecc9 in start_thread () from /lib/libpthread.so.0
#9  0x00d186ae in clone () from /lib/libc.so.6

Thread 4 (Thread 0xae4feb70 (LWP 12400)):
#0  QMutexLocker (this=0x8942b38) at /usr/include/qt4/QtCore/qmutex.h:103
#1  bt::PacketWriter::getNumPacketsToWrite (this=0x8942b38) at ../../src/peer/packetwriter.cpp:307
#2  0x00305b31 in bt::PacketWriter::hasBytesToWrite (this=0x8942b38) at ../../src/peer/packetwriter.cpp:286
#3  0x002eff1a in mse::StreamSocket::hasBytesToWrite (this=0xa689550) at ../../src/mse/streamsocket.cpp:309
#4  0x002e89c4 in bytesReadyToWrite (this=0x8550d80) at ../../src/net/bufferedsocket.h:118
#5  net::UploadThread::waitForSocketsReady (this=0x8550d80) at ../../src/net/uploadthread.cpp:122
#6  0x002e8aff in net::UploadThread::update (this=0x8550d80) at ../../src/net/uploadthread.cpp:45
#7  0x002ea178 in net::NetworkThread::run (this=0x8550d80) at ../../src/net/networkthread.cpp:48
#8  0x06519df9 in QThreadPrivate::start (arg=0x8550d80) at thread/qthread_unix.cpp:266
#9  0x008eecc9 in start_thread () from /lib/libpthread.so.0
#10 0x00d186ae in clone () from /lib/libc.so.6

Thread 3 (Thread 0xadcfdb70 (LWP 12401)):
#0  0x007fc416 in __kernel_vsyscall ()
#1  0x008f34dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0651a9c7 in wait (this=0xaed98e5c, mutex=0xaed98e58, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0xaed98e5c, mutex=0xaed98e58, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x002ed8f2 in net::ReverseResolverThread::run (this=0xaed98e50) at ../../src/net/reverseresolver.cpp:123
#5  0x06519df9 in QThreadPrivate::start (arg=0xaed98e50) at thread/qthread_unix.cpp:266
#6  0x008eecc9 in start_thread () from /lib/libpthread.so.0
#7  0x00d186ae in clone () from /lib/libc.so.6

Thread 2 (Thread 0xab9b9b70 (LWP 12402)):
#0  0x007fc416 in __kernel_vsyscall ()
#1  0x00d09de6 in poll () from /lib/libc.so.6
#2  0x014af25b in g_poll () from /lib/libglib-2.0.so.0
#3  0x014a1bfc in ?? () from /lib/libglib-2.0.so.0
#4  0x014a2008 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0664a59f in QEventDispatcherGlib::processEvents (this=0x8a29c10, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x0661a609 in QEventLoop::processEvents (this=0xab9b9290, flags=) at kernel/qeventloop.cpp:149
#7  0x0661aa8a in QEventLoop::exec (this=0xab9b9290, flags=...) at kernel/qeventloop.cpp:201
#8  0x06516b7e in QThread::exec (this=0xad29e3a8) at thread/qthread.cpp:490
#9  0x065f935b in QInotifyFileSystemWatcherEngine::run (this=0xad29e3a8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x06519df9 in QThreadPrivate::start (arg=0xad29e3a8) at thread/qthread_unix.cpp:266
#11 0x008eecc9 in start_thread () from /lib/libpthread.so.0
#12 0x00d186ae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb775a710 (LWP 12386)):
[KCrash Handler]
#7  d_func (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.h:156
#8  QDBusAbstractInterface::callWithArgumentList (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.cpp:406
#9  0x02843666 in Reset (this=0x99aae48, s=1) at ../../dnssd/avahi_entrygroup_interface.h:94
#10 DNSSD::PublicServicePrivate::serverStateChanged (this=0x99aae48, s=1) at ../../dnssd/avahi-publicservice.cpp:203
#11 0x028444d4 in DNSSD::PublicServicePrivate::qt_metacall (this=0x99aae48, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf9041c4) at ./avahi-publicservice_p.moc:77
#12 0x066218ca in QMetaObject::metacall (object=0x99aae48, cl=3213901960, idx=4, argv=0xbf9041c4) at kernel/qmetaobject.cpp:237
#13 0x066346ad in QMetaObject::activate (sender=0x99acbc8, m=0x2853c10, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#14 0x02846799 in OrgFreedesktopAvahiServerInterface::StateChanged (this=0x99acbc8, _t1=1, _t2=...) at ./avahi_server_interface.moc:197
#15 0x0284707b in OrgFreedesktopAvahiServerInterface::qt_metacall (this=0x99acbc8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf90458c) at ./avahi_server_interface.moc:137
#16 0x0057a9dc in QDBusConnectionPrivate::deliverCall (this=0x869cdb0, object=0x99acbc8, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:919
#17 0x005861f7 in QDBusCallDeliveryEvent::placeMetaCall (this=0xaa5930e0, object=0x99acbc8) at qdbusintegrator_p.h:103
#18 0x0662e6a2 in QObject::event (this=0x99acbc8, e=0xbf90408c) at kernel/qobject.cpp:1219
#19 0x03c78fdc in QApplicationPrivate::notify_helper (this=0x85773e0, receiver=0x99acbc8, e=0xaa5930e0) at kernel/qapplication.cpp:4396
#20 0x03c7f04e in QApplication::notify (this=0xbf904e10, receiver=0x99acbc8, e=0xaa5930e0) at kernel/qapplication.cpp:3798
#21 0x080783dc in kt::App::notify (this=0xbf904088, receiver=0xbf90408c, event=0x0) at ../../ktorrent/app.cpp:97
#22 0x0661bb3b in QCoreApplication::notifyInternal (this=0xbf904e10, receiver=0x99acbc8, event=0xaa5930e0) at kernel/qcoreapplication.cpp:732
#23 0x0661ed8b in sendEvent (receiver=0x0, event_type=0, data=0x854fbe8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x854fbe8) at kernel/qcoreapplication.cpp:1373
#25 0x0661ef4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#26 0x0664aa74 in sendPostedEvents (s=0x8573b10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#27 postEventSourceDispatch (s=0x8573b10) at kernel/qeventdispatcher_glib.cpp:277
#28 0x0149e015 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x014a1e28 in ?? () from /lib/libglib-2.0.so.0
#30 0x014a2008 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x0664a565 in QEventDispatcherGlib::processEvents (this=0x854f6d8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#32 0x03d3abe5 in QGuiEventDispatcherGlib::processEvents (this=0x854f6d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x0661a609 in QEventLoop::processEvents (this=0xbf904d84, flags=) at kernel/qeventloop.cpp:149
#34 0x0661aa8a in QEventLoop::exec (this=0xbf904d84, flags=...) at kernel/qeventloop.cpp:201
#35 0x0661f00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#36 0x03c77e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#37 0x08066e91 in main (argc=5, argv=0xbf905214) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 215288.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-09-18 19:37:25 UTC

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