[asterisk-bugs] [JIRA] (ASTERISK-27210) Getting segfault in res_pjsip.so and libasteriskpj.so.2

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Mon Oct 30 15:59:21 CDT 2017


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

Kevin Harwell commented on ASTERISK-27210:
------------------------------------------

A couple of things to try:

As this is possibly a problem in pjproject/pjsip itself you could try upgrading to the latest release of Asterisk, 15.1.0 (new versions of Asterisk were just released.  Both 13.18.0, 15.1.0 have upgraded bundled to use PJPROJECT 2.7). It's possible something changed between pjproject 2.6 and 2.7 that fixed the problem.

I hesitate to recommend this but, barring the above, you could try using the patch that's on ASTERISK-26675. I hesitate because in briefly looking at the patch it appears that while it may stop the crash from happening it doesn't address the reason why it is crashing in the first place. 

Even if that patch works though, it'd just be a workaround until we know what the underlying problem is. Without debug or some kind of logging information it's going to be hard to move forward on this issue.

> Getting segfault in res_pjsip.so and libasteriskpj.so.2
> -------------------------------------------------------
>
>                 Key: ASTERISK-27210
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27210
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 14.5.0, 14.6.2
>         Environment: Ubuntu 16.04.2 LTS
>            Reporter: Jeppe Ryskov Larsen
>            Assignee: Jeppe Ryskov Larsen
>         Attachments: 20171027_asterisk-ASTERISK-27210-results.tar.gz, asterisk-ASTERISK-27210-results.tar.gz
>
>
> Suddenly we got these 4 segfaults in a relatively short timespan. 
> {code}
> Aug 21 10:38:28 osl1-voip-cluster01-asterisk05 kernel: [28594.890030] asterisk[27799]: segfault at 1e0 ip 00007f341b163500 sp 00007f34331a1a08 error 4 in res_pjsip.so[7f341b151000+49000]
> Aug 21 10:40:43 osl1-voip-cluster01-asterisk05 kernel: [28729.766816] asterisk[5930]: segfault at 1e0 ip 00007fe2552bb500 sp 00007fe0779b1a08 error 4 in res_pjsip.so[7fe2552a9000+49000]
> Aug 21 10:41:52 osl1-voip-cluster01-asterisk05 kernel: [28799.083666] asterisk[7569]: segfault at 18 ip 00007f7828c780f8 sp 00007f7722f21940 error 4 in libasteriskpj.so.2[7f7828b6f000+15a000]
> Aug 21 10:42:44 osl1-voip-cluster01-asterisk05 kernel: [28850.946232] asterisk[9174]: segfault at 90 ip 00007f8c9fd630e8 sp 00007f8ba1d18940 error 4 in libasteriskpj.so.2[7f8c9fc5a000+15a000]
> {code}
> After investigating the circumstances during that timespan, i saw no behaviour out of the ordinary, and no changes has been made in the last months, and this has never occurred.
> Sadly, this is running in our production system, where we have debug turned off, so i can not provide a backtrace, but was just hoping maybe someone has seen similar before or can pinpoint us the the right direction for collecting more information so we can debug this further. 



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



More information about the asterisk-bugs mailing list