Gimp becomes unresponsive and has to be terminated by Windows when opening certain dialogs
GIMP version: 2.10.22
GNU Image Manipulation Program version 2.10.22
git-describe: GIMP_2_10_20-217-g0c8a7891f7
Build: org.gimp.GIMP_official rev 0 for windows
# C compiler #
Using built-in specs.
COLLECT_GCC=W:\msys64-gtk2\mingw64\bin\gcc.exe
COLLECT_LTO_WRAPPER=W:/msys64-gtk2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-10.2.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64 --with-tune=generic --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++ --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts=yes --enable-libstdcxx-time=yes --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-check --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --disable-plugin --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev3, Built by MSYS2 project' --with-bugurl=https://github.com/msys2/MINGW-packages/issues --with-gnu-as --with-gnu-ld --with-boot-ldflags='-pipe -Wl,--dynamicbase,--high-entropy-va,--nxcompat -Wl,--disable-dynamicbase,--default-image-base-low -static-libstdc++ -static-libgcc' 'LDFLAGS_FOR_TARGET=-pipe -Wl,--dynamicbase,--high-entropy-va,--nxcompat' --enable-linker-plugin-flags='LDFLAGS=-static-libstdc++\ -static-libgcc\ -pipe\ -Wl,--dynamicbase,--high-entropy-va,--nxcompat\ -Wl,--stack,12582912'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.0 (Rev3, Built by MSYS2 project)
# Libraries #
using babl version 0.1.78 (compiled against version 0.1.78)
using GEGL version 0.4.26 (compiled against version 0.4.26)
using GLib version 2.66.1 (compiled against version 2.66.1)
using GdkPixbuf version 2.40.0 (compiled against version 2.40.0)
using GTK+ version 2.24.32 (compiled against version 2.24.32)
using Pango version 1.46.2 (compiled against version 1.46.2)
using Fontconfig version 2.13.92 (compiled against version 2.13.92)
using Cairo version 1.17.3 (compiled against version 1.17.3)
Operating System: Windows 10 Version 20H2 Build 19042.630
Package: Installer from gimp.org
Description of the bug
GIMP becomes completely unresponsive (and has to be terminated by Windows) when opening certain dialogs, such as New..., Open..., Preferences... (maybe the common factor is IO?) Opening an image via drag and drop into the main window works flawlessly.
Other dialogs, such as Input devices, Keyboard shortcuts, Modules, Units and various filters fork fine. The issue goes away when opening GIMP as Administrator. I've tried disabling my antivirus (Windows Security) thinking it was some privilege issue, but it did not help.
I am using a local admin account, but the computer is managed by my organization. To my best knowledge there should be no unusual privilege settings and restrictions, but I cannot be 100% sure. The only other program where a similar issue happens is Blender, which freezes upon startup if opening in non-admin mode, but works fine if opening with administrator privileges, so the issue is probably related to something that Blender and GIMP have in common.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Open Gimp
- Click File -> New...
Expected result: New... dialog appears
Actual result: GIMP freezes
Additional information
If you have a backtrace for a crash or a warning, paste it here.