Skip to content

Make getting meaningful backtraces simpler

Guido Gunther requested to merge guido.gunther/phosh:simple-gdb into master

Running with G_DEBUG=fatal-critials can be cumbersome since it's

- run
- echo "bt" | coredumpctl gdb

and this doesn't work in the ci pipeline either. So run under gdb upfront instead by adding a -c option to the smoketests and a PHOSH_AUTO_GDB wrapper to _build/run.

Alterntives like libunwind/libSegFault didn't provide enough information in the traces.

Edited by Guido Gunther

Merge request reports