Gimp crashed randomly while using the stamp tool

Bug #1848549 reported by decimus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gimp (Ubuntu)
New
Undecided
Unassigned

Bug Description

Not sure how helpful this will be, but GIMP instructed me to do these steps when it crashed. So here is the bug report.

I was using the stamp tool on a relatively small (~800x1200 px) JPG image (without having added a transparency channel, if that is relevant). It worked for some time without any issue, until suddenly GIMP crashed on me.

My system as per `lsb_release -rd`:

```
Description: Ubuntu 19.04
Release: 19.04
```

GIMP was installed from the latest available 19.04 package.

Bug information as supplied in the GIMP crash dialog:

```
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/8/lto-wrapper
 OFFLOAD_TARGET_NAMES=nvptx-none
 OFFLOAD_TARGET_DEFAULT=1
 Target: x86_64-linux-gnu
 Configured with: ../src/configure -v --with-pkgversion='Ubuntu 8.2.0-13ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --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-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --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 --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 8.2.0 (Ubuntu 8.2.0-13ubuntu1)

using GEGL version 0.4.14 (compiled against version 0.4.12)
using GLib version 2.60.4 (compiled against version 2.58.1)
using GdkPixbuf version 2.38.1 (compiled against version 2.38.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.0)
using Cairo version 1.16.0 (compiled against version 1.16.0)

```
> fatal error: Aborted

