Crash while editing text
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gimp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I don't have a 100% reproduction, but this happened a few times in a row while editing multiline Chinese text into an image. Let me know if there's more info you need. Ubuntu 21.04.
```
GNU Image Manipulation Program version 2.10.22
git-describe: GIMP_2_
Build: unknown rev 0 for linux
# C compiler #
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_
OFFLOAD_
OFFLOAD_
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.1 20210312 (Ubuntu 10.2.1-23ubuntu1)
# Libraries #
using babl version 0.1.86 (compiled against version 0.1.86)
using GEGL version 0.4.28 (compiled against version 0.4.28)
using GLib version 2.68.0 (compiled against version 2.67.5)
using GdkPixbuf version 2.42.2 (compiled against version 2.42.2)
using GTK+ version 2.24.33 (compiled against version 2.24.33)
using Pango version 1.48.2 (compiled against version 1.48.2)
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 376005 - Thread 376005 #
[New LWP 376006]
[New LWP 376007]
[New LWP 376008]
[New LWP 376009]
[New LWP 376010]
[New LWP 376011]
[New LWP 376012]
[New LWP 376013]
[New LWP 376014]
[New LWP 376015]
[New LWP 376098]
__libc_read (nbytes=256, buf=0x7fffcda08910, fd=17) at ../sysdeps/
[31mCannot write the dashboard
Traceback (most recent call last):
File "<string>", line 384, in render
File "<string>", line 463, in get_term_width
OSError: [Errno 25] Inappropriate ioctl for device
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 386, in render
File "<string>", line 463, in get_term_width
OSError: [Errno 25] Inappropriate ioctl for device[0m
Id Target Id Frame
* 1 LWP 376005 "gimp" __libc_read (nbytes=256, buf=0x7fffcda08910, fd=17) at ../sysdeps/
2 LWP 376006 "worker" syscall () at ../sysdeps/
3 LWP 376007 "worker" syscall () at ../sysdeps/
4 LWP 376008 "worker" syscall () at ../sysdeps/
5 LWP 376009 "worker" syscall () at ../sysdeps/
6 LWP 376010 "worker" syscall () at ../sysdeps/
7 LWP 376011 "worker" syscall () at ../sysdeps/
8 LWP 376012 "worker" syscall () at ../sysdeps/
9 LWP 376013 "gmain" 0x00007f05d0d4f22f in __GI___poll (fds=0x564abdac
10 LWP 376014 "gdbus" 0x00007f05d0d4f22f in __GI___poll (fds=0x564abdae
11 LWP 376015 "async" syscall () at ../sysdeps/
12 LWP 376098 "swap writer" syscall () at ../sysdeps/
Thread 12 (LWP 376098 "swap writer"):
#0 syscall () at ../sysdeps/
No locals.
#1 0x00007f05d104ad13 in g_cond_wait () from /lib/x86_
No symbol table info available.
#2 0x00007f05d1545fed in ?? () from /lib/x86_
No symbol table info available.
#3 0x00007f05d102b7f1 in ?? () from /lib/x86_
No symbol table info available.
#4 0x00007f05d0e38450 in start_thread (arg=0x7f059aa0
ret = <optimized out>
pd = 0x7f059aa02640
unwind_buf = {
}},
priv = {
pad = {[0] = 0x0, [1] = 0x0, [2] = 0x0, [3] = 0x0},
data = {
prev = 0x0,
}
}
}
#5 0x00007f05d0d5ad53 in clone () at ../sysdeps/
No locals.
Thread 11 (LWP 376015 "async"):
#0 syscall () at ../sysdeps/
No locals.
#1 0x00007f05d104ad13 in g_cond_wait () from /lib/x86_
No symbol table info available.
#2 0x0000564abd33b74f in ?? ()
No symbol table info available.
#3 0x00007f05d102b7f1 in ?? () from /lib/x86_
No symbol table info available.
#4 0x00007f05d0e38450 in start_thread (arg=0x7f059b20
ret = <optimized out>
pd = 0x7f059b203640
unwind_buf = {
}},
priv = {
pad = {[0] = 0x0, [1] = 0x0, [2] = 0x0, [3] = 0x0},
data = {
prev = 0x0,
}
}
}
#5 0x00007f05d0d5ad53 in clone () at ../sysdeps/
No locals.
Thread 10 (LWP 376014 "gdbus"):
#0 0x00007f05d0d4f22f in __GI___poll (fds=0x564abdae
sc_ret = -516
sc_ret = <optimized out>
#1 0x00007f05d1050c06 in ?? () from /lib/x86_
No symbol table info available.
#2 0x00007f05d0ffcdb3 in g_main_loop_run () from /lib/x86_
No symbol table info available.
#3 0x00007f05d128695a in ?? () from /lib/x86_
No symbol table info available.
#4 0x00007f05d102b7f1 in ?? () from /lib/x86_
No symbol table info available.
#5 0x00007f05d0e38450 in start_thread (arg=0x7f05b5a4
ret = <optimized out>
pd = 0x7f05b5a42640
unwind_buf = {
}},
priv = {
pad = {[0] = 0x0, [1] = 0x0, [2] = 0x0, [3] = 0x0},
data = {
prev = 0x0,
}
}
}
#6 0x00007f05d0d5ad53 in clone () at ../sysdeps/
No locals.
Thread 9 (LWP 376013 "gmain"):
#0 0x00007f05d0d4f22f in __GI___poll (fds=0x564abdac
sc_ret = -516
sc_ret = <optimized out>
#1 0x00007f05d1050c06 in ?? () from /lib/x86_
No symbol table info available.
#2 0x00007f05d0ffaf83 in g_main_
No symbol table info available.
#3 0x00007f05d0ffafd1 in ?? () from /lib/x86_
No symbol table info available.
#4 0x00007f05d102b7f1 in ?? () from /lib/x86_
No symbol table info available.
#5 0x00007f05d0e38450 in start_thread (arg=0x7f05b624
ret = <optimized out>
pd = 0x7f05b6243640
unwind_buf = {
}},
priv = {
pad = {[0] = 0x0, [1] = 0x0, [2] = 0x0, [3] = 0x0},
data = {
prev = 0x0,
}
}
}
#6 0x00007f05d0d5ad53 in clone () at ../sysdeps/
No locals.
Thread 8 (LWP 376012 "worker"):
#0 syscall () at ../sysdeps/
No locals.
#1 0x00007f05d104ad13 in g_cond_wait () from /lib/x86_
No symbol table info available.
#2 0x00007f05d150b36b in ?? () from /lib/x86_
No symbol table info available.
#3 0x00007f05d102b7f1 in ?? () from /lib/x86_
No symbol table info available.
#4 0x00007f05d0e38450 in start_thread (arg=0x7f05b7ff
ret = <optimized out>
pd = 0x7f05b7fff640
unwind_buf = {
}},
priv = {
pad = {[0] = 0x0, [1] = 0x0, [2] = 0x0, [3] = 0x0},
data = {
prev = 0x0,
}
}
}
#5 0x00007f05d0d5ad53 in clone () at ../sysdeps/
No locals.
Thread 7 (LWP 376011 "worker"):
#0 syscall () at ../sysdeps/
No locals.
#1 0x00007f05d104ad13 in g_cond_wait () from /lib/x86_
No symbol table info available.
#2 0x00007f05d150b36b in ?? () from /lib/x86_
No symbol table info available.
#3 0x00007f05d102b7f1 in ?? () from /lib/x86_
No symbol table info available.
#4 0x00007f05d0e38450 in start_thread (arg=0x7f05cc8e
ret = <optimized out>
pd = 0x7f05cc8e8640
unwind_buf = {
}},
priv = {
pad = {[0] = 0x0, [1] = 0x0, [2] = 0x0, [3] = 0x0},
data = {
prev = 0x0,
}
}
}
#5 0x00007f05d0d5ad53 in clone () at ../sysdeps/
No locals.
Thread 6 (LWP 376010 "worker"):
#0 syscall () at ../sysdeps/
No locals.
#1 0x00007f05d104ad13 in g_cond_wait () from /lib/x86_
No symbol table info available.
#2 0x00007f05d150b36b in ?? () from /lib/x86_
No symbol table info available.
#3 0x00007f05d102b7f1 in ?? () from /lib/x86_
No symbol table info available.
#4 0x00007f05d0e38450 in start_thread (arg=0x7f05cd0e
ret = <optimized out>
pd = 0x7f05cd0e9640
unwind_buf = {
}},
priv = {
pad = {[0] = 0x0, [1] = 0x0, [2] = 0x0, [3] = 0x0},
data = {
prev = 0x0,
}
}
}
#5 0x00007f05d0d5ad53 in clone () at ../sysdeps/
No locals.
Thread 5 (LWP 376009 "worker"):
#0 syscall () at ../sysdeps/
No locals.
#1 0x00007f05d104ad13 in g_cond_wait () from /lib/x86_
No symbol table info available.
#2 0x00007f05d150b36b in ?? () from /lib/x86_
No symbol table info available.
#3 0x00007f05d102b7f1 in ?? () from /lib/x86_
No symbol table info available.
#4 0x00007f05d0e38450 in start_thread (arg=0x7f05cd8e
ret = <optimized out>
pd = 0x7f05cd8ea640
unwind_buf = {
}},
priv = {
pad = {[0] = 0x0, [1] = 0x0, [2] = 0x0, [3] = 0x0},
data = {
prev = 0x0,
}
}
}
#5 0x00007f05d0d5ad53 in clone () at ../sysdeps/
No locals.
Thread 4 (LWP 376008 "worker"):
#0 syscall () at ../sysdeps/
No locals.
#1 0x00007f05d104ad13 in g_cond_wait () from /lib/x86_
No symbol table info available.
#2 0x00007f05d150b36b in ?? () from /lib/x86_
No symbol table info available.
#3 0x00007f05d102b7f1 in ?? () from /lib/x86_
No symbol table info available.
#4 0x00007f05d0e38450 in start_thread (arg=0x7f05ce0e
ret = <optimized out>
pd = 0x7f05ce0eb640
unwind_buf = {
}},
priv = {
pad = {[0] = 0x0, [1] = 0x0, [2] = 0x0, [3] = 0x0},
data = {
prev = 0x0,
}
}
}
#5 0x00007f05d0d5ad53 in clone () at ../sysdeps/
No locals.
Thread 3 (LWP 376007 "worker"):
#0 syscall () at ../sysdeps/
No locals.
#1 0x00007f05d104ad13 in g_cond_wait () from /lib/x86_
No symbol table info available.
#2 0x00007f05d150b36b in ?? () from /lib/x86_
No symbol table info available.
#3 0x00007f05d102b7f1 in ?? () from /lib/x86_
No symbol table info available.
#4 0x00007f05d0e38450 in start_thread (arg=0x7f05ce8e
ret = <optimized out>
pd = 0x7f05ce8ec640
unwind_buf = {
}},
priv = {
pad = {[0] = 0x0, [1] = 0x0, [2] = 0x0, [3] = 0x0},
data = {
prev = 0x0,
}
}
}
#5 0x00007f05d0d5ad53 in clone () at ../sysdeps/
No locals.
Thread 2 (LWP 376006 "worker"):
#0 syscall () at ../sysdeps/
No locals.
#1 0x00007f05d104ad13 in g_cond_wait () from /lib/x86_
No symbol table info available.
#2 0x00007f05d150b36b in ?? () from /lib/x86_
No symbol table info available.
#3 0x00007f05d102b7f1 in ?? () from /lib/x86_
No symbol table info available.
#4 0x00007f05d0e38450 in start_thread (arg=0x7f05cf0e
ret = <optimized out>
pd = 0x7f05cf0ed640
unwind_buf = {
}},
priv = {
pad = {[0] = 0x0, [1] = 0x0, [2] = 0x0, [3] = 0x0},
data = {
prev = 0x0,
}
}
}
#5 0x00007f05d0d5ad53 in clone () at ../sysdeps/
No locals.
Thread 1 (LWP 376005 "gimp"):
#0 __libc_read (nbytes=256, buf=0x7fffcda08910, fd=17) at ../sysdeps/
sc_ret = -512
__arg3 = <optimized out>
_a2 = <optimized out>
sc_ret = <optimized out>
__value = <optimized out>
sc_ret = <optimized out>
__arg1 = <optimized out>
_a3 = <optimized out>
resultvar = <optimized out>
__arg2 = <optimized out>
_a1 = <optimized out>
#1 __libc_read (fd=17, buf=0x7fffcda08910, nbytes=256) at ../sysdeps/
No locals.
#2 0x00007f05d1989b8c in gimp_stack_
No symbol table info available.
#3 0x0000564abd02e7ae in ?? ()
No symbol table info available.
#4 0x0000564abd02e86e in gimp_fatal_error ()
No symbol table info available.
#5 0x0000564abd02e8cd in ?? ()
No symbol table info available.
#6 <signal handler called>
No locals.
#7 0x00007f05d1ca22ec in ?? () from /lib/x86_
No symbol table info available.
#8 0x00007f05d1ca3dc7 in gtk_text_
No symbol table info available.
#9 0x00007f05d1ca5a05 in ?? () from /lib/x86_
No symbol table info available.
#10 0x00007f05d1ca5bf4 in ?? () from /lib/x86_
No symbol table info available.
#11 0x00007f05d1ca3564 in ?? () from /lib/x86_
No symbol table info available.
#12 0x0000564abd0e7f9f in gimp_text_
No symbol table info available.
#13 0x00007f05d10f1bcf in g_closure_invoke () from /lib/x86_
No symbol table info available.
#14 0x00007f05d111b81b in ?? () from /lib/x86_
No symbol table info available.
#15 0x00007f05d110f638 in g_signal_
No symbol table info available.
#16 0x00007f05d110f893 in g_signal_emit () from /lib/x86_
No symbol table info available.
#17 0x0000564abd1464bc in gimp_motion_
No symbol table info available.
#18 0x0000564abd142503 in ?? ()
No symbol table info available.
#19 0x0000564abd1318a1 in gimp_display_
No symbol table info available.
#20 0x00007f05d1bfa31b in ?? () from /lib/x86_
No symbol table info available.
#21 0x00007f05d10f1bcf in g_closure_invoke () from /lib/x86_
No symbol table info available.
#22 0x00007f05d111b81b in ?? () from /lib/x86_
No symbol table info available.
#23 0x00007f05d110f046 in g_signal_
No symbol table info available.
#24 0x00007f05d110f893 in g_signal_emit () from /lib/x86_
No symbol table info available.
#25 0x00007f05d1d1dc74 in ?? () from /lib/x86_
No symbol table info available.
#26 0x00007f05d1bf8854 in gtk_propagate_event () from /lib/x86_
No symbol table info available.
#27 0x00007f05d1bf8ccb in gtk_main_do_event () from /lib/x86_
No symbol table info available.
#28 0x00007f05d1a5b400 in ?? () from /lib/x86_
No symbol table info available.
#29 0x00007f05d0ffd84b in g_main_
No symbol table info available.
#30 0x00007f05d1050c68 in ?? () from /lib/x86_
No symbol table info available.
#31 0x00007f05d0ffcdb3 in g_main_loop_run () from /lib/x86_
No symbol table info available.
#32 0x0000564abd033b32 in app_run ()
No symbol table info available.
#33 0x0000564abd02977e in main ()
No symbol table info available.
[Inferior 1 (process 376005) detached]
```
I later noticed that by mistake due to Chinese input madness, the font size was huge 500000, and on futher sessions I got a graceful popup "Your text cannot be rendered. It is likely too big. Please make it shorter or use a smaller font.", might be related.