Changes

Jump to: navigation, search

GEPS 029: GTK3-GObject introspection Conversion

168 bytes added, 11:54, 29 August 2012
m
How to investigate a hard crash?
== 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. First install python with debug symbols, in Ubuntu sudo apt-get install python-dbg Now, you can start python with gdb
$ > gdb python
(gdb) set env GRAMPSHOME GRAMPSCODE /path/to/code/gramps/src (gdb) set env PYTHONPATH $PYTHONPATH:$GRAMPSHOME:/usr/local/lib/python2.7/site-packages/ (gdb) r $GRAMPSHOMEGRAMPSCODE/gramps.py
...after the crash...
(gdb) bt

Navigation menu