qarmin / czkawka

Multi functional app to find duplicates, empty folders, similar images etc.
Other
18.32k stars 603 forks source link

linux_czkawka_gui crashes if Sort is selected with any option #1266

Open aloboa opened 2 months ago

aloboa commented 2 months ago

Bug Description Sort makes linux_czkawka_gui crash

Steps to reproduce:

Once duplicates have been found, click on Sort and any of the 4 options. The program crashes

Terminal output (optional):

$ ./linux_czkawka_gui 
22:08:25.878 [INFO] czkawka_core::common: App version: 7.0.0, release mode, rust 1.76.0 (2024-02-04), os Pop!_OS 22.04 [x86_64 64-bit], 8 cpu/threads
22:08:26.210 [INFO] czkawka_gui: Set thread number to 8
22:08:30.107 [INFO] czkawka_core::duplicate: find_duplicates
22:08:30.239 [INFO] czkawka_core::duplicate: find_duplicates: Done in 131.93ms

(linux_czkawka_gui:8945): Gtk-CRITICAL **: 22:08:33.714: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gtk4-0.8.0/src/tree_model.rs:49:14:
Failed to get TreeModel value: ValueTypeMismatchError { actual: <invalid>, requested: gboolean }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
-->

<details>
<summary>Debug log</summary>

# UNCOMMENT DETAILS AND PUT LOGS HERE

</details>

System