FS#65154 - [gimp 2.10.14] crashes on mouse input

Attached to Project: Arch Linux
Opened by luke (justuser) - Wednesday, 15 January 2020, 23:32 GMT
Last edited by Toolybird (Toolybird) - Monday, 17 April 2023, 08:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Levente Polyak (anthraxx)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
It happens when I try retouching photo - making bunch of "click and drag" with a brush.

Steps to reproduce:
Create new image (even 640x480px).
Take brush (set hardness, size, opacity, etc).
Make many short strokes, time after time, quite fast.
After a while gimp stops responding.

Additional info:
kernel:
4.19.95-1-lts #1 SMP Sun, 12 Jan 2020 12:15:22 +0000 x86_64 GNU/Linux
cpu:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz
stepping : 13
microcode : 0xa3
cpu MHz : 1197.106
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti dtherm ida
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
bogomips : 3990.35
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz
stepping : 13
microcode : 0xa3
cpu MHz : 1197.106
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti dtherm ida
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
bogomips : 3990.35
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

meminfo:
MemTotal: 3903408 kB
MemFree: 2120856 kB
MemAvailable: 2580312 kB
Buffers: 63100 kB
Cached: 632940 kB
SwapCached: 0 kB
Active: 1163340 kB
Inactive: 446736 kB
Active(anon): 915424 kB
Inactive(anon): 69228 kB
Active(file): 247916 kB
Inactive(file): 377508 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 3025076 kB
SwapFree: 3025076 kB
Dirty: 4 kB
Writeback: 0 kB
AnonPages: 914032 kB
Mapped: 241352 kB
Shmem: 70620 kB
Slab: 108108 kB
SReclaimable: 76884 kB
SUnreclaim: 31224 kB
KernelStack: 5136 kB
PageTables: 8880 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 4976780 kB
Committed_AS: 1992920 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
Percpu: 632 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 0 kB
DirectMap4k: 103684 kB
DirectMap2M: 3952640 kB


```
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-pc-linux-gnu/9.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --enable-shared --enable-threads=posix --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
gcc version 9.2.0 (GCC)

using babl version 0.1.72 (compiled against version 0.1.72)
using GEGL version 0.4.18 (compiled against version 0.4.18)
using GLib version 2.62.4 (compiled against version 2.62.2)
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.44.7 (compiled against version 1.44.7)
using Fontconfig version 2.13.91 (compiled against version 2.13.91)
using Cairo version 1.17.3 (compiled against version 1.17.3)

```
> fatal error: Aborted

