Bug#939876: gimp: segmentation fault on open
Package: gimp Version: 2.10.8-2+b1 Followup-For: Bug #939876 Hello Witold, Witold Baryluk writes: > I think I do have same issue. > > It happens even when creating an empty document using menu File -> > New, with anysize (i.e. 1024x768). But also when opening any file > (tested with png and jpeg files). > > Stack trace looks similar. Looks like a bug in gimp_gegl_mask_is_empty > maybe? The issue seems to be a GEGL version mismatch (compiled against versus linked against). > I hope this is fixed soon :) If you need to use the GIMP right away, a workaround that worked for me is to install the updated libgegl-0.4-0 and libgegl-common from sid. Download the packages from the Debian website and install with gdebi or similar (make sure to install libgegl-common first). See also #939754 and #939768 which appear to be the same bug. Asher -- Hi! I'm a .signature virus! Copy me into your ~/.signature to help me sprea= d! -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.2.0-2-amd64 (SMP w/2 CPU cores) Kernel taint flags: TAINT_FIRMWARE_WORKAROUND Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages gimp depends on: ii gimp-data2.10.8-2 ii libaa1 1.4p5-46+b1 ii libbabl-0.1-00.1.62-1 ii libbz2-1.0 1.0.6-9.2 ii libc62.28-10 ii libcairo21.16.0-4 ii libfontconfig1 2.13.1-2+b1 ii libfreetype6 2.9.1-4 ii libgcc1 1:9.2.1-4 ii libgdk-pixbuf2.0-0 2.38.1+dfsg-1 ii libgegl-0.4-00.4.14-1+b2 ii libgexiv2-2 0.10.9-1 ii libgimp2.0 2.10.8-2+b1 ii libglib2.0-0 2.60.6-2 ii libgs9 9.27~dfsg-3.1 ii libgtk2.0-0 2.24.32-3 ii libgudev-1.0-0 232-2 ii libharfbuzz0b2.6.1-2 ii libheif1 1.5.1-1 ii libilmbase24 2.3.0-6 ii libjpeg62-turbo 1:1.5.2-2+b1 ii liblcms2-2 2.9-3+b1 ii liblzma5 5.2.4-1+b1 ii libmng1 1.0.10+dfsg-3.1+b5 ii libmypaint-1.3-0 1.3.0-2.1+b1 ii libopenexr24 2.3.0-6 ii libopenjp2-7 2.3.0-2 ii libpango-1.0-0 1.42.4-7 ii libpangocairo-1.0-0 1.42.4-7 ii libpangoft2-1.0-01.42.4-7 ii libpng16-16 1.6.37-1 ii libpoppler-glib8 0.71.0-5+b1 ii librsvg2-2 2.44.14-1 ii libstdc++6 9.2.1-4 ii libtiff5 4.0.10+git190818-1 ii libwebp6 0.6.1-2+b1 ii libwebpdemux20.6.1-2+b1 ii libwebpmux3 0.6.1-2+b1 ii libwmf0.2-7 0.2.8.4-14 ii libx11-6 2:1.6.7-1 ii libxcursor1 1:1.2.0-2 ii libxext6 2:1.3.3-1+b2 ii libxfixes3 1:5.0.3-1 ii libxmu6 2:1.1.2-2+b3 ii libxpm4 1:3.5.12-1 ii xdg-utils1.1.3-1 ii zlib1g 1:1.2.11.dfsg-1+b1 Versions of packages gimp recommends: ii ghostscript 9.27~dfsg-3.1 Versions of packages gimp suggests: pn gimp-data-extras ii gimp-help-en [gimp-help] 2.8.2-1 pn gimp-python ii gvfs-backends 1.38.1-5 ii libasound21.1.8-1 -- no debconf information signature.asc Description: PGP signature
Bug#939876: gimp: segmentation fault on open
Package: gimp Version: 2.10.8-2+b1 Followup-For: Bug #939876 Dear Maintainer, I think I do have same issue. It happens even when creating an empty document using menu File -> New, with any size (i.e. 1024x768). But also when opening any file (tested with png and jpeg files). Stack trace looks similar. Looks like a bug in gimp_gegl_mask_is_empty maybe? Full debug data from under manually running under gdb: user@debian:~$ gdb --args gimp --stack-trace-mode=never GNU gdb (Debian 8.3-1) 8.3 [...snip...] Reading symbols from gimp... Reading symbols from /usr/lib/debug/.build-id/e6/8d5245284f709dc5d5763e6e1d83036627c2ad.debug... (gdb) r Starting program: /usr/bin/gimp --stack-trace-mode=never [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x73ce0700 (LWP 79542)] [...snip...] [Thread 0x7fff067fc700 (LWP 79677) exited] gimp_device_info_set_device: trying to set GdkDevice 'Corsair Corsair Vengeance M60 Mouse' on GimpDeviceInfo which already has a device [Detaching after vfork from child process 79687] [Detaching after vfork from child process 79692] [Detaching after vfork from child process 79694] [New Thread 0x7fff067fc700 (LWP 79703)] [Thread 0x7fff06ffd700 (LWP 79664) exited] [New Thread 0x7fff06ffd700 (LWP 79771)] [Thread 0x7fff06ffd700 (LWP 79771) exited] [New Thread 0x7fff06ffd700 (LWP 79826)] Thread 1 "gimp" received signal SIGSEGV, Segmentation fault. gimp_gegl_mask_is_empty (buffer=) at gimp-gegl-mask.c:151 151 gimp-gegl-mask.c: No such file or directory. (gdb) bt #0 0x55a10411 in gimp_gegl_mask_is_empty (buffer=) at gimp-gegl-mask.c:151 #1 0x5590b810 in gimp_channel_real_is_empty (channel=0x595f5720 [GimpSelection]) at gimpchannel.c:1169 #2 0x55982c18 in gimp_layer_invalidate_boundary (drawable=) at gimplayer.c:1442 #3 0x55929b50 in gimp_drawable_real_set_buffer (drawable=0x595f5910 [GimpLayer], push_undo=0, undo_desc=0x0, buffer=0x5961a5e0 [GeglBuffer], offset_x=0, offset_y=0) at gimpdrawable.c:809 #4 0x559832aa in gimp_layer_set_buffer (drawable=0x595f5910 [GimpLayer], push_undo=0, undo_desc=0x0, buffer=0x5961a5e0 [GeglBuffer], offset_x=0, offset_y=0) at gimplayer.c:1494 #5 0x559289bb in gimp_drawable_set_buffer_full (drawable=0x595f5910 [GimpLayer], push_undo=0, undo_desc=0x0, buffer=0x5961a5e0 [GeglBuffer], offset_x=0, offset_y=0, update=1) at gimpdrawable.c:1273 #6 0x55928f9d in gimp_drawable_set_buffer (drawable=drawable@entry=0x595f5910 [GimpLayer], push_undo=push_undo@entry=0, undo_desc=undo_desc@entry=0x0, buffer=buffer@entry=0x5961a5e0 [GeglBuffer]) at gimpdrawable.c:1239 #7 0x55929296 in gimp_drawable_new (type=type@entry=0x561b45e0 [GimpLayer/GimpDrawable/GimpItem/GimpFilter/GimpViewable/GimpObject], image=image@entry=0x55e45a10 [GimpImage], name=name@entry=0x55a655ba "Background", offset_x=offset_x@entry=0, offset_y=offset_y@entry=0, width=width@entry=1920, height=1080, format=0x55d06190) at gimpdrawable.c:953 #8 0x559864d0 in gimp_layer_new (image=image@entry=0x55e45a10 [GimpImage], width=width@entry=1920, height=height@entry=1080, format=0x55d06190, name=name@entry=0x55a655ba "Background", opacity=opacity@entry=1, mode=mode@entry=GIMP_LAYER_MODE_NORMAL) at gimplayer-new.c:65 #9 0x559659c1 in gimp_image_new_from_template (gimp=gimp@entry=0x55e240c0 [Gimp], template=template@entry=0x5930bda0 [GimpTemplate], context=0x55e73310 [GimpContext]) at gimpimage-new.c:148 #10 0x5566acc3 in image_new_create_image (private=0x59478590) at image-new-dialog.c:368 #14 0x7717db6f in (instance=, signal_id=, detail=) at ../../../gobject/gsignal.c:3447 #11 0x77160e8d in g_closure_invoke (closure=0x58e66020, return_value=0x0, n_param_values=2, param_values=0x7fffcc30, invocation_hint=0x7fffcbb0) at ../../../gobject/gclosure.c:810 #12 0x77174555 in signal_emit_unlocked_R (node=node@entry=0x5902d130, detail=detail@entry=0, instance=instance@entry=0x5868cbb0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffcc30) at ../../../gobject/gsignal.c:3635 #13 0x7717d4ae in g_signal_emit_valist (instance=, signal_id=, detail=, var_args=var_args@entry=0x7fffce00) at ../../../gobject/gsignal.c:3391 #18 0x7717db6f in (instance=, signal_id=, detail=) at ../../../gobject/gsignal.c:3447 #15 0x77160e8d in g_closure_invoke (closure=0x58e67310, return_value=0x0, n_param_values=1, param_values=0x7fffd0a0, invocation_hint=0x7fffd020) at ../../../gobject/gclosure.c:810 #16 0x77174555 in signal_emit_unlocked_R (node=node@entry=0x58543400, detail=detail@entry=0, instance=instance@entry=0x594692a0, emission_return=emission_return@entry=0x0, instance_and
Bug#939876: gimp: segmentation fault on open
Package: gimp Version: 2.10.8-2+b1 Severity: grave Justification: renders package unusable Open Gimp, open a jpg file, crashes with the following trace: ``` GNU Image Manipulation Program version 2.10.8 git-describe: GIMP_2_10_6-294-ga967e8d2c2 C compiler: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:hsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 9.2.1-6' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable- languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with- gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without- included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable- libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-multiarch --disable-werror --with- arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none,hsa --without-cuda- driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux- gnu --target=x86_64-linux-gnu Thread model: posix gcc version 9.2.1 20190827 (Debian 9.2.1-6) using GEGL version 0.4.12 (compiled against version 0.4.14) using GLib version 2.60.6 (compiled against version 2.60.6) using GdkPixbuf version 2.38.1 (compiled against version 2.38.1) using GTK+ version 2.24.32 (compiled against version 2.24.32) using Pango version 1.42.3 (compiled against version 1.42.3) using Fontconfig version 2.13.1 (compiled against version 2.13.1) using Cairo version 1.16.0 (compiled against version 1.16.0) ``` > fatal error: Segmentation fault Stack trace: ``` /usr/lib/libgimpbase-2.0.so.0(gimp_stack_trace_print+0x398)[0x7f9848e51f98] gimp(+0xd1590)[0x55735e1d4590] gimp(+0xd19b8)[0x55735e1d49b8] gimp(+0xd2029)[0x55735e1d5029] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f9848302730] gimp(gimp_gegl_mask_is_empty+0x91)[0x55735e5bf411] gimp(+0x3b7810)[0x55735e4ba810] gimp(+0x42ec18)[0x55735e531c18] gimp(+0x3d5b50)[0x55735e4d8b50] gimp(+0x42f2aa)[0x55735e5322aa] gimp(gimp_drawable_set_buffer_full+0x1cb)[0x55735e4d79bb] gimp(gimp_drawable_set_buffer+0x11d)[0x55735e4d7f9d] gimp(gimp_drawable_new+0x106)[0x55735e4d8296] gimp(gimp_layer_new+0x90)[0x55735e5354d0] gimp(+0x3319cc)[0x55735e4349cc] gimp(gimp_procedure_execute+0x237)[0x55735e46d577] gimp(gimp_pdb_execute_procedure_by_name_args+0x1e9)[0x55735e466a39] gimp(gimp_plug_in_handle_message+0x216)[0x55735e471626] gimp(+0x36cf91)[0x55735e46ff91] /usr/lib/x86_64-linux- gnu/libglib-2.0.so.0(g_main_context_dispatch+0x158)[0x7f98484f6898] /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4ec88)[0x7f98484f6c88] /usr/lib/x86_64-linux- gnu/libglib-2.0.so.0(g_main_loop_run+0xb2)[0x7f98484f6f82] gimp(gimp_plug_in_manager_call_run+0x5fc)[0x55735e48135c] gimp(+0x376dbe)[0x55735e479dbe] gimp(gimp_procedure_execute+0x237)[0x55735e46d577] gimp(gimp_pdb_execute_procedure_by_name_args+0x1e9)[0x55735e466a39] gimp(gimp_pdb_execute_procedure_by_name+0x3cd)[0x55735e466efd] gimp(file_open_image+0x33d)[0x55735e5676fd] gimp(file_open_with_proc_and_display+0x29d)[0x55735e56864d] gimp(+0x113573)[0x55735e216573] gimp(+0x1138b7)[0x55735e2168b7] /usr/lib/x86_64-linux- gnu/libgobject-2.0.so.0(g_closure_invoke+0x19d)[0x7f98485e3e8d] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x27555)[0x7f98485f7555] /usr/lib/x86_64-linux- gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xd8e)[0x7f98486004ae] /usr/lib/x86_64-linux- gnu/libgobject-2.0.so.0(g_signal_emit+0x8f)[0x7f9848600b6f] /usr/lib/x86_64-linux- gnu/libgobject-2.0.so.0(g_closure_invoke+0x19d)[0x7f98485e3e8d] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x27555)[0x7f98485f7555] /usr/lib/x86_64-linux- gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xd8e)[0x7f98486004ae] /usr/lib/x86_64-linux- gnu/libgobject-2.0.so.0(g_signal_emit+0x8f)[0x7f9848600b6f] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x8de25)[0x7f984900de25] /usr/lib/x86_64-linux- gnu/libgobject-2.0.so.0(g_closure_invoke+0x19d)[0x7f98485e3e8d] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x276a4)[0x7f98485f76a4] /usr/lib/x86_64-linux- gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xd8e)[0x7f98486004ae] /usr/lib/x86_64-linux- gnu/libgobject-2.0.so.0(g_signal_emit+0x8f)[0x7f9848600b6f] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x8cd69)[0x7f984900cd69] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x1331eb)[0x7f98490b31eb] /usr/lib/x86_64-linux- gnu/libgobject-2.0.so.0(g_closure_invoke+0x19d)[0x7f98485e3e8d] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x26dad)[0x7f98485f6dad] /usr/l