2,037
edits
Changes
m
no edit summary
== Related Gramps Bugs ==
* #{{bug|5009}}: Use gobject introspection for GTK 3 dependency
== How to investigate a hard crash?==
With GTK 3, hard crashes are a lot more likely than before. Very troubling for a python developer, as you do not know where the crash happens. So, to investigate these, do the following:
$ > gdb python
(gdb) set env GRAMPSHOME /path/to/gramps/src
(gdb) set env PYTHONPATH $PYTHONPATH:$GRAMPSHOME
(gdb) r $GRAMPSHOME/gramps.py
...after the crash...
(gdb) bt
This works best if you have the debug symbols installed for everything relevant, or are running from a self-built tree.
[[Category:GEPS|G]]