[sr-dev] [kamailio/kamailio] kamailio segmentation fault - dialog RPC (#1032)

2017-03-13 Thread pars3c1
Dear all, many times, when i call dialog_list on dialog module with jsonrpc, kamailio crash. The version i use is: 4.4.2 Thanks for any suggestion. ## gdb list: (gdb) list 1661lock_get( &profile->lock ); 1662for ( i=0 ;

[sr-dev] git:master:c986a820: dialog: fix for rpc list dialogs release of the profile locks

2017-03-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: c986a820042764fd7025be0a0766991181a0b0ea URL: https://github.com/kamailio/kamailio/commit/c986a820042764fd7025be0a0766991181a0b0ea Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-03-13T14:43:16+01:00 dialog: fix for rpc li

[sr-dev] git:5.0:28672ebc: dialog: fix for rpc list dialogs release of the profile locks

2017-03-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: 28672ebc9dceb09221c720bdd052ac23f274580f URL: https://github.com/kamailio/kamailio/commit/28672ebc9dceb09221c720bdd052ac23f274580f Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-03-13T14:50:54+01:00 dialog: fix for rpc list

[sr-dev] git:4.4:f2b6cb7f: dialog: fix for rpc list dialogs release of the profile locks

2017-03-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.4 Commit: f2b6cb7f94acd6fa3f9b802e86b09cde0903cd68 URL: https://github.com/kamailio/kamailio/commit/f2b6cb7f94acd6fa3f9b802e86b09cde0903cd68 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-03-13T14:53:33+01:00 dialog: fix for rpc list

Re: [sr-dev] [kamailio/kamailio] kamailio segmentation fault - dialog RPC (#1032)

2017-03-13 Thread Daniel-Constantin Mierla
Closed #1032. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1032#event-997253421___ sr-dev mailing list sr-dev@lists.sip-router.org htt

Re: [sr-dev] [kamailio/kamailio] kamailio segmentation fault - dialog RPC (#1032)

2017-03-13 Thread Daniel-Constantin Mierla
I pushed a patch (referenced above) that hopefully fixes it -- a mutex was released at a wrong location, making the operations unsafe. The patch has been backported to 5.0 and 4.4, you will have to upgrade to latest versions of the git branches. If there is still an issue, reopen. -- You are r

Re: [sr-dev] [kamailio/kamailio] db_text : add rpc command for live query (650858b)

2017-03-13 Thread Daniel-Constantin Mierla
@lazedo - yhe function open_memstream() seems to be unavailable for various *BSDs, MacOSX, Unix'es versions: * https://www.gnu.org/software/gnulib/manual/html_node/open_005fmemstream.html A solution would be to include an alternative implementation, like: * http://piumarta.com/software/mems

[sr-dev] git:master:1980c2c3: db_text: rpc command query requires linux for open_memstream()

2017-03-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 1980c2c302f1dfd577391cafcc2849db7ff35a29 URL: https://github.com/kamailio/kamailio/commit/1980c2c302f1dfd577391cafcc2849db7ff35a29 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-03-13T15:14:05+01:00 db_text: rpc command q

[sr-dev] git:master:a9d2cbc5: topos: removed unused ftag variable

2017-03-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: a9d2cbc591f7e1da8743b3598576ef7753c5f32c URL: https://github.com/kamailio/kamailio/commit/a9d2cbc591f7e1da8743b3598576ef7753c5f32c Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-03-13T15:16:23+01:00 topos: removed unused

Re: [sr-dev] [kamailio/kamailio] Kamailio 5 coredump 11 (SEGV) upcon receiving MESSAGE via jsonrpcs (#1030)

2017-03-13 Thread Daniel-Constantin Mierla
Can you also get the content of msg field, respectively: ``` p *ctx->msg ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1030#issuecomment-286126055

Re: [sr-dev] [kamailio/kamailio] Kamailio core dumped (#1021)

2017-03-13 Thread Daniel-Constantin Mierla
Probably having access to a VM where I can reporduce myself is the best for analyzing. Let me know when it is available, I can provide a ssh key for getting access on it (I will also need sudo privileges). As I am not that familiar with freebsd, be sure that vim and gdb are installed. -- You a

Re: [sr-dev] [kamailio/kamailio] Kamailio core dumped (#1021)

2017-03-13 Thread SubnetsRU
Ok, I'll write when it will be ready. -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1021#issuecomment-286130837___ sr-dev mailing list sr-dev@lists.sip-ro

[sr-dev] git:master:8ce23dda: pv: attempt to print cfg line for string transformation errors

2017-03-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 8ce23dda673441541de836e71af9101d8b7894ea URL: https://github.com/kamailio/kamailio/commit/8ce23dda673441541de836e71af9101d8b7894ea Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-03-13T17:47:25+01:00 pv: attempt to print c

Re: [sr-dev] [kamailio/kamailio] substr transformation error does not include config line number (#1019)

2017-03-13 Thread Daniel-Constantin Mierla
I pushed a patch to attempt to print the line for string transformation errors, as they are commonly used. However, this can be also accomplished for all error logs by setting config parameters: ``` log_prefix_mode=1 log_prefix="(cfg line: $cfg(line) " ``` -- You are receiving this because you

Re: [sr-dev] [kamailio/kamailio] substr transformation error does not include config line number (#1019)

2017-03-13 Thread Daniel-Constantin Mierla
Closed #1019. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1019#event-997601441___ sr-dev mailing list sr-dev@lists.sip-router.org htt

Re: [sr-dev] [kamailio/kamailio] Kamailio core dumped (#1021)

2017-03-13 Thread SubnetsRU
It's ready for you. Send me your public key to po...@subnets.ru, please. -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1021#issuecomment-286169780___ sr-de

[sr-dev] git:master:97b3ce7c: core: more safety checks for getting int values from cfg function params

2017-03-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 97b3ce7c8991774f42c013122704f32e2822ac58 URL: https://github.com/kamailio/kamailio/commit/97b3ce7c8991774f42c013122704f32e2822ac58 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-03-13T18:13:05+01:00 core: more safety chec

[sr-dev] git:master:618888cc: dialog: more checks for dlg_set_timeout() params

2017-03-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 61cc9497ae5c478c41d7b0efc27731b42b22 URL: https://github.com/kamailio/kamailio/commit/61cc9497ae5c478c41d7b0efc27731b42b22 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-03-13T18:13:51+01:00 dialog: more checks fo

[sr-dev] git: new commits in branch 5.0

2017-03-13 Thread Daniel-Constantin Mierla
- URL: https://github.com/kamailio/kamailio/commit/1c7d33a9a9c169cdd55be00f30a5af1e5525c915 Author: Daniel-Constantin Mierla Date: 2017-03-13T18:50:03+01:00 Makefile: make tar updated to skip obsolete folder - paths updated to run with src folder (cherry picked from commit 7ecd9dfb37b3b4a97

[sr-dev] git:master:4e9bea70: topos: fix for names of parameters

2017-03-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 4e9bea70b6701405925eb40c14e58b5b1383f827 URL: https://github.com/kamailio/kamailio/commit/4e9bea70b6701405925eb40c14e58b5b1383f827 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-03-13T19:05:15+01:00 topos: fix for names o

[sr-dev] git:5.0:40112765: topos: fix for names of parameters

2017-03-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: 4011276557e3658f84885d03cf7db0277f60e590 URL: https://github.com/kamailio/kamailio/commit/4011276557e3658f84885d03cf7db0277f60e590 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-03-13T19:05:51+01:00 topos: fix for names of p

[sr-dev] git:5.0:0c05eb15: modules: readme files regenerated - modules ... [skip ci]

2017-03-13 Thread Kamailio Dev
Module: kamailio Branch: 5.0 Commit: 0c05eb15a65ee7974e7858f630d4a7a6a0a91f51 URL: https://github.com/kamailio/kamailio/commit/0c05eb15a65ee7974e7858f630d4a7a6a0a91f51 Author: Kamailio Dev Committer: Kamailio Dev Date: 2017-03-13T19:16:26+01:00 modules: readme files regenerated - modules ... [

[sr-dev] git:master:815b235f: modules: readme files regenerated - topos ... [skip ci]

2017-03-13 Thread Kamailio Dev
Module: kamailio Branch: master Commit: 815b235f61fcb2a7d33a198dce00023b35622559 URL: https://github.com/kamailio/kamailio/commit/815b235f61fcb2a7d33a198dce00023b35622559 Author: Kamailio Dev Committer: Kamailio Dev Date: 2017-03-13T19:16:40+01:00 modules: readme files regenerated - topos ...

Re: [sr-dev] [kamailio/kamailio] Kamailio 5 coredump 11 (SEGV) upcon receiving MESSAGE via jsonrpcs (#1030)

2017-03-13 Thread Anthony Messina
See attached. I have replaced my domain with "example.com" and my username with "user". [kamailio-coredump-jsonrpcs-message_2.txt](https://github.com/kamailio/kamailio/files/839849/kamailio-coredump-jsonrpcs-message_2.txt) -- You are receiving this because you are subscribed to this thread. Re