]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ast_coredumper: Fix multiple issues 21
authorGeorge Joseph <gjoseph@sangoma.com>
Fri, 7 Nov 2025 21:39:12 +0000 (14:39 -0700)
committerGeorge Joseph <gjoseph@sangoma.com>
Thu, 13 Nov 2025 20:51:01 +0000 (20:51 +0000)
commit0283157ef1ba790c5bba1ff7a6ddac0ca60a96bc
treed6c775e6210ac82f1f07270a82bca91adf36d94d
parent6c494ca2046cff28e63730d90d42c6d542048c4f
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