Bug 193466 - Renaming a file on my remote disk (ftp) crashed dolphin
Summary: Renaming a file on my remote disk (ftp) crashed dolphin
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
: 193465 197334 211170 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-21 11:07 UTC by Alexander Jenisch
Modified: 2009-10-20 19:38 UTC (History)
4 users (show)

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 Alexander Jenisch 2009-05-21 11:07:28 UTC
Application that crashed: dolphin
Version of the application: 1.2.80
KDE Version: 4.2.86 (KDE 4.2.86 (KDE 4.3 >= 20090514))
Qt Version: 4.5.1
Operating System: Linux 2.6.29-ARCH i686
Distribution: "(none)"

What I was doing when the application crashed:
i just made a similar report, but i guess the file copying part, while renaming wasn't too important. it even crashes if i just try to rename it.

 -- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[KCrash Handler]
#6  0xb6553399 in QUrl::QUrl () from /usr/lib/libQtCore.so.4
#7  0xb7195399 in KUrl::KUrl () from /usr/lib/libkdecore.so.5
#8  0xb7d676de in KFileItem::url () from /usr/lib/libkio.so.5
#9  0xb7c20d49 in KFilePreviewGenerator::Private::orderItems () from /usr/lib/libkfile.so.4
#10 0xb7c239fd in KFilePreviewGenerator::Private::updateIcons () from /usr/lib/libkfile.so.4
#11 0xb7c2429e in KFilePreviewGenerator::Private::updateIcons () from /usr/lib/libkfile.so.4
#12 0xb7c248e7 in KFilePreviewGenerator::qt_metacall () from /usr/lib/libkfile.so.4
#13 0xb65b5339 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0xb65b5fa2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb65efdb9 in QAbstractItemModel::dataChanged () from /usr/lib/libQtCore.so.4
#16 0xb7d549bf in KDirModelPrivate::_k_slotRefreshItems () from /usr/lib/libkio.so.5
#17 0xb7d56940 in KDirModel::qt_metacall () from /usr/lib/libkio.so.5
#18 0xb65b5339 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0xb65b5fa2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0xb7d38b03 in KDirLister::refreshItems () from /usr/lib/libkio.so.5
#21 0xb7d39da6 in KDirLister::Private::emitItems () from /usr/lib/libkio.so.5
#22 0xb7d4be36 in KDirListerCache::slotFileRenamed () from /usr/lib/libkio.so.5
#23 0xb7d4c31c in KDirListerCache::qt_metacall () from /usr/lib/libkio.so.5
#24 0xb65b5339 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb65b5fa2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb7d58219 in OrgKdeKDirNotifyInterface::FileRenamed () from /usr/lib/libkio.so.5
#27 0xb7d58364 in OrgKdeKDirNotifyInterface::qt_metacall () from /usr/lib/libkio.so.5
#28 0xb7077d9d in ?? () from /usr/lib/libQtDBus.so.4
#29 0xb707fce7 in ?? () from /usr/lib/libQtDBus.so.4
#30 0xb65afa70 in QObject::event () from /usr/lib/libQtCore.so.4
#31 0xb67b46ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#32 0xb67bc9be in QApplication::notify () from /usr/lib/libQtGui.so.4
#33 0xb755ddda in KApplication::notify () from /usr/lib/libkdeui.so.5
#34 0xb659f24b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#35 0xb659fe85 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#36 0xb65a007d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#37 0xb65cad2f in ?? () from /usr/lib/libQtCore.so.4
#38 0xb5c2e718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0xb5c31c7b in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#40 0xb5c31df8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#41 0xb65ca978 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#42 0xb68532a5 in ?? () from /usr/lib/libQtGui.so.4
#43 0xb659d87a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#44 0xb659dcba in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#45 0xb65a0149 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#46 0xb67b4567 in QApplication::exec () from /usr/lib/libQtGui.so.4
#47 0x0807a66f in main (argc=5, argv=0xbfd3aa94) at /home/drf/kdemod-core43/work/kdebase/src/kdebase-4.2.86/apps/dolphin/src/main.cpp:94
Comment 1 Alexander Jenisch 2009-05-21 11:13:33 UTC
conditions:
- split view, with one on remote ftp disk (not sure this is the culprit)
- renaming (not inline) with tree view (expaned view?)
- pressing enter instead of confirming via butten -> i think that might be a good clue
Comment 2 Alexander Jenisch 2009-05-21 11:18:14 UTC
i narrowed it down to:
-renaming a file by clicking on it in "expaned folder view" seems to be the problem
Comment 3 Alexander Jenisch 2009-05-21 11:19:30 UTC
*** Bug 193465 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-05-22 03:59:43 UTC
Here using:

Qt: 4.5.1 (qt-copy  958974)
KDE: 4.2.86 (KDE 4.2.86 (KDE 4.3 >= 20090514))
kdelibs svn rev. 969788 / kdebase svn rev. 969788
on ArchLinux i686 - Kernel 2.6.29.3

I can't reproduce the crash using the steps described on comment 2.
Comment 5 Dario Andres 2009-06-21 01:26:47 UTC
*** Bug 197334 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2009-08-19 22:05:41 UTC
This could be related to bug 200125. Thanks
Comment 7 Frank Reininghaus 2009-09-11 09:20:37 UTC
(In reply to comment #6)
> This could be related to bug 200125. Thanks

The backtrace is similar, but here the reason why KFilePreviewGenerator::Private::updateIcons is called is not a timer event, but a "file renamed" message received via D-Bus, so I think that this crash is probably not fixed by the fix for bug 200125.
Comment 8 Peter Penz 2009-09-11 19:36:39 UTC
SVN commit 1022406 by ppenz:

I cannot reproduce the crash of bug 193466, but I guess the root cause of the crash occurs already earlier. Added some Q_ASSERTs to document and verify the assumptions in that code.

CCBUG: 193466

 M  +2 -0      kfilepreviewgenerator.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1022406
Comment 9 David Faure 2009-09-29 11:27:22 UTC
SVN commit 1029209 by dfaure:

Backport: Don't crash if dataChanged(root, root) is emitted, e.g. when changing permissions for the current dir.
BUG: 193466


 M  +4 -0      kfilepreviewgenerator.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1029209
Comment 10 Frank Reininghaus 2009-10-20 19:38:14 UTC
*** Bug 211170 has been marked as a duplicate of this bug. ***