Asterisk
  1. Asterisk
  2. ASTERISK-26685

res_pjsip: Crash when using IPv6 and Transport ws,wss

    Details

    • Type: Bug Bug
    • Status: Closed
    • Severity: Major Major
    • Resolution: Fixed
    • Affects Version/s: 13.9.0, 13.13.1
    • Target Release Version/s: 13.15.0, 14.4.0, 15.0.0
    • Component/s: Resources/res_pjsip
    • Security Level: None
    • Labels:
      None
    • Environment:
      WSS over IPv6 or IPv6 via WS through Stunnel
      Qualify is set to 30sec for endpoint
    • Frequency of Occurrence:
      Constant

      Description

      <partial backtrace removed>

      When register via ws or wss @asterisk with jssip-0.3 within IPv6 infrastructure segfault occurs.
      After that asterisk crash aprox 30 sec after next start with the same segfault in line 337 (without connecting anymore or anything).

      I think it want to test the reachablity of the astdb entries because of qualify.
      To make asterisk run again, I had to delete the astdb.sqlite file manually.

      1. astdb_contents.txt
        1 kB
        Michael Balen
      2. backtrace.txt
        54 kB
        Michael Balen

        Issue Links

          Activity

          Hide
          Asterisk Team added a comment -

          Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

          A good first step is for you to review the Asterisk Issue Guidelines if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

          Then, if you are submitting a patch, please review the Patch Contribution Process.

          Show
          Asterisk Team added a comment - Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the Asterisk Issue Guidelines if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the Patch Contribution Process .
          Hide
          Michael Balen added a comment -

          These are some records values.
          The first ist what is left when I register via IPv4.
          The others when register with IPv6

          Show
          Michael Balen added a comment - These are some records values. The first ist what is left when I register via IPv4. The others when register with IPv6
          Hide
          Friendly Automation added a comment -

          Change 5134 merged by Joshua Colp:
          res_pjsip_transport_websocket: Add support for IPv6.

          https://gerrit.asterisk.org/5134

          Show
          Friendly Automation added a comment - Change 5134 merged by Joshua Colp: res_pjsip_transport_websocket: Add support for IPv6. https://gerrit.asterisk.org/5134
          Hide
          Friendly Automation added a comment -

          Change 5135 merged by Joshua Colp:
          res_pjsip_transport_websocket: Add support for IPv6.

          https://gerrit.asterisk.org/5135

          Show
          Friendly Automation added a comment - Change 5135 merged by Joshua Colp: res_pjsip_transport_websocket: Add support for IPv6. https://gerrit.asterisk.org/5135
          Hide
          Friendly Automation added a comment -

          Change 5136 merged by zuul:
          res_pjsip_transport_websocket: Add support for IPv6.

          https://gerrit.asterisk.org/5136

          Show
          Friendly Automation added a comment - Change 5136 merged by zuul: res_pjsip_transport_websocket: Add support for IPv6. https://gerrit.asterisk.org/5136

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development