Bug 174920 - Crashed after configuring scanfolder plug-in
Summary: Crashed after configuring scanfolder plug-in
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-12 06:02 UTC by Xenophon
Modified: 2008-11-27 13:45 UTC (History)
1 user (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 Xenophon 2008-11-12 06:02:22 UTC
Version:           3.1.2 (using 4.1.3 (KDE 4.1.3), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.27-7-generic

Enabled scanfolder, configured it and clicked save and *boom*

Application: KTorrent (ktorrent), signal SIGABRT
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb5d796c0 (LWP 8431)]
[New Thread 0xb2dadb90 (LWP 8473)]
[New Thread 0xb42a5b90 (LWP 8472)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb7f68430 in __kernel_vsyscall ()
#7  0xb6641880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6643248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb736a795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb736a872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb736a915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb7d5a608 in KDirLister::Private::CachedItemsJob::done ()
   from /usr/lib/libkio.so.5
#13 0xb7d5a7a5 in KDirLister::Private::CachedItemsJob::qt_metacall ()
   from /usr/lib/libkio.so.5
#14 0xb7470bfb in QMetaCallEvent::placeMetaCall ()
   from /usr/lib/libQtCore.so.4
#15 0xb7472771 in QObject::event () from /usr/lib/libQtCore.so.4
#16 0xb6b538ec in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#17 0xb6b5b76e in QApplication::notify () from /usr/lib/libQtGui.so.4
#18 0xb79a1b2d in KApplication::notify () from /usr/lib/libkdeui.so.5
#19 0xb7462e61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#20 0xb7463ae5 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#21 0xb7463cdd in QCoreApplication::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#22 0xb748d82f in ?? () from /usr/lib/libQtCore.so.4
#23 0xb614f6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0xb6152da3 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0xb6152f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0xb748d478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#27 0xb6bedee5 in ?? () from /usr/lib/libQtGui.so.4
#28 0xb746152a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#29 0xb74616ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#30 0xb76938f8 in KJob::exec () from /usr/lib/libkdecore.so.5
#31 0xb7b6d39f in bt::MakeDir () from /usr/lib/libbtcore.so.7
#32 0xb7bc3003 in bt::TorrentControl::setupDirs ()
   from /usr/lib/libbtcore.so.7
#33 0xb7bca683 in bt::TorrentControl::initInternal ()
   from /usr/lib/libbtcore.so.7
#34 0xb7bcb01f in bt::TorrentControl::init () from /usr/lib/libbtcore.so.7
#35 0x0806ef44 in _start ()
#0  0xb7f68430 in __kernel_vsyscall ()
Comment 1 Joris Guisson 2008-11-13 10:19:07 UTC
Assert in KIO library, so I'm gonna reassign it to the kio people
Comment 2 David Faure 2008-11-27 13:43:26 UTC
The assert seems to be fixed, but when I try this I get an infinite recursion openUrl -> emitChanges -> ktorrent's newItems slot -> openUrl.
Fixing this in KDirLister.
Comment 3 David Faure 2008-11-27 13:45:23 UTC
SVN commit 889716 by dfaure:

Fix infinite recursion and crash when the slot connected to newItems calls openUrl, like ktorrent's scanfolder plugin does.
  - d->changes must be set to NONE before the emits
  - the iteration over d->lstDirs must be done with Q_FOREACH to iterate over a copy of the list
BUG: 174920


 M  +10 -16    kdirlister.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=889716