Asterisk
  1. Asterisk
  2. ASTERISK-29205

res_rtp_asterisk: Asterisk crashes when making hold/unhold from webrtc client

    Details

    • Frequency of Occurrence:
      Constant
    • PJSIP Bundled:
      Yes

      Description

      Hi,
      I have two clients (both audio and video) connected to Asterisk using webrtc. On asterisk there is ARI application. Both clients are in sfu bridge and communication works OK. I have implemented local hold/unhold. Hold disables all tracks and set direction to inactive. So far all works ok. But when I click hold/unhold very quickly 20+ times asterisk will crash. From my side this is 100% repeatable. I'm not sure if this happens only when hold/unhold quickly changes or it may happens (what concerns me) after long time uses. I have included backtrace, I hope it has necessary information.

      br
      edvin

      1. 0001-res_rtp_asterisk.c-Fix-unsigned-comparison-that-lead.patch
        1 kB
        Sean Bright
      2. ari-traffic.txt
        45 kB
        Edvin Vidmar
      3. core-full.txt
        239 kB
        Edvin Vidmar
      4. full
        183 kB
        Edvin Vidmar
      5. full-with-sip
        2.89 MB
        Edvin Vidmar
      6. messages
        1 kB
        Edvin Vidmar

        Issue Links

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          Hide
          Friendly Automation added a comment -

          Change 15486 merged by George Joseph:
          res_rtp_asterisk.c: Fix signed mismatch that leads to overflow

          https://gerrit.asterisk.org/c/asterisk/+/15486

          Show
          Friendly Automation added a comment - Change 15486 merged by George Joseph: res_rtp_asterisk.c: Fix signed mismatch that leads to overflow https://gerrit.asterisk.org/c/asterisk/+/15486
          Hide
          Friendly Automation added a comment -

          Change 15485 merged by George Joseph:
          res_rtp_asterisk.c: Fix signed mismatch that leads to overflow

          https://gerrit.asterisk.org/c/asterisk/+/15485

          Show
          Friendly Automation added a comment - Change 15485 merged by George Joseph: res_rtp_asterisk.c: Fix signed mismatch that leads to overflow https://gerrit.asterisk.org/c/asterisk/+/15485
          Hide
          Friendly Automation added a comment -

          Change 15483 merged by George Joseph:
          res_rtp_asterisk.c: Fix signed mismatch that leads to overflow

          https://gerrit.asterisk.org/c/asterisk/+/15483

          Show
          Friendly Automation added a comment - Change 15483 merged by George Joseph: res_rtp_asterisk.c: Fix signed mismatch that leads to overflow https://gerrit.asterisk.org/c/asterisk/+/15483
          Hide
          Friendly Automation added a comment -

          Change 15488 merged by George Joseph:
          res_rtp_asterisk.c: Fix signed mismatch that leads to overflow

          https://gerrit.asterisk.org/c/asterisk/+/15488

          Show
          Friendly Automation added a comment - Change 15488 merged by George Joseph: res_rtp_asterisk.c: Fix signed mismatch that leads to overflow https://gerrit.asterisk.org/c/asterisk/+/15488
          Hide
          Friendly Automation added a comment -

          Change 15476 merged by George Joseph:
          res_rtp_asterisk.c: Fix signed mismatch that leads to overflow

          https://gerrit.asterisk.org/c/asterisk/+/15476

          Show
          Friendly Automation added a comment - Change 15476 merged by George Joseph: res_rtp_asterisk.c: Fix signed mismatch that leads to overflow https://gerrit.asterisk.org/c/asterisk/+/15476

            People

            • Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: