[asterisk-users] Segfault on libasteriskpj.so.2

Joshua Colp jcolp at digium.com
Fri Jul 20 14:19:45 CDT 2018

On Fri, Jul 20, 2018, at 3:18 PM, Carlos Chavez wrote:
>      I just finished installing a brand new server with CentOS 7.5 and 
> Asterisk 13.22.0 and the minute I a call from the PSTN (from a SIP 
> trunk) bridges with any SIP phone Asterisk crashes:
> Jul 20 10:59:53 localhost kernel: asterisk[2819]: segfault at 188 ip 
> 00007f158b9e047c sp 00007f1568789820 error 4 in 
> libasteriskpj.so.2[7f158b976000+152000]
> Jul 20 11:00:35 localhost kernel: asterisk[2925]: segfault at 188 ip 
> 00007f44b1ea947c sp 00007f4444700820 error 4 in 
> libasteriskpj.so.2[7f44b1e3f000+152000]
> Jul 20 11:02:05 localhost kernel: asterisk[3133]: segfault at 188 ip 
> 00007fe5b8f8147c sp 00007fe547737820 error 4 in 
> libasteriskpj.so.2[7fe5b8f17000+152000]
> Jul 20 11:08:25 localhost kernel: asterisk[3515]: segfault at 188 ip 
> 00007f65c332547c sp 00007f6551b56820 error 4 in 
> libasteriskpj.so.2[7f65c32bb000+152000]
>      I found a closed bug: 
> https://issues.asterisk.org/jira/browse/ASTERISK-27210 but the status is 
> unresolved and closed.  We are not using any DNS in our configurations, 
> everything is in IP notation.  Internet is somewhat slow and sometimes 
> DNS fails the first time you need to resolve something.  We started on 
> 13.21.1 but upgraded to 13.22.0 and are still having the same problem.
>      This is not the first time I have seen this segfault.  We tried a 
> virtual machine some months ago with the same result.  At the time we 
> though the problem was related to the very old hypervisor we were using 
> but we get the same exact segfault on a new physical server.  Anyone 
> else run into this bug?  Any way to fix it or is it back to chan_sip?

I'm not aware of any current issues for this and haven't seen any. I'd suggest filing an issue[1] with a backtrace so it can be narrowed down. It may be something particular to your usage that noone else has seen.

[1] https://issues.asterisk.org/jira

Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

More information about the asterisk-users mailing list