Application: ktorrent (4.0.4) KDE Platform Version: 4.5.3 (KDE 4.5.3) (Compiled from sources) Qt Version: 4.6.3 Operating System: Linux 2.6.36-gentoo-r1 x86_64 Distribution: "Gentoo Base System release 2.0.1-r1" -- Information about the crash: 1. Start KTorrent. 2. A torrent that has been completed, but since has moved, is in the status "Not Started". Select the entry and click the Start button. 3. The "Files are missing" dialog shows up. Select "Select New Location". <crash> Unusual behaviour: - right click does not work as expected - View menu is empty console output is thousands of lines > Warning: QDBusObjectPath: invalid path "" followed by even more lines of > (process:20857): GLib-WARNING **: poll(2) failed due to: Invalid argument. and finally: Warning: QObject::connect: Connecting from QAction::toggled(bool) to COMPAT slot (kt::HintLineEdit::setShown(bool)) GLib-ERROR **: Cannot create pipe main loop wake-up: Too many open files aborting... KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = ktorrent path = /usr/bin pid = 20857 KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit sock_file=/home/neo/.kde4/socket-tacticalops/kdeinit4__0 The crash can be reproduced every time. -- Backtrace: Application: KTorrent (ktorrent), signal: Aborted The current source language is "auto; currently asm". [Current thread is 1 (Thread 0x7f749961f760 (LWP 31674))] Thread 4 (Thread 0x7f748794c710 (LWP 31697)): #0 0x00007f74957a35f3 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007f74991a34be in dht::RPCServerThread::run (this=0x14985f0) at /var/tmp/portage/net-libs/libktorrent-1.0.4/work/libktorrent-1.0.4/src/dht/rpcserver.cpp:107 #2 0x00007f74971bbaec in QThreadPrivate::start (arg=0x14985f0) at thread/qthread_unix.cpp:248 #3 0x00007f7496f28900 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #4 0x00007f74957a9f7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 3 (Thread 0x7f747effd710 (LWP 433)): #0 0x00007f74957a124f in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f749914619d in net::Poll::poll (this=0x12aa320, timeout=<value optimized out>) at /var/tmp/portage/net-libs/libktorrent-1.0.4/work/libktorrent-1.0.4/src/net/poll.cpp:99 #2 0x00007f7499142139 in net::DownloadThread::waitForSocketReady (this=0x12aa310) at /var/tmp/portage/net-libs/libktorrent-1.0.4/work/libktorrent-1.0.4/src/net/downloadthread.cpp:128 #3 0x00007f7499142239 in net::DownloadThread::update (this=0x7f74800127c0) at /var/tmp/portage/net-libs/libktorrent-1.0.4/work/libktorrent-1.0.4/src/net/downloadthread.cpp:48 #4 0x00007f7499142d31 in net::NetworkThread::run (this=0x12aa310) at /var/tmp/portage/net-libs/libktorrent-1.0.4/work/libktorrent-1.0.4/src/net/networkthread.cpp:48 #5 0x00007f74971bbaec in QThreadPrivate::start (arg=0x12aa310) at thread/qthread_unix.cpp:248 #6 0x00007f7496f28900 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #7 0x00007f74957a9f7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 2 (Thread 0x7f747e7fc710 (LWP 434)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00007f74971bb419 in thread_sleep (ti=0x7f747e7fbd90) at thread/qthread_unix.cpp:398 #2 0x00007f74971bb561 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424 #3 0x00007f7499141a1d in net::UploadThread::update (this=0x12aa980) at /var/tmp/portage/net-libs/libktorrent-1.0.4/work/libktorrent-1.0.4/src/net/uploadthread.cpp:89 #4 0x00007f7499142d31 in net::NetworkThread::run (this=0x12aa980) at /var/tmp/portage/net-libs/libktorrent-1.0.4/work/libktorrent-1.0.4/src/net/networkthread.cpp:48 #5 0x00007f74971bbaec in QThreadPrivate::start (arg=0x12aa980) at thread/qthread_unix.cpp:248 #6 0x00007f7496f28900 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #7 0x00007f74957a9f7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 The current source language is "auto; currently c". Thread 1 (Thread 0x7f749961f760 (LWP 31674)): [KCrash Handler] #6 0x00007f7495709139 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #7 0x00007f749570a59d in *__GI_abort () at abort.c:92 #8 0x00007f7499133461 in QtMessageOutput (type=<value optimized out>, msg=0x7789ae8 "ASSERT: \"false\" in file qdbusintegrator.cpp, line 2048") at /var/tmp/portage/net-libs/libktorrent-1.0.4/work/libktorrent-1.0.4/src/util/log.cpp:307 #9 0x00007f74971b20e1 in qt_message_output (msgType=QtFatalMsg, buf=0x7bba <Address 0x7bba out of bounds>) at global/qglobal.cpp:2212 #10 0x00007f74971b22bd in qt_message (msgType=QtFatalMsg, msg=0x7f7497325610 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff2a83bbc0) at global/qglobal.cpp:2312 #11 0x00007f74971b246a in qFatal (msg=0x7bba <Address 0x7bba out of bounds>) at global/qglobal.cpp:2495 #12 0x00007f7494540600 in QDBusConnectionPrivate::connectSignal (this=<value optimized out>, key=<value optimized out>, hook=...) at qdbusintegrator.cpp:2048 #13 0x00007f7494541152 in QDBusConnectionPrivate::connectSignal (this=0x61cf080, service=<value optimized out>, path=<value optimized out>, interface=<value optimized out>, name=<value optimized out>, argumentMatch=<value optimized out>, signature=..., receiver=0x7fff2a83c1c0, slot=0x7f7498bfe258 "1slotCondition(const QString &, const QString &)") at qdbusintegrator.cpp:2018 #14 0x00007f7494526541 in QDBusConnection::connect (this=0x7fff2a83c0a0, service=<value optimized out>, path=<value optimized out>, interface=<value optimized out>, name=<value optimized out>, argumentMatch=<value optimized out>, signature=..., receiver=0x7fff2a83c1c0, slot=0x7f7498bfe258 "1slotCondition(const QString &, const QString &)") at qdbusconnection.cpp:634 #15 0x00007f7494526ee1 in QDBusConnection::connect (this=0x7bba, service=..., path=..., interface=..., name=..., receiver=<value optimized out>, slot=0x7f7498bfe258 "1slotCondition(const QString &, const QString &)") at qdbusconnection.cpp:571 #16 0x00007f7498be456a in HalDevice (this=0x7fff2a83c1c0, udi=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/solid/solid/backends/hal/haldevice.cpp:153 #17 0x00007f7498bf03de in Solid::Backends::Hal::Volume::isIgnored (this=0x6d81280) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/solid/solid/backends/hal/halvolume.cpp:39 #18 0x00007f7498bbddb0 in Solid::StorageVolume::qt_metacall (this=0x6359970, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff2a83c3b0) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3_build/solid/solid/storagevolume.moc:94 #19 0x00007f74972c1f6a in QMetaProperty::read (this=<value optimized out>, object=0x6359970) at kernel/qmetaobject.cpp:2174 #20 0x00007f7498bc2394 in Solid::Predicate::matches (this=0x70e3e10, device=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/solid/solid/predicate.cpp:208 #21 0x00007f7498bc23fc in Solid::Predicate::matches (this=0x375d710, device=...) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/solid/solid/predicate.cpp:199 #22 0x00007f7498bc242c in Solid::Predicate::matches (this=0x4050470, device=...) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/solid/solid/predicate.cpp:196 #23 0x00007f7498bc242c in Solid::Predicate::matches (this=0x3949110, device=...) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/solid/solid/predicate.cpp:196 #24 0x00007f7498bb7fd1 in Solid::Device::listFromQuery (predicate=<value optimized out>, parentUdi=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/solid/solid/devicemanager.cpp:156 #25 0x00007f748466c8a2 in KFilePlacesModel::Private::_k_initDeviceList (this=0x39490f0) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/kfile/kfileplacesmodel.cpp:335 #26 0x00007f748466ca9c in KFilePlacesModel::qt_metacall (this=0x62b7b50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2a83cbd0) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3_build/kfile/kfileplacesmodel.moc:91 #27 0x00007f74972cf747 in QMetaObject::activate (sender=0x2d65fb0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3287 #28 0x00007f74972d7167 in QSingleShotTimer::timerEvent (this=0x2d65fb0) at kernel/qtimer.cpp:308 #29 0x00007f74972caa96 in QObject::event (this=0x2d65fb0, e=0x7bba) at kernel/qobject.cpp:1204 #30 0x00007f74963a1df5 in QApplicationPrivate::notify_helper (this=0x12d59a0, receiver=0x2d65fb0, e=0x7fff2a83d360) at kernel/qapplication.cpp:4302 #31 0x00007f74963aa55f in QApplication::notify (this=0x7fff2a840ee0, receiver=<value optimized out>, e=0x7fff2a83d360) at kernel/qapplication.cpp:4185 #32 0x000000000043abf8 in kt::App::notify (this=0x7fff2a840ee0, receiver=0x2d65fb0, event=0x7fff2a83d360) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4/ktorrent/app.cpp:97 #33 0x00007f74972b938c in QCoreApplication::notifyInternal (this=0x7fff2a840ee0, receiver=0x2d65fb0, event=0x7fff2a83d360) at kernel/qcoreapplication.cpp:726 #34 0x00007f74972ea373 in QCoreApplication::sendEvent (this=0x12dd080) at kernel/qcoreapplication.h:215 #35 QTimerInfoList::activateTimers (this=0x12dd080) at kernel/qeventdispatcher_unix.cpp:603 #36 0x00007f74972e6c44 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184 #37 0x00007f749140525e in g_main_dispatch (context=<value optimized out>) at gmain.c:1960 #38 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513 #39 0x00007f7491409070 in g_main_context_iterate (context=0x12dc120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591 #40 0x00007f7491409210 in IA__g_main_context_iteration (context=0x12dc120, may_block=1) at gmain.c:2654 #41 0x00007f74972e6935 in QEventDispatcherGlib::processEvents (this=0x12a8190, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #42 0x00007f749645cf02 in QGuiEventDispatcherGlib::processEvents (this=0x7bba, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #43 0x00007f74972b7af8 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #44 0x00007f74972b7f05 in QEventLoop::exec (this=0x7fff2a83d640, flags=) at kernel/qeventloop.cpp:201 #45 0x00007f74968b206b in QDialog::exec (this=0x7fff2a83d6b0) at dialogs/qdialog.cpp:546 #46 0x00007f7484654be3 in KDirSelectDialog::selectDirectory (startDir=<value optimized out>, localOnly=<value optimized out>, parent=0x7fff2a83f1d0, caption=...) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/kfile/kdirselectdialog.cpp:494 #47 0x00007f74848c91ef in KFileModule::selectDirectory (this=<value optimized out>, startDir=..., localOnly=6, parent=0xffffffffffffffff, caption=...) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/kfile/kfilemodule.cpp:54 #48 0x00007f749886ff85 in KFileDialog::getExistingDirectory (startDir=..., parent=0x7fff2a83f1d0, caption=...) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/kio/kfile/kfiledialog.cpp:642 #49 0x000000000045eb18 in kt::MissingFilesDlg::selectNewPressed (this=0x7fff2a83f1d0) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4/ktorrent/dialogs/missingfilesdlg.cpp:105 #50 0x000000000045ef95 in kt::MissingFilesDlg::qt_metacall (this=0x7fff2a83f1d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4_build/ktorrent/missingfilesdlg.moc:82 #51 0x00007f74972cf747 in QMetaObject::activate (sender=0x6160b70, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3287 #52 0x00007f7496abaee1 in QAbstractButton::clicked (this=0x7bba, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:206 #53 0x00007f7496788c00 in QAbstractButtonPrivate::emitClicked (this=0x68ebe20) at widgets/qabstractbutton.cpp:546 #54 0x00007f749678a800 in QAbstractButtonPrivate::click (this=0x68ebe20) at widgets/qabstractbutton.cpp:539 #55 0x00007f749678aa7d in QAbstractButton::mouseReleaseEvent (this=0x6160b70, e=0x7fff2a83e640) at widgets/qabstractbutton.cpp:1121 #56 0x00007f74963ffcf0 in QWidget::event (this=0x6160b70, event=0x7fff2a83e640) at kernel/qwidget.cpp:8044 #57 0x00007f74963a1df5 in QApplicationPrivate::notify_helper (this=0x12d59a0, receiver=0x6160b70, e=0x7fff2a83e640) at kernel/qapplication.cpp:4302 #58 0x00007f74963ab2b5 in QApplication::notify (this=0x7fff2a840ee0, receiver=<value optimized out>, e=0x7fff2a83e640) at kernel/qapplication.cpp:3867 #59 0x000000000043abf8 in kt::App::notify (this=0x7fff2a840ee0, receiver=0x6160b70, event=0x7fff2a83e640) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4/ktorrent/app.cpp:97 #60 0x00007f74972b938c in QCoreApplication::notifyInternal (this=0x7fff2a840ee0, receiver=0x6160b70, event=0x7fff2a83e640) at kernel/qcoreapplication.cpp:726 #61 0x00007f74963a7898 in QCoreApplication::sendEvent (receiver=0x6160b70, event=0x7fff2a83e640, alienWidget=0x6160b70, nativeWidget=0x7fff2a83f1d0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #62 QApplicationPrivate::sendMouseEvent (receiver=0x6160b70, event=0x7fff2a83e640, alienWidget=0x6160b70, nativeWidget=0x7fff2a83f1d0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2967 #63 0x00007f7496434587 in QETWidget::translateMouseEvent (this=0x7fff2a83f1d0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4380 #64 0x00007f7496433126 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff2a83edc0) at kernel/qapplication_x11.cpp:3513 #65 0x00007f749645d372 in x11EventSourceDispatch (s=0x12dd150, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #66 0x00007f749140525e in g_main_dispatch (context=<value optimized out>) at gmain.c:1960 #67 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513 #68 0x00007f7491409070 in g_main_context_iterate (context=0x12dc120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591 #69 0x00007f7491409210 in IA__g_main_context_iteration (context=0x12dc120, may_block=1) at gmain.c:2654 #70 0x00007f74972e6935 in QEventDispatcherGlib::processEvents (this=0x12a8190, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #71 0x00007f749645cf02 in QGuiEventDispatcherGlib::processEvents (this=0x7bba, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #72 0x00007f74972b7af8 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #73 0x00007f74972b7f05 in QEventLoop::exec (this=0x7fff2a83f120, flags=) at kernel/qeventloop.cpp:201 #74 0x00007f74968b206b in QDialog::exec (this=0x7fff2a83f1d0) at dialogs/qdialog.cpp:546 #75 0x000000000045e871 in kt::MissingFilesDlg::execute (this=0x7bba) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4/ktorrent/dialogs/missingfilesdlg.cpp:145 #76 0x000000000042cade in kt::Core::aboutToBeStarted (this=<value optimized out>, tc=0x515ef20, ret=@0x7fff2a83f52f) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4/ktorrent/core.cpp:1233 #77 0x000000000043107e in kt::Core::qt_metacall (this=0x13d7880, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2a83f4d0) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4_build/ktorrent/core.moc:178 #78 0x00007f74972cf747 in QMetaObject::activate (sender=0x515ef20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3287 #79 0x00007f7499174ee5 in bt::TorrentInterface::aboutToBeStarted (this=0x7bba, _t1=0x515ef20, _t2=<value optimized out>) at /var/tmp/portage/net-libs/libktorrent-1.0.4/work/libktorrent-1.0.4_build/src/torrentinterface.moc:152 #80 0x00007f749918c4d5 in bt::TorrentControl::start (this=0x515ef20) at /var/tmp/portage/net-libs/libktorrent-1.0.4/work/libktorrent-1.0.4/src/torrent/torrentcontrol.cpp:388 #81 0x00007f7498e73400 in kt::QueueManager::startSafely (this=<value optimized out>, tc=0x7bba) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4/libktcore/torrent/queuemanager.cpp:731 #82 0x00007f7498e74ae6 in kt::QueueManager::startInternal (this=0x13d7a70, tc=0x515ef20) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4/libktcore/torrent/queuemanager.cpp:104 #83 0x000000000042f2f4 in kt::Core::start (this=0x13d7880, tc=0x515ef20) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4/ktorrent/core.cpp:593 #84 0x000000000042f2b5 in kt::Core::start (this=<value optimized out>, todo=...) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4/ktorrent/core.cpp:620 #85 0x000000000047e967 in kt::View::startTorrents (this=0x63c2ad0) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4/ktorrent/view/view.cpp:187 #86 0x000000000048a48d in kt::ViewManager::qt_metacall (this=0x13cd580, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff2a83f830) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4_build/ktorrent/viewmanager.moc:130 #87 0x00007f74972cf747 in QMetaObject::activate (sender=0x1497630, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3287 #88 0x00007f749639a5a1 in QAction::triggered (this=0x7bba, _t1=false) at .moc/debug-shared/moc_qaction.cpp:263 #89 0x00007f749639bacc in QAction::activate (this=0x1497630, event=<value optimized out>) at kernel/qaction.cpp:1255 #90 0x00007f749678a7bf in QAbstractButtonPrivate::click (this=0x14c90b0) at widgets/qabstractbutton.cpp:528 #91 0x00007f749678aa7d in QAbstractButton::mouseReleaseEvent (this=0x14ec8d0, e=0x7fff2a840380) at widgets/qabstractbutton.cpp:1121 #92 0x00007f7496865ec2 in QToolButton::mouseReleaseEvent (this=0x7bba, e=0x7bba) at widgets/qtoolbutton.cpp:721 #93 0x00007f74963ffcf0 in QWidget::event (this=0x14ec8d0, event=0x7fff2a840380) at kernel/qwidget.cpp:8044 #94 0x00007f74963a1df5 in QApplicationPrivate::notify_helper (this=0x12d59a0, receiver=0x14ec8d0, e=0x7fff2a840380) at kernel/qapplication.cpp:4302 #95 0x00007f74963ab2b5 in QApplication::notify (this=0x7fff2a840ee0, receiver=<value optimized out>, e=0x7fff2a840380) at kernel/qapplication.cpp:3867 #96 0x000000000043abf8 in kt::App::notify (this=0x7fff2a840ee0, receiver=0x14ec8d0, event=0x7fff2a840380) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4/ktorrent/app.cpp:97 #97 0x00007f74972b938c in QCoreApplication::notifyInternal (this=0x7fff2a840ee0, receiver=0x14ec8d0, event=0x7fff2a840380) at kernel/qcoreapplication.cpp:726 #98 0x00007f74963a7898 in QCoreApplication::sendEvent (receiver=0x14ec8d0, event=0x7fff2a840380, alienWidget=0x14ec8d0, nativeWidget=0x14f5540, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #99 QApplicationPrivate::sendMouseEvent (receiver=0x14ec8d0, event=0x7fff2a840380, alienWidget=0x14ec8d0, nativeWidget=0x14f5540, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2967 #100 0x00007f7496434587 in QETWidget::translateMouseEvent (this=0x14f5540, event=<value optimized out>) at kernel/qapplication_x11.cpp:4380 #101 0x00007f7496433126 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff2a840b00) at kernel/qapplication_x11.cpp:3513 #102 0x00007f749645d372 in x11EventSourceDispatch (s=0x12dd150, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #103 0x00007f749140525e in g_main_dispatch (context=<value optimized out>) at gmain.c:1960 #104 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513 #105 0x00007f7491409070 in g_main_context_iterate (context=0x12dc120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591 #106 0x00007f7491409210 in IA__g_main_context_iteration (context=0x12dc120, may_block=1) at gmain.c:2654 #107 0x00007f74972e6935 in QEventDispatcherGlib::processEvents (this=0x12a8190, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #108 0x00007f749645cf02 in QGuiEventDispatcherGlib::processEvents (this=0x7bba, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #109 0x00007f74972b7af8 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #110 0x00007f74972b7f05 in QEventLoop::exec (this=0x7fff2a840e50, flags=) at kernel/qeventloop.cpp:201 #111 0x00007f74972ba585 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003 #112 0x000000000042a7ad in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4/ktorrent/main.cpp:176 The current source language is "auto; currently asm". Reported using DrKonqi
Looks like a problem in kdelibs or Qt, reassigning to the kdelibs guys.
Still there with KDE 4.5.4 and Qt 4.7.1. Tell me if you need a new backtrace.
I just tried to get some more information and compiled kdelibs, solid, qt-dbus, qt-core, qt-gui, libktorrent and ktorrent with -O0. Now ktorrent is awfully slow, but I cannot trigger the crash anymore.
Created attachment 54520 [details] New crash information added by DrKonqi ktorrent (4.0.4) on KDE Platform 4.5.4 (KDE 4.5.4) using Qt 4.7.1 - What I was doing when the application crashed: This is a new, slightly different backtrace, but the behaviour is virtually the same: - All torrents were running when shutting down ktorrent the last time - now I run ktorrent again - a file has been moved and a dialog shows up immediately - I select to chose a new location -> crash I have tried this with less torrents running and the crash does not happen then. But with about 1.100 torrent like now things go wrong. -- Backtrace (Reduced): #6 0x00007f63cf941c6a in KFileDialog::getExistingDirectory (startDir=..., parent=0x7fff3a349900, caption=...) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kio/kfile/kfiledialog.cpp:642 #7 0x0000000000479cf9 in kt::MissingFilesDlg::selectNewPressed (this=0x7fff3a349900) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4/ktorrent/dialogs/missingfilesdlg.cpp:105 #8 0x000000000047a2cc in kt::MissingFilesDlg::qt_metacall (this=0x7fff3a349900, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff3a347c50) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4_build/ktorrent/missingfilesdlg.moc:82 [...] [...] #11 0x00007f63cd9b99fc in QAbstractButton::clicked (this=0x7f63c0a57110, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:206 #12 0x00007f63cd5ee76a in QAbstractButtonPrivate::emitClicked (this=0x7f63c0a57150) at widgets/qabstractbutton.cpp:546
Finally, I have found the source of the problem. I had some garbage files in ~/.kde4/share/config/session. Now ktorrent is working perfectly again.
... which doesn't mean it should crash. Looking at other "kdelibs" crashes caused by ktorrent, I still feel the bug is inside ktorrent, caused by running nested event loops.
Upon closer look, it is a duplicate of the to many open files bug *** This bug has been marked as a duplicate of bug 251120 ***