Bug 268435 - KTorrent crashes on torrent Start or Download Complete
Summary: KTorrent crashes on torrent Start or Download Complete
Status: RESOLVED DUPLICATE of bug 215288
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 290258 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-14 06:34 UTC by ABL.Public
Modified: 2012-06-21 23:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.27 KB, text/plain)
2011-08-11 01:43 UTC, Ivan D Vasin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ABL.Public 2011-03-14 06:34:37 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-29-generic x86_64
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
KTorrent crashes every time a new torrent is started or when an existing one completes download. The tray applet also no longer displays down/up speed on mouseover.

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

Thread 5 (Thread 0x7fe163ec2700 (LWP 2838)):
#0  0x00007fe16d36bff3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fe1712d368e in dht::RPCServerThread::run (this=0x16dbb40) at ../../libbtcore/dht/rpcserver.cpp:107
#2  0x00007fe16eceb775 in QThreadPrivate::start (arg=0x16dbb40) at thread/qthread_unix.cpp:248
#3  0x00007fe16ea5b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fe16d37370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fe14baed700 (LWP 2880)):
#0  0x00007fe16d366f93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe171279aa9 in net::DownloadThread::waitForSocketReady (this=0x15b8950) at ../../libbtcore/net/downloadthread.cpp:188
#2  0x00007fe171279b66 in net::DownloadThread::update (this=0x4b65db0) at ../../libbtcore/net/downloadthread.cpp:53
#3  0x00007fe17127a6e9 in net::NetworkThread::run (this=0x15b8950) at ../../libbtcore/net/networkthread.cpp:48
#4  0x00007fe16eceb775 in QThreadPrivate::start (arg=0x15b8950) at thread/qthread_unix.cpp:248
#5  0x00007fe16ea5b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fe16d37370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe14b2ec700 (LWP 2881)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe16ecec72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x15b8f20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x15b8f20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fe17127960c in net::UploadThread::update (this=0x15b8eb0) at ../../libbtcore/net/uploadthread.cpp:73
#4  0x00007fe17127a6e9 in net::NetworkThread::run (this=0x15b8eb0) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007fe16eceb775 in QThreadPrivate::start (arg=0x15b8eb0) at thread/qthread_unix.cpp:248
#6  0x00007fe16ea5b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007fe16d37370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe161b8e700 (LWP 2994)):
#0  0x00007fe16ea5fa2d in __pthread_mutex_unlock_usercnt (mutex=0x48fd398) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x48fd398) at pthread_mutex_unlock.c:290
#2  0x00007fe1699f7bcd in g_main_context_check () from /lib/libglib-2.0.so.0
#3  0x00007fe1699f84c3 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007fe1699f88fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007fe16ee09566 in QEventDispatcherGlib::processEvents (this=0x46f8a10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#6  0x00007fe16edde992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007fe16edded6c in QEventLoop::exec (this=0x7fe161b8ddb0, flags=) at kernel/qeventloop.cpp:201
#8  0x00007fe16ece8d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#9  0x00007fe16edbf178 in QInotifyFileSystemWatcherEngine::run (this=0x43477c0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fe16eceb775 in QThreadPrivate::start (arg=0x43477c0) at thread/qthread_unix.cpp:248
#11 0x00007fe16ea5b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007fe16d37370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe171742760 (LWP 2836)):
[KCrash Handler]
#5  QDBusAbstractInterface::d_func (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.h:154
#6  QDBusAbstractInterface::callWithArgumentList (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.cpp:402
#7  0x00007fe159a81156 in OrgFreedesktopAvahiEntryGroupInterface::Reset (this=0x47c4450, s=<value optimized out>) at ../../dnssd/avahi_entrygroup_interface.h:94
#8  DNSSD::PublicServicePrivate::serverStateChanged (this=0x47c4450, s=<value optimized out>) at ../../dnssd/avahi-publicservice.cpp:203
#9  0x00007fe159a81366 in DNSSD::PublicService::publishAsync (this=<value optimized out>) at ../../dnssd/avahi-publicservice.cpp:230
#10 0x00007fe15865a342 in kt::TorrentService::start (this=0x517c560) at ../../../plugins/zeroconf/torrentservice.cpp:83
#11 0x00007fe1712afdda in bt::PeerSourceManager::start (this=0x51dead0) at ../../libbtcore/torrent/peersourcemanager.cpp:81
#12 0x00007fe1712bc0fd in bt::TorrentControl::continueStart (this=0x527ea10) at ../../libbtcore/torrent/torrentcontrol.cpp:382
#13 0x00007fe1712bc343 in bt::TorrentControl::preallocFinished (this=0x527ea10, error=..., completed=true) at ../../libbtcore/torrent/torrentcontrol.cpp:1670
#14 0x00007fe1712e459d in bt::PreallocationJob::finished (this=0x5356310) at ../../libbtcore/diskio/preallocationjob.cpp:62
#15 0x00007fe171262c50 in bt::PreallocationJob::qt_metacall (this=0x5356310, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at moc_preallocationjob.cpp:74
#16 0x00007fe16edefd49 in QObject::event (this=0x5356310, e=0x7fe15402ed50) at kernel/qobject.cpp:1248
#17 0x00007fe16df7c22c in QApplicationPrivate::notify_helper (this=0x15e70f0, receiver=0x5356310, e=0x7fe15402ed50) at kernel/qapplication.cpp:4300
#18 0x00007fe16df826fb in QApplication::notify (this=0x7fff80542540, receiver=0x5356310, e=0x7fe15402ed50) at kernel/qapplication.cpp:4183
#19 0x00007fe170426a16 in KApplication::notify (this=0x7fff80542540, receiver=0x5356310, event=0x7fe15402ed50) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x00007fe16ede006c in QCoreApplication::notifyInternal (this=0x7fff80542540, receiver=0x5356310, event=0x7fe15402ed50) at kernel/qcoreapplication.cpp:704
#21 0x00007fe16ede27e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x15b6e40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x15b6e40) at kernel/qcoreapplication.cpp:1345
#23 0x00007fe16ee099d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#25 0x00007fe1699f48c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007fe1699f8748 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007fe1699f88fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00007fe16ee09513 in QEventDispatcherGlib::processEvents (this=0x15b6980, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#29 0x00007fe16e02c46e in QGuiEventDispatcherGlib::processEvents (this=0x7fff805416c0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007fe16edde992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007fe16edded6c in QEventLoop::exec (this=0x7fff805424b0, flags=) at kernel/qeventloop.cpp:201
#32 0x00007fe16ede2aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#33 0x0000000000427294 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:172

