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

Jarrod Baumann notifications at github.com
Tue Apr 21 05:19:09 CEST 2015


So digging into it more, I guess print is just looking for a terminating character \0, but still what is passed to sqlite3 for its call to openDatabase includes an extra byte on the end and that's whats causing the problem:

119274  in sqlite3.c                                                            
(gdb) s                                                                         
openDatabase (zFilename=0x7fffeecf30b8 "/var/db/opensips\b", ppDb=ppDb at entry=0x7fffffffe040, flags=flags at entry=6, zVfs=zVfs at entry=0x0) at sqlite3.c:121423


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/471#issuecomment-94626123
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150420/42cfa344/attachment.htm>


More information about the Devel mailing list