[asterisk-bugs] [JIRA] (ASTERISK-27205) Asterisk crash with netlink error

Abhay Gupta (JIRA) noreply at issues.asterisk.org
Fri Aug 18 08:19:08 CDT 2017


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

Abhay Gupta commented on ASTERISK-27205:
----------------------------------------

No we do not have a scenario as it happens on production server . The current core dump is without DONT_OPTIMIZE and BETTER_BACKTRACES and though i have attached it now because i had taken thread apply all bt since it had a huge number of threads for reason not known to me and thread apply all bt full would have been a huge file. On weekend will update the asterisk version and set both the flags to get better traces when calling is resumed and it crashes again .

> Asterisk crash with netlink error 
> ----------------------------------
>
>                 Key: ASTERISK-27205
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27205
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 13.15.0
>         Environment: Linux Ubuntu kernel 4.4.0-83 with glibc 2.23 and asterisk using internal PJSIP 
>            Reporter: Abhay Gupta
>         Attachments: bt.txt
>
>
> There is segmentation fault that causes crash and bt is attached , it seems that Nelink error is the cause and can be seen from this changelog of glibc 
> https://abi-laboratory.pro/tracker/changelog/glibc/2.23/log.html
> getaddrinfo now detects certain invalid responses on an internal netlink
>   socket.  If such responses are received, an affected process will
>   terminate with an error message of "Unexpected error <number> on netlink
>   descriptor <number>" or "Unexpected netlink response of size <number> on
>   descriptor <number>".  The most likely cause for these errors is a
>   multi-threaded application which erroneously closes and reuses the netlink
>   file descriptor while it is used by getaddrinfo.
> this signal is not captured causing it to crash .



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



More information about the asterisk-bugs mailing list