Thanks for the help ionut, here is the gdb output from drouting.c as we 
discussed in IRC:

```
Breakpoint 1, dr_init () at drouting.c:1176
1176                    if( head_start->db_url.s == 0 ) {
(gdb) n
1180                    memcpy( head_start->db_url.s, db_url.s, db_url.len );
(gdb) print db_url.s
$1 = 0x8a2140 "sqlite://var/db/opensips"
(gdb) print head_start->db_url.s
$2 = 0x7fffeecf1e00 ""
(gdb) n
1182                    init_head_w_extern_params();
(gdb) print head_start->db_url.s
$3 = 0x7fffeecf1e00 "sqlite://var/db/opensips\270\301\311\001"
(gdb) n
1184                    head_start->partition.s = "Default";
(gdb) print head_start->db_url.s
$4 = 0x7fffeecf1e00 "sqlite://var/db/opensips\030"
(gdb) 
```

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/471#issuecomment-94524290
_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to