-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Comments
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. |
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). |
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. |
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) |
@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. |
The The script compares the database to the files (not) present and gives you an option to make the database agree with the files. |
@wpferguson That is what I want to use indeed. I filed a separate issue here: #18166 with a backtrace. |
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. |
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... |
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: 5120x2880
60Hz 2: 3840x240060HzAPI: 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
The text was updated successfully, but these errors were encountered: