darktable-org / darktable-org/darktable
Crash (SIGSEGV) in _darkroom_ui_apply_style_activate_callback on macOS Sequoia 26.0.1 (v5.2.1)
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 13.1k
- Forks
- 1.4k
- Avg merge
- 22h 14m
- Merged PRs (30d)
- 198
Description
Is there an existing issue for this?
- I checked and did not find my issue in the already reported ones
Describe the bug
Darktable crashes immediately with an EXC_BAD_ACCESS (SIGSEGV) error when attempting to apply a style/preset to an image within the Darkroom view. The crash appears to originate from the _darkroom_ui_apply_style_activate_callback function, suggesting an issue with handling style application via the UI.
Steps to reproduce
Launch darktable 5.2.1 on macOS Sequoia 26.0.1.
2. Import an image.
3. Double-click the image to open it in the Darkroom view.
4. Navigate to the "Styles" module on the right-hand panel.
5. Click on any available style/preset to apply it to the image(sometimes even if i don't apply some preset just click the "Style"module it will also lead to crush)
Expected behavior
The selected style should be applied to the image preview in the Darkroom view without causing the application to crash.
Logfile | Screenshot | Screencast
Commit
No response
Where did you obtain darktable from?
darktable.org / GitHub release
darktable version
darktable 5.2.1
What OS are you using?
Mac
What is the version of your OS?
MacOS 26.0.1 Tahoe
Describe your system
No response
Are you using OpenCL GPU in darktable?
Yes
If yes, what is the GPU card and driver?
M1pro,16GB
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the attached log.rtf and reproducing the crash in darktable 5.2.1 on macOS 26.0.1 with an imported image in Darkroom. Trace _darkroom_ui_apply_style_activate_callback while opening the Styles module and applying a style. Done means the Styles module and style application no longer crash the application.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, macos
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100