Bug#940177: gimp: GIMP crashes when opening an image

Andri andri at tfwno.gf
Fri Sep 13 13:21:36 BST 2019


Package: gimp
Version: 2.10.8-2+b1
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
I opened an image.
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
GIMP crashed.
   * What outcome did you expect instead?
The image to open.

*** End of the template - remove these template lines ***

```
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:
```

# Stack traces obtained from PID 26009 - Thread 26009 #

[New LWP 26012]
[New LWP 26013]
[New LWP 26015]
[New LWP 26016]
[New LWP 26017]
[New LWP 26018]
[New LWP 26038]
[New LWP 26101]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__libc_read (nbytes=256, buf=0x7fffe927dc90, fd=22) at
../sysdeps/unix/sysv/linux/read.c:26
  Id   Target Id                                          Frame
* 1    Thread 0x7f2f06d16e00 (LWP 26009) "gimp-2.10"      __libc_read
(nbytes=256, buf=0x7fffe927dc90, fd=22) at ../sysdeps/unix/sysv/linux/read.c:26
  2    Thread 0x7f2f05a78700 (LWP 26012) "gmain"          0x00007f2f08a71819 in
__GI___poll (fds=0x55ead7e3b1d0, nfds=2, timeout=5131) at
../sysdeps/unix/sysv/linux/poll.c:29
  3    Thread 0x7f2f04a74700 (LWP 26013) "gdbus"          0x00007f2f08a71819 in
__GI___poll (fds=0x55ead7e18dd0, nfds=3, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
  4    Thread 0x7f2ef70b6700 (LWP 26015) "async"          syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  5    Thread 0x7f2ef68b5700 (LWP 26016) "worker"         syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  6    Thread 0x7f2ef60b4700 (LWP 26017) "worker"         syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  7    Thread 0x7f2ef58b3700 (LWP 26018) "worker"         syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  8    Thread 0x7f2ef50b2700 (LWP 26038) "swap writer"    syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  9    Thread 0x7f2ede3cd700 (LWP 26101) "pool-gimp-2.10" syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38

Thread 9 (Thread 0x7f2ede3cd700 (LWP 26101)):
#0  0x00007f2f08a76f59 in syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f2f08d88a7f in g_cond_wait_until () at /usr/lib/x86_64-linux-
gnu/libglib-2.0.so.0
#2  0x00007f2f08d0f0c1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2f08d673a2 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2f08d6689d in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2f08b4dfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
        ret = <optimized out>
        pd = <optimized out>
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139839273752320,
8426437677525468507, 140737105089214, 140737105089215, 139839273752320,
94467131958400, -8454096434136906405, -8453633609099803301}, mask_was_saved =
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
        not_first_call = <optimized out>
#6  0x00007f2f08a7c4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f2ef50b2700 (LWP 26038)):
#0  0x00007f2f08a76f59 in syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f2f08d8895f in g_cond_wait () at /usr/lib/x86_64-linux-
gnu/libglib-2.0.so.0
#2  0x00007f2f092330cd in  () at /usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0
#3  0x00007f2f08d6689d in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2f08b4dfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
        ret = <optimized out>
        pd = <optimized out>
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139839656371968,
8426437677525468507, 140737105091230, 140737105091231, 139839656371968,
94467134734464, -8454010241122597541, -8453633609099803301}, mask_was_saved =
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
        not_first_call = <optimized out>
#5  0x00007f2f08a7c4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f2ef58b3700 (LWP 26018)):
#0  0x00007f2f08a76f59 in syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f2f08d8895f in g_cond_wait () at /usr/lib/x86_64-linux-
gnu/libglib-2.0.so.0
#2  0x000055ead6e86d73 in  ()
#3  0x00007f2f08d6689d in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2f08b4dfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
        ret = <optimized out>
        pd = <optimized out>
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139839664764672,
8426437677525468507, 140737105096590, 140737105096591, 139839664764672,
94467120110640, -8454009140000357029, -8453633609099803301}, mask_was_saved =
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
        not_first_call = <optimized out>
#5  0x00007f2f08a7c4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f2ef60b4700 (LWP 26017)):
#0  0x00007f2f08a76f59 in syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f2f08d8895f in g_cond_wait () at /usr/lib/x86_64-linux-
gnu/libglib-2.0.so.0
#2  0x000055ead6e86d73 in  ()
#3  0x00007f2f08d6689d in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2f08b4dfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
        ret = <optimized out>
        pd = <optimized out>
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139839673157376,
8426437677525468507, 140737105096590, 140737105096591, 139839673157376,
94467120110584, -8454008041025600165, -8453633609099803301}, mask_was_saved =
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
        not_first_call = <optimized out>
#5  0x00007f2f08a7c4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f2ef68b5700 (LWP 26016)):
#0  0x00007f2f08a76f59 in syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f2f08d8895f in g_cond_wait () at /usr/lib/x86_64-linux-
gnu/libglib-2.0.so.0
#2  0x000055ead6e86d73 in  ()
#3  0x00007f2f08d6689d in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2f08b4dfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
        ret = <optimized out>
        pd = <optimized out>
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139839681550080,
8426437677525468507, 140737105096590, 140737105096591, 139839681550080,
94467120110528, -8454006939903359653, -8453633609099803301}, mask_was_saved =
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
        not_first_call = <optimized out>
#5  0x00007f2f08a7c4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f2ef70b6700 (LWP 26015)):
#0  0x00007f2f08a76f59 in syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f2f08d8895f in g_cond_wait () at /usr/lib/x86_64-linux-
gnu/libglib-2.0.so.0
#2  0x000055ead6e86fc4 in  ()
#3  0x00007f2f08d6689d in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2f08b4dfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
        ret = <optimized out>
        pd = <optimized out>
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139839689942784,
8426437677525468507, 140737105096574, 140737105096575, 139839689942784,
94467120114128, -8454005840928602789, -8453633609099803301}, mask_was_saved =
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
        not_first_call = <optimized out>
