<p></p>
<p>Probably the field <code>dst->send_sock</code> is no longer valid, it can confirmed by getting:</p>
<pre><code>frame 0
p *dst->send_sock
</code></pre>
<p>If the address is invalid, can be the case that the SIP transaction is destroyed at same time due to a race.</p>
<p>I see you use dialog mode tracing - <code>d</code> mode:</p>
<pre><code>        # Only start sip_trace on initial INVITE
        sip_trace("HEP_URL","$ci-MY_IP","d");
</code></pre>
<p>Which was not in 5.2.x, so it might be a bug of that feature. I haven't implemented it, so I do not have proper insights at this moment, it will take me some time to get into it. Meanwhile, if you still face crashes, maybe you can switch to tracing using:</p>
<pre><code>modparam("siptrace", "trace_mode", 1)
</code></pre>
<p>and:</p>
<pre><code>event_route[siptrace:msg] {
    if(!is_method("INVITE|ACK|BYE|CANCEL|PRACK|UPDATE")) {
        drop();
    }
}
</code></pre>
<p>as I understood that you want to do sip trace for traffic related to calls.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2718#issuecomment-857482167">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMHGTTCXI3ANQNUHZLTR4OIXANCNFSM43XRNV4Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZLMM7Z53TODX5NHZV3TR4OIXA5CNFSM43XRNV42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGMOCHNY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2718#issuecomment-857482167",
"url": "https://github.com/kamailio/kamailio/issues/2718#issuecomment-857482167",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>