Closing Batch Process dialog crashes GIMP
Environment/Versions
- GIMP version: 2.10.24
- Package: Fedora repositories
- Operating System: Operating System: Fedora 34 KDE Plasma Version: 5.22.4 KDE Frameworks Version: 5.83.0 Qt Version: 5.15.2 Kernel Version: 5.13.5-200.fc34.x86_64 (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz Memory: 7.5 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 620
I use the Batch Process (Filters menu) to convert some tif files to jpg. Conversion works fine. When I try to close the 'David's Batch Processor' dialog window, whether by clicking the Quit button or the x top right hand corner, GIMP crashes. Description of the bug
Reproduction
Is the bug reproducible? Always.
Reproduction steps:
- With GIMP running, click on Filters, Bacth Process.
- On the Input tab, click Add Files and select some images (in my case 5-10 tif files in the same, otherwise empty, directory.
- On the Output tab, select JPG, slide the quality slider to 1.00 and click Start.
- After the files have been converted, click Quit.
…
Expected result: Batch Process dialog should close and GIMP should continue running
Actual result: GIMP crashes.
Additional information
If you have a backtrace for a crash or a warning, paste it here. Output from GIMP Crash dialog:
GNU Image Manipulation Program version 2.10.24
git-describe: GIMP_2_10_24
Build: unknown rev 0 for linux
# C compiler #
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-11.0.1-20210324/obj-x86_64-redhat-linux/isl-install --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.0.1 20210324 (Red Hat 11.0.1-0) (GCC)
# Libraries #
using babl version 0.1.86 (compiled against version 0.1.86)
using GEGL version 0.4.30 (compiled against version 0.4.30)
using GLib version 2.68.2 (compiled against version 2.68.0)
using GdkPixbuf version 2.42.6 (compiled against version 2.42.4)
using GTK+ version 2.24.33 (compiled against version 2.24.33)
using Pango version 1.48.7 (compiled against version 1.48.4)
using Fontconfig version 2.13.94 (compiled against version 2.13.93)
using Cairo version 1.17.4 (compiled against version 1.17.4)
fatal error: Segmentation fault
Stack trace:
# Stack traces obtained from PID 47392 - Thread 47392 #
[New LWP 47393]
[New LWP 47394]
[New LWP 47395]
[New LWP 47407]
[New LWP 47408]
[New LWP 47409]
[New LWP 48946]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f984087094c in read () from /lib64/libpthread.so.0
Id Target Id Frame
* 1 Thread 0x7f983f99fdc0 (LWP 47392) "gimp-2.10" 0x00007f984087094c in read () from /lib64/libpthread.so.0
2 Thread 0x7f983223f640 (LWP 47393) "worker" 0x00007f9840789e0d in syscall () from /lib64/libc.so.6
3 Thread 0x7f9831a3e640 (LWP 47394) "worker" 0x00007f9840789e0d in syscall () from /lib64/libc.so.6
4 Thread 0x7f983123d640 (LWP 47395) "worker" 0x00007f9840789e0d in syscall () from /lib64/libc.so.6
5 Thread 0x7f9800b6b640 (LWP 47407) "gmain" 0x00007f98407845bf in poll () from /lib64/libc.so.6
6 Thread 0x7f97fbfff640 (LWP 47408) "gdbus" 0x00007f98407845bf in poll () from /lib64/libc.so.6
7 Thread 0x7f97fa44e640 (LWP 47409) "async" 0x00007f9840789e0d in syscall () from /lib64/libc.so.6
8 Thread 0x7f97f9c4d640 (LWP 48946) "swap writer" 0x00007f9840789e0d in syscall () from /lib64/libc.so.6
Thread 8 (Thread 0x7f97f9c4d640 (LWP 48946) "swap writer"):
#0 0x00007f9840789e0d in syscall () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007f9840a89243 in g_cond_wait () from /lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f9840fa42b9 in gegl_tile_backend_swap_writer_thread () from /lib64/libgegl-0.4.so.0
No symbol table info available.
#3 0x00007f9840a69c32 in g_thread_proxy () from /lib64/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f9840867299 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007f984078f353 in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 7 (Thread 0x7f97fa44e640 (LWP 47409) "async"):
#0 0x00007f9840789e0d in syscall () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007f9840a89243 in g_cond_wait () from /lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x000055c9eb357936 in gimp_parallel_run_async_thread_func ()
No symbol table info available.
#3 0x00007f9840a69c32 in g_thread_proxy () from /lib64/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f9840867299 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007f984078f353 in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 6 (Thread 0x7f97fbfff640 (LWP 47408) "gdbus"):
#0 0x00007f98407845bf in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007f9840a8f47c in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f9840a3aa93 in g_main_loop_run () from /lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f9840cc7d5a in gdbus_shared_thread_func.lto_priv () from /lib64/libgio-2.0.so.0
No symbol table info available.
#4 0x00007f9840a69c32 in g_thread_proxy () from /lib64/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f9840867299 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6 0x00007f984078f353 in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 5 (Thread 0x7f9800b6b640 (LWP 47407) "gmain"):
#0 0x00007f98407845bf in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007f9840a8f47c in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f9840a38c03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f9840a38c51 in glib_worker_main () from /lib64/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f9840a69c32 in g_thread_proxy () from /lib64/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f9840867299 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6 0x00007f984078f353 in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 4 (Thread 0x7f983123d640 (LWP 47395) "worker"):
#0 0x00007f9840789e0d in syscall () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007f9840a89243 in g_cond_wait () from /lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f9840f69823 in gegl_parallel_distribute_thread_func () from /lib64/libgegl-0.4.so.0
No symbol table info available.
#3 0x00007f9840a69c32 in g_thread_proxy () from /lib64/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f9840867299 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007f984078f353 in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 3 (Thread 0x7f9831a3e640 (LWP 47394) "worker"):
#0 0x00007f9840789e0d in syscall () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007f9840a89243 in g_cond_wait () from /lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f9840f69823 in gegl_parallel_distribute_thread_func () from /lib64/libgegl-0.4.so.0
No symbol table info available.
#3 0x00007f9840a69c32 in g_thread_proxy () from /lib64/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f9840867299 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007f984078f353 in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 2 (Thread 0x7f983223f640 (LWP 47393) "worker"):
#0 0x00007f9840789e0d in syscall () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007f9840a89243 in g_cond_wait () from /lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f9840f69823 in gegl_parallel_distribute_thread_func () from /lib64/libgegl-0.4.so.0
No symbol table info available.
#3 0x00007f9840a69c32 in g_thread_proxy () from /lib64/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f9840867299 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007f984078f353 in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 1 (Thread 0x7f983f99fdc0 (LWP 47392) "gimp-2.10"):
#0 0x00007f984087094c in read () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00007f98413d860c in gimp_stack_trace_print () from /lib64/libgimpbase-2.0.so.0
No symbol table info available.
#2 0x000055c9eb04c8ee in gimp_eek ()
No symbol table info available.
#3 0x000055c9eb04c9ae in gimp_fatal_error ()
No symbol table info available.
#4 0x000055c9eb04ca10 in gimp_sigfatal_handler ()
No symbol table info available.
#5 <signal handler called>
No symbol table info available.
#6 0x00007f9840b57bc4 in g_type_check_value_holds () from /lib64/libgobject-2.0.so.0
No symbol table info available.
#7 0x00007f9840b5c90d in g_value_get_int () from /lib64/libgobject-2.0.so.0
No symbol table info available.
#8 0x000055c9eb33198a in plug_in_params_to_args ()
No symbol table info available.
#9 0x000055c9eb3232a6 in gimp_plug_in_handle_message ()
No symbol table info available.
#10 0x000055c9eb324ba9 in gimp_plug_in_recv_message ()
No symbol table info available.
#11 0x00007f9840a3b4cf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
No symbol table info available.
#12 0x00007f9840a8f4e8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
No symbol table info available.
#13 0x00007f9840a3aa93 in g_main_loop_run () from /lib64/libglib-2.0.so.0
No symbol table info available.
#14 0x000055c9eb051c94 in app_run ()
No symbol table info available.
#15 0x000055c9eb047845 in main ()
No symbol table info available.
[Inferior 1 (process 47392) detached]