Bug #10059

Darktable freezes and force closes upon importing large library and photos won't delete

Added by Jeb Eldridge over 5 years ago. Updated 8 months ago.

Start date:
Due date:
% Done:


Estimated time:
Affected Version:
hardware architecture:


Darktable tends to freeze and force-close when importing a large library of photos ranging anywhere from around 1GB and up. I believe the problem is when the program attempts to import a file it can't read properly, the entire "import" process shuts down and this is where all hell breaks loose. After rebooting the program is where another fatal error occurs every time on every system I try it on, which is that photos cannot be removed from my Darktable library after this freeze, no matter if I restart my computer or reset the config files, it happens again over and over :(

I don't know too much code right now, but I definitely feel as if this should be brought up. Included is a HardInfo report of my AMD Phenon II x4-based Ubuntu PC with all benchmarks attached.

hardinfo_report.html (78.8 KB) hardinfo_report.html Hardinfo on AMD Phenom II X4 8GB DDR3 RAM 500GB SATA3Gbps HDD (see more) Jeb Eldridge, 08/13/2014 11:31 PM
Screenshot from 2014-08-13 16_35_14.png (325 KB) Screenshot from 2014-08-13 16_35_14.png Screenshot as the freeze occurs Jeb Eldridge, 08/13/2014 11:36 PM
s1 (1.21 MB) s1 Step 1: Confirmation to Delete message when I click "DEL" on my keyboard. I went on to click "Yes" Jeb Eldridge, 08/14/2014 12:18 AM
s2 (1.2 MB) s2 Step 2: After clicking "yes", the images selected are still in my Lighttable Jeb Eldridge, 08/14/2014 12:18 AM
s3 (1.2 MB) s3 Step 3: After restarting the program, the images *still* have yet to be removed. Jeb Eldridge, 08/14/2014 12:18 AM


#1 Updated by Jeb Eldridge over 5 years ago

Perhaps there is a cache system error with the method Darktable saves image thumbnails? See the steps I took to reproduce the error where the images won't remove from Lighttable in the attached files "S1" for "Step One" and so forth.

#2 Updated by Pascal de Bruijn over 5 years ago

  • Target version changed from Candidate for next patch release to Candidate for next major release
  • Priority changed from Medium to Low

There have been lots of changes since 1.4.2 in our development branch. You may want to consider trying our development branch, for which I provide easy to use builds on a regular basis:

WARNING: once you upgrade to a development version your database will irrevocably be updated. So there's no way back. Older versions of darktable will no longer work with your existing library. Also keep in mind it's called unstable for a reason, even though it's generally usable, things might get worse for you before they get better. Always keep religious backups when using a development build of darktable.

Please provide a backtrace of an actual crash (either for 1.4.2, or preferably using our development version). For more information about how to generate a backtrace:

#3 Updated by Pascal de Bruijn over 5 years ago

  • % Done changed from 0 to 20
  • Status changed from New to Incomplete

Without more information (backtraces), there is little we can do.

#4 Updated by j n about 5 years ago

I have the same problem: I can't delete images or remove them from the DB.
I can't provide a backtrace, though, cause the problem doesn't crashes.
What's the best way to provide you with the informations you need to trace the bug?

#5 Updated by j n about 5 years ago

A very tiny update: after removing .config/library.db and .config/darktablerc, I was able to remove some images.

Also available in: Atom PDF

Go to top