Hello Patrik,
I just tried to collect some information and reconstruct
the given backtrace with some line information [1].

This gimp_text_tool_move_cursor leads to this upstream
bug reports [2]. Unfortunately all closed without result.

There are a few more upstream reports with g_utf8_get_char [3],
all with some non-latin characters, but all seem not
reproducible.

@Patrik, can you provide the text you wanted to enter?
Had it contained some "special" e.g. non-latin characters?
When you try it again, does it crash again?
If yes, maybe describe exactly the actions shortly before the crash?

Kind regards,
Bernhard



[1]
   #7  0x00007fbc1a3819a0 in g_utf8_get_char at ../../../glib/gutf8.c:336 at 
libglib-2.0.so.0
   #8  0x000055928b983ae0 in gimp_text_tool_move_cursor at 
./app/tools/gimptexttool-editor.c:900 at gimp
   #9  0x00007fbc1a4463b0 in in g_closure_invoke at 
../../../gobject/gclosure.c:832 at libgobject-2.0.so.0
   #10 0x00007fbc1a459076 in signal_emit_unlocked_R at 
../../../gobject/gsignal.c:3796 at libgobject-2.0.so.0

   https://sources.debian.org/src/glib2.0/2.74.2-1/glib/gutf8.c/#L336
   335   gunichar result;
   336   unsigned char c = (unsigned char) *p;
   337

   
https://sources.debian.org/src/gimp/2.10.32-1/app/tools/gimptexttool-editor.c/#L900
   899                   if (new_index != -1 && new_index != G_MAXINT &&
   900                       g_utf8_get_char (text + new_index) == word_joiner)
   901                     {


[2]
   https://gitlab.gnome.org/GNOME/gimp/-/issues/7019
   https://gitlab.gnome.org/GNOME/gimp/-/issues/4408
   https://gitlab.gnome.org/GNOME/gimp/-/issues/3960
   https://gitlab.gnome.org/GNOME/gimp/-/issues/3643
   https://gitlab.gnome.org/GNOME/gimp/-/issues/3460

[3]
   https://gitlab.gnome.org/GNOME/gimp/-/issues/6468
   https://gitlab.gnome.org/GNOME/gimp/-/issues/6704
   https://gitlab.gnome.org/GNOME/gimp/-/issues/6794

Reply via email to