/usr/share/darktable/gdb_commands is in darktable 1.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3
set logging redirect on where thread apply all bt full