<p>Hi, I'm using centos 6.5, opensips from git, everything up to date.<br>
I configured usrloc (and all the other modules) to use unixodbc.<br>
Here is an example of the configuration:<br>
loadmodule "usrloc.so"<br>
modparam("usrloc", "db_url", "unixodbc://opensips:opensipsrw@localhost/OpenSIPS")<br>
modparam("usrloc", "db_mode", 1)</p>

<p>the result is a core dump:<br>
Jul 15 09:22:51 opensips0 kernel: opensips[8177] general protection ip:4a073b sp:7fffcd229720 error:0 in opensips[400000+153000]<br>
Jul 15 09:22:51 opensips0 abrt[8179]: Not saving repeating crash in '/usr/sbin/opensips'<br>
Jul 15 09:22:51 opensips0 abrt[8179]: Saved core dump of pid 8177 to core.8177 (52912128 bytes)<br>
Jul 15 09:22:51 opensips0 opensips: INFO:core:daemonize: pre-daemon process exiting with -1</p>

<p>Here you can see the backtrace: <a href="http://pastebin.com/xeeu25ne">http://pastebin.com/xeeu25ne</a><br>
For now I solved with this small patch <a href="http://pastebin.com/nzTwikcJ">http://pastebin.com/nzTwikcJ</a><br>
I let it run 2 days, haven't noticed anything wrong with it, but please let me know if you think I'm breaking some other functionality I'm not aware of.<br>
Thanks.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/270">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMTEyOTk0NSwiZGF0YSI6eyJpZCI6MzcxNDUxODl9fQ==--44301f6607b6a3737a2cc64febcb54f0f03b5c7f.gif" width="1" /></p>