Is there an existing issue for this?
Describe the bug
darktable crashes on exit in line 4130 of src/libs/neural_restore.c if the module is hidden in the panels.
Steps to reproduce
- start darktable
- right click in the panel and uncheck the neural restore module
- quit darktable
Expected behavior
not crash
Logfile | Screenshot | Screencast
bisect gives:
896accf7fcef92be3e364e9d43f6525d883b1014 is the first bad commit
commit 896accf7fcef92be3e364e9d43f6525d883b1014
Author: Andrii Ryzhkov <andrii.ryzhkov@pm.me>
Date: Thu Apr 23 13:33:44 2026 +0200
Add AI raw denoise (RawNIND, Bayer + X-Trans)
@andriiryzhkov : 100% reproducible
Commit
896accf
Where did you obtain darktable from?
darktable.org / GitHub release
darktable version
current master
What OS are you using?
Mac
What is the version of your OS?
macOS 26
Describe your system
No response
Are you using OpenCL GPU in darktable?
Yes
If yes, what is the GPU card and driver?
Apple M5 Pro
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
Is there an existing issue for this?
Describe the bug
darktable crashes on exit in line
4130ofsrc/libs/neural_restore.cif the module is hidden in the panels.Steps to reproduce
Expected behavior
not crash
Logfile | Screenshot | Screencast
bisect gives:
@andriiryzhkov : 100% reproducible
Commit
896accf
Where did you obtain darktable from?
darktable.org / GitHub release
darktable version
current master
What OS are you using?
Mac
What is the version of your OS?
macOS 26
Describe your system
No response
Are you using OpenCL GPU in darktable?
Yes
If yes, what is the GPU card and driver?
Apple M5 Pro
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response