[asterisk-bugs] [JIRA] (ASTERISK-28689) res_pjsip: Crash when locking group lock when sending stateful response

Jesse Ross (JIRA) noreply at issues.asterisk.org
Thu Jan 16 08:34:25 CST 2020


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

Jesse Ross edited comment on ASTERISK-28689 at 1/16/20 8:34 AM:
----------------------------------------------------------------

Here's the core:

-https://drive.google.com/file/d/1gXH3XyF2Uwb_kRr0TKW6Su1BE4EDOcqL/view?usp=sharing-

-It's over 200 MB and I can't upload it here.-

Nevermind... I'll tar it then upload it here...

Also, it hasn't crashed since Monday night. It seems to have stopped when I got the firewall and fail2ban to work right. I think the message in the Asterisk logs changed at some point and the regex for fail2ban stopped finding these lines. I have debug logging enabled right now but I don't have that log when it crashed before.


was (Author: jmross):
Here's the core:

https://drive.google.com/file/d/1gXH3XyF2Uwb_kRr0TKW6Su1BE4EDOcqL/view?usp=sharing

It's over 200 MB and I can't upload it here.

Also, it hasn't crashed since Monday night. It seems to have stopped when I got the firewall and fail2ban to work right. I think the message in the Asterisk logs changed at some point and the regex for fail2ban stopped finding these lines. I have debug logging enabled right now but I don't have that log when it crashed before.

> res_pjsip: Crash when locking group lock when sending stateful response
> -----------------------------------------------------------------------
>
>                 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: console, console, core-brief.txt, core-brief.txt, core-full.txt, core-full.txt, core-locks.txt, core-locks.txt, core.tar.gz, core-thread1.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