Skip to content

Hanging after deleting a large number of files at once #2735

Open

Description

@przepompownia
  • Distribution: Debian
  • Distribution release: Sid
  • Geeqie version: Geeqie 3.3+git20261022-d318a626 GTK4

When preparing #2734 I wanted to leave only a few files out of ~3500 in the tested directory and a hang occurred after deleting the files and before refreshing the list.

To reproduce
I'm not sure how much it is repeatable, but get the failure in most cases but rather for >= 2000 files.

TEST_DIR=/tmp/geeqie-test-photos/; mkdir -p "$TEST_DIR"; rsync -a $(ls -1 ~/.cache/thumbnails/large/*.png | head -n 2000) "$TEST_DIR"; geeqie --debug=1 --log-file="$PWD/geeqie-delete-debug.log" "$TEST_DIR";
  • select all files there
  • unselect the first three images
  • permanently delete selected images
  • if you cannot reproduce, try a copy with more than 2000 images

Expected behavior
No hang, list is updated after physical removal.

Error logs or seg. fault files

Notify collect_manager: /tmp/geeqie-test-photos/91b034db874b87f197cb7c24ee0ee5a3.png 0100
Notify cache: /tmp/geeqie-test-photos/91b97ab3741519e27fe0d26a28c5d209.png 0100
Notify cache: /tmp/geeqie-test-photos/91b97ab3741519e27fe0d26a28c5d209.png 0100
Notify cache_maint: /tmp/geeqie-test-photos/91b97ab3741519e27fe0d26a28c5d209.png 0100
Notify layout_image: /tmp/geeqie-test-photos/91b97ab3741519e27fe0d26a28c5d209.png 0100
Notify collect_manager: /tmp/geeqie-test-photos/91b97ab3741519e27fe0d26a28c5d209.png 0100
Notify cache: /tmp/geeqie-test-photos/91ba664b378fcc502c744a57e87b9948.png 0100
Notify cache: /tmp/geeqie-test-photos/91ba664b378fcc502c744a57e87b9948.png 0100
Notify cache_maint: /tmp/geeqie-test-photos/91ba664b378fcc502c744a57e87b9948.png 0100
Notify layout_image: /tmp/geeqie-test-photos/91ba664b378fcc502c744a57e87b9948.png 0100
Notify collect_manager: /tmp/geeqie-test-photos/91ba664b378fcc502c744a57e87b9948.png 0100
Notify cache: /tmp/geeqie-test-photos/91c0c8eee262462ffd451aacd3abfc48.png 0100
Notify cache: /tmp/geeqie-test-photos/91c0c8eee262462ffd451aacd3abfc48.png 0100
Notify cache_maint: /tmp/geeqie-test-photos/91c0c8eee262462ffd451aacd3abfc48.png 0100
Notify layout_image: /tmp/geeqie-test-photos/91c0c8eee262462ffd451aacd3abfc48.png 0100
Notify collect_manager: /tmp/geeqie-test-photos/91c0c8eee262462ffd451aacd3abfc48.png 0100
Notify cache: /tmp/geeqie-test-photos/91c0d8276fb07ee0b1d1e7998899402a.png 0100
Notify cache: /tmp/geeqie-test-photos/91c0d8276fb07ee0b1d1e7998899402a.png 0100
Notify cache_maint: /tmp/geeqie-test-photos/91c0d8276fb07ee0b1d1e7998899402a.png 0100
Notify layout_image: /tmp/geeqie-test-photos/91c0d8276fb07ee0b1d1e7998899402a.png 0100
Notify collect_manager: /tmp/geeqie-test-photos/91c0d8276fb07ee0b1d1e7998899402a.png 0100
   12.807240 (+00003.609265) vflist_refresh: read dir
   12.807397 (+00000.000157) vflist_refresh: sort
   12.807434 (+00000.000038) vflist_refresh: populate view
freeing image loader 0x5562b35d85b0 bytes_read=70089
^C

Activity

  1. caclark commented on Nov 23, 2026

    @caclark
    Collaborator

    If you go to Create new issue, type bug, and click Preview, you will see there is new information on how to collect debug data after a freeze.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions