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

2017-03-14 Thread Anthony Messina
The strange thing is, the MESSAGE is received and transmitted to the recipient, then Kamailio fails, apparently on the reply. -- 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#i

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

2017-03-14 Thread Anthony Messina
I had to send another message to do this, but here it is: [kamailio-coredump-jsonrpcs-message-script-debug.txt](https://github.com/kamailio/kamailio/files/842912/kamailio-coredump-jsonrpcs-message-script-debug.txt) -- You are receiving this because you are subscribed to this thread. Reply to thi

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

2017-03-14 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > 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(lin

[sr-dev] [kamailio/kamailio] utils/pdbt: FreeBSD fix, gcc is hardcoded, header is missing (#1033)

2017-03-14 Thread Rick
- use CC environment variable if set - added missing sys/stat.h header You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/1033 -- Commit Summary -- * utils/pdbt: FreeBSD fix, gcc is hardcoded, header is missing -- File Changes -- M

Re: [sr-dev] [kamailio/kamailio] core: enable reuse of tcp sockets (#1024)

2017-03-14 Thread Daniel-Constantin Mierla
The patch is not that complex, so it can be merged, but I think there are few things to add afterwards: * find a way to have the option compiled always and enabled if available. Very unlikely someone will re-compile with other define options. With a quick search, maybe uname() (https://linux.

Re: [sr-dev] [kamailio/kamailio] presence : fix fast_notify usage (#1031)

2017-03-14 Thread Daniel-Constantin Mierla
Merged #1031. -- 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/pull/1031#event-999668003___ sr-dev mailing list sr-dev@lists.sip-router.org http:

Re: [sr-dev] [kamailio/kamailio] presence : fix fast_notify usage (#1031)

2017-03-14 Thread Daniel-Constantin Mierla
Thanks! -- 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/pull/1031#issuecomment-286530059___ sr-dev mailing list sr-dev@lists.sip-router.org http

[sr-dev] git:master:0411c078: presence : fix fast_notify usage

2017-03-14 Thread GitHub
Module: kamailio Branch: master Commit: 0411c078b525ffa78b1bc252e161914205b6ac4b URL: https://github.com/kamailio/kamailio/commit/0411c078b525ffa78b1bc252e161914205b6ac4b Author: lazedo Committer: GitHub Date: 2017-03-11T16:04:32Z presence : fix fast_notify usage fast_notify not used when pre

[sr-dev] git:master:b926e403: Merge pull request #1031 from kamailio/lazedo-patch-1

2017-03-14 Thread GitHub
Module: kamailio Branch: master Commit: b926e403f1709d0fc15f1dc8991f4369d57586ed URL: https://github.com/kamailio/kamailio/commit/b926e403f1709d0fc15f1dc8991f4369d57586ed Author: Daniel-Constantin Mierla Committer: GitHub Date: 2017-03-14T20:14:40+01:00 Merge pull request #1031 from kamailio/l

Re: [sr-dev] [kamailio/kamailio] Fix execinfo error in ims_dialog module (#996)

2017-03-14 Thread Daniel-Constantin Mierla
Merged #996. -- 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/pull/996#event-999665981___ sr-dev mailing list sr-dev@lists.sip-router.org http://

[sr-dev] git:master:263546f9: Merge pull request #996 from ffontaine/master

2017-03-14 Thread GitHub
Module: kamailio Branch: master Commit: 263546f932cb517caf6d15472350d58132e916d3 URL: https://github.com/kamailio/kamailio/commit/263546f932cb517caf6d15472350d58132e916d3 Author: Daniel-Constantin Mierla Committer: GitHub Date: 2017-03-14T20:13:17+01:00 Merge pull request #996 from ffontaine/m

Re: [sr-dev] [kamailio/kamailio] Fix execinfo error in ims_dialog module (#996)

2017-03-14 Thread Daniel-Constantin Mierla
Thanks! -- 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/pull/996#issuecomment-286529672___ sr-dev mailing list sr-dev@lists.sip-router.org http:

Re: [sr-dev] [kamailio/kamailio] 4.4 dmqfix backport (#1029)

2017-03-14 Thread Daniel-Constantin Mierla
Thanks! -- 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/pull/1029#issuecomment-286529464___ sr-dev mailing list sr-dev@lists.sip-router.org http

Re: [sr-dev] [kamailio/kamailio] 4.4 dmqfix backport (#1029)

2017-03-14 Thread Daniel-Constantin Mierla
Merged #1029. -- 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/pull/1029#event-999664879___ sr-dev mailing list sr-dev@lists.sip-router.org http:

[sr-dev] git:4.4:b5427f85: Merge pull request #1029 from jchavanton/4.4-dmqfix-backport

2017-03-14 Thread GitHub
Module: kamailio Branch: 4.4 Commit: b5427f85590bd9e5111669cbd665ca7b5181797c URL: https://github.com/kamailio/kamailio/commit/b5427f85590bd9e5111669cbd665ca7b5181797c Author: Daniel-Constantin Mierla Committer: GitHub Date: 2017-03-14T20:12:29+01:00 Merge pull request #1029 from jchavanton/4.

[sr-dev] git:4.4:d782f0d0: dmq_usrloc: Use ruid for saving/updating contacts

2017-03-14 Thread Julien Chavanton
Module: kamailio Branch: 4.4 Commit: d782f0d052f7092576b4935987b9ee25beb0f771 URL: https://github.com/kamailio/kamailio/commit/d782f0d052f7092576b4935987b9ee25beb0f771 Author: Carsten Bock Committer: Julien Chavanton Date: 2017-03-10T13:47:31-08:00 dmq_usrloc: Use ruid for saving/updating cont

[sr-dev] git:4.4:40cce572: dmq_usrloc: adjust locking sequence

2017-03-14 Thread Julien Chavanton
Module: kamailio Branch: 4.4 Commit: 40cce572ebb30dd63470ab59e15e8751c655f4a2 URL: https://github.com/kamailio/kamailio/commit/40cce572ebb30dd63470ab59e15e8751c655f4a2 Author: jchavanton Committer: Julien Chavanton Date: 2017-03-10T13:47:42-08:00 dmq_usrloc: adjust locking sequence to avoid

[sr-dev] git:5.0:074f52de: app_perl: Make sv2int_str() static

2017-03-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: 074f52de88f473945628f81740a87e5f6bc072ea URL: https://github.com/kamailio/kamailio/commit/074f52de88f473945628f81740a87e5f6bc072ea Author: James Cloos Committer: Daniel-Constantin Mierla Date: 2017-03-14T20:11:29+01:00 app_perl: Make sv2int_str() static -

Re: [sr-dev] [kamailio/kamailio] app_perl: Make sv2int_str() static (#1020)

2017-03-14 Thread Daniel-Constantin Mierla
Merged #1020. -- 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/pull/1020#event-999661959___ sr-dev mailing list sr-dev@lists.sip-router.org http:

[sr-dev] git:master:42d3b93f: app_perl: Make sv2int_str() static

2017-03-14 Thread James Cloos
Module: kamailio Branch: master Commit: 42d3b93f838d1c2eeb009894422fe016a6572520 URL: https://github.com/kamailio/kamailio/commit/42d3b93f838d1c2eeb009894422fe016a6572520 Author: James Cloos Committer: James Cloos Date: 2017-03-10T16:52:55-05:00 app_perl: Make sv2int_str() static - The functi

[sr-dev] git:master:770331df: Merge pull request #1020 from jhcloos/master

2017-03-14 Thread GitHub
Module: kamailio Branch: master Commit: 770331dfe0d82ac699d5c4452cedf6c877f27046 URL: https://github.com/kamailio/kamailio/commit/770331dfe0d82ac699d5c4452cedf6c877f27046 Author: Daniel-Constantin Mierla Committer: GitHub Date: 2017-03-14T20:10:26+01:00 Merge pull request #1020 from jhcloos/ma

Re: [sr-dev] [kamailio/kamailio] Dialog: Core dump when using dlg_set_timeout (#1011)

2017-03-14 Thread Daniel-Constantin Mierla
I pushed some commits with safety checks back to 4.4. If the issue is still there, reopen. -- 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/1011#issuecomment-286528720__

Re: [sr-dev] [kamailio/kamailio] Dialog: Core dump when using dlg_set_timeout (#1011)

2017-03-14 Thread Daniel-Constantin Mierla
Closed #1011. -- 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/1011#event-999660339___ sr-dev mailing list sr-dev@lists.sip-router.org htt

[sr-dev] git:4.4:ab580223: core: more safety checks for getting int values from cfg function params

2017-03-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.4 Commit: ab5802239d850010b2f33a7b0a627232cd15e3b9 URL: https://github.com/kamailio/kamailio/commit/ab5802239d850010b2f33a7b0a627232cd15e3b9 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-03-14T20:06:14+01:00 core: more safety checks

[sr-dev] git:4.4:99c0c6ea: dialog: more checks for dlg_set_timeout() params

2017-03-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.4 Commit: 99c0c6ea153ca4299b22c3639cfd3613d0711f43 URL: https://github.com/kamailio/kamailio/commit/99c0c6ea153ca4299b22c3639cfd3613d0711f43 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-03-14T20:06:37+01:00 dialog: more checks for d

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

2017-03-14 Thread Daniel-Constantin Mierla
How did you compile kamailio? It uses pthread mutexes, which should not happen, there is no proper synchronization done there, so crashing can happen at any time. I cloned kamailio and compiled it as usual and it uses the default FAST_LOCK for sync, not PTHREAD_MUTEX. -- You are receiving thi

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

2017-03-14 Thread SubnetsRU
I've got core dump: it locates at /mnt/hdd3/coredumps/kamailio.20041.core -- 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-286429354___ sr-d

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

2017-03-14 Thread SubnetsRU
No, but sometime it is hard to reproduce core dump... Yes, I can. I'll pass calls now. -- 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-286426640___

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

2017-03-14 Thread Daniel-Constantin Mierla
I connected to the box and started kamailio with `-x qm` -- it works, you said that it crashes immediately: ``` [VM-TEST@sip7:/home/daniel] ps auxw | grep kamai root 19951 0.0 1.8 222420 37196 - S 4:24PM0:00.05 /usr/local/sbin/kamailio -x qm -a no -E -e -ddd root 19952 0.

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

2017-03-14 Thread Daniel-Constantin Mierla
Couldn't spot anything relevant wrong for sending the response. Can you grab all the log messages with debug=3 in kamailio.cfg? Hopefully it will show more leads about what frame 0 can be. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view