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

Andreas Krüger (JIRA) noreply at issues.asterisk.org
Wed Oct 25 03:03:21 CDT 2017


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

Andreas Krüger commented on ASTERISK-27210:
-------------------------------------------

So, it happend again and now we had our Asterisk running compiled with both DONT_OPTIMIZE and BETTER_BACKTRACES,  at version 14.6.2

{code}
root at osl1-voip-cluster01-asterisk04:/tmp# grep "segfault" /var/log/syslog
Oct 25 09:17:06 osl1-voip-cluster01-asterisk04 kernel: [25182.454189] asterisk[30679]: segfault at 18 ip 00007fda0f679142 sp 00007fd80345e840 error 4 in libasteriskpj.so.2[7fda0f542000+18b000]
Oct 25 09:18:22 osl1-voip-cluster01-asterisk04 kernel: [25257.949956] asterisk[31947]: segfault at 0 ip           (null) sp 00007f56b45a5818 error 14 in asterisk[400000+313000]
Oct 25 09:19:32 osl1-voip-cluster01-asterisk04 kernel: [25328.246808] asterisk[1309]: segfault at 1e0 ip 00007f21f2e915a0 sp 00007f21f31d6828 error 4 in res_pjsip.so[7f21f2e7f000+49000]
Oct 25 09:42:21 osl1-voip-cluster01-asterisk04 kernel: [26697.588256] asterisk[17275]: segfault at 90 ip 00007f8c5a3b0134 sp 00007f8a0745e840 error 4 in libasteriskpj.so.2[7f8c5a279000+18b000]
Oct 25 09:43:34 osl1-voip-cluster01-asterisk04 kernel: [26770.113511] asterisk[19141]: segfault at 90 ip 00007fc41d7a0134 sp 00007fc2d6272840 error 4 in libasteriskpj.so.2[7fc41d669000+18b000]
{code}

Respective coredumps:

{code}
Oct 25 09:17:06 -> core.asterisk.1508915826
Oct 25 09:18:22 -> core.asterisk.1508915902
Oct 25 09:19:32 -> core.asterisk.1508915972
Oct 25 09:42:21 -> core.asterisk.1508917341
Oct 25 09:43:34 -> core.asterisk.1508917414
{code}

I have attached a tarball with alle the core dumps, which has been processed by the following command:
{code}
/var/lib/asterisk/scripts/ast_coredumper --tarball-uniqueid=ASTERISK-27210 --tarball-results
{code}

> 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
>         Environment: Ubuntu 16.04.2 LTS
>            Reporter: Jeppe Ryskov Larsen
>            Assignee: Unassigned
>         Attachments: 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