[asterisk-bugs] [JIRA] (ASTERISK-27210) Getting segfault in res_pjsip.so and libasteriskpj.so.2
Kevin Harwell (JIRA)
noreply at issues.asterisk.org
Wed Oct 25 18:14:20 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-27210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=239662#comment-239662 ]
Kevin Harwell commented on ASTERISK-27210:
------------------------------------------
I only see the one crash in core.asterisk.1508915902-full.txt
{noformat}
Thread 1 (Thread 0x7f21f31d8700 (LWP 1309)):
#0 ast_sip_failover_request (tdata=0x0) at res_pjsip.c:3821
via = <optimized out>
#1 0x00007f21f355b751 in check_request_status (inv=inv at entry=0x7f21cc00a4a8, e=0x7f21f31d69d0) at res_pjsip_session.c:2589
session = <optimized out>
tsx = 0x42059a8
#2 0x00007f21f355b823 in session_inv_on_state_changed (inv=0x7f21cc00a4a8, e=0x7f21f31d69d0) at res_pjsip_session.c:2673
session = 0x7f21cc043888
type = <optimized out>
__PRETTY_FUNCTION__ = "session_inv_on_state_changed"
{noformat}
It appears the transaction's last_tx (the message kept for re-transmissions) is missing. A debug log would be helpful, but understand if that is hard to obtain. Is there anything in the log at all around the time of the crash? Errors/Warnings?
> 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