Bug 151680 - "Problem deleting stale lockfile" freezes Dolphin
Summary: "Problem deleting stale lockfile" freezes Dolphin
Status: RESOLVED DUPLICATE of bug 156759
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-01 10:05 UTC by H3g3m0n
Modified: 2008-09-19 21:45 UTC (History)
2 users (show)

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


Attachments
Terminal output from Konqueror (4.52 KB, text/plain)
2008-09-19 11:40 UTC, Jon Severinsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description H3g3m0n 2007-11-01 10:05:51 UTC
Version:           Kde 4 beta3 (using KDE KDE 3.94.0)
Installed from:    Ubuntu Packages
OS:                Linux

When I tried to browse my /mnt/ directory with CIFS shares (mounted from fstab) Dolphin locked up with a stale lockfile message.
Deleting the stopped the message appearing but I still had to restart Dolphin. This should be handled more gracefully than freezing the file manger. The actual problem might be cause by me using UnionFS for /mnt/storage and also having /mnt/storage0, /mnt/storage1 etc... also in the /mnt directoy so if a lock file is made in /mnt/storage0 it is also accessible in /mnt/storage

kio_file(13345) FileProtocol::listDir: ========= LIST  "file:///"  =========
kio_file(13345) FileProtocol::listDir: ============= COMPLETED LIST ============
dolphin(13319)/kio (KDirListerCache) KDirListerCache::slotEntries: new entries for  KUrl("file:///")
dolphin(13319)/kio (KDirModel) KDirModelPrivate::_k_slotNewItems: 22  in  KUrl("file:///")  index= "[invalid index, i.e. root]"  newRowCount= 22
dolphin(13319)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("file:///")
dolphin(13319)/kdecore (KConfigSkeleton) KConfigSkeleton::KConfigSkeleton: Creating KConfigSkeleton ( 0x878bda8 )
dolphin(13319)/kdecore (KConfigSkeleton) KConfigSkeleton::KConfigSkeleton: Creating KConfigSkeleton ( 0x879cc70 )
dolphin(13319)/kio (KDirLister) KDirLister::stop:
dolphin(13319)/kio (KDirListerCache) KDirListerCache::listDir: DolphinDirLister(0x81b0018) url= KUrl("file:///mnt") keep= false reload= false
dolphin(13319)/kio (KDirListerCache) KDirListerCache::forgetDirs: DolphinDirLister(0x81b0018)  item moved into cache:  KUrl("file:///")
dolphin(13319)/kio (KDirListerCache) KDirListerCache::forgetDirs: Not adding a watch on  KUrl("file:///")  because it  contains a manually mounted subdir
dolphin(13319)/kio (KDirWatch) KDirWatchPrivate::removeEntry: KDirWatchPrivate::removeEntry for "/" sub_entry: 0x0
dolphin(13319)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Cancelled INotify (fd 15, 4) for "/"
dolphin(13319)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Removed Dir "/" for "" ["KDirWatch-1"]
dolphin(13319)/kio (KDirListerCache) KDirListerCache::listDir: Entry not in cache or reloaded: KUrl("file:///mnt")
dolphin(13319)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/mnt" for "" ["KDirWatch-1"]
dolphin(13319)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring
dolphin(13319)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring
dolphin(13319)/kio (KDirWatch) KDirWatchPrivate::inotifyEventReceived: KDirWatchPrivate::inotifyEventReceived
kio_file(13345) FileProtocol::listDir: ========= LIST  "file:///mnt"  =========
kio_file(13345) FileProtocol::listDir: ============= COMPLETED LIST ============
dolphin(13319)/kio (KDirListerCache) KDirListerCache::slotEntries: new entries for  KUrl("file:///mnt")
dolphin(13319)/kio (KDirModel) KDirModelPrivate::_k_slotNewItems: 7  in  KUrl("file:///mnt")  index= "[invalid index, i.e. root]"  newRowCount= 7
dolphin(13319)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("file:///mnt")
WARNING: Problem deleting stale lockfile /mnt/storage/.directory.lock
WARNING: Problem deleting stale lockfile /mnt/storage/.directory.lock
WARNING: Problem deleting stale lockfile /mnt/storage/.directory.lock
WARNING: Problem deleting stale lockfile /mnt/storage/.directory.lock
WARNING: Problem deleting stale lockfile /mnt/storage/.directory.lock
WARNING: Problem deleting stale lockfile /mnt/storage/.directory.lock
WARNING: Problem deleting stale lockfile /mnt/storage/.directory.lock
Comment 1 Peter Penz 2007-11-01 10:12:51 UTC
@David, I've reassigned this issue to you as my knowledge is too limited on this topic. I hope this is OK :-)
Comment 2 David Faure 2007-12-19 12:45:26 UTC
Looks like a KConfig problem...
Comment 3 H3g3m0n 2008-01-13 07:31:21 UTC
This is no longer happening for me with Dolphin 1.0, on the KDE 4.0 release
Comment 4 H3g3m0n 2008-01-14 08:45:39 UTC
Correction, it no longer happens when just browsing the folder. When changing from icon mode to Details, it still happens.
Comment 5 Jon Severinsson 2008-09-19 11:40:21 UTC
Created attachment 27481 [details]
Terminal output from Konqueror

Attaching the terminal output from konqueror when this bug occurs. In this instance, Konqueror hanged for aproximately four minutes.
Comment 6 Jon Severinsson 2008-09-19 11:40:44 UTC
I'm experiencing a similar problem on KDE 4.4.1.

I'm mounting a few cifs shares in my home directory using pam_mount, and is experiencing problems when working with them in either konqueror or dolphin. Unlike the original poster I do not use uninfs, so that can't be the culpit.

Browsing the directories always works, but it's much slower than using Konqueror 3.5.9. Instead of opening virtually instantaneously it takes a two or three seconds to open a folder.

The big problem, however, occurs when I try to set a folder icon. After selecting the icon it shows up in the properties dialogue without problems, but when I click on OK Konqueror or Dolphing hangs. Sometimes the program starts working after a few minutes, but sometimes I can leave it there for hours without anything happening.
Comment 7 David Faure 2008-09-19 21:45:24 UTC
Same KLockFile problem as 156759 (which has more info, and a patch, and a better long-term solution).

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