Open olcdlm opened 3 months ago
It looks like you have a corrupted image in darktable's cache, so deleting the cache should fix things. I don't know where the cache is stored on Windows; on Linux, it's ~/.cache/darktable/.
thank you. the directory is C:\Users\PC\AppData\Local\Microsoft\Windows\INetCache\darktable i delete all files in the directory, but the crash is still there...
sorry, after deleting cache and library.db and data.db, all is back to normal. i can restart. thank you
I still have a Darktable crash. I deleted the cache file. I deleted the library.db and data.db files. It seems that it is the library.db file that is causing a problem. When I delete the file library.db alone, I can restart. I'm a little desperate because not a week goes by without this problem. Thank you. darktable_bt_TGXRT2.txt darktable_bt_M9PGT2.txt data.zip library.zip
The backtrace is rather limited compared to what one gets on Linux, but it appears that there is a race condition which results in an attempt to lock an uninitialized mutex:
static inline int dt_pthread_mutex_lock(dt_pthread_mutex_t *mutex) ACQUIRE(mutex) NO_THREAD_SAFETY_ANALYSIS
{
return pthread_mutex_lock(&mutex->mutex); // <-- crash in this function call
};
Thank you for your quick response Not being a computer scientist, I don't understand this answer! Is there a solution?
I've been trying to trace where that mutex gets initialized. For the other devs: it looks like the call to dt_collection_new
in dt_init
needs to come after the assignment to darktable.image_cache
and immediately-following call of dt_image_cache_init
to avoid the crash but right now is considerably earlier. I don't know whether moving the image_cache init earlier would cause problems or conversely moving dt_collection_new later would cause problems, so I'm unsure which move is better.
The proximate cause of the crash is that your library has one or more images without a computed aspect ratio, which the code is trying to add to the database. The comments for that particular code indicates that the intent is to upgrade old databases, so it's not clear why that code is executing for you....
can we know the names of the photo files that are causing the problem? or the dates of the photos?
crash again darktable_bt_DA1KT2.txt library (2).zip
so no solution, except switch to another software ? thank you.
darktable Version 4.8.0
Can you try with 4.8.1 (current version)
so no solution, except switch to another software ?
Or switch to a decent OS like GNU/Linux :)
version 4.8.1 since 2 month. i know that linux is the best. i have a dual boot Kubuntu / windows 11 pro but all pictures are under windows. i need windows for specific use (i try wine and bottle but without success). i'm living on a sailboat and it's not easy to have some help everywhere (the boat is actually in Guatemala during the hurricane saison and i'm in France). sorry for my bad english. so no solution...
Describe the bug
crashes when the application is restarted. I reinstalled DT and deleted the db files. but on restart it replays.
Steps to reproduce
starting DT
Expected behavior
No response
Logfile | Screenshot | Screencast
darktable_bt_4HYLR2.txt darktable_bt_KMDRR2.txt darktable_bt_XVDCR2.txt
Commit
No response
Where did you obtain darktable from?
downloaded from www.darktable.org
darktable version
4.8.1
What OS are you using?
Windows
What is the version of your OS?
Windows11 Pro
Describe your system?
Lenovo T480 Nom de l'appareil olivier Processeur Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz 2.11 GHz Mémoire RAM installée 32,0 Go (31,8 Go utilisable) ID de périphérique A277D2EC-37FD-44A6-8B67-FD9E195D7447 ID de produit 00330-52030-88647-AAOEM Type du système Système d’exploitation 64 bits, processeur x64 Stylet et fonction tactile La fonctionnalité d’entrée tactile ou avec un stylet n’est pas disponible sur cet écran Édition Windows 11 Professionnel Version 23H2 Installé le 02/09/2023 Build du système d’exploitation 22631.3880 Expérience Windows Feature Experience Pack 1000.22700.1020.0
Are you using OpenCL GPU in darktable?
Yes
If yes, what is the GPU card and driver?
NVIDIA GeForce MX150
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response