<p>Hi,</p>

<p>I've tested 4.3.0, and master as of <a href="https://github.com/kamailio/kamailio/commit/99f7d67b20c011e78c277a44ea8cd4d6a820806f" class="commit-link"><tt>99f7d67</tt></a> and I see the same crash on both.</p>

<p>I have two nodes synchronising with each other. If there are no usrloc entries then everything works fine. The problem occurs on start up when starting one node will cause the other, already running, node to crash. For example, if there are usrloc entries on node A and node B is not running then when node B is started it will cause node A to crash.</p>

<p>Here's the backtrace:</p>

<pre><code>#0  0x00007f13d9ac3f50 in core_hash (s1=0x7fff2a04be80, s2=0x0, size=0) at ../../hashes.h:276
276                     v=(*p<<24)+(p[1]<<16)+(p[2]<<8)+p[3];
(gdb) bt
#0  0x00007f13d9ac3f50 in core_hash (s1=0x7fff2a04be80, s2=0x0, size=0) at ../../hashes.h:276
#1  0x00007f13d9ac9a2d in ul_get_aorhash (_aor=0x7fff2a04be80) at urecord.c:805
#2  0x00007f13d9abf83e in unlock_udomain (_d=0x7f13d38d0e08, _aor=0x7fff2a04be80) at udomain.c:1053
#3  0x00007f13d7ea8cad in usrloc_get_all_ucontact (node=0x7f13d38e6860) at usrloc_sync.c:178
#4  0x00007f13d7eac389 in usrloc_dmq_handle_msg (msg=0x7f13d38e9d08, resp=0x7fff2a04c0e0, node=0x7f13d38e6860) at usrloc_sync.c:360
#5  0x00007f13d80d01b9 in worker_loop (id=0) at worker.c:105
#6  0x00007f13d80cdc6a in child_init (rank=0) at dmq.c:293
#7  0x0000000000535958 in init_mod_child (m=0x7f13dbac8350, rank=0) at sr_module.c:898
#8  0x0000000000535682 in init_mod_child (m=0x7f13dbac8778, rank=0) at sr_module.c:895
#9  0x0000000000535c77 in init_child (rank=0) at sr_module.c:924
#10 0x0000000000527733 in main_loop () at main.c:1650
#11 0x000000000052d4cb in main (argc=14, argv=0x7fff2a04c648) at main.c:2533
</code></pre>

<p>This seems to be a different issue from <a href="https://github.com/kamailio/kamailio/issues/236" class="issue-link" title="Crash in startup when using DMQ_USRLOC">#236</a> because the changes in <a href="https://github.com/kamailio/kamailio/commit/039231a3b61c00fe36e868417144daa9f04936ba" class="commit-link"><tt>039231a</tt></a> that caused that issue are not in 4.3.0 and also because the fix in <a href="https://github.com/kamailio/kamailio/commit/733fd5daf74963b152a2964f9eea1a6fff91858a" class="commit-link"><tt>733fd5d</tt></a> doesn't help this issue.</p>

<p>Please let me know if I can provide any more information to help with this.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/244">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZSMWdkz3kwlLAC7WEwMqJHq3-C4lks5odbHKgaJpZM4FYtu0.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/244"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>