[asterisk-bugs] [JIRA] (ASTERISK-28689) Segfault - error 4 in libasteriskpj.so.2

Jesse Ross (JIRA) noreply at issues.asterisk.org
Tue Jan 14 08:22:25 CST 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249353#comment-249353 ] 

Jesse Ross edited comment on ASTERISK-28689 at 1/14/20 8:21 AM:
----------------------------------------------------------------

bq. What version of Asterisk are the backtraces from?

13.30.0

bq. What is the usage pattern?

This crash happened at 10:38 PM where the usage is low - probably around 10 calls per hour. A lot of our calls are incoming over DAHDI.

bq. What transports are in use?

We have UDP, TCP, and TLS enabled. Most of the endpoints (75%) are using TLS

bq. What does the pjsip.conf configuration look like?

Most of the endpoints are defined in realtime ODBC. The pjsip.conf is mostly for defining trunks (voip.ms, Thinktel, Northern911). I'm not sure how much I can post here. Here's the file without those trunks:

{quote}
[global]
type = global
user_agent = <REDACTED>

[transport-udp]
type = transport
protocol = udp
bind = 0.0.0.0

[transport-tcp]
type = transport
protocol = tcp
bind = 0.0.0.0

[transport-tls]
type = transport
protocol = tls
bind = 0.0.0.0:5061
cert_file = /etc/letsencrypt/live/<REDACTED>/cert.pem
priv_key_file = /etc/letsencrypt/live/<REDACTED>/privkey.pem
method = tlsv1
{quote}


was (Author: jmross):
bq. What version of Asterisk are the backtraces from?

13.30.0

bq. What is the usage pattern?

This crash happened at 10:39 PM where the usage is low - probably around 10 calls per hour. A lot of our calls are incoming over DAHDI.

bq. What transports are in use?

We have UDP, TCP, and TLS enabled. Most of the endpoints (75%) are using TLS

bq. What does the pjsip.conf configuration look like?

Most of the endpoints are defined in realtime ODBC. The pjsip.conf is mostly for defining trunks (voip.ms, Thinktel, Northern911). I'm not sure how much I can post here. Here's the file without those trunks:

{quote}
[global]
type = global
user_agent = <REDACTED>

[transport-udp]
type = transport
protocol = udp
bind = 0.0.0.0

[transport-tcp]
type = transport
protocol = tcp
bind = 0.0.0.0

[transport-tls]
type = transport
protocol = tls
bind = 0.0.0.0:5061
cert_file = /etc/letsencrypt/live/<REDACTED>/cert.pem
priv_key_file = /etc/letsencrypt/live/<REDACTED>/privkey.pem
method = tlsv1
{quote}

> Segfault - error 4 in libasteriskpj.so.2
> ----------------------------------------
>
>                 Key: ASTERISK-28689
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28689
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 13.20.0, 13.30.0
>         Environment: Ubuntu 16.04
> 4.4.0-119-generic
>            Reporter: Jesse Ross
>            Assignee: Unassigned
>         Attachments: core-brief.txt, core-full.txt, core-locks.txt, core-thread1.txt
>
>
> Hi,
> We are getting crashes like this randomly:
> Jan 13 21:33:21 voip kernel: [46434830.037815] traps: asterisk[24067] bq. general protection ip:7fc0ecf762b5 sp:7fc02d86ebc8 error:0 in libasteriskpj.so.2[7fc0ece5f000+16d000]
> Jan 13 21:44:48 voip kernel: [46435517.854842] asterisk[26382]: segfault at 18 ip 00007f3a5467ba28 sp 00007f39990b4bd0 error 4 in libasteriskpj.so.2[7f3a54564000+16d000]
> It didn't happen at all before but started to do it a couple times a day. Now it is doing it around 20 times per day. But only in the evening for some reason... 
> I've attached the core dump info.
> I upgraded to 13.30 from 13.20 and installed the latest libpri and dahdi but it didn't help.
> Thanks



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



More information about the asterisk-bugs mailing list