Hi, I have been using DT as a non-tech photographer for many years. Love it.
For the first time I tried to open a lighttable view with about 20 000 + images, ie a whole year worth of photos. It crashed.
But now it won’t reopen. Or, to be precise, reads sidecar files for about 40 seconds, opens for about 5 seconds, then invariably crashes out.
I will attach the full crash log from Apple.
I guess it was a mistake to open such a big lighttable view in terms of images – maybe there is a limit I am unaware of? – but my big question is: what do I have to do to reset the program and get it to open again? I hope the answer doesn’t involve losing critical information (I have configured DT to keep individual sidecar files).
I don’t think it’s a hardware-software issue, but FYI I am running DT v5.2.1.0 on macOS 15.6.1 (24G90) on a Macmini9,1, BootROM 11881.140.96, proc 8:4:4 processors, 16 GB, SMC
Graphics: Apple M1, Apple M1, Built-In
Try disabling openCL in the preferences as this often overcomes the crashing. If that works it is probably a driver issue.
Another causes for crashes that I have seen is one corrupt image file or more precisely its associated xmp file. Try opening DT to a new image or at least a different image.
I don’t feel the size of your database (library) is the issue.
More knowledgeable people should be able to offer solutions. I am just throwing a couple of ideas that I have seen.
Rename you darktablerc file and restart darktable. The problem is that darktable keeps trying to reload the lighttable collection that caused the crash.
Alternative
edit your darktablerc file and remove everything after the = for the following keys
To be clear, it’s not the size of my database that I thought caused the crashing, it was that I was trying to open a single lighttable view of 20 000+ images. I am asking (for future caution) whether there is a limit on the number of images in one single lighttable view.
first of all: the hardware is capable to handle this - and you don’t need to bother with OpenCL drivers on a apple M1 machine
if you have xcode or xcode commandline tools installed, you can use the debugger to find out where exactly the crash occurs:
run darktable from terminal via lldb /Applications/darktable/darktable.app/Contents/MacOS/darktable
after the debugger started and shows a prompt, then type r to run darktable.
If darktable crashes the it shows the affected code. (if that’s just machine code, type up until something like human readable c code occurs
For the last few days, my dt has been crashing every couple of minutes! I’m not sure what changed, or whether its something to do with my linux Mint or OpenCl rather than dt.
I can’t pin down exactly what makes dt crash, but its often when I copy and paste from one image to multiple images.
I am running the latest build, and have rebuilt 3 or 4 times in recent days.
I tried running with the debugger, and after a copy and paste I hit the following crash info: