Bug 299894 - crashes when starting-up
Summary: crashes when starting-up
Status: RESOLVED DUPLICATE of bug 291606
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-12 16:49 UTC by Axel Krebs
Modified: 2012-05-27 09:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.16 KB, text/plain)
2012-05-27 09:22 UTC, Pavel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Krebs 2012-05-12 16:49:45 UTC
Application: ktorrent (4.1.3)
KDE Platform Version: 4.8.2 (4.8.2) (Compiled from sources)
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:
just starting up ktorrent
crashes all the time (3 attempts)

The crash can be reproduced every time.

-- 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 0x7f50ad513780 (LWP 22242))]

Thread 3 (Thread 0x7f5097fc1700 (LWP 22245)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f509568ddec in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f5096056de0) at wtf/FastMalloc.cpp:2495
#2  0x00007f509568df19 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007f50a6792e9a in start_thread (arg=0x7f5097fc1700) at pthread_create.c:308
#4  0x00007f50a93cb4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f508b298700 (LWP 22246)):
#0  0x00007f50a93bfb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f50a4f40ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f50a4f41124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f50aad1e426 in QEventDispatcherGlib::processEvents (this=0x7f5090002800, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f50aacedc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f50aaceded7 in QEventLoop::exec (this=0x7f508b297e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f50aabecfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f50aabeffcb in QThreadPrivate::start (arg=0x14ec710) at thread/qthread_unix.cpp:298
#8  0x00007f50a6792e9a in start_thread (arg=0x7f508b298700) at pthread_create.c:308
#9  0x00007f50a93cb4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f50ad513780 (LWP 22242)):
[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 0x00007f50940ad100 in Reset (this=0x0) at ../../dnssd/avahi_entrygroup_interface.h:94
#11 serverStateChanged (this=0x15d5e50, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:203
#12 DNSSD::PublicServicePrivate::serverStateChanged (this=0x15d5e50, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:193
#13 0x00007f50940ad343 in DNSSD::PublicService::publishAsync (this=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:230
#14 0x00007f508ccf49ce in kt::TorrentService::start (this=0x12099e0) at ../../../plugins/zeroconf/torrentservice.cpp:83
#15 0x00007f50ad048a9d in start (this=0xca72d0) at ../../src/torrent/peersourcemanager.cpp:81
#16 bt::PeerSourceManager::start (this=0xca72d0) at ../../src/torrent/peersourcemanager.cpp:73
#17 0x00007f50ad05209d in bt::TorrentControl::continueStart (this=0xb49900) at ../../src/torrent/torrentcontrol.cpp:461
#18 0x00007f50ad0529cf in bt::TorrentControl::start (this=0xb49900) at ../../src/torrent/torrentcontrol.cpp:432
#19 0x00007f50acd55e01 in kt::QueueManager::startSafely (this=<optimized out>, tc=0xb49900) at ../../libktcore/torrent/queuemanager.cpp:731
#20 0x00007f50acd55f49 in startInternal (tc=0xb49900, this=0xc2abd0) at ../../libktcore/torrent/queuemanager.cpp:102
#21 kt::QueueManager::startInternal (this=0xc2abd0, tc=0xb49900) at ../../libktcore/torrent/queuemanager.cpp:91
#22 0x00007f50acd57ec3 in kt::QueueManager::orderQueue (this=0xc2abd0) at ../../libktcore/torrent/queuemanager.cpp:588
#23 0x00000000004330e0 in kt::Core::qt_metacall (this=0xcef040, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0xdce960) at ./core.moc:194
#24 0x00007f50aad08446 in QObject::event (this=0xcef040, e=<optimized out>) at kernel/qobject.cpp:1195
#25 0x00007f50aa071894 in notify_helper (e=0xdcf0c0, receiver=0xcef040, this=0xb63f70) at kernel/qapplication.cpp:4559
#26 QApplicationPrivate::notify_helper (this=0xb63f70, receiver=0xcef040, e=0xdcf0c0) at kernel/qapplication.cpp:4531
#27 0x00007f50aa076713 in QApplication::notify (this=0x7fffd4d6ea60, receiver=0xcef040, e=0xdcf0c0) 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 0x00007f50aaceee9c in QCoreApplication::notifyInternal (this=0x7fffd4d6ea60, receiver=0xcef040, event=0xdcf0c0) at kernel/qcoreapplication.cpp:876
#30 0x00007f50aacf2c6a in sendEvent (event=0xdcf0c0, receiver=0xcef040) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xadf670) at kernel/qcoreapplication.cpp:1500
#32 0x00007f50aad1df93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#34 0x00007f50a4f40c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f50a4f41060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f50a4f41124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f50aad1e3bf in QEventDispatcherGlib::processEvents (this=0xae0b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00007f50aa119d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f50aacedc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f50aaceded7 in QEventLoop::exec (this=0x7fffd4d6e9f0, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f50aacf2f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#42 0x0000000000428452 in main (argc=5, argv=0x7fffd4d6f8d8) at ../../ktorrent/main.cpp:177

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

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

Reported using DrKonqi
Comment 1 Joris Guisson 2012-05-14 16:19:32 UTC
Disable the zeroconf plugin

*** This bug has been marked as a duplicate of bug 291606 ***
Comment 2 Pavel 2012-05-27 09:22:35 UTC
Created attachment 71395 [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:

Ktorrent started to crash on startup. Then I've done sudo apt-get purge && sudo apt-get install ktorrent and then it worked for some time (about three days). After that it began to crash again.

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