1. Disable apport with /etc/init.d/apport stop
2. Stop gnocchi-metricd
3. Run gnocchi-metricd in foreground with gdb: gdb --args /usr/bin/python2.7 /usr/bin/python/gnocchi-metricd --debug
4. (gdb) run
5. Wait for it to crash :)
6. When it segfaults, at the (gdb) prompt type: bt full
The program might be slower while running with gdb.
Try that:
1. Disable apport with /etc/init.d/apport stop python/ gnocchi- metricd --debug
2. Stop gnocchi-metricd
3. Run gnocchi-metricd in foreground with gdb: gdb --args /usr/bin/python2.7 /usr/bin/
4. (gdb) run
5. Wait for it to crash :)
6. When it segfaults, at the (gdb) prompt type: bt full
The program might be slower while running with gdb.