Ok, that worked. Here's the output from GDB:
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<
http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<
http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from geany...(no debugging symbols found)...done.
(gdb) run -i project.geany
Starting program: /usr/bin/geany -i project.geany
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffed1a9700 (LWP 6825)]
[New Thread 0x7fffec9a8700 (LWP 6826)]
[New Thread 0x7fffe7fff700 (LWP 6827)]
[New Thread 0x7fffe77fe700 (LWP 6828)]
[Thread 0x7fffe7fff700 (LWP 6827) exited]
Thread 1 "geany" received signal SIGSEGV, Segmentation fault.
0x00007fffe545c801 in PyModule_AddObject () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0