<p>It looks like t_next_contacts() was expecting some xavps to be set (maybe by t_load_contact()), but they didn't exit.</p>
<p>I added safety checks for some of the xavp operations to work with null values.</p>
<p>Use the latest branch 5.2 and if still crashes, then reopen.</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/2153?email_source=notifications&email_token=ABO7UZPGCMPFZKRM4EY3C6LQV3EURA5CNFSM4JSLGPGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFKSBXQ#issuecomment-559227102">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNMT4QIOPBY2DEYTNDQV3EURANCNFSM4JSLGPGA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZLORKXLBGW4BDCCKS3QV3EURA5CNFSM4JSLGPGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFKSBXQ.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/2153?email_source=notifications\u0026email_token=ABO7UZPGCMPFZKRM4EY3C6LQV3EURA5CNFSM4JSLGPGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFKSBXQ#issuecomment-559227102",
"url": "https://github.com/kamailio/kamailio/issues/2153?email_source=notifications\u0026email_token=ABO7UZPGCMPFZKRM4EY3C6LQV3EURA5CNFSM4JSLGPGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFKSBXQ#issuecomment-559227102",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>