Fuzzy Select: Hangs on Grayscale (5100x7020) Image for >3 Minutes
Environment/Versions
- GIMP Version: 2.10.24
- Package: https://www.gimp.org/downloads/
- Operating System: Windows 10 21H1
Issue Description
- Open the sample image in GIMP. If the entire image is not visible, press CTRL+SHIFT+J to see the entire image.
- Click on the Fuzzy selection tool.
- Set the threshold to 15.
- Click on (2356, 6596).
- Wait until the dancing ants appear and the window is not hung (this will take at least 3 minutes).
Performance Log
See attached.
Performance Log Description
I added a marker each time the dancing ants appeared, which meant that the window was no longer hung.
Additional Information
Process Explorer Screenshots
The first (Overall and Call Stack.png) shows the single CPU thread that consumes approximately 12% of the CPU for the full duration of the hang. It also includes the call stack of the thread consuming 12% of the CPU (starting at KERNEL32.DLL!BaseThreadInitThunk through libglib-2.0-0.dll!g_realloc_n and ending at ntdll.dll!memcpy) and a glimpse of the overall system activity at the top. The red/green part shows CPU usage, the yellow graph and red graph correspond to memory, blue is disk IO, and the empty one is GPU utilization.
The second (CPU, Memory, and IO Graphs.png) shows how GIMP was using CPU, memory, and IO during the hang in the form of a graph.
Hardware Information
HwInfo64 says that the CPU core clock remained at >=1.5 Ghz the entire time.
The ThinkPad T480 used to record the bug has the following specifications:
- Intel Core i7
- 32 GB RAM
- 2 monitors
- Primary Monitor Showing the GIMP Window: Dell P2418D (2560x1440@60Hz)
- Secondary Monitor: Asus VS229 (1080x1920@60Hz)
- 2 GPUs:
- Intel UHD Graphics 620
- nVidia GeForce MX150
- Samsung SSD 970 EVO Plus 1 TB (internal drive containing the PNG file))
- 2 external drives
- Western Digital WDC WD10 (1 TB capacity)
- Western Digital WDC WD30 (3 TB capacity)