]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ast_coredumper: Fix multiple issues
authorGeorge Joseph <gjoseph@sangoma.com>
Fri, 7 Nov 2025 21:39:12 +0000 (14:39 -0700)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Thu, 13 Nov 2025 20:51:08 +0000 (20:51 +0000)
commitbb506faaa71a198eda07a9e99ecbcb0e9fbc1fbc
tree1ff86154f86df109bcaabd20571a03f6e6a6cc7a
parent7d104d69a977987ec9d3b5fed7b92f3d55a8b3e1
ast_coredumper: Fix multiple issues

* Fixed an issue with tarball-coredumps when asterisk was invoked without an
absolute path.

* Fixed an issue with gdb itself segfaulting when trying to get symbols from
separate debuginfo files.  The command line arguments needed to be altered
such that the gdbinit files is loaded before anything else but the
`dump-asterisk` command is run after full initialization.

In the embedded gdbinit script:

* The extract_string_symbol function needed a `char *` cast to work properly.

* The s_strip function needed to be updated to continue to work with the
cpp_map_name_id channel storage backend.

* A new function was added to dump the channels when cpp_map_name_id was
used.

* The Channel object was updated to account for the new channel storage
backends

* The show_locks function was refactored to work correctly.
contrib/scripts/ast_coredumper