Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DT 5.0.0 often crashes when browsing through the thumbnails in LightTable #18137

Open
redmoon1945 opened this issue Jan 2, 2025 · 9 comments

Comments

@redmoon1945
Copy link

Describe the bug

When using the official AppImage of DT 5.0.0 on Linux Mint 22, it often crashes when browsing through the thumbnails in LightTable. It was OK with 4.8.1 on the same system.

Steps to reproduce

The freeze is not systematic. It may occurs after just the first browsing or 15 minutes later.
Just open DT, and using Page up - Page Down navigate through the thumbnails, changing current folder frequently. Confirming OpenCL is not used.

Expected behavior

We shold never experience a crash for such a basic feature.

Logfile | Screenshot | Screencast

darktable_bt_YATQZ2.txt

Commit

No response

Where did you obtain darktable from?

downloaded from www.darktable.org

darktable version

5.0.0

What OS are you using?

Linux

What is the version of your OS?

Mint 22

Describe your system?

System:
Host: venus Kernel: 6.8.0-51-generic arch: x86_64 bits: 64
Desktop: Cinnamon v: 6.2.9 Distro: Linux Mint 22 Wilma
Machine:
Type: Laptop System: LENOVO product: 21CQ000GUS v: ThinkPad T14s Gen 3
serial:
Mobo: LENOVO model: 21CQ000GUS v: SDK0T76530 WIN
serial: UEFI: LENOVO v: R22ET72W (1.42 )
date: 07/29/2024
Battery:
ID-1: BAT0 charge: 52.9 Wh (100.0%) condition: 52.9/57.0 Wh (92.8%)
CPU:
Info: 8-core AMD Ryzen 7 PRO 6850U with Radeon Graphics [MT MCP]
speed (MHz): avg: 601 min/max: 400/4768
Graphics:
Device-1: AMD Rembrandt [Radeon 680M] driver: amdgpu v: kernel
Device-2: Bison Integrated Camera driver: uvcvideo type: USB
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
resolution: 1: 5120x288060Hz 2: 3840x240060Hz
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.9-0ubuntu0.3
renderer: AMD Radeon Graphics (radeonsi rembrandt LLVM 17.0.6 DRM 3.57
6.8.0-51-generic)
Network:
Device-1: Qualcomm QCNFA765 Wireless Network Adapter driver: ath11k_pci
Drives:
Local Storage: total: 1.86 TiB used: 1.65 TiB (88.3%)
Info:
Memory: total: 32 GiB note: est. available: 30.13 GiB used: 1.71 GiB (5.7%)
Processes: 403 Uptime: 0m Shell: Bash inxi: 3.3.34

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

No response

@redmoon1945
Copy link
Author

Forgot to mention that I tried the "-d" switch to get more debug info that the backtrace, but strangely I have not been able to reproduce the bug this way (effect of stack corruption different ? I dont know). The freeze happens on average 5 min after I open DT and start browsing the thumbnails and changing folder (the only action I do), OpenCL confirmed not used when I look in the Settings.

@Artaga734
Copy link

I can confirm the crashes in the lightable with DT 5.0.0 on Windows 11, when selecting multiple missing files (culled with XnViewMP) to remove them from the thumbnails. Note : I select them with Ctrl+ multiple Click.

This issue was already present in 4.8.1 (it is the reason I upgraded to 5.0.0).

@wpferguson
Copy link
Member

Use the db maintenance lua-script to remove the missing files.

The issue is that you are removing images that darktable knows about (and that have database references) from outside of darktable, so darktable doesn't know if the images are missing because you forgot to mount a drive, or because the user did something ill advised.

If you are going to cull using an external program, then you should probably cull before importing into darktable.

@redmoon1945
Copy link
Author

The bug reported by this issue does not involve selected and removing thumbnails. It just merely browsing the thumbnails (with mouse or page up/down)

@Artaga734
Copy link

Artaga734 commented Jan 6, 2025

@wpferguson There is a button to remove the missing files in LightTable. I will take a look at the lua-script for database maintenance. Sometimes, for whatever reason we might need to remove files from the disk from an already imported library. I understand your point of culling the majority prior to importing the files.

@redmoon1945 The issue might be related to yours in some way (unknown to me) as the symptoms are the same = LightTable crashes. But I think it deserves a separate issue and maybe link it here in case our two issues originate from the same bug.

@wpferguson
Copy link
Member

The remove button in the actions on selected images module, removes the database information, but leaves the files, but it may work.

The script compares the database to the files (not) present and gives you an option to make the database agree with the files.

@Artaga734
Copy link

@wpferguson That is what I want to use indeed. I filed a separate issue here: #18166 with a backtrace.

@Artaga734
Copy link

Back to this original issue of @redmoon1945 I just happened to experience the same crash when scrolling while trying to replicated my other bug. So I can confirm @redmoon1945's specific issue.

@redmoon1945
Copy link
Author

redmoon1945 commented Jan 6, 2025

Thank you Artaga734 to confirm the bug. In my mind this is rather a high priority bug, as it prevents the use of DT 5.0.0. As previously mentioned, I am fully committed to help fix the bug, just tell me what to do. Cheers, we will get it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants