Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-20439

Asterisk crash in RTP stack (segfault)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 13
    • Fix Version/s: None
    • Component/s: asterisk
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      13.22.0
    • Distro Version:
      14.0.13.4
    • Distro:
      FreePBX Distro

      Description

      Our asterisk server crashed today from a segfault. Checking the asterisk full log I show no entries outside of the norm around the time of the crash. Will attach dump files from ast_coredumper to this message.

      from messages:

      
      Aug 15 22:55:01 dc3-freepbx1 kernel: asterisk[22547]: segfault at 10000000f ip 00007fa58b442c80 sp 00007fa4a90a4c18 error 4 in libpthread-2.
      17.so[7fa58b439000+17000]
      

      Info from thread1.txt which points at res_rtp_asterisk.so:

      
      !@!@!@! thread1.txt !@!@!@!$1 = {si_signo = 11, si_errno = 0, si_code = 1, _sifields = {_pad = {15, 1, 0, 0, -1464861232, -27066, -1765168919, -1, 0 <repeats 20 times>}, _kill = {si_pid = 15, si_uid = 1}, _timer = {si_tid = 15, si_overrun = 1, si_sigval = {sival_int = 0, sival_ptr = 0x0}}, _rt = {si_pid = 15, si_uid = 1, si_sigval = {sival_int = 0, sival_ptr = 0x0}}, _sigchld = {si_pid = 15, si_uid = 1, si_status = 0, si_utime = -6291531084618268672, si_stime = -7581342774725732794}, _sigfault = {si_addr = 0x10000000f}, _sigpoll = {si_band = 4294967311, si_fd = 0}}}
      Signal        Stop      Print   Pass to program Description
      SIGSEGV       Yes       Yes     Yes             Segmentation faultThread 1 (Thread 0x7fa4a90a5700 (LWP 22547)):
      #0  0x00007fa58b442c80 in pthread_mutex_lock () from /lib64/libpthread.so.0
      No symbol table info available.
      #1  0x00007fa58d0d43ec in pj_mutex_lock () from /lib64/libasteriskpj.so.2
      No symbol table info available.
      #2  0x00007fa58d0d3ed2 in pj_atomic_dec_and_get () from /lib64/libasteriskpj.so.2
      No symbol table info available.
      #3  0x00007fa58d0dc388 in grp_lock_dec_ref () from /lib64/libasteriskpj.so.2
      No symbol table info available.
      #4  0x00007fa58d0dc3e9 in pj_grp_lock_dec_ref () from /lib64/libasteriskpj.so.2
      No symbol table info available.
      #5  0x00007fa58d0ebc08 in pj_timer_heap_poll () from /lib64/libasteriskpj.so.2
      No symbol table info available.
      #6  0x00007fa4aa87d588 in timer_worker_thread () from /usr/lib64/asterisk/modules/res_rtp_asterisk.so
      No symbol table info available.
      #7  0x00007fa58d0d395a in thread_main () from /lib64/libasteriskpj.so.2
      No symbol table info available.
      #8  0x00007fa58b440e25 in start_thread () from /lib64/libpthread.so.0
      No symbol table info available.
      #9  0x00007fa58a71ebad in clone () from /lib64/libc.so.6
      No symbol table info available.
      
      

      full log around the time of the crash:

      
      [2019-08-15 22:55:01] VERBOSE[22488] asterisk.c: Remote UNIX connection
      [2019-08-15 22:55:01] VERBOSE[39581] asterisk.c: Remote UNIX connection disconnected
      [2019-08-15 22:55:15] Asterisk 13.22.0 built by mockbuild @ jenkins7 on a x86_64 running Linux on 2018-07-25 22:30:39 UTC
      [2019-08-15 22:55:15] VERBOSE[40062] message.c: Message handler 'dialplan' registered.
      

      I don't show any available updates from 13.22 to a later build like 13.25

      
      [root@dc3-freepbx1 ~]# yum install asterisk13
      Loaded plugins: fastestmirror, versionlock
      Loading mirror speeds from cached hostfile
      Package asterisk13-13.22.0-1.sng7.x86_64 already installed and latest version
      Nothing to do
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jhayhoe jhayhoe
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.