Bug 291606 - Ktorrent crashes when starting a big torrent (approx 20g)
Summary: Ktorrent crashes when starting a big torrent (approx 20g)
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:
: 278811 296028 296196 297812 299520 299727 299894 300109 302996 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-15 19:07 UTC by gallager
Modified: 2012-07-04 17:11 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gallager 2012-01-15 19:07:11 UTC
Application: ktorrent (4.1.1)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:I started a big torrent (approx 20g) that was paused earlier. Crashes even with minimum apps running (with max free memory)

- Custom settings of the application:graph plugin on, maybe something else, minor.

The crash can be reproduced every time.

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

Thread 3 (Thread 0xb6873b70 (LWP 7773)):
#0  0x00c6f416 in __kernel_vsyscall ()
#1  0x014ada5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x08445cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb45e2883 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb45e299f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0x014a9d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x084380ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb3497b70 (LWP 7774)):
#0  0x04fd0d10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x04d207d5 in do_gettime (frac=0xb34970b0, sec=0xb34970a8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x04df34b6 in QTimerInfoList::updateCurrentTime (this=0xa58d524) at kernel/qeventdispatcher_unix.cpp:339
#4  0x04df3086 in timerSourceCheckHelper (src=0xa58d4f0) at kernel/qeventdispatcher_glib.cpp:150
#5  timerSourceCheckHelper (src=0xa58d4f0) at kernel/qeventdispatcher_glib.cpp:144
#6  0x01675f24 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x016768f0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x01676c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x04df2b37 in QEventDispatcherGlib::processEvents (this=0xa58d700, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#10 0x04dc31dd in QEventLoop::processEvents (this=0xb34972e0, flags=...) at kernel/qeventloop.cpp:149
#11 0x04dc3421 in QEventLoop::exec (this=0xb34972e0, flags=...) at kernel/qeventloop.cpp:201
#12 0x04cc690b in QThread::exec (this=0xa58cd18) at thread/qthread.cpp:498
#13 0x04cc69fb in QThread::run (this=0xa58cd18) at thread/qthread.cpp:565
#14 0x04cc97b3 in QThreadPrivate::start (arg=0xa58cd18) at thread/qthread_unix.cpp:331
#15 0x014a9d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#16 0x084380ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb7715a00 (LWP 7771)):
[KCrash Handler]
#7  data (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#8  qGetPtrHelper<QScopedPointer<QObjectData> > (p=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2343
#9  d_func (this=<optimized out>) at qdbusabstractinterface.h:156
#10 QDBusAbstractInterface::callWithArgumentList (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.cpp:406
#11 0x02f1fe69 in Reset (this=0x0) at ../../dnssd/avahi_entrygroup_interface.h:94
#12 serverStateChanged (this=0xa6c65c8, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:203
#13 DNSSD::PublicServicePrivate::serverStateChanged (this=0xa6c65c8, s=1) at ../../dnssd/avahi-publicservice.cpp:193
#14 0x02f200d1 in DNSSD::PublicService::publishAsync (this=0xa6c63c0) at ../../dnssd/avahi-publicservice.cpp:230
#15 0x01928691 in kt::TorrentService::start (this=0x9c7f138) at ../../../plugins/zeroconf/torrentservice.cpp:83
#16 0x0096949d in start (this=0x9fb57e8) at ../../src/torrent/peersourcemanager.cpp:81
#17 bt::PeerSourceManager::start (this=0x9fb57e8) at ../../src/torrent/peersourcemanager.cpp:73
#18 0x00973cde in bt::TorrentControl::continueStart (this=0x9eb2bd8) at ../../src/torrent/torrentcontrol.cpp:461
#19 0x00974706 in bt::TorrentControl::start (this=0x9eb2bd8) at ../../src/torrent/torrentcontrol.cpp:432
#20 0x0035426a in kt::QueueManager::startSafely (this=0xb5f035c0, tc=0x9eb2bd8) at ../../libktcore/torrent/queuemanager.cpp:731
#21 0x003543eb in startInternal (tc=0x9eb2bd8, this=0xb5f035c0) at ../../libktcore/torrent/queuemanager.cpp:102
#22 kt::QueueManager::startInternal (this=0xb5f035c0, tc=0x9eb2bd8) at ../../libktcore/torrent/queuemanager.cpp:91
#23 0x00356334 in kt::QueueManager::orderQueue (this=0xb5f035c0) at ../../libktcore/torrent/queuemanager.cpp:588
#24 0x08072ba9 in kt::Core::qt_metacall (this=0xb5f03b68, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0xa0819f8) at ./core.moc:194
#25 0x04dcab7d in metacall (argv=0xa0819f8, idx=49, cl=QMetaObject::InvokeMetaMethod, object=0xb5f03b68) at kernel/qmetaobject.cpp:237
#26 QMetaObject::metacall (object=0xb5f03b68, cl=QMetaObject::InvokeMetaMethod, idx=49, argv=0xa0819f8) at kernel/qmetaobject.cpp:232
#27 0x04dd5685 in QMetaCallEvent::placeMetaCall (this=0xa081990, object=0xb5f03b68) at kernel/qobject.cpp:535
#28 0x04ddcb52 in QObject::event (this=0xb5f03b68, e=0xa081990) at kernel/qobject.cpp:1217
#29 0x0333ed54 in notify_helper (e=0xa081990, receiver=0xb5f03b68, this=0x9bc6e18) at kernel/qapplication.cpp:4486
#30 QApplicationPrivate::notify_helper (this=0x9bc6e18, receiver=0xb5f03b68, e=0xa081990) at kernel/qapplication.cpp:4458
#31 0x03344103 in QApplication::notify (this=0xa081990, receiver=0xb5f03b68, e=0xa081990) at kernel/qapplication.cpp:3886
#32 0x080798a7 in kt::App::notify (this=0xbfc7d8b0, receiver=0xb5f03b68, event=0xa081990) at ../../ktorrent/app.cpp:99
#33 0x04dc419e in QCoreApplication::notifyInternal (this=0xbfc7d8b0, receiver=0xb5f03b68, event=0xa081990) at kernel/qcoreapplication.cpp:787
#34 0x04dc7f93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9b7a520) at kernel/qcoreapplication.cpp:1428
#36 0x04dc80ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#37 0x04df26a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#38 postEventSourceDispatch (s=0x9bbe3a8) at kernel/qeventdispatcher_glib.cpp:277
#39 0x0167625f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0x01676990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0x01676c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#42 0x04df2ada in QEventDispatcherGlib::processEvents (this=0x9b7b248, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#43 0x033f6e3a in QGuiEventDispatcherGlib::processEvents (this=0x9b7b248, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x04dc31dd in QEventLoop::processEvents (this=0xbfc7d824, flags=...) at kernel/qeventloop.cpp:149
#45 0x04dc3421 in QEventLoop::exec (this=0xbfc7d824, flags=...) at kernel/qeventloop.cpp:201
#46 0x04dc819d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#47 0x0333c8f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#48 0x080677e8 in main (argc=) at ../../ktorrent/main.cpp:177

