darktable-org / darktable

darktable is an open source photography workflow application and raw developer
https://www.darktable.org
GNU General Public License v3.0
9.52k stars 1.12k forks source link

Darktable crashes in ~20s without doing anything #17322

Open pindakoe opened 1 month ago

pindakoe commented 1 month ago

Describe the bug

Darktable crashes ~20s after starting w/o doing anything (not touching keyboard or mouse). Issue occurrs with DT 4.8.0 and 4.8.1. The crash does not happen if you set backthumbs_mipsize to never. In that case I can use both lightable, map & darkroom, but do observe more frequent crashes than with previous versions (say several / hour of work).

Steps to reproduce

Start darktable (either from CLI or through launcher Do nothing DT crashes after ~20s

Expected behavior

DT should stay alive

Logfile | Screenshot | Screencast

darktable --disable-opencl -d cache -d pipe -d opencl > dt2.txt

dt2.txt

Commit

No response

Where did you obtain darktable from?

distro packaging

darktable version

4.8.1

What OS are you using?

Linux

What is the version of your OS?

Fedora 40

Describe your system?

Using Xfce as desktop (and thus X11) PC has 32 Gb RAM, i5-9400 (so iGPU only)

Are you using OpenCL GPU in darktable?

None

If yes, what is the GPU card and driver?

No response

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

Issue appears both with 4.8.0 and 4.8.1, both when having a set of (large) raw-files or small jpeg images on the lighttable. Crash even occurrs when the lighttable is empty (start DT using --conf backthumbs_mipsize=never, use collection to filter such that no images remain, exit DT, restart DT using --conf backthumbs_mipsize=1080p).

No use of Lua. Issue does not occurr when starting DT with empty configuration; work on pixls.us (https://discuss.pixls.us/t/darktable-is-suddenly-crashing-without-warning/44545/66) has identified that this goes back to the value of the backthumbs_mipsize parameter

larskotthoff commented 2 weeks ago

I have the same issue on Arch Linux. Complete backtrace attached.

darktable_bt_B68US2.txt