]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Crash during "pjsip show channelstats" execution
authorSalah Ahmed <sahmed@voxbone.com>
Fri, 18 Oct 2019 09:22:22 +0000 (11:22 +0200)
committerSalah Ahmed <txrubel@gmail.com>
Fri, 18 Oct 2019 09:32:04 +0000 (04:32 -0500)
commitddb0091da5b34e492b4950851618ef7c28c84e9b
tree9e532f2d3e3df363ff17d29d61b0e8114f849370
parent5ca9efda7bb12a0c48cd6ed0f5e853ca88b3328f
Crash during "pjsip show channelstats" execution

During execution "pjsip show channelstats" cli command by an
external module asterisk crashed. It seems this is a separate
thread running to fetch and print rtp stats. The crash happened on
the ao2_lock method, just before it going to read the rtp stats on
a rtp instance. According to gdb backtrace log, it seems the
session media was already cleaned up at that moment.

ASTERISK-28578

Change-Id: I3e05980dd4694577be6d39be2c21a5736bae3c6f
channels/pjsip/cli_commands.c