geeqie icon indicating copy to clipboard operation
geeqie copied to clipboard

Geeqie comes equipped with a fork bomb

Open installgentoo opened this issue 3 years ago • 2 comments

ISSUE TYPE

  • Bug Report

GEEQIE VERSION

1.7.2
gtk3

OS / DISTRIBUTION

gentoo

SUMMARY

dedupication fork-bombs the system like... are you kidding me

STEPS TO REPRODUCE

i don't know. i threw 200k files in each pane in 2 set comparison mode, and after images loaded system started lagging. it was barely funtional, geeqie was showing 1400% cpu before htop froze, i was able to kill geeqie by pid.

something's broken in your multithreaded code, i would guess something overflows and you start spamming new threads.

installgentoo avatar Feb 01 '22 09:02 installgentoo

Could you try - go to Edit/Preferences/Advanced , and set Thread pool limits to a small number.

caclark avatar Feb 01 '22 10:02 caclark

@caclark i won't be able to provide specific debug info for this, because this was a one off. dedup worked fine for me with 100k images in each pane, until now. my thread pool limit was set at 0, but i kinda doubt this has to do anything with acquiring number of cpus, because dedup seemed to work fine. unless 0 makes it spawn threads per log Nimages or something such.

incidentally there's a bug in preferences, lemme create another ticket.

installgentoo avatar Feb 01 '22 10:02 installgentoo