Stack trace:
```

# Stack traces obtained from PID 637 - Thread 637 #

[New LWP 638]
[New LWP 639]
[New LWP 640]
[New LWP 641]
[New LWP 663]
[New LWP 664]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007f2bb0e4968c in read () from /usr/lib/libpthread.so.0
Id Target Id Frame
* 1 Thread 0x7f2bb0045380 (LWP 637) "gimp-2.10" 0x00007f2bb0e4968c in read () from /usr/lib/libpthread.so.0
2 Thread 0x7f2baf82e700 (LWP 638) "worker" 0x00007f2bb0d66e9d in syscall () from /usr/lib/libc.so.6
3 Thread 0x7f2badd68700 (LWP 639) "gmain" 0x00007f2bb0d619ef in poll () from /usr/lib/libc.so.6
4 Thread 0x7f2bad567700 (LWP 640) "gdbus" 0x00007f2bb0d619ef in poll () from /usr/lib/libc.so.6
5 Thread 0x7f2b97911700 (LWP 641) "async" 0x00007f2bb0d66e9d in syscall () from /usr/lib/libc.so.6
6 Thread 0x7f2b97110700 (LWP 663) "swap writer" 0x00007f2bb0d66e9d in syscall () from /usr/lib/libc.so.6
7 Thread 0x7f2b87fff700 (LWP 664) "paint" 0x00007f2bb0d66e9d in syscall () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7f2b87fff700 (LWP 664)):
#0 0x00007f2bb0d66e9d in syscall () at /usr/lib/libc.so.6
#1 0x00007f2bb0fba531 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x000055e1d9f6a824 in ()
#3 0x00007f2bb0fe6bb1 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f2bb0e3f4cf in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007f2bb0d6c2d3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f2b97110700 (LWP 663)):
#0 0x00007f2bb0d66e9d in syscall () at /usr/lib/libc.so.6
#1 0x00007f2bb0fba531 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007f2bb15ccffe in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007f2bb0fe6bb1 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f2bb0e3f4cf in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007f2bb0d6c2d3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f2b97911700 (LWP 641)):
#0 0x00007f2bb0d66e9d in syscall () at /usr/lib/libc.so.6
#1 0x00007f2bb0fba531 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x000055e1da1c4e85 in ()
#3 0x00007f2bb0fe6bb1 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f2bb0e3f4cf in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007f2bb0d6c2d3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f2bad567700 (LWP 640)):
#0 0x00007f2bb0d619ef in poll () at /usr/lib/libc.so.6
#1 0x00007f2bb100a120 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f2bb100b0c3 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007f2bb1178bc8 in () at /usr/lib/libgio-2.0.so.0
#4 0x00007f2bb0fe6bb1 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f2bb0e3f4cf in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f2bb0d6c2d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f2badd68700 (LWP 639)):
#0 0x00007f2bb0d619ef in poll () at /usr/lib/libc.so.6
#1 0x00007f2bb100a120 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f2bb100a1f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f2bb100a242 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f2bb0fe6bb1 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f2bb0e3f4cf in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f2bb0d6c2d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f2baf82e700 (LWP 638)):
#0 0x00007f2bb0d66e9d in syscall () at /usr/lib/libc.so.6
#1 0x00007f2bb0fba531 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007f2bb1601804 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007f2bb0fe6bb1 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f2bb0e3f4cf in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007f2bb0d6c2d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f2bb0045380 (LWP 637)):
#0 0x00007f2bb0e4968c in read () at /usr/lib/libpthread.so.0
#1 0x00007f2bb22172ec in gimp_stack_trace_print () at /usr/lib/libgimpbase-2.0.so.0
#2 0x000055e1d9eca4c0 in ()
#3 0x000055e1d9eca918 in ()
#4 0x000055e1d9ecafab in ()
#5 0x00007f2bb0e4a930 in <signal handler called> () at /usr/lib/libpthread.so.0
#6 0x00007f2bb0ca8f25 in raise () at /usr/lib/libc.so.6
#7 0x00007f2bb0c92897 in abort () at /usr/lib/libc.so.6
#8 0x00007f2bb0c92767 in _nl_load_domain.cold () at /usr/lib/libc.so.6
#9 0x00007f2bb0ca1526 in () at /usr/lib/libc.so.6
#10 0x00007f2bb0b569f9 in () at /usr/lib/libX11.so.6
#11 0x00007f2bb0b56a9e in () at /usr/lib/libX11.so.6
#12 0x00007f2bb0b56d92 in _XEventsQueued () at /usr/lib/libX11.so.6
#13 0x00007f2bb0b48782 in XPending () at /usr/lib/libX11.so.6
#14 0x00007f2bb192ed27 in () at /usr/lib/libgdk-x11-2.0.so.0
#15 0x00007f2bb10088c2 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#16 0x00007f2bb100a0c8 in () at /usr/lib/libglib-2.0.so.0
#17 0x00007f2bb100b0c3 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#18 0x000055e1d9ec9c4e in app_run ()
#19 0x000055e1d9ec94ea in main ()
[Inferior 1 (process 637) detached]

```