#5  0x00007f2f08a7c4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f2f04a74700 (LWP 26013)):
#0  0x00007f2f08a71819 in __GI___poll (fds=0x55ead7e18dd0, nfds=3, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
#1  0x00007f2f08d3dbf6 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2f08d3df82 in g_main_loop_run () at /usr/lib/x86_64-linux-
gnu/libglib-2.0.so.0
#3  0x00007f2f09111e46 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f2f08d6689d in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2f08b4dfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
        ret = <optimized out>
        pd = <optimized out>
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139839918262016,
8426437677525468507, 140737105096718, 140737105096719, 139839918262016,
94467132592608, -8453624689424628389, -8453633609099803301}, mask_was_saved =
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
        not_first_call = <optimized out>
#6  0x00007f2f08a7c4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f2f05a78700 (LWP 26012)):
#0  0x00007f2f08a71819 in __GI___poll (fds=0x55ead7e3b1d0, nfds=2,
timeout=5131) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
#1  0x00007f2f08d3dbf6 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2f08d3dd1c in g_main_context_iteration () at /usr/lib/x86_64-linux-
gnu/libglib-2.0.so.0
#3  0x00007f2f08d3dd61 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2f08d6689d in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2f08b4dfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
        ret = <optimized out>
        pd = <optimized out>
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139839935055616,
8426437677525468507, 140737105096302, 140737105096303, 139839935055616, 0,
-8453622488253889189, -8453633609099803301}, mask_was_saved = 0}}, priv = {pad
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#6  0x00007f2f08a7c4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f2f06d16e00 (LWP 26009)):
#0  0x00007f2f08b57544 in __libc_read (nbytes=256, buf=0x7fffe927dc90, fd=22)
at ../sysdeps/unix/sysv/linux/read.c:26
        resultvar = 18446744073709551104
        sc_cancel_oldtype = 0
        sc_ret = <optimized out>
#1  0x00007f2f08b57544 in __libc_read (fd=22, buf=0x7fffe927dc90, nbytes=256)
at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f2f0965fea7 in gimp_stack_trace_print () at
/usr/lib/libgimpbase-2.0.so.0
#3  0x000055ead6bbc590 in  ()
#4  0x000055ead6bbc9b8 in  ()
#5  0x000055ead6bbd029 in  ()
#6  0x00007f2f08b58730 in <signal handler called> () at /lib/x86_64-linux-
gnu/libpthread.so.0
#7  0x000055ead6fa7411 in gimp_gegl_mask_is_empty ()
#8  0x000055ead6ea2810 in  ()
#9  0x000055ead6f19c18 in  ()
#10 0x000055ead6ec0b50 in  ()
#11 0x000055ead6f1a2aa in  ()
#12 0x000055ead6ebf9bb in gimp_drawable_set_buffer_full ()
#13 0x000055ead6ebff9d in gimp_drawable_set_buffer ()
#14 0x000055ead6ec0296 in gimp_drawable_new ()
#15 0x000055ead6f1d4d0 in gimp_layer_new ()
#16 0x000055ead6e1c9cc in  ()
#17 0x000055ead6e55577 in gimp_procedure_execute ()
#18 0x000055ead6e4ea39 in gimp_pdb_execute_procedure_by_name_args ()
#19 0x000055ead6e59626 in gimp_plug_in_handle_message ()
#20 0x000055ead6e57f91 in  ()
#21 0x00007f2f08d3d898 in g_main_context_dispatch () at /usr/lib/x86_64-linux-
gnu/libglib-2.0.so.0
#22 0x00007f2f08d3dc88 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f2f08d3df82 in g_main_loop_run () at /usr/lib/x86_64-linux-
gnu/libglib-2.0.so.0
#24 0x000055ead6e6935c in gimp_plug_in_manager_call_run ()
#25 0x000055ead6e61dbe in  ()
#26 0x000055ead6e55577 in gimp_procedure_execute ()
#27 0x000055ead6e4ea39 in gimp_pdb_execute_procedure_by_name_args ()
#28 0x000055ead6e4eefd in gimp_pdb_execute_procedure_by_name ()
#29 0x000055ead6f4f6fd in file_open_image ()
#30 0x000055ead6f0ad52 in gimp_imagefile_create_thumbnail ()
#31 0x000055ead6f0ae65 in gimp_imagefile_create_thumbnail_weak ()
#32 0x000055ead6da1037 in  ()
#33 0x00007f2f08d3d898 in g_main_context_dispatch () at /usr/lib/x86_64-linux-
gnu/libglib-2.0.so.0
#34 0x00007f2f08d3dc88 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f2f08d3df82 in g_main_loop_run () at /usr/lib/x86_64-linux-
gnu/libglib-2.0.so.0
#36 0x000055ead6bbbd7e in app_run ()
#37 0x000055ead6bbb64e in main ()
[Inferior 1 (process 26009) detached]

```



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.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-data            2.10.8-2
ii  libaa1               1.4p5-46+b1
ii  libbabl-0.1-0        0.1.62-1
ii  libbz2-1.0           1.0.8-2
ii  libc6                2.28-10
ii  libcairo2            1.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-0        0.4.12-2
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  libharfbuzz0b        2.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-0    1.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  libwebpdemux2        0.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-utils            1.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          <none>
pn  gimp-help-en | gimp-help  <none>
pn  gimp-python               <none>
ii  gvfs-backends             1.38.1-5+b1
ii  libasound2                1.1.8-1

-- no debconf information



More information about the pkg-gnome-maintainers mailing list