(gdb) bt #0 0x00007f6bdea9dc70 in _wordcopy_bwd_aligned () from /lib64/libc.so.6 #1 0x00007f6bdea9783a in memmove () from /lib64/libc.so.6 #2 0x00000000004f08a5 in __bt_dleaf (t=0x1351f60, key=0x7f6bc54de770, h=0x7f6ba80211b0, index=0) at btree/bt_delete.c:504 #3 0x00000000004e9576 in __bt_put (dbp=0x1351790, key=0x7f6bc54de770, data=0x7f6bc54de760, flags=0) at btree/bt_put.c:190 #4 0x0000000000458507 in ast_db_put (family=0x7f6bc595de9b "SIP/Registry", keys=0x7f6ba80b05f0 "DeskPhone108", value=0x7f6bc54dedc0 "10.100.100.2:37264:3600:DeskPhone108:sip:DeskPhone108@10.100.100.2:37264;rinstance=04a8b570cd7290f4") at db.c:164 #5 0x00007f6bc5921759 in parse_register_contact (pvt=0x7f6ba809dca0, peer=0x7f6ba80b05f0, req=0x7f6bc54df880) at chan_sip.c:9190 #6 0x00007f6bc5923ec2 in register_verify (p=0x7f6ba809dca0, sin=0x7f6bc54df870, req=0x7f6bc54df880, uri=0x7f6bc54dfcb1 "sip:sip.voip-internal.net") at chan_sip.c:9943 #7 0x00007f6bc5948028 in handle_request_register (p=0x7f6ba809dca0, req=0x7f6bc54df880, sin=0x7f6bc54df870, e=0x7f6bc54dfcb1 "sip:sip.voip-internal.net") at chan_sip.c:16995 #8 0x00007f6bc5949152 in handle_request (p=0x7f6ba809dca0, req=0x7f6bc54df880, sin=0x7f6bc54df870, recount=0x7f6bc54df864, nounlock=0x7f6bc54df868) at chan_sip.c:17234 #9 0x00007f6bc5949eff in sipsock_read (id=0x7f6ba80008e0, fd=18, events=1, ignore=0x0) at chan_sip.c:17474 #10 0x00000000004714b9 in ast_io_wait (ioc=0x136b930, howlong=71) at io.c:279 #11 0x00007f6bc594a941 in do_monitor (data=0x0) at chan_sip.c:17713 #12 0x00000000004cdc2f in dummy_start (data=0x136ee90) at utils.c:856 #13 0x00007f6bdf46c7e1 in start_thread () from /lib64/libpthread.so.0 #14 0x00007f6bdeafb8ed in clone () from /lib64/libc.so.6 ---- #2 0x00000000004f08a5 in __bt_dleaf (t=0x1351f60, key=0x7f6bc54de770, h=0x7f6ba80211b0, index=0) at btree/bt_delete.c:504 504 memmove(from + nbytes, from, (char *)to - from); (gdb) print to $6 = (void *) 0x7f6ba8022128 (gdb) print from $7 = 0x7f6ba80221b0 "" (gdb) print nbytes $8 = 136 (gdb) print to - from $9 = -136