Bug 200407 - ktorrent crashed when loading torrent files in a specific directory
Summary: ktorrent crashed when loading torrent files in a specific directory
Status: RESOLVED DUPLICATE of bug 193364
Alias: None
Product: kio
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-16 07:46 UTC by Balcaen John
Modified: 2009-08-12 20:18 UTC (History)
2 users (show)

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


Attachments
ktorrent backtrace (9.46 KB, application/octet-stream)
2009-07-16 07:50 UTC, Balcaen John
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Balcaen John 2009-07-16 07:46:57 UTC
Version:            (using KDE 4.2.96)
OS:                Linux
Installed from:    Mandriva RPMs

Ktorrent crashed just after loading several torrent in a directory.
Some torrents in this directory were already loaded in ktorrent.
Backtrace is attached
Comment 1 Balcaen John 2009-07-16 07:50:27 UTC
Created attachment 35376 [details]
ktorrent backtrace
Comment 2 Joris Guisson 2009-07-16 12:51:29 UTC
This is a problem in KDirLister, reassigning to kio
Comment 3 Dario Andres 2009-07-16 17:03:44 UTC
Pasting backtrace inline:
----

Application: KTorrent (ktorrent), signal: Aborted
[Current thread is 1 (Thread 0x7f2deadaa710 (LWP 5323))]

Thread 3 (Thread 0x7f2dd5e72910 (LWP 5353)):
#0  0x00007f2de88ab1ad in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2de8b14955 in thread_sleep (ti=0x7f2dd5e72000) at thread/qthread_unix.cpp:297
#2  0x00007f2de8b14ac0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x00007f2dea8c5ed6 in ?? () from /usr/lib64/libbtcore.so.11
#4  0x00007f2dea8c6f29 in ?? () from /usr/lib64/libbtcore.so.11
#5  0x00007f2de8b14ed5 in QThreadPrivate::start (arg=0x1b8b580) at thread/qthread_unix.cpp:188
#6  0x00007f2de88a67dd in start_thread () from /lib64/libpthread.so.0
#7  0x00007f2de72c625d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2dd5671910 (LWP 5354)):
#0  0x00007f2de88aaf29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2de8b15f8b in QWaitCondition::wait (this=<value optimized out>, mutex=0x1b8bf10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f2dea8c54ec in ?? () from /usr/lib64/libbtcore.so.11
#3  0x00007f2dea8c6f29 in ?? () from /usr/lib64/libbtcore.so.11
#4  0x00007f2de8b14ed5 in QThreadPrivate::start (arg=0x1b8bea0) at thread/qthread_unix.cpp:188
#5  0x00007f2de88a67dd in start_thread () from /lib64/libpthread.so.0
#6  0x00007f2de72c625d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2deadaa710 (LWP 5323)):
[KCrash Handler]
#5  0x00007f2de721e915 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f2de721ff8a in abort () at abort.c:88
#7  0x00007f2dea8ba004 in ?? () from /usr/lib64/libbtcore.so.11
#8  0x00007f2de8b0d0ce in qt_message_output (msgType=QtFatalMsg, buf=0x14cb <Address 0x14cb out of bounds>) at global/qglobal.cpp:2007
#9  0x00007f2de9f423d5 in ~QDebug (this=0x7fffc705b760) at /usr/lib/qt4/include/QtCore/qdebug.h:83
#10 0x00007f2de9f8de2b in KDirListerCache::printDebug (this=<value optimized out>) at /usr/src/debug/kdelibs-4.2.96/kio/kio/kdirlister.cpp:1855
#11 0x00007f2de9f95b75 in KDirListerCache::updateDirectory (this=0x2a03c10, _dir=@0x7fffc705bf00) at /usr/src/debug/kdelibs-4.2.96/kio/kio/kdirlister.cpp:619
#12 0x00007f2de9f9757e in KDirListerCache::slotFilesAdded (this=0x2a03c10, dir=@0x2ab7d70) at /usr/src/debug/kdelibs-4.2.96/kio/kio/kdirlister.cpp:758
#13 0x00007f2de9f97608 in KDirListerCache::qt_metacall (this=0x2a03c10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc705c060)
    at /usr/src/debug/kdelibs-4.2.96/build/kio/kdirlister_p.moc:91
