Re: [sr-dev] [kamailio] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2) (#360)

2015-11-03 Thread jijo2010
Yes. I will try that and let you know. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/360#issuecomment-153516198___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/ma

Re: [sr-dev] [kamailio] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2) (#360)

2015-11-03 Thread Daniel-Constantin Mierla
I can't reproduce it with kamailio master and mongo-c-driver 1.2.1 (configured with --enable-ssl=yes). Can you try same combination of versions? --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/360#issuecomment-153515692___

Re: [sr-dev] [kamailio] add GnuTLS support (#371)

2015-11-03 Thread Victor Seva
FTR http://lists.sip-router.org/pipermail/sr-dev/2012-May/015302.html :-P --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/371#issuecomment-153514886___ sr-dev mailing list sr-dev@lists.sip-router.org htt

Re: [sr-dev] [kamailio] add systemd support to deb packages (#294)

2015-11-03 Thread Victor Seva
FTR I didn't had time to actually check the kamailio.service file. This is WIP but the debian package should provide both sysv and systemd --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/294#issuecomment-153511283__

Re: [sr-dev] [kamailio] add systemd support to deb packages (#294)

2015-11-03 Thread Victor Seva
Closed #294 via 112406d8fa05b5d739bdf06565b77e3974200652. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/294#event-453786717___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.or

[sr-dev] git:master:112406d8: pkg/kamailio/deb: add systemd support

2015-11-03 Thread Victor Seva
Module: kamailio Branch: master Commit: 112406d8fa05b5d739bdf06565b77e3974200652 URL: https://github.com/kamailio/kamailio/commit/112406d8fa05b5d739bdf06565b77e3974200652 Author: Victor Seva Committer: Victor Seva Date: 2015-11-03T23:28:32+01:00 pkg/kamailio/deb: add systemd support Fix #294

Re: [sr-dev] [kamailio] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2) (#360)

2015-11-03 Thread jijo2010
I think there is a memory corruption as kamailio and mongo db module is initializing the openssl context from the same process. This might have some side effects. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/360#issuecomment-153509907___

Re: [sr-dev] [kamailio] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2) (#360)

2015-11-03 Thread jijo2010
Yes that's what i did. /* add local domain aliases */ #alias="sip.mydomain.com" #listen=SIP_LISTEN_SOCKET listen=SIP_LISTEN_TCP_SOCKET #listen=WS_LISTEN_SOCKET #!ifdef WITH_TLS #listen=WSS_LISTEN_SOCKET listen=SIP_LISTEN_TLS_SOCKET #!endif /* port to listen to * - can be specified more than onc

[sr-dev] git:master:e9acce2d: pua_usrloc: removed local variables aliasing functions from pua api

2015-11-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: e9acce2d1bf295e1b6707fc1c16f53fc160978cb URL: https://github.com/kamailio/kamailio/commit/e9acce2d1bf295e1b6707fc1c16f53fc160978cb Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-11-03T23:06:14+01:00 pua_usrloc: removed lo

Re: [sr-dev] [kamailio] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2) (#360)

2015-11-03 Thread Daniel-Constantin Mierla
Quite strange... Can you load tls module before mongo modules? --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/360#issuecomment-153503996___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.

Re: [sr-dev] [kamailio] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2) (#360)

2015-11-03 Thread jijo2010
(gdb) f 1 #1 0x7f7960ae663c in preload_udomain (_c=0x7f7968437cd8, _d=0x7f7963ef8f20) at udomain.c:432 432 if (ul_dbf.query(_c, 0, 0, 0, columns, 0, (use_domain)?(21):(20), 0, (gdb) p *_d $2 = {name = 0x7f7963ef81c0, size = 1024, table = 0x7f7964259d90, users = 0x64, con

Re: [sr-dev] [kamailio] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2) (#360)

2015-11-03 Thread Daniel-Constantin Mierla
So table name seems inaccessible. Let's see what domain structure has: ``` frame 1 p *_d p *_d->name p *_d->name->s ``` --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/360#issuecomment-153490977___ sr-

Re: [sr-dev] [kamailio] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2) (#360)

2015-11-03 Thread jijo2010
(gdb) p *_h->table->s Cannot access memory at address 0x7f79 (gdb) p _h->table->s $1 = 0x7f79 (gdb) --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/360#issuecomment-153489740___ sr-dev

Re: [sr-dev] [kamailio] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2) (#360)

2015-11-03 Thread Daniel-Constantin Mierla
Few more: ``` p *_h->table->s p _h->table->s ``` --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/360#issuecomment-153485859___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org

Re: [sr-dev] [kamailio] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2) (#360)

2015-11-03 Thread jijo2010
Program terminated with signal 11, Segmentation fault. #0 0x7f7963c9e97e in db_mongodb_query (_h=0x7f7968437cd8, _k=0x0, _op=0x0, _v=0x0, _c=0x7ffc7373ba40, _n=0, _nc=21, _o=0x0, _r=0x7ffc7373ba38) at mongodb_dbase.c:846 846 if(CON_TABLE(_h)->s[CON_TABLE(_h)->len]!='\0') { Missin

[sr-dev] git:master:b8458c65: ims_registrar_scscf: Safety check the length of the destination string

2015-11-03 Thread Carsten Bock
Module: kamailio Branch: master Commit: b8458c65917c1b1fe9b94bae795dcdb75ecf4f07 URL: https://github.com/kamailio/kamailio/commit/b8458c65917c1b1fe9b94bae795dcdb75ecf4f07 Author: Carsten Bock Committer: Carsten Bock Date: 2015-11-03T17:34:18+01:00 ims_registrar_scscf: Safety check the length o

Re: [sr-dev] [kamailio] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2) (#360)

2015-11-03 Thread Daniel-Constantin Mierla
Get the output of next commands in gdb: ``` p _h p *_h p _h->table p *_h->table ``` --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/360#issuecomment-153404062___ sr-dev mailing list sr-dev@lists.sip-rou

Re: [sr-dev] [kamailio] Error in writing to sqlite DB (pua) when db_mode = 0 (#345)

2015-11-03 Thread sternik
It seems that callid is empty. Output after applying patch: ``` Nov 3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: presence [publish.c:75]: msg_presentity_clean(): cleaning expired presentity information Nov 3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: db_sqlite [dbase.c:183]: db_sqlite_submi

Re: [sr-dev] [kamailio] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2) (#360)

2015-11-03 Thread jijo2010
I'm getting a different core now, ( no Core if i disable TLS in kamailio or mongo-c-driver) Core was generated by `/usr/local/kamailio_proxy/sbin/kamailio -f /usr/local/kamailio_proxy/etc/kamail'. Program terminated with signal 11, Segmentation fault. #0 0x7f142bd7897e in db_mongodb_query

Re: [sr-dev] [kamailio] Error in writing to sqlite DB (pua) when db_mode = 0 (#345)

2015-11-03 Thread Daniel-Constantin Mierla
Can you try with the patch from commit ad552d4e45a8311d50444d76e9862d40421e1715 or with the master branch? Send again the output from syslog with debug=3, because the patch is manly targeting to see if the call-id field in the pua structure is not set, which should be. --- Reply to this email

[sr-dev] git:master:ad552d4e: pua: test call-id value before inserting in db

2015-11-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: ad552d4e45a8311d50444d76e9862d40421e1715 URL: https://github.com/kamailio/kamailio/commit/ad552d4e45a8311d50444d76e9862d40421e1715 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-11-03T16:18:36+01:00 pua: test call-id valu

[sr-dev] git:4.3:a56e5980: uac: Sanity checks

2015-11-03 Thread Stefan Mititelu
Module: kamailio Branch: 4.3 Commit: a56e5980e572357f9d3c0152623850c34ddb8963 URL: https://github.com/kamailio/kamailio/commit/a56e5980e572357f9d3c0152623850c34ddb8963 Author: Stefan Mititelu Committer: Stefan Mititelu Date: 2015-11-03T16:56:07+02:00 uac: Sanity checks Sanity checks for decod

[sr-dev] git:4.3:83938d21: dialog: Sanity checks

2015-11-03 Thread Stefan Mititelu
Module: kamailio Branch: 4.3 Commit: 83938d2153d0d33f1e3248a9ae280dae38440855 URL: https://github.com/kamailio/kamailio/commit/83938d2153d0d33f1e3248a9ae280dae38440855 Author: Stefan Mititelu Committer: Stefan Mititelu Date: 2015-11-03T16:55:13+02:00 dialog: Sanity checks Add NULL checks for

[sr-dev] git:4.2:3af67d81: uac: Sanity checks

2015-11-03 Thread Stefan Mititelu
Module: kamailio Branch: 4.2 Commit: 3af67d8142691e89aa4f9d77898c5af4ba026cbf URL: https://github.com/kamailio/kamailio/commit/3af67d8142691e89aa4f9d77898c5af4ba026cbf Author: Stefan Mititelu Committer: Stefan Mititelu Date: 2015-11-03T16:52:03+02:00 uac: Sanity checks Sanity checks for decod

[sr-dev] git:4.2:1e4043f5: dialog: Sanity checks

2015-11-03 Thread Stefan Mititelu
Module: kamailio Branch: 4.2 Commit: 1e4043f5c7af6204117a8780b0afe5c00b26be28 URL: https://github.com/kamailio/kamailio/commit/1e4043f5c7af6204117a8780b0afe5c00b26be28 Author: Stefan Mititelu Committer: Stefan Mititelu Date: 2015-11-03T16:51:12+02:00 dialog: Sanity checks Add NULL checks for

[sr-dev] git:4.1:cb65228e: dialog: Sanity checks

2015-11-03 Thread Stefan Mititelu
Module: kamailio Branch: 4.1 Commit: cb65228e2509cef518d595cc4737994393f7d51e URL: https://github.com/kamailio/kamailio/commit/cb65228e2509cef518d595cc4737994393f7d51e Author: Stefan Mititelu Committer: Stefan Mititelu Date: 2015-11-03T16:35:21+02:00 dialog: Sanity checks Add NULL checks for

[sr-dev] git:4.1:7e32dfcf: uac: Sanity checks

2015-11-03 Thread Stefan Mititelu
Module: kamailio Branch: 4.1 Commit: 7e32dfcf50e62577b406991972f6f99ae003c347 URL: https://github.com/kamailio/kamailio/commit/7e32dfcf50e62577b406991972f6f99ae003c347 Author: Stefan Mititelu Committer: Stefan Mititelu Date: 2015-11-03T16:34:25+02:00 uac: Sanity checks Sanity checks for decod

[sr-dev] git:master:876787d9: dialog: Sanity checks

2015-11-03 Thread Stefan Mititelu
Module: kamailio Branch: master Commit: 876787d977c46ffcb1288f5eb66e91145cba1061 URL: https://github.com/kamailio/kamailio/commit/876787d977c46ffcb1288f5eb66e91145cba1061 Author: Stefan Mititelu Committer: Stefan Mititelu Date: 2015-11-03T15:58:02+02:00 dialog: Sanity checks Add NULL checks f

[sr-dev] git:master:d956f397: uac: Sanity checks

2015-11-03 Thread Stefan Mititelu
Module: kamailio Branch: master Commit: d956f397c8cea4774e5941bdad8f76ecc44acdd5 URL: https://github.com/kamailio/kamailio/commit/d956f397c8cea4774e5941bdad8f76ecc44acdd5 Author: Stefan Mititelu Committer: Stefan Mititelu Date: 2015-11-03T15:50:40+02:00 uac: Sanity checks Sanity checks for de

[sr-dev] Errored: kamailio/kamailio#1491 (master - c54d6ab)

2015-11-03 Thread Travis CI
Build Update for kamailio/kamailio - Build: #1491 Status: Errored Duration: 15 minutes and 58 seconds Commit: c54d6ab (master) Author: Olle E. Johansson Message: curl Update documentation with a note about URL encoding View the changeset: https://github.com/k

[sr-dev] git:master:c54d6ab6: curl Update documentation with a note about URL encoding

2015-11-03 Thread Olle E . Johansson
Module: kamailio Branch: master Commit: c54d6ab6506bc2334c5a1f5a6cbd28633f4f4697 URL: https://github.com/kamailio/kamailio/commit/c54d6ab6506bc2334c5a1f5a6cbd28633f4f4697 Author: Olle E. Johansson Committer: Olle E. Johansson Date: 2015-11-03T09:39:01+01:00 curl Update documentation with a not