Bug#953880: gimp: segmentation fault on startup

Thorsten Glaser tg at mirbsd.de
Tue Mar 17 11:17:49 GMT 2020


Package: gimp
Version: 2.10.14-2+b1
Followup-For: Bug #953880
Control: forcemerge 953880 954095
Control: retitle -1 gimp: fatal error: Segmentation fault on startup

(gimp:19053): GLib-GObject-CRITICAL **: 12:14:27.292: g_param_spec_internal: assertion 'is_valid_property_name (name)' failed
gimp: fatal error: Segmentation fault
26      ../sysdeps/unix/sysv/linux/read.c: No such file or directory.

(pagecurl:19083): LibGimpBase-WARNING **: 12:14:29.010: pagecurl: gimp_wire_read(): error

The workaround to delete /usr/lib/gimp/2.0/plug-ins/pagecurl/pagecurl
(which is shipped by the gimp binary package) works for me.

Full bug info:

```
GNU Image Manipulation Program version 2.10.14
git-describe: GIMP_2_10_12-511-ga4f55d6c7e
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-31' --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-objc-gc=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 --with-build-config=bootstrap-lto-lean --enable-link-mutex
 Thread model: posix
 gcc version 9.2.1 20200306 (Debian 9.2.1-31) 

using babl version 0.1.74 (compiled against version 0.1.74)
using GEGL version 0.4.22 (compiled against version 0.4.22)
using GLib version 2.64.1 (compiled against version 2.64.0)
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.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 19053 - Thread 19053 #

[New LWP 19054]
[New LWP 19055]
[New LWP 19057]
[New LWP 19058]
[New LWP 19060]
[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=0x7ffc401f2c90, fd=13) at ../sysdeps/unix/sysv/linux/read.c:26
  Id   Target Id                                     Frame 
* 1    Thread 0x7f12bcbb1e80 (LWP 19053) "gimp"      __libc_read (nbytes=256, buf=0x7ffc401f2c90, fd=13) at ../sysdeps/unix/sysv/linux/read.c:26
  2    Thread 0x7f12bc8ee700 (LWP 19054) "worker"    syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  3    Thread 0x7f12b6cd2700 (LWP 19055) "gmain"     0x00007f12be7adb0f in __GI___poll (fds=0x56345c9257c0, nfds=1, timeout=3977) at ../sysdeps/unix/sysv/linux/poll.c:29
  4    Thread 0x7f12b64d1700 (LWP 19057) "gdbus"     0x00007f12be7adb0f in __GI___poll (fds=0x56345c992720, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  5    Thread 0x7f12a8a52700 (LWP 19058) "async"     syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  6    Thread 0x7f129ffff700 (LWP 19060) "pool-gimp" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38

Thread 6 (Thread 0x7f129ffff700 (LWP 19060)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
No locals.
#1  0x00007f12bea87ae2 in g_cond_wait_until () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x00007f12bea0c5d1 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3  0x00007f12bea0cbc2 in g_async_queue_timeout_pop () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4  0x00007f12bea64e19 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5  0x00007f12bea6450d in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#6  0x00007f12be888f27 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139717970491136, -585757835856207808, 140721384273710, 140721384273711, 139717970487424, 139717970491136, 719388080248954944, 719315122949562432}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#7  0x00007f12be7b82af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 5 (Thread 0x7f12a8a52700 (LWP 19058)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
No locals.
#1  0x00007f12bea879bf in g_cond_wait () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x000056345abdb8c4 in ?? ()
No symbol table info available.
#3  0x00007f12bea6450d in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4  0x00007f12be888f27 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139718115534592, -585757835856207808, 140721384274030, 140721384274031, 139718115530880, 139718115534592, 719354452265640000, 719315122949562432}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#5  0x00007f12be7b82af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 4 (Thread 0x7f12b64d1700 (LWP 19057)):
#0  0x00007f12be7adb0f in __GI___poll (fds=0x56345c992720, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
        sc_ret = <optimized out>
#1  0x00007f12bea3b7fe in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x00007f12bea3bb63 in g_main_loop_run () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3  0x00007f12becc5d86 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#4  0x00007f12bea6450d in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5  0x00007f12be888f27 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139718344644352, -585757835856207808, 140721384274142, 140721384274143, 139718344640640, 139718344644352, 719332117898829888, 719315122949562432}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#6  0x00007f12be7b82af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 3 (Thread 0x7f12b6cd2700 (LWP 19055)):
#0  0x00007f12be7adb0f in __GI___poll (fds=0x56345c9257c0, nfds=1, timeout=3977) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
        sc_ret = <optimized out>
#1  0x00007f12bea3b7fe in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x00007f12bea3b91f in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3  0x00007f12bea3b971 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4  0x00007f12bea6450d in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5  0x00007f12be888f27 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139718353037056, -585757835856207808, 140721384273710, 140721384273711, 139718353033344, 139718353037056, 719333217947328576, 719315122949562432}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#6  0x00007f12be7b82af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 2 (Thread 0x7f12bc8ee700 (LWP 19054)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
No locals.
#1  0x00007f12bea879bf in g_cond_wait () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x00007f12bef21c73 in ?? () from /usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0
No symbol table info available.
#3  0x00007f12bea6450d in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4  0x00007f12be888f27 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139718449620736, -585757835856207808, 140721384273934, 140721384273935, 139718449617024, 139718449620736, 719310710171213888, 719315122949562432}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#5  0x00007f12be7b82af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 1 (Thread 0x7f12bcbb1e80 (LWP 19053)):
#0  __libc_read (nbytes=256, buf=0x7ffc401f2c90, fd=13) at ../sysdeps/unix/sysv/linux/read.c:26
        resultvar = 18446744073709551104
        sc_cancel_oldtype = 0
        __arg3 = <optimized out>
        _a2 = <optimized out>
        sc_ret = <optimized out>
        __value = <optimized out>
        __arg1 = <optimized out>
        _a3 = <optimized out>
        resultvar = <optimized out>
        resultvar = <optimized out>
        __arg2 = <optimized out>
        _a1 = <optimized out>
#1  __libc_read (fd=13, buf=0x7ffc401f2c90, nbytes=256) at ../sysdeps/unix/sysv/linux/read.c:24
No locals.
#2  0x00007f12bf39d2a7 in gimp_stack_trace_print () from /usr/lib/libgimpbase-2.0.so.0
No symbol table info available.
#3  0x000056345a8fd980 in ?? ()
No symbol table info available.
#4  0x000056345a8fdda8 in gimp_fatal_error ()
No symbol table info available.
#5  0x000056345a8fe419 in ?? ()
No symbol table info available.
#6  <signal handler called>
No locals.
#7  0x000056345ac8a704 in gimp_param_spec_layer_id ()
No symbol table info available.
#8  0x000056345aba2647 in gimp_pdb_compat_param_spec ()
No symbol table info available.
#9  0x000056345abaf067 in gimp_plug_in_handle_message ()
No symbol table info available.
#10 0x000056345abbd681 in gimp_plug_in_manager_call_query ()
No symbol table info available.
#11 0x000056345abb5606 in gimp_plug_in_manager_restore ()
No symbol table info available.
#12 0x000056345abd324d in ?? ()
No symbol table info available.
#13 0x00007f12beb25fd2 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#14 0x00007f12beb38f06 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#15 0x00007f12beb4454f in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#16 0x00007f12beb44edf in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#17 0x000056345abd27d2 in gimp_restore ()
No symbol table info available.
#18 0x000056345a8fd2bb in app_run ()
No symbol table info available.
#19 0x000056345a8fca4e in main ()
No symbol table info available.
[Inferior 1 (process 19053) detached]

```

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