This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 17 April 2023, 08:02 GMT
Reason for closing:  No response
Comment by freswa (frederik) - Monday, 20 January 2020, 00:49 GMT
Since what GIMP version does this happen?
Have tried to revert to an older version?
Comment by luke (justuser) - Thursday, 23 January 2020, 19:13 GMT
I've just tried 2.10.10 with libmypaint (downgrade to 1.3.0).
Same effect :(

```
GNU Image Manipulation Program version 2.10.10
git-describe: GIMP_2_10_8-775-g596f855749
C compiler:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto
Thread model: posix
gcc version 8.2.1 20181127 (GCC)

using GEGL version 0.4.18 (compiled against version 0.4.14)
using GLib version 2.62.4 (compiled against version 2.60.0)
using GdkPixbuf version 2.40.0 (compiled against version 2.38.1)
using GTK+ version 2.24.32 (compiled against version 2.24.32)
using Pango version 1.44.7 (compiled against version 1.43.0)
using Fontconfig version 2.13.91 (compiled against version 2.13.1)
using Cairo version 1.17.3 (compiled against version 1.16.0)

```
> fatal error: Aborted

Stack trace:
```

# Stack traces obtained from PID 69866 - Thread 69866 #

[New LWP 69867]
[New LWP 69868]
[New LWP 69869]
[New LWP 69870]
[New LWP 70033]
[New LWP 70034]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007f61c89f368c in read () from /usr/lib/libpthread.so.0
Id Target Id Frame
* 1 Thread 0x7f61c7bcdd00 (LWP 69866) "gimp" 0x00007f61c89f368c in read () from /usr/lib/libpthread.so.0
2 Thread 0x7f61c73b7700 (LWP 69867) "worker" 0x00007f61c8912e9d in syscall () from /usr/lib/libc.so.6
3 Thread 0x7f61c5922700 (LWP 69868) "gmain" 0x00007f61c890d9ef in poll () from /usr/lib/libc.so.6
4 Thread 0x7f61c5121700 (LWP 69869) "gdbus" 0x00007f61c890d9ef in poll () from /usr/lib/libc.so.6
5 Thread 0x7f61af911700 (LWP 69870) "async" 0x00007f61c8912e9d in syscall () from /usr/lib/libc.so.6
6 Thread 0x7f619ffff700 (LWP 70033) "swap writer" 0x00007f61c8912e9d in syscall () from /usr/lib/libc.so.6
7 Thread 0x7f61ae313700 (LWP 70034) "paint" 0x00007f61c8912e9d in syscall () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7f61ae313700 (LWP 70034)):
#0 0x00007f61c8912e9d in syscall () at /usr/lib/libc.so.6
#1 0x00007f61c8b85531 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x000055751564d164 in ()
#3 0x00007f61c8bb1bb1 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f61c89e94cf in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007f61c89182d3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f619ffff700 (LWP 70033)):
#0 0x00007f61c8912e9d in syscall () at /usr/lib/libc.so.6
#1 0x00007f61c8b85531 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007f61c927cffe in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007f61c8bb1bb1 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f61c89e94cf in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007f61c89182d3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f61af911700 (LWP 69870)):
#0 0x00007f61c8912e9d in syscall () at /usr/lib/libc.so.6
#1 0x00007f61c8b85531 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x0000557515899995 in ()
#3 0x00007f61c8bb1bb1 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f61c89e94cf in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007f61c89182d3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f61c5121700 (LWP 69869)):
#0 0x00007f61c890d9ef in poll () at /usr/lib/libc.so.6
#1 0x00007f61c8bd5120 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f61c8bd60c3 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007f61c8f72bc8 in () at /usr/lib/libgio-2.0.so.0
#4 0x00007f61c8bb1bb1 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f61c89e94cf in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f61c89182d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f61c5922700 (LWP 69868)):
#0 0x00007f61c890d9ef in poll () at /usr/lib/libc.so.6
#1 0x00007f61c8bd5120 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f61c8bd51f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f61c8bd5242 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f61c8bb1bb1 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f61c89e94cf in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f61c89182d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f61c73b7700 (LWP 69867)):
#0 0x00007f61c8912e9d in syscall () at /usr/lib/libc.so.6
#1 0x00007f61c8b85531 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007f61c92b1804 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007f61c8bb1bb1 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f61c89e94cf in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007f61c89182d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f61c7bcdd00 (LWP 69866)):
#0 0x00007f61c89f368c in read () at /usr/lib/libpthread.so.0
#1 0x00007f61c96e9121 in gimp_stack_trace_print () at /usr/lib/libgimpbase-2.0.so.0
#2 0x00005575155b1410 in ()
#3 0x00005575155b1868 in ()
#4 0x00005575155b1fd9 in ()
#5 0x00007f61c89f4930 in <signal handler called> () at /usr/lib/libpthread.so.0
#6 0x00007f61c8854f25 in raise () at /usr/lib/libc.so.6
#7 0x00007f61c883e897 in abort () at /usr/lib/libc.so.6
#8 0x00007f61c883e767 in _nl_load_domain.cold () at /usr/lib/libc.so.6
#9 0x00007f61c884d526 in () at /usr/lib/libc.so.6
#10 0x00007f61c87149f9 in () at /usr/lib/libX11.so.6
#11 0x00007f61c8714a9e in () at /usr/lib/libX11.so.6
#12 0x00007f61c8714d92 in _XEventsQueued () at /usr/lib/libX11.so.6
#13 0x00007f61c8706782 in XPending () at /usr/lib/libX11.so.6
#14 0x00007f61c97a5d27 in () at /usr/lib/libgdk-x11-2.0.so.0
#15 0x00007f61c8bd38c2 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#16 0x00007f61c8bd50c8 in () at /usr/lib/libglib-2.0.so.0
#17 0x00007f61c8bd60c3 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#18 0x00005575155b0bd7 in app_run ()
#19 0x00005575155b0481 in main ()
[Inferior 1 (process 69866) detached]

```
Comment by mattia (nTia89) - Sunday, 20 March 2022, 09:26 GMT
I cannot reproduce the issue. Is it still valid for you?

Loading...