GIMP crashed on close

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

Bug Description

```
GNU Image Manipulation Program version 2.10.30
git-describe: GIMP_2_10_30
Build: unknown rev 0 for linux
# C compiler #
 Using built-in specs.
 COLLECT_GCC=gcc
 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
 OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
 OFFLOAD_TARGET_DEFAULT=1
 Target: x86_64-linux-gnu
 Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --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 --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --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-serialization=2
 Thread model: posix
 Supported LTO compression algorithms: zlib zstd
 gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)

# Libraries #
using babl version 0.1.92 (compiled against version 0.1.92)
using GEGL version 0.4.34 (compiled against version 0.4.34)
using GLib version 2.72.4 (compiled against version 2.72.4)
using GdkPixbuf version 2.42.8 (compiled against version 2.42.8)
using GTK+ version 2.24.33 (compiled against version 2.24.33)
using Pango version 1.50.6 (compiled against version 1.50.6)
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: Aborted

Stack trace:
```

# Stack traces obtained from PID 139402 - Thread 139407 #

[New LWP 139407]
[New LWP 139411]
[New LWP 139412]
[New LWP 139488]
[New LWP 142716]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__futex_abstimed_wait_common64 (private=128, cancel=true, abstime=0x0, op=265, expected=139407, futex_word=0x7f4ca7394910) at ./nptl/futex-internal.c:57
  Id Target Id Frame
* 1 Thread 0x7f4ca8c7ce80 (LWP 139402) "gimp-2.10" __futex_abstimed_wait_common64 (private=128, cancel=true, abstime=0x0, op=265, expected=139407, futex_word=0x7f4ca7394910) at ./nptl/futex-internal.c:57
  2 Thread 0x7f4ca7394640 (LWP 139407) "worker" __GI___libc_read (nbytes=256, buf=0x7f4ca7392810, fd=18) at ../sysdeps/unix/sysv/linux/read.c:26
  3 Thread 0x7f4ca4e8f640 (LWP 139411) "gmain" 0x00007f4ca997dbcf in __GI___poll (fds=0x55769eeb2740, nfds=2, timeout=6375) at ../sysdeps/unix/sysv/linux/poll.c:29
  4 Thread 0x7f4c9f7fe640 (LWP 139412) "gdbus" 0x00007f4ca997dbcf in __GI___poll (fds=0x5576a26c4ff0, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  5 Thread 0x7f4c6ffff640 (LWP 139488) "paint" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  6 Thread 0x7f4c6cfad640 (LWP 142716) "pool-gimp-2.10" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38

Thread 6 (Thread 0x7f4c6cfad640 (LWP 142716) "pool-gimp-2.10"):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007f4ca9c1a0ac in g_cond_wait_until () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f4ca9b9a3e1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f4ca9b9a566 in g_async_queue_timeout_pop () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007f4ca9bfc7b9 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f4ca9bf9ab1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x00007f4ca98f9ac3 in start_thread (arg=<optimised out>) at ./nptl/pthread_create.c:442
        ret = <optimised out>
        pd = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140728461719664, -76785959440590529, 139966222620224, 11, 139967239002064, 140728461720016, 33753246800435519, 33320204118022463}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
#7 0x00007f4ca998b850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7f4c6ffff640 (LWP 139488) "paint"):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007f4ca9c19ba3 in g_cond_wait () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x000055769d16bfc1 in ()
#3 0x00007f4ca9bf9ab1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007f4ca98f9ac3 in start_thread (arg=<optimised out>) at ./nptl/pthread_create.c:442
        ret = <optimised out>
        pd = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140728461722576, -76785959440590529, 139966273287744, 11, 139967239002064, 140728461722928, 33755472667236671, 33320204118022463}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
