Bug 299520

Summary: KTorrent Crashes Immediately
Product: [Applications] ktorrent Reporter: Daniel L McGrew <danix>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: pasha-pivo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Daniel L McGrew 2012-05-06 19:38:04 UTC
Application: ktorrent (4.1.3)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed: Clicked on the icon and it crashes immediately. I just finished installing the latest batch of updates for my Kubuntu 12 OS. Today: python-central (0.6.17ubuntu1) Upgraded 8:37AM, Yesterday: dmsetup (1.02.48-4ubuntu7) Upgraded 6:36PM, libdevmapper1.02.1 (1.02.48-4ubuntu7) upgraded 6:36PM, python-software-properties (0.82.7) upgraded 6:36PM, gdb (7.4.2012.02-0ubuntu2) upgraded 6:36PM, software-properties-kde (0.82.7) upgraded 6.36PM, libdevmapper-event1.02.1 (1.02.48-4ubuntu7) upgraded 6.36PM, flashplugin-installer (11.2.202.233ubuntu2) upgraded 6:36PM, liblvm2app2.2 (2.02.66-4ubuntu7) upgraded 6:36PM, liborbit2 (2.14.19-0.1) upgraded 6:36PM, upstart (1.5-0ubuntu5) 

- Custom settings of the application: all torrent default locations changed to home directory. Setup was working great two days ago. Performed updates and not it's not working any longer.

-- 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 0x7fbbf1b90780 (LWP 3213))]

