Bug 299727 - Ktorrent (only) Crashes at start up
Summary: Ktorrent (only) Crashes at start up
Status: RESOLVED DUPLICATE of bug 291606
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-10 08:50 UTC by phonic_p
Modified: 2012-05-30 21:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (11.39 KB, text/plain)
2012-05-30 21:51 UTC, riversong1964
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phonic_p 2012-05-10 08:50: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: downloading torrent file with Fire Fox then attempting to open it with k-torrent to begin download but the Window was all greyed out except the title bar. I tried to close but it wouldn't. until the kubuntu pop up window asked if I wished to terminate K-torrent, I selected yes. then tried to re-open it, no luck just a crash window now.  So I rebooted and tried again , stil no luck then uninstalled and rebooted then reinstalled but still no luck.

-- 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 0x7fce5111b780 (LWP 3242))]

Thread 6 (Thread 0x7fce3b285700 (LWP 3244)):
#0  __pthread_mutex_lock (mutex=0x7fce2c000a60) at pthread_mutex_lock.c:125
#1  0x00007fce48b84561 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fce48b48729 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fce48b48f1b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fce48b49124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fce4e926426 in QEventDispatcherGlib::processEvents (this=0x7fce2c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fce4e8f5c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fce4e8f5ed7 in QEventLoop::exec (this=0x7fce3b284e00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fce4e7f4fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fce4e7f7fcb in QThreadPrivate::start (arg=0x20e3ab0) at thread/qthread_unix.cpp:298
#10 0x00007fce4a39ae9a in start_thread (arg=0x7fce3b285700) at pthread_create.c:308
#11 0x00007fce4cfd34bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fce3ba86700 (LWP 3245)):
#0  0x00007fce4cfc7b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fce50c161aa in net::Poll::poll (this=0x7fce3ba85cd0, timeout=<optimized out>) at ../../src/net/poll.cpp:99
#2  0x00007fce50c7893b in dht::RPCServer::Private::run (this=0x22e05f0) at ../../src/dht/rpcserver.cpp:95
#3  0x00007fce4e7f7fcb in QThreadPrivate::start (arg=0x22e05f0) at thread/qthread_unix.cpp:298
#4  0x00007fce4a39ae9a in start_thread (arg=0x7fce3ba86700) at pthread_create.c:308
#5  0x00007fce4cfd34bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fce39499700 (LWP 3246)):
#0  __pthread_mutex_unlock (mutex=0x20) at pthread_mutex_unlock.c:289
#1  0x00007fce48b84591 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fce48b48a2d in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fce48b48f96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fce48b49124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fce4e926426 in QEventDispatcherGlib::processEvents (this=0x7fce300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fce4e8f5c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fce4e8f5ed7 in QEventLoop::exec (this=0x7fce39498dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fce4e7f4fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fce4e8d59ff in QInotifyFileSystemWatcherEngine::run (this=0x2acc7b0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fce4e7f7fcb in QThreadPrivate::start (arg=0x2acc7b0) at thread/qthread_unix.cpp:298
#11 0x00007fce4a39ae9a in start_thread (arg=0x7fce39499700) at pthread_create.c:308
#12 0x00007fce4cfd34bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fce21fb8700 (LWP 3247)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fce2b613dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fce2b613f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fce4a39ae9a in start_thread (arg=0x7fce21fb8700) at pthread_create.c:308
#4  0x00007fce4cfd34bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fce2169f700 (LWP 3248)):
#0  0x00007fce48b84589 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fce48b48a2d in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fce48b48f96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fce48b49124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fce4e926426 in QEventDispatcherGlib::processEvents (this=0x7fce1c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fce4e8f5c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fce4e8f5ed7 in QEventLoop::exec (this=0x7fce2169ee00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fce4e7f4fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fce4e7f7fcb in QThreadPrivate::start (arg=0x2d526f0) at thread/qthread_unix.cpp:298
#9  0x00007fce4a39ae9a in start_thread (arg=0x7fce2169f700) at pthread_create.c:308
#10 0x00007fce4cfd34bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fce5111b780 (LWP 3242)):
[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 0x00007fce38136100 in Reset (this=0x0) at ../../dnssd/avahi_entrygroup_interface.h:94
#11 serverStateChanged (this=0x2481980, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:203
#12 DNSSD::PublicServicePrivate::serverStateChanged (this=0x2481980, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:193
#13 0x00007fce38136343 in DNSSD::PublicService::publishAsync (this=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:230
#14 0x00007fce249069ce in kt::TorrentService::start (this=0x2bb9980) at ../../../plugins/zeroconf/torrentservice.cpp:83
#15 0x00007fce50c50a9d in start (this=0x2464c20) at ../../src/torrent/peersourcemanager.cpp:81
#16 bt::PeerSourceManager::start (this=0x2464c20) at ../../src/torrent/peersourcemanager.cpp:73
#17 0x00007fce50c5a09d in bt::TorrentControl::continueStart (this=0x245ccc0) at ../../src/torrent/torrentcontrol.cpp:461
#18 0x00007fce50c5a9cf in bt::TorrentControl::start (this=0x245ccc0) at ../../src/torrent/torrentcontrol.cpp:432
#19 0x00007fce5095de01 in kt::QueueManager::startSafely (this=<optimized out>, tc=0x245ccc0) at ../../libktcore/torrent/queuemanager.cpp:731
#20 0x00007fce5095df49 in startInternal (tc=0x245ccc0, this=0x22d54a0) at ../../libktcore/torrent/queuemanager.cpp:102
#21 kt::QueueManager::startInternal (this=0x22d54a0, tc=0x245ccc0) at ../../libktcore/torrent/queuemanager.cpp:91
#22 0x00007fce5095fe6b in kt::QueueManager::orderQueue (this=0x22d54a0) at ../../libktcore/torrent/queuemanager.cpp:614
#23 0x00000000004330e0 in kt::Core::qt_metacall (this=0x22d52d0, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0x24a5e30) at ./core.moc:194
#24 0x00007fce4e910446 in QObject::event (this=0x22d52d0, e=<optimized out>) at kernel/qobject.cpp:1195
#25 0x00007fce4dc79894 in notify_helper (e=0x24a5f40, receiver=0x22d52d0, this=0x212c5e0) at kernel/qapplication.cpp:4559
#26 QApplicationPrivate::notify_helper (this=0x212c5e0, receiver=0x22d52d0, e=0x24a5f40) at kernel/qapplication.cpp:4531
#27 0x00007fce4dc7e713 in QApplication::notify (this=0x7fffe32e09f0, receiver=0x22d52d0, e=0x24a5f40) 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 0x00007fce4e8f6e9c in QCoreApplication::notifyInternal (this=0x7fffe32e09f0, receiver=0x22d52d0, event=0x24a5f40) at kernel/qcoreapplication.cpp:876
#30 0x00007fce4e8fac6a in sendEvent (event=0x24a5f40, receiver=0x22d52d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2095670) at kernel/qcoreapplication.cpp:1500
#32 0x00007fce4e925f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#34 0x00007fce48b48c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fce48b49060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fce48b49124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fce4e9263bf in QEventDispatcherGlib::processEvents (this=0x2096b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00007fce4dd21d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fce4e8f5c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fce4e8f5ed7 in QEventLoop::exec (this=0x7fffe32e0980, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007fce4e8faf67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#42 0x0000000000428452 in main (argc=5, argv=0x7fffe32e1868) at ../../ktorrent/main.cpp:177

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

Reported using DrKonqi
Comment 1 phonic_p 2012-05-10 09:12:23 UTC
This was also found when starting from command line,
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Error: "/var/tmp/kdecache-phonic" is owned by uid 1000 instead of uid 0.
Critical: ktorrent(3601): Couldn't start kglobalaccel from kglobalaccel.desktop:  "KDEInit could not launch '/usr/bin/kglobalaccel'" 

Warning: QSystemTrayIcon::setVisible: No Icon set
phonic@Nova-Fractal:~$ KCrash: Application 'ktorrent' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/phonic/.kde/socket-Nova-Fractal/kdeinit4__0
Comment 2 Joris Guisson 2012-05-10 17:31:42 UTC
Disable the zeroconf plugin, that will make the crashes go away

*** This bug has been marked as a duplicate of bug 291606 ***
Comment 3 riversong1964 2012-05-30 21:51:48 UTC
Created attachment 71450 [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: I had just booted pc then started Ktorrent.

-- 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 0xab680249 in Reset (this=0x0) at ../../dnssd/avahi_entrygroup_interface.h:94
#12 serverStateChanged (this=0x9512718, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:203
#13 DNSSD::PublicServicePrivate::serverStateChanged (this=0x9512718, s=1) at ../../dnssd/avahi-publicservice.cpp:193