#14 0x00007f2de8c13952 in QMetaObject::activate (sender=0x26edaf0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3104
#15 0x00007f2de9fa6825 in OrgKdeKDirNotifyInterface::FilesAdded (this=0x14cb, _t1=<value optimized out>) at /usr/src/debug/kdelibs-4.2.96/build/kio/kdirnotify.moc:111
#16 0x00007f2de9fa6938 in OrgKdeKDirNotifyInterface::qt_metacall (this=0x26edaf0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc705c320)
    at /usr/src/debug/kdelibs-4.2.96/build/kio/kdirnotify.moc:81
#17 0x00007f2de6089584 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=@0x27de510, 
    slotIdx=<value optimized out>) at qdbusintegrator.cpp:891
#18 0x00007f2de6090aff in QDBusCallDeliveryEvent::placeMetaCall (this=0x0, object=0x14cb) at qdbusintegrator_p.h:101
#19 0x00007f2de8c0dae9 in QObject::event (this=0x26edaf0, e=0x27de4c0) at kernel/qobject.cpp:1102
#20 0x00007f2de7e8050c in QApplicationPrivate::notify_helper (this=0x1bc2420, receiver=0x26edaf0, e=0x27de4c0) at kernel/qapplication.cpp:4056
#21 0x00007f2de7e877ce in QApplication::notify (this=0x7fffc705de50, receiver=0x26edaf0, e=0x27de4c0) at kernel/qapplication.cpp:4021
#22 0x00007f2de9a74b4e in KApplication::notify (this=0x7fffc705de50, receiver=0x26edaf0, event=0x27de4c0) at /usr/src/debug/kdelibs-4.2.96/kdeui/kernel/kapplication.cpp:302
#23 0x00007f2de8bfe28c in QCoreApplication::notifyInternal (this=0x7fffc705de50, receiver=0x26edaf0, event=0x27de4c0) at kernel/qcoreapplication.cpp:610
#24 0x00007f2de8bfee88 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1b888d0) at ../../src/corelib/kernel/qcoreapplication.h:213
#25 0x00007f2de8c27703 in postEventSourceDispatch (s=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:218
#26 0x00007f2de324fb6e in IA__g_main_context_dispatch (context=0x1bc4c70) at gmain.c:1960
#27 0x00007f2de32535d8 in g_main_context_iterate (context=0x1bc4c70, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#28 0x00007f2de3253720 in IA__g_main_context_iteration (context=0x1bc4c70, may_block=1) at gmain.c:2654
#29 0x00007f2de8c27376 in QEventDispatcherGlib::processEvents (this=0x1b884c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#30 0x00007f2de7f152de in QGuiEventDispatcherGlib::processEvents (this=0x14cb, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#31 0x00007f2de8bfcb52 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007f2de8bfcf2c in QEventLoop::exec (this=0x7fffc705cc30, flags=) at kernel/qeventloop.cpp:201
#33 0x00007f2de9feef0c in KIO::NetAccess::enter_loop (this=<value optimized out>) at /usr/src/debug/kdelibs-4.2.96/kio/kio/netaccess.cpp:502
#34 0x00007f2de9fef69e in KIO::NetAccess::filecopyInternal (this=0x7fffc705ccf0, src=<value optimized out>, target=<value optimized out>, permissions=-1, flags=)
    at /usr/src/debug/kdelibs-4.2.96/kio/kio/netaccess.cpp:324