Thread 6 (Thread 0x7fbbdc676700 (LWP 3215)):
#0  0x00007fbbeda400bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fbbe95fd88f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbbe95c2abd in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbbe95c2f96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbbe95c3124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbbef3a0426 in QEventDispatcherGlib::processEvents (this=0x7fbbd4002800, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fbbef36fc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fbbef36fed7 in QEventLoop::exec (this=0x7fbbdc675e00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fbbef26efa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fbbef271fcb in QThreadPrivate::start (arg=0x1851ef0) at thread/qthread_unix.cpp:298
#10 0x00007fbbeae14e9a in start_thread (arg=0x7fbbdc676700) at pthread_create.c:308
#11 0x00007fbbeda4d4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fbbdbe75700 (LWP 3216)):
#0  0x00007fbbf16f29e1 in ref (this=0x16e4878) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#1  ref (this=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:336
#2  ExternalRefCount (other=..., this=0x7fbbdbe74d90) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:399
#3  QSharedPointer (other=..., this=0x7fbbdbe74d90) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:475
#4  dht::RPCServer::Private::run (this=0x185dcf0) at ../../src/dht/rpcserver.cpp:97
#5  0x00007fbbef271fcb in QThreadPrivate::start (arg=0x185dcf0) at thread/qthread_unix.cpp:298
#6  0x00007fbbeae14e9a in start_thread (arg=0x7fbbdbe75700) at pthread_create.c:308
#7  0x00007fbbeda4d4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fbbd9fe1700 (LWP 3218)):
#0  0x00007fbbeda41b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fbbe95c2ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbbe95c3124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbbef3a0426 in QEventDispatcherGlib::processEvents (this=0x7fbbd00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fbbef36fc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbbef36fed7 in QEventLoop::exec (this=0x7fbbd9fe0dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fbbef26efa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fbbef34f9ff in QInotifyFileSystemWatcherEngine::run (this=0x23909c0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fbbef271fcb in QThreadPrivate::start (arg=0x23909c0) at thread/qthread_unix.cpp:298
#9  0x00007fbbeae14e9a in start_thread (arg=0x7fbbd9fe1700) at pthread_create.c:308
#10 0x00007fbbeda4d4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fbbbea65700 (LWP 3221)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbbcb613dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fbbcb613f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fbbeae14e9a in start_thread (arg=0x7fbbbea65700) at pthread_create.c:308
#4  0x00007fbbeda4d4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbbb7ccd700 (LWP 3222)):
#0  0x00007fbbeae16f69 in __pthread_mutex_lock (mutex=0x7fbbb80008c0) at pthread_mutex_lock.c:92
#1  0x00007fbbe95fe561 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbbe95c2fdb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbbe95c3124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbbef3a0426 in QEventDispatcherGlib::processEvents (this=0x7fbbb8002610, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fbbef36fc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fbbef36fed7 in QEventLoop::exec (this=0x7fbbb7ccce00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fbbef26efa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fbbef271fcb in QThreadPrivate::start (arg=0x2b0b390) at thread/qthread_unix.cpp:298
#9  0x00007fbbeae14e9a in start_thread (arg=0x7fbbb7ccd700) at pthread_create.c:308
#10 0x00007fbbeda4d4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbbf1b90780 (LWP 3213)):
[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 0x00007fbbd8231100 in Reset (this=0x0) at ../../dnssd/avahi_entrygroup_interface.h:94
#11 serverStateChanged (this=0x19c7310, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:203
#12 DNSSD::PublicServicePrivate::serverStateChanged (this=0x19c7310, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:193
#13 0x00007fbbd8231343 in DNSSD::PublicService::publishAsync (this=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:230
#14 0x00007fbbc556c9ce in kt::TorrentService::start (this=0x23f8fb0) at ../../../plugins/zeroconf/torrentservice.cpp:83
#15 0x00007fbbf16caa9d in start (this=0x18b9b80) at ../../src/torrent/peersourcemanager.cpp:81
#16 bt::PeerSourceManager::start (this=0x18b9b80) at ../../src/torrent/peersourcemanager.cpp:73
#17 0x00007fbbf16d409d in bt::TorrentControl::continueStart (this=0x189c1a0) at ../../src/torrent/torrentcontrol.cpp:461
#18 0x00007fbbf16d49cf in bt::TorrentControl::start (this=0x189c1a0) at ../../src/torrent/torrentcontrol.cpp:432
#19 0x00007fbbf13d7e01 in kt::QueueManager::startSafely (this=<optimized out>, tc=0x189c1a0) at ../../libktcore/torrent/queuemanager.cpp:731
#20 0x00007fbbf13d7f49 in startInternal (tc=0x189c1a0, this=0x184ba20) at ../../libktcore/torrent/queuemanager.cpp:102
#21 kt::QueueManager::startInternal (this=0x184ba20, tc=0x189c1a0) at ../../libktcore/torrent/queuemanager.cpp:91
#22 0x00007fbbf13d9e6b in kt::QueueManager::orderQueue (this=0x184ba20) at ../../libktcore/torrent/queuemanager.cpp:614
#23 0x00000000004330e0 in kt::Core::qt_metacall (this=0x184b850, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0x1d1d1d0) at ./core.moc:194
#24 0x00007fbbef38a446 in QObject::event (this=0x184b850, e=<optimized out>) at kernel/qobject.cpp:1195
#25 0x00007fbbee6f3894 in notify_helper (e=0x1d1d260, receiver=0x184b850, this=0x16f1ba0) at kernel/qapplication.cpp:4559
#26 QApplicationPrivate::notify_helper (this=0x16f1ba0, receiver=0x184b850, e=0x1d1d260) at kernel/qapplication.cpp:4531
#27 0x00007fbbee6f8713 in QApplication::notify (this=0x7fff9b167fa0, receiver=0x184b850, e=0x1d1d260) 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 0x00007fbbef370e9c in QCoreApplication::notifyInternal (this=0x7fff9b167fa0, receiver=0x184b850, event=0x1d1d260) at kernel/qcoreapplication.cpp:876
#30 0x00007fbbef374c6a in sendEvent (event=0x1d1d260, receiver=0x184b850) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1689670) at kernel/qcoreapplication.cpp:1500
#32 0x00007fbbef39ff93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#34 0x00007fbbe95c2c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fbbe95c3060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fbbe95c3124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fbbef3a03bf in QEventDispatcherGlib::processEvents (this=0x168ab30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00007fbbee79bd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fbbef36fc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fbbef36fed7 in QEventLoop::exec (this=0x7fff9b167f30, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007fbbef374f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#42 0x0000000000428452 in main (argc=1, argv=0x7fff9b168e18) at ../../ktorrent/main.cpp:177

Possible duplicates by query: bug 297416, bug 296028, bug 291606.

Reported using DrKonqi
Comment 1 Joris Guisson 2012-05-07 18:48:58 UTC
Disable the zeroconf plugin

*** This bug has been marked as a duplicate of bug 291606 ***
Comment 2 Pavel 2012-05-21 15:12:06 UTC
Created attachment 71263 [details]
New crash information added by DrKonqi

ktorrent (4.1.3) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1

- What I was doing when the application crashed:
On my system Ktorrent starts automatically, so at every start of my machine, or if I start Ktorrent directly, I see the crash window.

-- Backtrace (Reduced):
#7  data (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
[...]
#10 QDBusAbstractInterface::callWithArgumentList (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.cpp:430
#11 0xae07f249 in Reset (this=0x0) at ../../dnssd/avahi_entrygroup_interface.h:94
#12 serverStateChanged (this=0x9bdc090, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:203
#13 DNSSD::PublicServicePrivate::serverStateChanged (this=0x9bdc090, s=1) at ../../dnssd/avahi-publicservice.cpp:193