Well, _this_ is fascinating.
I downloaded and built gimp from source:
sudo apt install dpkg-dev devscripts cd /tmp sudo apt source gimp sudo apt build-dep gimp cd gimp-2.10.34 sudo debuild
Then I modified app/gimp-2.10 to use "exec gdb" instead of "exec" to run gimp.
Then I made sure gdb would be able to find the source code:
sudo ln -s /tmp/gimp-2.10.34 /usr/src/gimp-2.10.34-1
Then I ran app/gimp-2.10 and reproduced the crash.
The money shot:
(gdb) up #3 0x000055555599df5a in gimp_object_name_normalize (object=0x55555800b2b0) at core/gimpobject.c:399 399 gchar *key = g_utf8_collate_key (object->p->name, -1); (gdb) print object->p->name $4 = (gchar *) 0x555558082ad0 "Logitech a\267\342\004"
Well, that certainly looks like a string missing a null terminator, eh?
And then I made the crash go away... by unplugging my Logitech mouse's USB dongle and plugging it back in.
Well, _this_ is fascinating.
I downloaded and built gimp from source:
sudo apt install dpkg-dev devscripts
cd /tmp
sudo apt source gimp
sudo apt build-dep gimp
cd gimp-2.10.34
sudo debuild
Then I modified app/gimp-2.10 to use "exec gdb" instead of "exec" to run gimp.
Then I made sure gdb would be able to find the source code:
sudo ln -s /tmp/gimp-2.10.34 /usr/src/ gimp-2. 10.34-1
Then I ran app/gimp-2.10 and reproduced the crash.
The money shot:
(gdb) up name_normalize (object= 0x55555800b2b0) .c:399
#3 0x000055555599df5a in gimp_object_
at core/gimpobject
399 gchar *key = g_utf8_collate_key (object->p->name, -1);
(gdb) print object->p->name
$4 = (gchar *) 0x555558082ad0 "Logitech a\267\342\004"
Well, that certainly looks like a string missing a null terminator, eh?
And then I made the crash go away... by unplugging my Logitech mouse's USB dongle and plugging it back in.