[OpenSIPS-Devel] [opensips] modules/db_sqlite: error loading drouting (#471)

Jarrod Baumann notifications at github.com
Mon Apr 20 19:56:10 CEST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150420/b20d6235/attachment.htm>


More information about the Devel mailing list