<p></p>
<p dir="auto">Since updating to 5.6, Kamailio segfaults when calling <code class="notranslate">get_redirects("1")</code>.</p>
<pre class="notranslate"><code class="notranslate">#0  0x000055d12c93c527 in get_str_fparam (dst=dst@entry=0x7ffd246edfe0, msg=msg@entry=0x7f83973b6a80, param=0x0) at core/sr_module.c:1646
        val = {n = 1, s = {s = 0x1 <error: Cannot access memory at address 0x1>, len = 749136082}, re = 0x1}
        ret = <optimized out>
        avp = <optimized out>
        pv_val = {rs = {s = 0x1 <error: Cannot access memory at address 0x1>, len = 749136082}, ri = 1, flags = 0}
        __func__ = "get_str_fparam"
#1  0x00007f838d2f0a17 in w_get_redirect2 (msg=0x7f83973b6a80, max_c=0x0, reason=<optimized out>) at uac_redirect.c:337
        n = <optimized out>
        max = <optimized out>
        sreason = {s = 0x1a <error: Cannot access memory at address 0x1a>, len = -828131391}
        __func__ = "w_get_redirect2"
#2  0x000055d12c975624 in do_action (h=h@entry=0x7ffd246ee820, a=a@entry=0x7f83cedd3670, msg=msg@entry=0x7f83973b6a80) at core/action.c:1085
        ret = <optimized out>
        v = <optimized out>
...
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3197">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOCNUSUIUAKZCQRSZLVVKB65ANCNFSM54LEPTRA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZIHSTZW2ZQF7EL5S4DVVKB65A5CNFSM54LEPTRKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4TS7X7GQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3197</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3197",
"url": "https://github.com/kamailio/kamailio/issues/3197",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>