← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 2031907] Re: gimp is segfaulting on startup

 

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.

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to gimp in Ubuntu.
https://bugs.launchpad.net/bugs/2031907

Title:
  gimp is segfaulting on startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/2031907/+subscriptions