[OpenSIPS-Devel] [opensips] Core dump at db_unixodbc (#270)

Alberto Rinaudo notifications at github.com
Wed Jul 16 13:39:05 CEST 2014


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

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

Here you can see the backtrace: http://pastebin.com/xeeu25ne
For now I solved with this small patch http://pastebin.com/nzTwikcJ
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.
Thanks.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/270
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140716/a77f430a/attachment.htm>


More information about the Devel mailing list