darktable-org / darktable-org/darktable

Framing module crashes Darktable

Open
#22,074 4 comments 0 reactions 0 assignees View on GitHub

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

Adding a frame lets Darktable crash

Steps to reproduce
  1. go to 'framing module' after editing basics
  2. set frame line offset to 0%
  3. set frame line size to 2%
  4. Darktable crashes upon release of slider or enter when using right mouse button.
  5. also happens with my preset that I made with 5.7.0-558 (if I remember correctly)
Image
Expected behavior

I expec a black border of 10%, a white line with 0% offsets (tight around the picture)

Logfile | Screenshot | Screencast

No response

Commit

5.7.0+667~gf54402ea96-dirty

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.7.0+667~gf54402ea96-dirty

What OS are you using?

Linux

What is the version of your OS?

Kali rolling release (debian testing based)

Describe your system

Lenovo G2 Core i5 16 GB ising OpenCL

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

Intel Iris xe

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

Happened on 650, recompiled to 667, removed sidecar and reconstructed the edit, same crash

crash.log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash in the framing module using the listed slider and right-mouse-button steps, then inspect the attached crash.log. Confirm whether the same behavior occurs with the reported preset and versions; done means releasing the slider or pressing Enter no longer crashes and the requested black border and tight white line are produced.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
66/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.