<h3>Description</h3>
<p>I was testing latest nightly build to test uacreg  with auth_ha1 column. I have 1 record in database:</p>
<pre><code>id: 1
l_uuid: 50b08f96-ee5d-44bb-8539-098268ad64d1
l_username: covalschi
l_domain: test113.covalschi.reraldomain.com
r_username: covalschi
r_domain: sip.linphone.org
realm: sip.linphone.org
auth_username: covalschi
auth_password:
auth_ha1: f0e0dc4bf176fe8f41280b7b3758150d
auth_proxy: sip.linphone.org
expires: 3600
flags: 0
reg_delay: 0
socket:
</code></pre>
<p>When I execute    kamcmd uac.reg_reload I get:<br>
<code>ERROR: read reply failed: Success (0)</code> as return code for kamcmd and Kamailio crashes.</p>

<h3>Troubleshooting</h3>
<p>It repeats every time, Kamailio crashes with signal 11</p>
<h4>Reproduction</h4>
<p>Basically do the same - create a record in database with auth_ha1 instead of password and try kamcmd uac.reg_reload</p>

<h4>Debugging Data</h4>

<pre><code>bt full: https://pastebin.com/by6Nxwhk
info locals: https://pastebin.com/ZmEHnupn
(gdb) list
1871    in main.c
</code></pre>
<p><a href="https://github.com/kamailio/kamailio/files/3656555/core.zip">core.zip</a></p>
<h4>Log Messages</h4>

<pre><code>27(380) CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 5
 0(1) ALERT: <core> [main.c:766]: handle_sigs(): child process 364 exited by a signal 11
 0(1) ALERT: <core> [main.c:769]: handle_sigs(): core was generated
</code></pre>
<h3>Additional Information</h3>
<ul>
<li><strong>Kamailio Version</strong> - output of <code>kamailio -v</code></li>
</ul>
<pre><code>version: kamailio 5.3.0-pre1 (x86_64/linux)
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled with gcc 6.3.0
</code></pre>
<ul>
<li><strong>Operating System</strong>:</li>
</ul>
<pre><code>Debian stretch in docker 
Linux dev-covalschi 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3 (2019-09-02) x86_64 GNU/Linux
</code></pre>

<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/2076?email_source=notifications&email_token=ABO7UZKSXQXRR3NZ3GAW45TQLRSW3A5CNFSM4I2WL3Z2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNZ3DOA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIHBAUPVT4LF7X35G3QLRSW3ANCNFSM4I2WL3ZQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZKUVWLQ6FLXDD3FIY3QLRSW3A5CNFSM4I2WL3Z2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNZ3DOA.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/2076?email_source=notifications\u0026email_token=ABO7UZKSXQXRR3NZ3GAW45TQLRSW3A5CNFSM4I2WL3Z2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNZ3DOA",
"url": "https://github.com/kamailio/kamailio/issues/2076?email_source=notifications\u0026email_token=ABO7UZKSXQXRR3NZ3GAW45TQLRSW3A5CNFSM4I2WL3Z2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNZ3DOA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>