[asterisk-bugs] [JIRA] (ASTERISK-27930) PJSIP TCP Segfault.

Anna (JIRA) noreply at issues.asterisk.org
Thu Jun 21 01:28:54 CDT 2018


Anna created ASTERISK-27930:
-------------------------------

             Summary: PJSIP TCP Segfault.
                 Key: ASTERISK-27930
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27930
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_pjsip
    Affects Versions: 13.21.0, 13.20.0, 13.19.2, 13.19.1, 13.19.0
         Environment: Virtual box on VMWare
CentOS Linux release 7.4.1708 (Core) 
Linux  3.10.0-693.5.2.el7.x86_64
CPU: 4 cores, Intel(R) Xeon(R) CPU E5-2637 v2 @ 3.50GHz
RAM: 6GB
            Reporter: Anna


Hello,

I experience random segfault crashes on Asterisk 13 setup with pjsip. Crashes happen for no apparent reason, it can be twice a day, can be once in 2 weeks. I have 2 servers with the same configuration and they both segfault from time to time. I can't reproduce this crash and don't know what is the reason.
I created a topic on Asterisk community and was advised to update my version since there is some issue with PJSIP using TCP protocol and if that won't help then i need to submit issue here.
https://community.asterisk.org/t/segmentation-fault-asterisk-13-19-0/74289/9

My asterisk is build from source with these options:
PBX Core settings
-----------------
  Version:                     13.21.0
  Build Options:               DONT_OPTIMIZE, DEBUG_THREADS, BETTER_BACKTRACES, BUILD_NATIVE, OPTIONAL_API
  Maximum calls:               10000 (Current 4)
  Maximum open file handles:   10000
  Root console verbosity:      4
  Current console verbosity:   4
  Debug level:                 0
  Maximum load average:        10.000000
  Minimum free memory:         0 MB
  Startup time:                08:28:10
  Last reload time:            08:28:10
  System:                      Linux/3.10.0-693.5.2.el7.x86_64 built by root on x86_64 2018-05-31 11:24:50 UTC
  System name:                 
  Entity ID:                   MY_MAC
  PBX UUID:                    592b015e-a035-4b57-9bbe-8d8f785d663d
  Default language:            en
  Language prefix:             Enabled
  User name and group:         asterisk/asterisk
  Executable includes:         Disabled
  Transcode via SLIN:          Enabled
  Transmit silence during rec: Disabled
  Generic PLC:                 Enabled
  Generic PLC on equal codecs: Disabled
  Min DTMF duration::          80
  Cache media frames:          Enabled
  RTP dynamic payload types:   96-127

* Subsystems
  -------------
  Manager (AMI):               Enabled
  Web Manager (AMI/HTTP):      Disabled
  Call data records:           Enabled
  Realtime Architecture (ARA): Enabled

I have about 125 endpoints with static and dynamic AORs, i attached my pjsip config files. I have endpoints using TCP transport and trunks using UDP.
I also attached backtraces from the core dump created on crash.



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



More information about the asterisk-bugs mailing list