100%CPU usage,gimp freezes

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

Bug Description

<!-- Copy-paste this whole debug data to report to developers -->

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

```
> GIMP-CRITICAL: gimp_size_entry_set_resolution: assertion 'GIMP_IS_SIZE_ENTRY (gse)' failed

Stack trace:
```

# Stack traces obtained from PID 6136 - Thread 6136 #

[New LWP 6139]
[New LWP 6140]
[New LWP 6143]
[New LWP 6185]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__GI___libc_read (nbytes=256, buf=0x7ffc918f0790, fd=14) at ../sysdeps/unix/sysv/linux/read.c:26
  Id Target Id Frame
* 1 Thread 0x7f3f03243e80 (LWP 6136) "gimp-2.10" __GI___libc_read (nbytes=256, buf=0x7ffc918f0790, fd=14) at ../sysdeps/unix/sysv/linux/read.c:26
  2 Thread 0x7f3f029d1640 (LWP 6139) "gmain" 0x00007f3f03f44bcf in __GI___poll (fds=0x55fc10f8f7f0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  3 Thread 0x7f3f021d0640 (LWP 6140) "gdbus" 0x00007f3f03f44bcf in __GI___poll (fds=0x55fc10faa670, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  4 Thread 0x7f3ef2f2d640 (LWP 6143) "async" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  5 Thread 0x7f3ef09ba640 (LWP 6185) "swap writer" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38

Thread 5 (Thread 0x7f3ef09ba640 (LWP 6185) "swap writer"):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
No locals.
#1 0x00007f3f041e0b43 in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f3f0476ac99 in ?? () from /lib/x86_64-linux-gnu/libgegl-0.4.so.0
No symbol table info available.
#3 0x00007f3f041c0a51 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f3f03ec0ac3 in start_thread (arg=<optimised out>) at ./nptl/pthread_create.c:442
        ret = <optimised out>
        pd = <optimised out>
        out = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140722750553056, -6162671083044976532, 139908301432384, 11, 139908625467344, 140722750553408, 6054010503469484140, 6055033164513560684}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
#5 0x00007f3f03f52850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.

Thread 4 (Thread 0x7f3ef2f2d640 (LWP 6143) "async"):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
No locals.
#1 0x00007f3f041e0b43 in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x000055fc0fef2936 in ?? ()
No symbol table info available.
#3 0x00007f3f041c0a51 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f3f03ec0ac3 in start_thread (arg=<optimised out>) at ./nptl/pthread_create.c:442
        ret = <optimised out>
        pd = <optimised out>
        out = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140722750559696, -6162671083044976532, 139908340700736, 0, 139908625467344, 140722750560048, 6054015100695103596, 6055033164513560684}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
#5 0x00007f3f03f52850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.

Thread 3 (Thread 0x7f3f021d0640 (LWP 6140) "gdbus"):
#0 0x00007f3f03f44bcf in __GI___poll (fds=0x55fc10faa670, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
        sc_ret = <optimised out>
#1 0x00007f3f041e71f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f3f041912b3 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f3f0442807a in ?? () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#4 0x00007f3f041c0a51 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f3f03ec0ac3 in start_thread (arg=<optimised out>) at ./nptl/pthread_create.c:442
        ret = <optimised out>
        pd = <optimised out>
        out = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140722750559680, -6162671083044976532, 139908595123776, 0, 139908625467344, 140722750560032, 6055036325269620844, 6055033164513560684}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
#6 0x00007f3f03f52850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.

Thread 2 (Thread 0x7f3f029d1640 (LWP 6139) "gmain"):
#0 0x00007f3f03f44bcf in __GI___poll (fds=0x55fc10f8f7f0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
        sc_ret = <optimised out>
#1 0x00007f3f041e71f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f3f0418f3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f3f0418f431 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f3f041c0a51 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f3f03ec0ac3 in start_thread (arg=<optimised out>) at ./nptl/pthread_create.c:442
        ret = <optimised out>
        pd = <optimised out>
        out = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140722750559392, -6162671083044976532, 139908603516480, 0, 139908625467344, 140722750559744, 6055035234884798572, 6055033164513560684}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
#6 0x00007f3f03f52850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.

Thread 1 (Thread 0x7f3f03243e80 (LWP 6136) "gimp-2.10"):
#0 __GI___libc_read (nbytes=256, buf=0x7ffc918f0790, fd=14) at ../sysdeps/unix/sysv/linux/read.c:26
        sc_ret = -512
        sc_cancel_oldtype = 0
        __arg3 = <optimised out>
        _a2 = <optimised out>
        sc_ret = <optimised out>
        __value = <optimised out>
        sc_ret = <optimised out>
        __arg1 = <optimised out>
        _a3 = <optimised out>
        resultvar = <optimised out>
        __arg2 = <optimised out>
        _a1 = <optimised out>
#1 __GI___libc_read (fd=14, buf=0x7ffc918f0790, nbytes=256) at ../sysdeps/unix/sysv/linux/read.c:24
No locals.
#2 0x00007f3f04bbac2c in gimp_stack_trace_print () from /lib/x86_64-linux-gnu/libgimpbase-2.0.so.0
No symbol table info available.
#3 0x000055fc0fbed9a9 in gui_message ()
No symbol table info available.
#4 0x000055fc0fef0359 in gimp_show_message ()
No symbol table info available.
#5 0x000055fc0fbe41f7 in ?? ()
No symbol table info available.
#6 0x00007f3f0419a41a in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#7 0x00007f3f0419a703 in g_log () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#8 0x000055fc0fc9a271 in ?? ()
No symbol table info available.
#9 0x000055fc0fc9aff7 in ?? ()
No symbol table info available.
#10 0x000055fc0fc9520b in ?? ()
No symbol table info available.
#11 0x000055fc0fc9f89a in gimp_tool_button_press ()
No symbol table info available.
#12 0x000055fc0fcf815a in ?? ()
No symbol table info available.
#13 0x000055fc0fce72f1 in gimp_display_shell_canvas_tool_events ()
No symbol table info available.
#14 0x00007f3f04e2d4d7 in ?? () from /lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0x00007f3f0428ad2f in g_closure_invoke () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#16 0x00007f3f042a6c36 in ?? () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#17 0x00007f3f042a8026 in g_signal_emit_valist () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#18 0x00007f3f042a8863 in g_signal_emit () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#19 0x00007f3f04f59024 in ?? () from /lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#20 0x00007f3f04e2b094 in gtk_propagate_event () from /lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#21 0x00007f3f04e2c6db in gtk_main_do_event () from /lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#22 0x00007f3f04c9016b in ?? () from /lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
No symbol table info available.
#23 0x00007f3f04191d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#24 0x00007f3f041e7258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#25 0x00007f3f041912b3 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#26 0x000055fc0fbe9a7c in app_run ()
No symbol table info available.
#27 0x000055fc0fbdf742 in main ()
No symbol table info available.
[Inferior 1 (process 6136) 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.