(gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/dx/.rr/bitlbee-6/mmap_4_hardlink_bitlbee Program received signal SIGTRAP, Trace/breakpoint trap. 0x00007fd1521bbd80 in _start () from /lib64/ld-linux-x86-64.so.2 (gdb) c Continuing. warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? Program received signal SIGSEGV, Segmentation fault. 0x00007fd152461fb7 in twitter_msg_add_id (ic=0x7fd15310c220, txs=0x7fd1536b46e0, prefix=0x7fd152473dfc "") at twitter_lib.c:688 688 if (txs->id > tud->last_id) { (gdb) p tud $5 = (struct twitter_user_data *) 0x0 (gdb) l 683 684 if (txs->user && txs->user->screen_name && 685 (bu = bee_user_by_handle(ic->bee, ic, txs->user->screen_name))) { 686 struct twitter_user_data *tud = bu->data; 687 688 if (txs->id > tud->last_id) { 689 tud->last_id = txs->id; 690 tud->last_time = txs->created_at; 691 } 692 } (gdb) watch -l bu->data Hardware watchpoint 2: -location bu->data (gdb) reverse-continue Continuing. Program received signal SIGSEGV, Segmentation fault. 0x00007fd152461fb7 in twitter_msg_add_id (ic=0x7fd15310c220, txs=0x7fd1536b46e0, prefix=0x7fd152473dfc "") at twitter_lib.c:688 688 if (txs->id > tud->last_id) { (gdb) reverse-continue Continuing. Hardware watchpoint 2: -location bu->data Old value = (void *) 0x0 New value = (void *) 0x7fd15355a540 fb_cb_api_contacts (api=0x7fd15357f190, users=, complete=1, data=0x7fd15357c830) at facebook.c:144 144 bu->data = NULL;