$ gdb app/gimp-2.6 [ blah blah GPLv3 blah license blah ] (gdb) run
Run until it crashes, then use where.
$ gdb app/gimp-2.6 [ blah blah GPLv3 blah license blah ] (gdb) run
Run until it crashes, then use where.
If you want a homework assignment, download the gdb source code and figure out how to turn it off.
Hint: the easy (though inelegant) way is to find where it prints all the license stuff, and just have it print nothing instead.