Darktable does not exit
Is there an existing issue for this?
- [x] I checked and did not find my issue in the already reported ones
Describe the bug
Te hissue is that darktable 5.2.0 on Windows 11 becomes unresponsive when trying to close it. It may have something to do with the tag files I imported for darktable, which I can send, or a .dng file which I opened, which I could also send. I am trying to make a log file showing this, but when darktable finally quit, it did not write the log file into my documents directory. Do I need to create the darktable directory first?
I started darktable with the following command (given at the Windows cmd prompt):
c:\Program Files\darktable\bin>darktable.exe -d opencl
However, these did not seem to produce a log file in my Documents directory.
I'm attaching a screenshot of the Windows task manager during two of these episodes.
Steps to reproduce
- Start darktable on Windows 11
- Open a dng file (created by DxO Pure RAW 5 previously and then edited with darktable)
- Click on the close window button (at the top right of the darktable window, which is an "x").
- Trying to click again showing that darktable is not responding.
When I opened the screenshot file (a png file) in darktable, it exited quickly.
Expected behavior
darktable should exit when the window is closed.
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you obtain darktable from?
darktable.org / GitHub release
darktable version
5.2.0
What OS are you using?
Windows
What is the version of your OS?
Windows 11 Home
Describe your system
Device name SurfaceStudio2 Processor 13th Gen Intel(R) Core(TM) i7-13700H 2.90 GHz Installed RAM 64.0 GB (63.8 GB usable) Device ID B2F187D8-8762-4AB7-A92B-11EBF85371A5 Product ID 00356-06297-50847-AAOEM System type 64-bit operating system, x64-based processor Pen and touch Pen and touch support with 10 touch points
Are you using OpenCL GPU in darktable?
Yes
If yes, what is the GPU card and driver?
This computer has an Intel NPU and an NVIDIA GeForce RTX 4060 Laptop GPU. The NVIDIA driver is version 31.0.15.3892
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
This did not happen with darktable 5.0.1, but I can reproduce it with version 5.2.0. The issue does not happen with a PNG file. It only seems to happen with a DNG file, but I can't seem to attach a zip of that... so I changed the name of the .dng.xmp file to .dng.xmp.txt but I'm unable to upload the DNG file itself.
_GTL7083-CR3_DxO_DeepPRIMEXD.dng.xmp.txt
The steps reproduce only on this specific DNG file, even with a fresh edit.
This is still an issue when starting with an empty config-dir, via the command
darktable -d perf --configdir /tmp
where the memory for the task increased to 198 MB, although darktable finished faster. in that configuration.
I'm not using any lua scripts.
I actually obtained Darktable 5.2.0 from the download part of the darktable.org website, not from github.
I still can't upload the DNG file here, I keep getting a "failed to upload" message. The DNG file is of size 80.7 MB.
Now I had the same behavior, with darktable becoming not responsive, after working on a mask on a DNG file. The executable chewed up an enormous amount of memory, as you can see in the following task manager snapshot.
- @leavens would you be able to share the raw via a file sharing service.
- A log with
-d pipe -d openclwould be of much more help
Sorry, but that particular DNG file is gone now (as I finished up editing the files in that directory), but if you let me know how to share it, I can do so if it happens again...
I tried starting darktable with -d pipe -d opencl, but I don't see a log file being created in my Documents directory... What else should I be doing to make that work?
@wpferguson i am sure we have some docs about "how to start dt on windows command line" but couldn't spot it.
I tried starting darktable with -d pipe -d opencl, but I don't see a log file being created in my Documents directory
@leavens This log file is not located directly in the Documents directory itself, but in its subdirectory, Darktable.
Sorry, but that particular DNG file is gone now (as I finished up editing the files in that directory), but if you let me know how to share it, I can do so if it happens again...
You can use any file sharing service you like (including such a ubiquitous one as Google Drive).
This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.
Closing this for now until there will be given more details ...