#35 0x00007f2de9feff12 in KIO::NetAccess::file_copy (src=@0x7fffc705cd80, target=@0x7fffc705cd70, window=0x0) at /usr/src/debug/kdelibs-4.2.96/kio/kio/netaccess.cpp:149
#36 0x00007f2dea8b7e08 in bt::CopyFile () from /usr/lib64/libbtcore.so.11
#37 0x00007f2dea910e35 in bt::TorrentControl::init () from /usr/lib64/libbtcore.so.11
#38 0x000000000042d647 in ?? ()
#39 0x000000000042c93a in ?? ()
#40 0x00007f2dd423187b in ?? () from /usr/lib64/kde4/ktscanfolderplugin.so
#41 0x00007f2dd4231a52 in ?? () from /usr/lib64/kde4/ktscanfolderplugin.so
#42 0x00007f2de8c13952 in QMetaObject::activate (sender=0x2b0ccd0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3104
#43 0x00007f2de9f8af25 in KDirLister::newItems (this=0x14cb, _t1=<value optimized out>) at /usr/src/debug/kdelibs-4.2.96/build/kio/kdirlister.moc:261
#44 0x00007f2de9f8c012 in KDirLister::Private::emitItems (this=0x2bd69a0) at /usr/src/debug/kdelibs-4.2.96/kio/kio/kdirlister.cpp:2304
#45 0x00007f2de9f94dc3 in KDirListerCache::emitItemsFromCache (this=<value optimized out>, lister=0x2b0ccd0, items=<value optimized out>, rootItem=<value optimized out>, _url=@0x2abe530, 
    _reload=<value optimized out>, _emitCompleted=true) at /usr/src/debug/kdelibs-4.2.96/kio/kio/kdirlister.cpp:284
#46 0x00007f2de9f94f69 in KDirLister::Private::CachedItemsJob::done (this=0x2abe510) at /usr/src/debug/kdelibs-4.2.96/kio/kio/kdirlister.cpp:263
#47 0x00007f2de9f94fc6 in KDirLister::Private::CachedItemsJob::qt_metacall (this=0x2abe510, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /usr/src/debug/kdelibs-4.2.96/build/kio/kdirlister_p.moc:157
#48 0x00007f2de8c0dae9 in QObject::event (this=0x2abe510, e=0x2bd6b50) at kernel/qobject.cpp:1102
#49 0x00007f2de7e8050c in QApplicationPrivate::notify_helper (this=0x1bc2420, receiver=0x2abe510, e=0x2bd6b50) at kernel/qapplication.cpp:4056
#50 0x00007f2de7e877ce in QApplication::notify (this=0x7fffc705de50, receiver=0x2abe510, e=0x2bd6b50) at kernel/qapplication.cpp:4021
#51 0x00007f2de9a74b4e in KApplication::notify (this=0x7fffc705de50, receiver=0x2abe510, event=0x2bd6b50) at /usr/src/debug/kdelibs-4.2.96/kdeui/kernel/kapplication.cpp:302
#52 0x00007f2de8bfe28c in QCoreApplication::notifyInternal (this=0x7fffc705de50, receiver=0x2abe510, event=0x2bd6b50) at kernel/qcoreapplication.cpp:610
#53 0x00007f2de8bfee88 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1b888d0) at ../../src/corelib/kernel/qcoreapplication.h:213
#54 0x00007f2de8c27703 in postEventSourceDispatch (s=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:218
#55 0x00007f2de324fb6e in IA__g_main_context_dispatch (context=0x1bc4c70) at gmain.c:1960
#56 0x00007f2de32535d8 in g_main_context_iterate (context=0x1bc4c70, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#57 0x00007f2de3253720 in IA__g_main_context_iteration (context=0x1bc4c70, may_block=1) at gmain.c:2654
#58 0x00007f2de8c27376 in QEventDispatcherGlib::processEvents (this=0x1b884c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#59 0x00007f2de7f152de in QGuiEventDispatcherGlib::processEvents (this=0x14cb, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#60 0x00007f2de8bfcb52 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#61 0x00007f2de8bfcf2c in QEventLoop::exec (this=0x7fffc705ddc0, flags=) at kernel/qeventloop.cpp:201
#62 0x00007f2de8bff139 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#63 0x0000000000424729 in _start ()
Comment 4 Dario Andres 2009-07-16 17:05:08 UTC
This is most likely related to the backtrace in bug 193364.
Can you reproduce the crash at will ?
Thanks
Comment 5 Balcaen John 2009-08-12 19:43:36 UTC
i'm not able to reproduce it again currently (neither bug #193364)
I'm going to try again this week.
Regards
Comment 6 Dario Andres 2009-08-12 20:18:05 UTC
Thanks, merging.

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