Kernel: Linux 5.4.0-4-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages gimp depends on:
ii  gimp-data            2.10.14-2
ii  libaa1               1.4p5-46+b1
ii  libbabl-0.1-0        0.1.74-1
ii  libbz2-1.0           1.0.8-2
ii  libc6                2.30-2
ii  libcairo2            1.16.0-4
ii  libfontconfig1       2.13.1-2+b1
ii  libfreetype6         2.10.1-2
ii  libgcc-s1            10-20200304-1
ii  libgdk-pixbuf2.0-0   2.40.0+dfsg-3
ii  libgegl-0.4-0        0.4.22-1
ii  libgexiv2-2          0.12.0-2
ii  libgimp2.0           2.10.14-2+b1
ii  libglib2.0-0         2.64.1-1
ii  libgs9               9.51~dfsg-1
ii  libgtk2.0-0          2.24.32-4
ii  libgudev-1.0-0       233-1
ii  libharfbuzz0b        2.6.4-1
ii  libheif1             1.6.1-1
ii  libilmbase24         2.3.0-6
ii  libjpeg62-turbo      1:1.5.2-2+b1
ii  liblcms2-2           2.9-4+b1
ii  liblzma5             5.2.4-1+b1
ii  libmng1              1.0.10+dfsg-3.1+b5
ii  libmypaint-1.5-1     1.5.1-1
ii  libopenexr24         2.3.0-6
ii  libopenjp2-7         2.3.1-1
ii  libpango-1.0-0       1.42.4-8
ii  libpangocairo-1.0-0  1.42.4-8
ii  libpangoft2-1.0-0    1.42.4-8
ii  libpng16-16          1.6.37-2
ii  libpoppler-glib8     0.71.0-6
ii  librsvg2-2           2.46.4-1
ii  libstdc++6           10-20200304-1
ii  libtiff5             4.1.0+git191117-2
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-17
ii  libx11-6             2:1.6.9-2
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-2
ii  zlib1g               1:1.2.11.dfsg-2

Versions of packages gimp recommends:
ii  ghostscript  9.51~dfsg-1

Versions of packages gimp suggests:
pn  gimp-data-extras          <none>
ii  gimp-help-en [gimp-help]  2.8.2-2
pn  gvfs-backends             <none>
ii  libasound2                1.2.2-2.1

-- no debconf information



More information about the pkg-gnome-maintainers mailing list