Re: [SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-11-06 Thread Jijo
Hi, I tried with mongo-c-driver 1.2.1 and crash occurring with that library as well. So i took the kamailio basic script and able to reproduce it. So the issue is slightly diffrent now. Core occurs when i enable pike(ANTIFLOOD). Another thing which i noticed is, core doesn't occur If i disable T

Re: [SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-11-03 Thread Daniel-Constantin Mierla
Hello, I tried to reproduce here and all seems fine -- I enabled tls and registered a user using mongodb as backend. Can you give the parameters you set for usrloc module? Cheers, Daniel On 06/10/15 19:03, Jijo wrote: > Thanks, I have opened the issue on github tracker. > > regards > jijo > > O

Re: [SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-10-06 Thread Jijo
Thanks, I have opened the issue on github tracker. regards jijo On Tue, Oct 6, 2015 at 9:53 AM, Daniel-Constantin Mierla wrote: > Hello, > > unfortunately not yet -- this requires compiling the libs and currently I > am traveling to USA to attend few VoIP conferences, not having a good devel >

Re: [SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-10-06 Thread Daniel-Constantin Mierla
Hello, unfortunately not yet -- this requires compiling the libs and currently I am traveling to USA to attend few VoIP conferences, not having a good devel environment with me, access to internet is limited, so connecting to a server is not easy option as well. Can you open an issue on github tra

Re: [SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-10-06 Thread realjijo
Hi Daniel Thanks for your help . Did you get a chance to look at this problem. Please let me know how did you build the mongo-c-driver ? Regards, Jijo > On Oct 2, 2015, at 7:21 AM, Jijo wrote: > > I have rebuild the official version(4.3.2) again with the default scripts and > now i'm get

Re: [SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-10-02 Thread Jijo
I have rebuild the official version(4.3.2) again with the default scripts and now i'm getting diffrent core. This happens only when i enable TLS module in kamailio. So i believe there is some corruption causing when TLS module in Kamailio and SSL in Mongo Driver is enabled. I'm running with the

Re: [SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-10-01 Thread Daniel-Constantin Mierla
If you recompiled with different souce code or different flags then the binary is no longer matching the corefile properly. Cheers, Daniel On 01/10/15 17:00, Jijo wrote: > Why the backtrace doesn't show the timer function pointer? Am i > missing something? > > Im building the mongo-c-driver as be

Re: [SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-10-01 Thread Jijo
Why the backtrace doesn't show the timer function pointer? Am i missing something? Im building the mongo-c-driver as below get the tar file from https://github.com/mongodb/mongo-c-driver/releases/download/1.1.11/mongo-c-driver-1.1.11.tar.gz run the rpm build using the spec file attached. To disabl

Re: [SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-10-01 Thread Daniel-Constantin Mierla
Hello, the bracktrace is not useful. How did you compile the mongo-c library before and were there any special parameters you set to the modules in kamailio config? Are you using db_mongodb or ndb_mongodb? Cheers, Daniel On 01/10/15 16:25, Jijo wrote: > Hi Daniel, > > Thanks.. As a sidenote, I

Re: [SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-10-01 Thread Jijo
Hi Daniel, Thanks.. As a sidenote, If i disable ssl from mongo-c-driver library then i don't have any crash.. Something changed in my environment. Im not able to get the full backtrace. This is what i'm getting now. aded symbols for /lib64/liblber-2.4.so.2 Reading symbols from /lib64/libnss_dn

Re: [SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-09-30 Thread Daniel-Constantin Mierla
The first backtrace is related to pike. Can you get from gdb of fisrt trace: frame 2 p root->entries[b] Cheers, Daniel On 30/09/15 16:19, Jijo wrote: > I'm observing a segmentation fault when mongodb & tls enabled. It > doesn't happen when one of the module is disabled. > OS: centos 6.7 kamail

[SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-09-30 Thread Jijo
I'm observing a segmentation fault when mongodb & tls enabled. It doesn't happen when one of the module is disabled. OS: centos 6.7 kamailio 4.3.2 mongo-c-driver version 1.1.10. It happens immediately after i register a subscriber. The location table is updated with the new data and in parallel