Stack trace:
```

# Stack traces obtained from PID 25593 - Thread 25593 #

[New LWP 25595]
[New LWP 25596]
[New LWP 25597]
[New LWP 25598]
[New LWP 25599]
[New LWP 25602]
[New LWP 25603]
[New LWP 25604]
[New LWP 25605]
[New LWP 25681]
[New LWP 5641]
[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=0x7ffc2f6673d0, fd=18) at ../sysdeps/unix/sysv/linux/read.c:26
  Id Target Id Frame
* 1 Thread 0x7fc053dffe00 (LWP 25593) "gimp" __libc_read (nbytes=256, buf=0x7ffc2f6673d0, fd=18) at ../sysdeps/unix/sysv/linux/read.c:26
  2 Thread 0x7fc053659700 (LWP 25595) "worker" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  3 Thread 0x7fc052e58700 (LWP 25596) "worker" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  4 Thread 0x7fc052657700 (LWP 25597) "worker" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  5 Thread 0x7fc0508a3700 (LWP 25598) "gmain" 0x00007fc055ae9729 in __GI___poll (fds=0x5585cc812710, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  6 Thread 0x7fc04be12700 (LWP 25599) "gdbus" 0x00007fc055ae9729 in __GI___poll (fds=0x5585cc82af10, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  7 Thread 0x7fc035305700 (LWP 25602) "async" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  8 Thread 0x7fc034b04700 (LWP 25603) "worker" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  9 Thread 0x7fc02ffff700 (LWP 25604) "worker" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  10 Thread 0x7fc02f7fe700 (LWP 25605) "worker" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  11 Thread 0x7fc0137fe700 (LWP 25681) "swap writer" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  12 Thread 0x7fc0117fa700 (LWP 5641) "paint" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38

Thread 12 (Thread 0x7fc0117fa700 (LWP 5641)):
#0 0x00007fc055aef2e9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007fc055dd393f in g_cond_wait () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00005585cb17ecdd in ()
#3 0x00007fc055db187d in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fc055bce182 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 = {140462904026880, 1296702549451824165, 140721103729438, 140721103729439, 140721103729584, 140462904023296, -1261303775827895259, -1261435189256037339}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#5 0x00007fc055af5b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fc0137fe700 (LWP 25681)):
#0 0x00007fc055aef2e9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007fc055dd393f in g_cond_wait () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fc05627a799 in () at /usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0
#3 0x00007fc055db187d in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fc055bce182 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 = {140462937597696, 1296702549451824165, 140721103722174, 140721103722175, 140721103722320, 140462937594112, -1261299375633900507, -1261435189256037339}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#5 0x00007fc055af5b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fc02f7fe700 (LWP 25605)):
#0 0x00007fc055aef2e9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007fc055dd393f in g_cond_wait () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00005585cb3b1423 in ()
#3 0x00007fc055db187d in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fc055bce182 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 = {140463407359744, 1296702549451824165, 140721103732078, 140721103732079, 140721103732224, 140463407356160, -1261413724843189211, -1261435189256037339}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#5 0x00007fc055af5b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fc02ffff700 (LWP 25604)):
#0 0x00007fc055aef2e9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007fc055dd393f in g_cond_wait () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00005585cb3b1423 in ()
#3 0x00007fc055db187d in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fc055bce182 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 = {140463415752448, 1296702549451824165, 140721103732078, 140721103732079, 140721103732224, 140463415748864, -1261412623720948699, -1261435189256037339}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#5 0x00007fc055af5b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fc034b04700 (LWP 25603)):
#0 0x00007fc055aef2e9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007fc055dd393f in g_cond_wait () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00005585cb3b1423 in ()
#3 0x00007fc055db187d in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fc055bce182 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 = {140463494416128, 1296702549451824165, 140721103732078, 140721103732079, 140721103732224, 140463494412544, -1261366915068371931, -1261435189256037339}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#5 0x00007fc055af5b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fc035305700 (LWP 25602)):
#0 0x00007fc055aef2e9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007fc055dd393f in g_cond_wait () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00005585cb3b166c in ()
#3 0x00007fc055db187d in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fc055bce182 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 = {140463502808832, 1296702549451824165, 140721103732094, 140721103732095, 140721103732240, 140463502805248, -1261365813946131419, -1261435189256037339}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#5 0x00007fc055af5b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fc04be12700 (LWP 25599)):
#0 0x00007fc055ae9729 in __GI___poll (fds=0x5585cc82af10, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
#1 0x00007fc055d88bf6 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fc055d88f82 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fc056156e26 in () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007fc055db187d in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007fc055bce182 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 = {140463883495168, 1296702549451824165, 140721103732190, 140721103732191, 140721103732336, 140463883491584, -1261491839560885211, -1261435189256037339}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#6 0x00007fc055af5b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fc0508a3700 (LWP 25598)):
#0 0x00007fc055ae9729 in __GI___poll (fds=0x5585cc812710, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
#1 0x00007fc055d88bf6 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fc055d88d1c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fc055d88d61 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fc055db187d in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007fc055bce182 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 = {140463961683712, 1296702549451824165, 140721103731774, 140721103731775, 140721103731920, 140463961680128, -1261446543225168859, -1261435189256037339}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#6 0x00007fc055af5b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fc052657700 (LWP 25597)):
#0 0x00007fc055aef2e9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007fc055dd393f in g_cond_wait () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fc05623e993 in () at /usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0
#3 0x00007fc055db187d in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fc055bce182 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 = {140463992829696, 1296702549451824165, 140721103732110, 140721103732111, 140721103732256, 140463992826112, -1261442392139277275, -1261435189256037339}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#5 0x00007fc055af5b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fc052e58700 (LWP 25596)):
#0 0x00007fc055aef2e9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007fc055dd393f in g_cond_wait () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fc05623e993 in () at /usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0
#3 0x00007fc055db187d in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fc055bce182 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 = {140464001222400, 1296702549451824165, 140721103732110, 140721103732111, 140721103732256, 140464001218816, -1261441293164520411, -1261435189256037339}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#5 0x00007fc055af5b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fc053659700 (LWP 25595)):
#0 0x00007fc055aef2e9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007fc055dd393f in g_cond_wait () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fc05623e993 in () at /usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0
#3 0x00007fc055db187d in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fc055bce182 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 = {140464009615104, 1296702549451824165, 140721103732110, 140721103732111, 140721103732256, 140464009611520, -1261440200632214491, -1261435189256037339}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#5 0x00007fc055af5b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fc053dffe00 (LWP 25593)):
#0 0x00007fc055bd7d94 in __libc_read (nbytes=256, buf=0x7ffc2f6673d0, fd=18) at ../sysdeps/unix/sysv/linux/read.c:26
        resultvar = 18446744073709551104
        sc_cancel_oldtype = 1
        sc_ret = <optimized out>
#1 0x00007fc055bd7d94 in __libc_read (fd=18, buf=0x7ffc2f6673d0, nbytes=256) at ../sysdeps/unix/sysv/linux/read.c:24
#2 0x00007fc0566ab7d4 in gimp_stack_trace_print () at /usr/lib/libgimpbase-2.0.so.0
#3 0x00005585cb0ec4a0 in ()
#4 0x00005585cb0ec8d8 in ()
#5 0x00005585cb0ed037 in ()
#6 0x00007fc055bd8f40 in <signal handler called> () at /lib/x86_64-linux-gnu/libpthread.so.0
#7 0x00007fc055a1bed7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
        set = {__val = {0, 140464047403288, 4222451712, 94033294510080, 94033294510080, 94033294510080, 94033294510080, 94033294510178, 94033294510180, 94033294510080, 94033294510180, 0, 0, 0, 0, 0}}
        pid = <optimized out>
        tid = <optimized out>
#8 0x00007fc0559fd535 in __GI_abort () at abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x5585d51dc800, sa_sigaction = 0x5585d51dc800}, sa_mask = {__val = {0, 140464048819264, 0, 0, 0, 0, 21474836480, 140721103731848, 140721103731696, 140464048632048, 140464048616840, 0, 17662399942666682880, 140464048601575, 0, 140464048616840}}, sa_flags = 1435793011, sa_restorer = 0x7fc055947808}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#9 0x00007fc0559fd40f in __assert_fail_base (fmt=0x7fc055b8b588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7fc055947808 "!xcb_xlib_threads_sequence_lost", file=0x7fc055947673 "../../src/xcb_io.c", line=263, function=<optimized out>) at assert.c:92
        str = 0x5585d51dc800 "`$CՅU"
        total = 4096
#10 0x00007fc055a0d012 in __GI___assert_fail (assertion=0x7fc055947808 "!xcb_xlib_threads_sequence_lost", file=0x7fc055947673 "../../src/xcb_io.c", line=263, function=0x7fc055947ac0 "poll_for_event") at assert.c:101
#11 0x00007fc0558d55db in () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#12 0x00007fc0558d5680 in () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007fc0558d597d in _XEventsQueued () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007fc0558c76d7 in XPending () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007fc0567689f5 in () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#16 0x00007fc055d885d1 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007fc055d88ba0 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007fc055d88f82 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00005585cb0ebcb7 in app_run ()
#20 0x00005585cb0eb5b5 in main ()
[Inferior 1 (process 25593) detached]

```

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.