Possible duplicates by query: bug 272318, bug 268435, bug 267270.

Reported using DrKonqi
Comment 1 Joris Guisson 2012-01-17 20:30:49 UTC
Problem is in dnssd library from KDE, which is used by the zeroconf plugin. You can disable that if you don't need it.

I'm reassigning to the dnssd developers.
Comment 2 Joris Guisson 2012-03-16 17:42:18 UTC
*** Bug 296028 has been marked as a duplicate of this bug. ***
Comment 3 Joris Guisson 2012-03-18 14:44:50 UTC
*** Bug 296196 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Marin 2012-04-10 08:28:40 UTC
*** Bug 278811 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Marin 2012-04-10 08:28:48 UTC
*** Bug 297812 has been marked as a duplicate of this bug. ***
Comment 6 Joris Guisson 2012-05-07 18:48:58 UTC
*** Bug 299520 has been marked as a duplicate of this bug. ***
Comment 7 Joris Guisson 2012-05-10 17:31:42 UTC
*** Bug 299727 has been marked as a duplicate of this bug. ***
Comment 8 Joris Guisson 2012-05-14 16:19:32 UTC
*** Bug 299894 has been marked as a duplicate of this bug. ***
Comment 9 Joris Guisson 2012-05-17 10:27:41 UTC
*** Bug 300109 has been marked as a duplicate of this bug. ***
Comment 10 Christoph Feck 2012-06-21 23:10:59 UTC

*** This bug has been marked as a duplicate of bug 215288 ***
Comment 11 Joris Guisson 2012-07-04 17:11:53 UTC
*** Bug 302996 has been marked as a duplicate of this bug. ***