Bug 326568 - SCAN : parsing collection runs infinitely when encountering softlink to "." directory
Summary: SCAN : parsing collection runs infinitely when encountering softlink to "." d...
Status: RESOLVED DUPLICATE of bug 202094
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 3.5.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-24 15:21 UTC by Christian Esken
Modified: 2023-10-24 05:41 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 Christian Esken 2013-10-24 15:21:51 UTC
Scan collection runs infinitely when encountering softlink to "." directory. I had this problem when doing the first/initial collection scan.

Reproducible: Always

Steps to Reproduce:
1. mkdir LinkCollection ; cd LinkCollection; ln -s thumbs .
2. Copy 3 images to LinkCollection
3. Add a new Collection with LinkCollection as base directory

Actual Results:  
Scan never completes. When looking at the /proc/ filesystem  you can see that the directory is revisited again and again:
ls -l /proc/DIGICAM_PID/fd/
Comment 1 caulier.gilles 2014-09-14 21:52:01 UTC

*** This bug has been marked as a duplicate of bug 202094 ***
Comment 2 caulier.gilles 2023-10-24 05:41:33 UTC
Christian,

The digiKam 8.2.0 pre-release for Windows is available for testing :

https://files.kde.org/digikam/

Problem still reproducible on your computer ?

Thanks in advance

Gilles Caulier