[Digikam-devel] [digikam] [Bug 314386] New: Digikam crashes on startup with large collections

Luke lcampagn at email.unc.edu
Sun Feb 3 22:34:17 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=314386

            Bug ID: 314386
           Summary: Digikam crashes on startup with large collections
    Classification: Unclassified
           Product: digikam
           Version: 2.8.0
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: NOR
         Component: general
          Assignee: digikam-devel at kde.org
          Reporter: lcampagn at email.unc.edu

I have a large collection with ~1000 directories. When I start digikam, I
usually see an error about opening too many files (I reported this bug already:
#314385). To work around that issue, I run ulimit -n 2048 before running
digikam. This seems to fix the previous problem, but reveals a different crash
with this error message: "*** buffer overflow detected ***: digikam
terminated". I will attach a backtrace with more information.



Reproducible: Always

Steps to Reproduce:
1. Start fresh: empty ~/Pictures, remove .kde/share/config/digikamrc
2. Create ~/Pictures with 1000 subdirs:
     for i in {1..1000}; do mkdir ~/Pictures/$i; done
3. Run 'ulimit -n 2048' 
4. Start digikam
Actual Results:  
Causes crash. If ~/Pictures contains only 100 subdirectories instead of 1000,
then there is no crash.


gdb session attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list