czkawka icon indicating copy to clipboard operation
czkawka copied to clipboard

czkawka_gui crashing on "Remove outdated results from cache."

Open TheRouletteBoi opened this issue 3 months ago • 5 comments

Bug Description The app crashes when trying to clear cache. SCR-20240309-hhf

Steps to reproduce: In the GUI go to Settings -> Duplicates Tab -> Click on Remove outdated results from cache. Then Click Ok.

Terminal output (optional):

➜  release git:(master) ✗ ./czkawka_gui
12:12:09.379 [INFO] czkawka_core::common: App version: 7.0.0, release mode, rust 1.76.0 (2024-02-04), os Mac OS 14.3.1 [aarch64 64-bit], 10 cpu/threads
12:12:09.796 [INFO] czkawka_gui: Set thread number to 10
memory allocation of 8534124685102572903 bytes failed
[1]    9353 abort      ./czkawka_gui

System

  • Czkawka version 7.0.0 gui
  • OS version: MacOS Sonoma 14.3.1 ARM
  • Installation method: GitHub git clone repo

My Cache Folder image

Cache File Sizes image

TheRouletteBoi avatar Mar 09 '24 20:03 TheRouletteBoi

How you created this cache files? Looks that they are not compatible with current version, so I think that you just renamed old cache files e.g. cache_duplicates_Blake3_60.bin to new name cache_duplicates_Blake3_70.bin.

This is why the numbering exists to prevent this type of error - if a cache is compatible with a new version, its version is not changed (e.g. 7.0 uses suffix 70 and 7.1 will also use the same).

qarmin avatar Mar 10 '24 07:03 qarmin

How you created this cache files? Looks that they are not compatible with current version, so I think that you just renamed old cache files e.g. cache_duplicates_Blake3_60.bin to new name cache_duplicates_Blake3_70.bin.

This is why the numbering exists to prevent this type of error - if a cache is compatible with a new version, its version is not changed (e.g. 7.0 uses suffix 70 and 7.1 will also use the same).

the cache was self generated by the gui app. I have not touched it at all

TheRouletteBoi avatar Mar 11 '24 01:03 TheRouletteBoi