Bug 296196 - KTorrent crashes when starting a torrent
Summary: KTorrent crashes when starting a torrent
Status: RESOLVED DUPLICATE of bug 291606
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-17 09:31 UTC by Neil Young
Modified: 2012-03-18 14:44 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 Neil Young 2012-03-17 09:31:08 UTC
Application: ktorrent (4.2)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-2-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:
Starting a torrent in KTorrent, the application just crashed, the torrent was for a file of 4.29GB.  This has never happened with any other torrent file.

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 0x7f8069aec760 (LWP 2886))]

Thread 2 (Thread 0x7f804eaf1700 (LWP 2888)):
#0  0x00007f8064d4ecc3 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=268) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f80601625d8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8060162a99 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8066844e96 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f8066819492 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f806681968f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f806673130f in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f8066733cf5 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4
#8  0x00007f8061fa7b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#9  0x00007f8064d5990d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8069aec760 (LWP 2886)):
[KCrash Handler]
#6  0x00007f8066473c5c in QDBusAbstractInterface::callWithArgumentList(QDBus::CallMode, QString const&, QList<QVariant> const&) () from /usr/lib/libQtDBus.so.4
#7  0x00007f804d99ec60 in Reset (this=0x0) at ../../dnssd/avahi_entrygroup_interface.h:94
#8  serverStateChanged (this=0x1af6ac0, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:203
#9  DNSSD::PublicServicePrivate::serverStateChanged (this=0x1af6ac0, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:193
#10 0x00007f804d99eea3 in DNSSD::PublicService::publishAsync (this=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:230
#11 0x00007f804dbd9da6 in kt::TorrentService::start (this=0x19e94e0) at ../../../plugins/zeroconf/torrentservice.cpp:84
#12 0x00007f80696277bd in start (this=0x177a260) at ../../src/torrent/peersourcemanager.cpp:81
#13 bt::PeerSourceManager::start (this=0x177a260) at ../../src/torrent/peersourcemanager.cpp:73
#14 0x00007f806963120b in bt::TorrentControl::continueStart (this=0x1775310) at ../../src/torrent/torrentcontrol.cpp:461
#15 0x00007f8069631cbf in bt::TorrentControl::start (this=0x1775310) at ../../src/torrent/torrentcontrol.cpp:432
#16 0x00007f8069320651 in kt::QueueManager::startSafely (this=<optimized out>, tc=0x1775310) at ../../libktcore/torrent/queuemanager.cpp:731
#17 0x00007f8069320799 in startInternal (tc=0x1775310, this=0x176ca50) at ../../libktcore/torrent/queuemanager.cpp:102
#18 kt::QueueManager::startInternal (this=0x176ca50, tc=0x1775310) at ../../libktcore/torrent/queuemanager.cpp:91
#19 0x000000000042f0a6 in kt::Core::start (this=0x176c860, tc=<optimized out>) at ../../ktorrent/core.cpp:622
#20 0x0000000000434c5e in start (todo=..., this=0x176c860) at ../../ktorrent/core.cpp:649
#21 kt::Core::start (this=0x176c860, todo=...) at ../../ktorrent/core.cpp:630
#22 0x000000000048c6e0 in kt::View::startTorrents (this=0x17ee2c0) at ../../ktorrent/view/view.cpp:410
#23 0x0000000000493f8a in kt::View::qt_metacall (this=0x17ee2c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffce2f8090) at ./view.moc:142
#24 0x00007f806682ceba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#25 0x00007f806596d652 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#26 0x00007f806596d83f in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#27 0x00007f8065d2764a in QAbstractButtonPrivate::click() () from /usr/lib/libQtGui.so.4
#28 0x00007f8065d278fc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#29 0x00007f8065de3aaa in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#30 0x00007f80659c4346 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#31 0x00007f8065973c64 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#32 0x00007f80659793eb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#33 0x000000000043b6c1 in kt::App::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at ../../ktorrent/app.cpp:99
#34 0x00007f806681a28c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#35 0x00007f8065974c32 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#36 0x00007f80659f1118 in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib/libQtGui.so.4
#37 0x00007f80659eff1a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#38 0x00007f8065a18252 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib/libQtGui.so.4
#39 0x00007f80601620cf in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f80601628c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f8060162a99 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f8066844e2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#43 0x00007f8065a17eee in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtGui.so.4
#44 0x00007f8066819492 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#45 0x00007f806681968f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#46 0x00007f806681d837 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#47 0x000000000042a1f1 in main (argc=1, argv=0x7fffce2fa498) at ../../ktorrent/main.cpp:177

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

Reported using DrKonqi
Comment 1 Joris Guisson 2012-03-18 14:44:50 UTC
Problem is in KDE's dnssd library, disable the zeroconf plugin if you don't need it. That will make the crashes go away.

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