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

George Joseph (JIRA) noreply at issues.asterisk.org
Fri Aug 18 07:45:08 CDT 2017


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

George Joseph commented on ASTERISK-27205:
------------------------------------------

Do you have a simple scenario that we can use to reproduce the issue?
If you still have that core file, can you do a "thread apply all bt full" on it and attach the results (assuming you had DONT_OPTIMIZE and BETTER_BACKTRACES set in the asterisk compile options)?





> 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