[asterisk-bugs] [JIRA] (ASTERISK-28578) race condition on pjsip channelstats command

Salah Ahmed (JIRA) noreply at issues.asterisk.org
Thu Oct 10 06:41:47 CDT 2019


Salah Ahmed created ASTERISK-28578:
--------------------------------------

             Summary: race condition on pjsip channelstats command
                 Key: ASTERISK-28578
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28578
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_pjsip
    Affects Versions: 13.28.0
            Reporter: Salah Ahmed
            Severity: Minor


Hello,

Recently we experienced a crash. This crash happened during execute "pjsip show channelstats" by an external module. It seems this is a separate thread running to fetch and print rtp stats. Actually the crash happened on ao2_lock, 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. 

Thanks,
Salah



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list