Re: [SR-Users] kamailio 4.2.3 Segmentation fault when using db_cluster module

2015-03-10 Thread Daniel-Constantin Mierla
Thanks for testing and reporting the results to close the issue. Cheers, Daniel On 10/03/15 15:01, Jan Hazenberg wrote: > Daniel, > > Yes thanks, that seems to solve the issue. > > Jan > > Daniel-Constantin Mierla schreef op 2015-03-10 13:57: >> Thanks, it helped to spot the issue. Can you try wi

Re: [SR-Users] kamailio 4.2.3 Segmentation fault when using db_cluster module

2015-03-10 Thread Jan Hazenberg
Daniel, Yes thanks, that seems to solve the issue. Jan Daniel-Constantin Mierla schreef op 2015-03-10 13:57: Thanks, it helped to spot the issue. Can you try with the latest version from branch 4.2? Cheers, Daniel On 10/03/15 10:46, Jan Hazenberg wrote: Daniel, Here the gdb output: ...

Re: [SR-Users] kamailio 4.2.3 Segmentation fault when using db_cluster module

2015-03-10 Thread Daniel-Constantin Mierla
Thanks, it helped to spot the issue. Can you try with the latest version from branch 4.2? Cheers, Daniel On 10/03/15 10:46, Jan Hazenberg wrote: > Daniel, > > > Here the gdb output: > > ... -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio W

Re: [SR-Users] kamailio 4.2.3 Segmentation fault when using db_cluster module

2015-03-10 Thread Jan Hazenberg
Daniel, Here the gdb output: (gdb) p cls $1 = (dbcl_cls_t *) 0x7ff7715b7390 (gdb) p *cls $2 = {name = {s = 0x7ff7715b72d8 "cls1=>con1=9r8r;con2=9r8r;con3=9r8r", len = 4}, clsid = 1863538307, ref = 1, rlist = {{clist = {0x0, 0x0, 0x0, 0x0, 0x0}, clen = 0, prio = 0, mode = 0, crt = 0}, {clist =

Re: [SR-Users] kamailio 4.2.3 Segmentation fault when using db_cluster module

2015-03-10 Thread Daniel-Constantin Mierla
Hello, can you give the output from gdb for: p cls p *cls p i bt full Cheers, Daniel On 09/03/15 20:21, Jan Hazenberg wrote: > Olle, > > Here is the gdb debug trace > > (gdb) backtrace > #0 0x7ff76e13bddc in db_cluster_delete (_h=0x7ff7716f2428, > _k=0x0, _o=0x0, _v=0x0, _n=0) at dbcl_api.

Re: [SR-Users] kamailio 4.2.3 Segmentation fault when using db_cluster module

2015-03-09 Thread Jan Hazenberg
Olle, Here is the gdb debug trace (gdb) backtrace #0 0x7ff76e13bddc in db_cluster_delete (_h=0x7ff7716f2428, _k=0x0, _o=0x0, _v=0x0, _n=0) at dbcl_api.c:390 #1 0x7ff769d0193c in load_dialog_info_from_db (dlg_hash_size=4096, fetch_num_rows=200) at dlg_db_handler.c:462 #2 0x7ff769

Re: [SR-Users] kamailio 4.2.3 Segmentation fault when using db_cluster module

2015-03-09 Thread Olle E. Johansson
On 09 Mar 2015, at 17:16, Jan Hazenberg wrote: > Hello, > > I have a issue on kamailio 4.2.3 when using the db_cluster module. I have the > following config: > > #!define DBURL "cluster://cls1" > > # - db_cluster params - > modparam("db_cluster", "connection", > "con1=>my