sahib / rmlint

Extremely fast tool to remove duplicates and other lint from your filesystem
http://rmlint.rtfd.org
GNU General Public License v3.0
1.85k stars 128 forks source link

GUI can't render script #621

Closed escape0707 closed 1 year ago

escape0707 commented 1 year ago

I'm using Arch, BTRFS, and latest stable rmlint-shredder.

With default config, I use the GUI to scan my Pictures directory, and while it gives some dupe files, after hitting render script from all, the GUI just get stuck. The icon in the left panel is only circling, and I can't take any further steps.

I don't see any suspicious log when launching from command line with the --gui option. The program stuck after running the generated rmlint command. CLI works fine, but I need the GUI tool to verify and select the exact directory I don't need.

cebtenzzre commented 1 year ago

I was able to reproduce this myself, and as far as I can tell it was caused by a performance optimization in glib 2.75.3 that caused a problematic cast in the logging callback to actually result in a segfault instead of just a compiler warning. This affected command-line rmlint as well but only if you were using --no-with-color or sending its output to a pipe. Try building from latest master.

escape0707 commented 1 year ago

I've tested, and can confirm this fixed in master branch. Thank you for maintaining this great software!