[asterisk-bugs] [JIRA] (ASTERISK-25251) getifaddrs() blocks infinitely in PJSIP

Florian Weimer (JIRA) noreply at issues.asterisk.org
Thu Nov 19 07:22:33 CST 2015


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

Florian Weimer commented on ASTERISK-25251:
-------------------------------------------

We have a report of a similar issue, on Debian wheezy with Linux 4.1.13:

  http://marc.info/?l=linux-netdev&m=144777158701417&w=2

We have not been able to pinpoint the cause. We have seen such hangs on netlink sockets if something else in the process reads the kernel netlink response before it is processed by the intended recipient, but we are not sure if this is the case here.

Gergely, what is your exact glibc version?


> getifaddrs() blocks infinitely in PJSIP
> ---------------------------------------
>
>                 Key: ASTERISK-25251
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25251
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.1.1, 13.3.2, 13.4.0
>         Environment: Fedora 22
>            Reporter: Gergely Dömsödi
>            Assignee: Rusty Newton
>         Attachments: bt-nodns.txt, bt.txt, bt.txt, fd.txt, locks-nodns.txt, locks.txt, taskprocessors.txt, threads.txt
>
>
> Using PJSIP, after about 10-20 minutes of SIP traffic between two PJSIP peers, a deadlock occurs and Asterisk cannot serve SIP traffic anymore. Incoming INVITES can be seen with a tcpdump, but it is not even visible in pjsip log.
> The issue is reproducible with both the "vanilla" asterisk package in Fedora 22 (13.1.1), with the package currently in updates-testing (13.3.2), and a custom-built 13.4.0. Tried with PJSIP 2.3 from Fedora and a custom built 2.4, both were affected.
> When in the deadlock, PJSIP commands continue to work (pjsip show *), but asterisk cannot be stopped, core stop now just returns, but nothing happens. Only SIGKILL can pull out asterisk from this state.
> Attached outputs and backtraces are from the custom built 13.4.0, with PJSIP 2.4.



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



More information about the asterisk-bugs mailing list