<div dir="ltr"><div><div><div>Is it normal for Kamailio to segfault on a duplicate key in the usrloc DB?<br><br>Jun 15 18:15:23 vproxy2 /usr/sbin/kamailio[13646]: ERROR: db_mysql [km_dbase.c:122]: db_mysql_submit_query(): driver error on query: Duplicate entry 'uloc-557a96c1-3577-4e5f1' for key 'ruid_idx'<br>Jun 15 18:15:23 vproxy2 /usr/sbin/kamailio[13646]: ERROR: <core> [db_query.c:337]: db_do_update(): error while submitting query<br>Jun 15 18:15:23 vproxy2 /usr/sbin/kamailio[13646]: ERROR: usrloc [ucontact.c:800]: db_update_ucontact_addr(): updating database failed<br>Jun 15 18:15:23 vproxy2 /usr/sbin/kamailio[13646]: ERROR: usrloc [urecord.c:368]: wb_timer(): updating contact in db failed (aor: sip305_isibmp)<br><br></div>I believe that there should never be a duplicate key.  I'm not sure how that's happening either.  I have 3 Kamailio boxes in a cluster replicating registrations to each other and using a MySQL Galara cluster for the usrloc DB.  This is Kamailio 4.0.6.<br><br></div>Thanks,<br></div>Marc<br><br></div>