Bug 305585 - Ktorrent crashes and wont restart occasionally
Summary: Ktorrent crashes and wont restart occasionally
Status: RESOLVED DUPLICATE of bug 215288
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-08-22 09:45 UTC by phonic_p
Modified: 2012-08-22 10:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phonic_p 2012-08-22 09:45:25 UTC
Application: ktorrent (4.1.3)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
using kubuntu 12.04 I was opening a torrent via firefoxs downloader, set to open in ktorrent, the programme crashes and will not relaunch for a few days.

The crash can be reproduced some of the 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 0x7f2e3833f780 (LWP 2414))]

Thread 6 (Thread 0x7f2e22c9e700 (LWP 2416)):
#0  0x00007f2e341e4b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2e2fd66036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2e2fd66164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2e35b43426 in QEventDispatcherGlib::processEvents (this=0x7f2e1c002800, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f2e35b12c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2e35b12ed7 in QEventLoop::exec (this=0x7f2e22c9de00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2e35a11fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f2e35a14fcb in QThreadPrivate::start (arg=0x11e2e40) at thread/qthread_unix.cpp:298
#8  0x00007f2e315b7e9a in start_thread (arg=0x7f2e22c9e700) at pthread_create.c:308
#9  0x00007f2e341f04bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f2e2249d700 (LWP 2417)):
#0  0x00007f2e341e4b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2e37e401aa in net::Poll::poll (this=0x7f2e2249ccd0, timeout=<optimized out>) at ../../src/net/poll.cpp:99
#2  0x00007f2e37ea293b in dht::RPCServer::Private::run (this=0x11ef650) at ../../src/dht/rpcserver.cpp:95
#3  0x00007f2e35a14fcb in QThreadPrivate::start (arg=0x11ef650) at thread/qthread_unix.cpp:298
#4  0x00007f2e315b7e9a in start_thread (arg=0x7f2e2249d700) at pthread_create.c:308
#5  0x00007f2e341f04bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2e1bfff700 (LWP 2418)):
#0  0x00007f2e341e4b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2e2fd66036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2e2fd66164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2e35b43426 in QEventDispatcherGlib::processEvents (this=0x7f2e100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f2e35b12c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2e35b12ed7 in QEventLoop::exec (this=0x7f2e1bffedd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2e35a11fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f2e35af29ff in QInotifyFileSystemWatcherEngine::run (this=0x196eb60) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f2e35a14fcb in QThreadPrivate::start (arg=0x196eb60) at thread/qthread_unix.cpp:298
#9  0x00007f2e315b7e9a in start_thread (arg=0x7f2e1bfff700) at pthread_create.c:308
#10 0x00007f2e341f04bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2e09168700 (LWP 2419)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2e1a90ddec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f2e1a90df19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f2e315b7e9a in start_thread (arg=0x7f2e09168700) at pthread_create.c:308
#4  0x00007f2e341f04bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2e08967700 (LWP 2420)):
#0  __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2e2fd66036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2e2fd66164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2e35b43426 in QEventDispatcherGlib::processEvents (this=0x7f2e000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f2e35b12c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2e35b12ed7 in QEventLoop::exec (this=0x7f2e08966e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2e35a11fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f2e35a14fcb in QThreadPrivate::start (arg=0x1bf5960) at thread/qthread_unix.cpp:298
#8  0x00007f2e315b7e9a in start_thread (arg=0x7f2e08967700) at pthread_create.c:308
#9  0x00007f2e341f04bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2e3833f780 (LWP 2414)):
[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 0x00007f2e2002f110 in Reset (this=0x0) at ../../dnssd/avahi_entrygroup_interface.h:94
#11 serverStateChanged (this=0x1323620, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:203
#12 DNSSD::PublicServicePrivate::serverStateChanged (this=0x1323620, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:193
#13 0x00007f2e2002f353 in DNSSD::PublicService::publishAsync (this=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:230
#14 0x00007f2e0bab99ce in kt::TorrentService::start (this=0x1a578b0) at ../../../plugins/zeroconf/torrentservice.cpp:83
#15 0x00007f2e37e7aa9d in start (this=0x123b870) at ../../src/torrent/peersourcemanager.cpp:81
#16 bt::PeerSourceManager::start (this=0x123b870) at ../../src/torrent/peersourcemanager.cpp:73
#17 0x00007f2e37e8409d in bt::TorrentControl::continueStart (this=0x1221110) at ../../src/torrent/torrentcontrol.cpp:461
#18 0x00007f2e37e849cf in bt::TorrentControl::start (this=0x1221110) at ../../src/torrent/torrentcontrol.cpp:432
#19 0x00007f2e37b87e01 in kt::QueueManager::startSafely (this=<optimized out>, tc=0x1221110) at ../../libktcore/torrent/queuemanager.cpp:731
#20 0x00007f2e37b87f49 in startInternal (tc=0x1221110, this=0x11e1de0) at ../../libktcore/torrent/queuemanager.cpp:102
#21 kt::QueueManager::startInternal (this=0x11e1de0, tc=0x1221110) at ../../libktcore/torrent/queuemanager.cpp:91
#22 0x00007f2e37b89ec3 in kt::QueueManager::orderQueue (this=0x11e1de0) at ../../libktcore/torrent/queuemanager.cpp:588
#23 0x00000000004330e0 in kt::Core::qt_metacall (this=0x11e3cc0, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0x13238f0) at ./core.moc:194
#24 0x00007f2e35b2d446 in QObject::event (this=0x11e3cc0, e=<optimized out>) at kernel/qobject.cpp:1195
#25 0x00007f2e34e96894 in notify_helper (e=0x1323a00, receiver=0x11e3cc0, this=0x108a8e0) at kernel/qapplication.cpp:4559
#26 QApplicationPrivate::notify_helper (this=0x108a8e0, receiver=0x11e3cc0, e=0x1323a00) at kernel/qapplication.cpp:4531
#27 0x00007f2e34e9b713 in QApplication::notify (this=0x7fff71e5efb0, receiver=0x11e3cc0, e=0x1323a00) 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 0x00007f2e35b13e9c in QCoreApplication::notifyInternal (this=0x7fff71e5efb0, receiver=0x11e3cc0, event=0x1323a00) at kernel/qcoreapplication.cpp:876
#30 0x00007f2e35b17c6a in sendEvent (event=0x1323a00, receiver=0x11e3cc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x100f670) at kernel/qcoreapplication.cpp:1500
#32 0x00007f2e35b42f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#34 0x00007f2e2fd65d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f2e2fd660a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f2e2fd66164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f2e35b433bf in QEventDispatcherGlib::processEvents (this=0x1010b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00007f2e34f3ed5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f2e35b12c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f2e35b12ed7 in QEventLoop::exec (this=0x7fff71e5d420, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f2e35366936 in QDialog::exec (this=0x1d13240) at dialogs/qdialog.cpp:554
#42 0x00007f2e364e16ba in KMessageBox::createKMessageBox (dialog=<optimized out>, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x7fff71e5dadf, options=..., details=..., notifyType=QMessageBox::Information) at ../../kdeui/dialogs/kmessagebox.cpp:344
#43 0x00007f2e364e1e94 in KMessageBox::createKMessageBox (dialog=0x1d13240, icon=QMessageBox::Information, text=..., strlist=..., ask=..., checkboxReturn=0x7fff71e5dadf, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:159
#44 0x00007f2e364e52df in informationListWId (options=..., dontShowAgainName=..., caption=..., strlist=..., text=..., parent_id=31457301) at ../../kdeui/dialogs/kmessagebox.cpp:1005
#45 KMessageBox::informationListWId (parent_id=31457301, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:979
#46 0x00007f2e364e544f in KMessageBox::informationList (parent=<optimized out>, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:976
#47 0x00007f2e364e54a8 in KMessageBox::information (parent=<optimized out>, text=..., caption=..., dontShowAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:963
#48 0x0000000000435066 in kt::GUI::infoMsg (this=<optimized out>, info=...) at ../../ktorrent/gui.cpp:248
#49 0x000000000042da40 in kt::Core::loadFromFile (this=0x11e3cc0, target=..., dir=..., group=..., silently=false) at ../../ktorrent/core.cpp:431
#50 0x0000000000430a08 in kt::Core::load (this=0x11e3cc0, url=..., group=...) at ../../ktorrent/core.cpp:496
#51 0x0000000000435250 in kt::GUI::load (this=<optimized out>, url=...) at ../../ktorrent/gui.cpp:254
#52 0x000000000043983f in kt::App::newInstance (this=<optimized out>) at ../../ktorrent/app.cpp:77
#53 0x00007f2e36580192 in KUniqueApplicationAdaptor::newInstance (this=0x1120510, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#54 0x00007f2e36580214 in qt_static_metacall (_a=0x7fff71e5e290, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kuniqueapplication_p.moc:58
#55 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff71e5e290) at ./kuniqueapplication_p.moc:52
#56 0x00007f2e3658035b in KUniqueApplicationAdaptor::qt_metacall (this=0x1120510, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff71e5e290) at ./kuniqueapplication_p.moc:102
#57 0x00007f2e32fa337b in QDBusConnectionPrivate::deliverCall (this=0x104d0d0, object=0x1120510, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:947
#58 0x00007f2e32fa441d in QDBusConnectionPrivate::activateCall (this=0x104d0d0, object=0x1120510, flags=337, msg=...) at qdbusintegrator.cpp:850
#59 0x00007f2e32fa4e3b in QDBusConnectionPrivate::activateObject (this=0x104d0d0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#60 0x00007f2e32fa4f2b in QDBusActivateObjectEvent::placeMetaCall (this=0x11cdd10) at qdbusintegrator.cpp:1537
#61 0x00007f2e35b2d446 in QObject::event (this=0x7fff71e5efb0, e=<optimized out>) at kernel/qobject.cpp:1195
#62 0x00007f2e34e9a5f4 in QApplication::event (this=0x7fff71e5efb0, e=0x11cdd10) at kernel/qapplication.cpp:2541
#63 0x00007f2e34e96894 in notify_helper (e=0x11cdd10, receiver=0x7fff71e5efb0, this=0x108a8e0) at kernel/qapplication.cpp:4559
#64 QApplicationPrivate::notify_helper (this=0x108a8e0, receiver=0x7fff71e5efb0, e=0x11cdd10) at kernel/qapplication.cpp:4531
#65 0x00007f2e34e9b713 in QApplication::notify (this=0x7fff71e5efb0, receiver=0x7fff71e5efb0, e=0x11cdd10) at kernel/qapplication.cpp:4420
#66 0x0000000000439a21 in kt::App::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at ../../ktorrent/app.cpp:99
#67 0x00007f2e35b13e9c in QCoreApplication::notifyInternal (this=0x7fff71e5efb0, receiver=0x7fff71e5efb0, event=0x11cdd10) at kernel/qcoreapplication.cpp:876
#68 0x00007f2e35b17c6a in sendEvent (event=0x11cdd10, receiver=0x7fff71e5efb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#69 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x100f670) at kernel/qcoreapplication.cpp:1500
#70 0x00007f2e35b42f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#71 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#72 0x00007f2e2fd65d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007f2e2fd660a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x00007f2e2fd66164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#75 0x00007f2e35b433bf in QEventDispatcherGlib::processEvents (this=0x1010b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#76 0x00007f2e34f3ed5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#77 0x00007f2e35b12c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#78 0x00007f2e35b12ed7 in QEventLoop::exec (this=0x7fff71e5ef40, flags=...) at kernel/qeventloop.cpp:204
#79 0x00007f2e35b17f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#80 0x0000000000428452 in main (argc=2, argv=0x7fff71e5fe28) at ../../ktorrent/main.cpp:177

Possible duplicates by query: bug 303683, bug 303178, bug 302996, bug 300594, bug 300109.

Reported using DrKonqi
Comment 1 Christoph Feck 2012-08-22 10:10:31 UTC

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