Reported using DrKonqi
Comment 1 ABL.Public 2011-03-14 17:35:07 UTC
A reinstall does not fix this.

Disabling ZeroConf fixes this.
Comment 2 Joris Guisson 2011-03-18 11:07:48 UTC
KDNSSD problem
Comment 3 Ivan D Vasin 2011-08-11 01:43:40 UTC
Created attachment 62738 [details]
New crash information added by DrKonqi

ktorrent (4.1.1) on KDE Platform 4.7.00 (4.7.0) using Qt 4.7.3

KTorrent crashes on startup every time, even if i remove all KDE settings.

indeed, i have KTorrent compiled with Zeroconf support.  recompiling without Zeroconf resolves the problem.

how do i disable Zeroconf for KTorrent at runtime?  is this in fact a KTorrent bug, or should i file this elsewhere?

-- Backtrace (Reduced):
#7  QDBusAbstractInterface::callWithArgumentList (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.cpp:406
#8  0x00007feb51c67e9a in OrgFreedesktopAvahiEntryGroupInterface::Reset (this=0x0) at /var/tmp/portage/kde-base/kdelibs-4.7.0-r1/work/kdelibs-4.7.0/dnssd/avahi_entrygroup_interface.h:94
#9  0x00007feb51c6745c in DNSSD::PublicServicePrivate::serverStateChanged (this=0x27ec410, s=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.7.0-r1/work/kdelibs-4.7.0/dnssd/avahi-publicservice.cpp:203
#10 0x00007feb51c6754e in DNSSD::PublicService::publishAsync (this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.7.0-r1/work/kdelibs-4.7.0/dnssd/avahi-publicservice.cpp:230
#11 0x00007feb4f68b753 in kt::TorrentService::start (this=0x28ec4a0) at /var/tmp/portage/net-p2p/ktorrent-4.1.1/work/ktorrent-4.1.1/plugins/zeroconf/torrentservice.cpp:83
Comment 4 Christoph Feck 2011-12-31 16:49:21 UTC
*** Bug 290258 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2012-06-21 23:10:16 UTC

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