#5 0x00007f4ca998b850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f4c9f7fe640 (LWP 139412) "gdbus"):
#0 0x00007f4ca997dbcf in __GI___poll (fds=0x5576a26c4ff0, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
#1 0x00007f4ca9c20256 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f4ca9bca2b3 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f4ca9e6181a in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007f4ca9bf9ab1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f4ca98f9ac3 in start_thread (arg=<optimised out>) at ./nptl/pthread_create.c:442
        ret = <optimised out>
        pd = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140728461725184, -76785959440590529, 139967070201408, 11, 139967239002064, 140728461725536, 33228804986919231, 33320204118022463}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
#6 0x00007f4ca998b850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f4ca4e8f640 (LWP 139411) "gmain"):
#0 0x00007f4ca997dbcf in __GI___poll (fds=0x55769eeb2740, nfds=2, timeout=6375) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
#1 0x00007f4ca9c20256 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f4ca9bc83e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f4ca9bc8431 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007f4ca9bf9ab1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f4ca98f9ac3 in start_thread (arg=<optimised out>) at ./nptl/pthread_create.c:442
        ret = <optimised out>
        pd = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140728461724896, -76785959440590529, 139967160972864, 11, 139967239002064, 140728461725248, 33348472976333119, 33320204118022463}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
#6 0x00007f4ca998b850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f4ca7394640 (LWP 139407) "worker"):
#0 __GI___libc_read (nbytes=256, buf=0x7f4ca7392810, fd=18) at ../sysdeps/unix/sysv/linux/read.c:26
        sc_ret = -512
        sc_cancel_oldtype = 0
        sc_ret = <optimised out>
#1 __GI___libc_read (fd=18, buf=0x7f4ca7392810, nbytes=256) at ../sysdeps/unix/sysv/linux/read.c:24
#2 0x00007f4caa5f4c2c in gimp_stack_trace_print () at /lib/x86_64-linux-gnu/libgimpbase-2.0.so.0
#3 0x000055769d0ce72e in ()
#4 0x000055769d0ce7ee in ()
#5 0x000055769d0ce84d in ()
#6 0x00007f4ca98a7520 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#7 __pthread_kill_implementation (no_tid=0, signo=6, threadid=139967199790656) at ./nptl/pthread_kill.c:44
        tid = <optimised out>
        ret = 0
        pd = 0x7f4ca7394640
        old_mask = {__val = {93968014178672, 16439155952044846080, 1, 139966878216600, 139966878216416, 139967199785968, 0, 0, 139966878216456, 139967248030450, 93968042469984, 139966878216488, 2336462210816, 412316861064, 139966878216456, 16439155952044846080}}
        ret = <optimised out>
#8 __pthread_kill_internal (signo=6, threadid=139967199790656) at ./nptl/pthread_kill.c:78
#9 __GI___pthread_kill (threadid=139967199790656, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#10 0x00007f4ca98a7476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
        ret = <optimised out>
#11 0x00007f4ca988d7f3 in __GI_abort () at ./stdlib/abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {93968057234256, 139967199786256, 139967248265665, 93968014178672, 1893837824, 2744484104576, 4294967304, 93968057234376, 93968057234376, 93968042469984, 139967248030034, 2336462210816, 412316861064, 0, 16439155952044846080, 93968042469984}}, sa_flags = -1441212032, sa_restorer = 0x7f4c940e7150}
        sigs = {__val = {32, 7696581394976, 188, 139964394242592, 139966878216416, 139967248023678, 0, 139964394242048, 2199023257984, 16439155952044846080, 2, 16439155952044846080, 0, 93968042469984, 0, 139966878216416}}
#12 0x00007f4ca98ee676 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f4ca9a40b77 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
        ap = {{gp_offset = 24, fp_offset = 32588, overflow_arg_area = 0x7f4ca73936b0, reg_save_area = 0x7f4ca7393640}}
        fd = <optimised out>
        list = <optimised out>
        nlist = <optimised out>
        cp = <optimised out>
#13 0x00007f4ca9905cfc in malloc_printerr (str=str@entry=0x7f4ca9a43f20 "tcache_thread_shutdown(): unaligned tcache chunk detected") at ./malloc/malloc.c:5664
#14 0x00007f4ca990a6c4 in tcache_thread_shutdown () at ./malloc/malloc.c:3224
        e = <optimised out>
        i = <optimised out>
        tcache_tmp = 0x7f4c940008e0
        a = <optimised out>
        __PRETTY_FUNCTION__ = "__malloc_arena_thread_freeres"
