Is it normal for Kamailio to segfault on a duplicate key in the usrloc DB?

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'
Jun 15 18:15:23 vproxy2 /usr/sbin/kamailio[13646]: ERROR: <core> [db_query.c:337]: db_do_update(): error while submitting query
Jun 15 18:15:23 vproxy2 /usr/sbin/kamailio[13646]: ERROR: usrloc [ucontact.c:800]: db_update_ucontact_addr(): updating database failed
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)

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.

Thanks,
Marc