#15 __malloc_arena_thread_freeres () at ./malloc/arena.c:1003
        a = <optimised out>
        __PRETTY_FUNCTION__ = "__malloc_arena_thread_freeres"
#16 0x00007f4ca990d1ca in __libc_thread_freeres () at ./malloc/thread-freeres.c:44
#17 0x00007f4ca98f994f in start_thread (arg=<optimised out>) at ./nptl/pthread_create.c:456
        pd = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140728461725056, -76785959440590529, 139967199790656, 0, 139967239002064, 140728461725408, 33352456021629247, 33320204118022463}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
#18 0x00007f4ca998b850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f4ca8c7ce80 (LWP 139402) "gimp-2.10"):
#0 __futex_abstimed_wait_common64 (private=128, cancel=true, abstime=0x0, op=265, expected=139407, futex_word=0x7f4ca7394910) at ./nptl/futex-internal.c:57
        sc_cancel_oldtype = 0
        sc_ret = <optimised out>
        err = <optimised out>
        clockbit = 256
        op = 265
#1 __futex_abstimed_wait_common (cancel=true, private=128, abstime=0x0, clockid=0, expected=139407, futex_word=0x7f4ca7394910) at ./nptl/futex-internal.c:87
        err = <optimised out>
        clockbit = 256
        op = 265
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f4ca7394910, expected=139407, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=128) at ./nptl/futex-internal.c:139
#3 0x00007f4ca98fb624 in __pthread_clockjoin_ex (threadid=139967199790656, thread_return=0x0, clockid=0, abstime=0x0, block=<optimised out>) at ./nptl/pthread_join_common.c:105
        ret = <optimised out>
        _buffer = {__routine = 0x7f4ca98fb4d0 <cleanup>, __arg = 0x7f4ca7394c68, __canceltype = -1597314976, __prev = 0x0}
        tid = <optimised out>
        pd = 0x7f4ca7394640
        self = <optimised out>
        result = 0
        pd_result = <optimised out>
#4 0x00007f4ca9bfae7c in g_thread_join () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f4caa16f3d9 in () at /lib/x86_64-linux-gnu/libgegl-0.4.so.0
#6 0x00007f4caa17292e in gegl_exit () at /lib/x86_64-linux-gnu/libgegl-0.4.so.0
#7 0x000055769d0ccf8c in ()
#8 0x000055769d3c9607 in gimp_marshal_BOOLEAN__BOOLEAN ()
#9 0x00007f4ca9cc3d2f in g_closure_invoke () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007f4ca9cdfe11 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007f4ca9ce1026 in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007f4ca9ce1863 in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x000055769d3cdf52 in gimp_exit ()
#14 0x00007f4ca9cc3d2f in g_closure_invoke () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007f4ca9cdfc36 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007f4ca9ce1614 in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007f4ca9ce1863 in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007f4ca9cc3d2f in g_closure_invoke () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007f4ca9cdfc36 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007f4ca9ce1614 in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007f4ca9ce1863 in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007f4caa7bcd0e in () at /lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#23 0x00007f4caa8674d7 in () at /lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#24 0x00007f4ca9cc3d2f in g_closure_invoke () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#25 0x00007f4ca9cdf624 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00007f4ca9ce1026 in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007f4ca9ce1863 in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007f4caa993024 in () at /lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#29 0x00007f4caa86518c in gtk_propagate_event () at /lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#30 0x00007f4caa8666db in gtk_main_do_event () at /lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#31 0x00007f4caa6ca16b in () at /lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#32 0x00007f4ca9bcad3b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f4ca9c202b8 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f4ca9bca2b3 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x000055769d0d3a7c in app_run ()
#36 0x000055769d0c9742 in main ()
[Inferior 1 (process 139402) 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.