Re: [sr-dev] [kamailio/kamailio] crash on run_rr_callbacks() from dlg_onroute() (#1059)

2017-04-06 Thread Victor Seva
> Any idea why frames 1 and 2 don't have the symbols? Was there a single core > file, presuming the options for core files per pid was set? No idea, per-process core file is enabled too. ``` # cat /proc/sys/kernel/core_uses_pid 1 ``` -- You are receiving this because you are subscribed to this

Re: [sr-dev] [kamailio/kamailio] Problem with topos together with track_cseq_updates (#1038)

2017-04-06 Thread lamSteven
I'm sorry for the delay! Attached you'll find two full debug logs: one with topos loaded before dialog, one with topos loaded after dialog. [topos_before_dialog.txt](https://github.com/kamailio/kamailio/files/901938/topos_before_dialog.txt) [topos_after_dialog.txt](https://github.com/kamailio/ka

Re: [sr-dev] [kamailio/kamailio] crash on run_rr_callbacks() from dlg_onroute() (#1059)

2017-04-06 Thread Victor Seva
same thing in another customer ``` #0 0x7fae3f1f7e14 in strnlen () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #1 0x7fae3f1c0b19 in vfprintf () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #2 0x7fae3f25a216 in __vsyslog_chk () from /l

Re: [sr-dev] [kamailio/kamailio] crash on run_rr_callbacks() from dlg_onroute() (#1059)

2017-04-06 Thread Daniel-Constantin Mierla
Can you do: * frame 4 * list * info locals The code in branch 4.4 for dlg_handlers.c:1350 is: ``` LM_WARN("inconsitent dlg timer data on dlg %p [%u:%u] " "with clid '%.*s' and tags '%.*s' '%.*s'\n", dlg,

Re: [sr-dev] [kamailio/kamailio] crash on run_rr_callbacks() from dlg_onroute() (#1059)

2017-04-06 Thread Victor Seva
This is the ``NGCP`` version of 4.4.5 sources at https://github.com/sipwise/kamailio/tree/mr4.5.4 but be aware that list of patches are at https://github.com/sipwise/kamailio/blob/mr4.5.4/debian/patches/series and I changed the sensible data from the paste In order you to see the source easily I

Re: [sr-dev] [kamailio/kamailio] crash on run_rr_callbacks() from dlg_onroute() (#1059)

2017-04-06 Thread Daniel-Constantin Mierla
Did you put in pastebin the wrong file (like dlg_db_handlers.c)? All the tokens provided by kamailio in that log message are by length and pointer (%.*s), so there should be no strlen done on the pointers we set, so not sure on what syslog can do the strlen and crash. -- You are receiving this

Re: [sr-dev] [kamailio/kamailio] crash on run_rr_callbacks() from dlg_onroute() (#1059)

2017-04-06 Thread Daniel-Constantin Mierla
I wonder if there is a copy/paste issue or the `dlg` is printed twice by `info locals`: ``` event = 10498440 dlg = 0x7fad74f20258 ttag = { s = 0x9aabed "0FC4E4CA-58E4A7D4000A8034-123E3700\r\nCall-ID: 3A477FD70434C083@10.10.10.18\r\nCSeq: 5709 BYE\r\nProxy-Authorization: Digest username=\"111

Re: [sr-dev] [kamailio/kamailio] crash on run_rr_callbacks() from dlg_onroute() (#1059)

2017-04-06 Thread Victor Seva
> Did you put in pastebin the wrong file (like dlg_db_handlers.c)? Yes, I did, sorry. The right file at https://paste.debian.net/926247/ -- 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/is

Re: [sr-dev] [kamailio/kamailio] crash on run_rr_callbacks() from dlg_onroute() (#1059)

2017-04-06 Thread Victor Seva
``` (gdb) f 4 #4 0x7fae32c3457e in dlg_onroute (req=0x7fae3def7ac8, route_params=0x7fad006e9b1e, param=0x7fff717dab10) at dlg_handlers.c:1350 1350dlg_handlers.c: No such file or directory. (gdb) p dlg $1 = (dlg_cell_t *) 0x7fad74f20258 (gdb) p *dlg $2 = {ref = 1264713769, next = 0x7f

Re: [sr-dev] [kamailio/kamailio] crash on run_rr_callbacks() from dlg_onroute() (#1059)

2017-04-06 Thread Victor Seva
be aware that this is from the second core ``` (gdb) info locals val = { s = 0x9aaf79 "c68.0d81;ice_caller=strip;ice_callee=strip;aset=50;rtpprx=yes;vsf=Y3Z5enJeQmp8bVRNYGQtEwxdZHR2LHRwc1RAaX0hWEFyMw1mZg-->\r\nP-NGCP-Src-Ip: 172.17.65.99\r\nP-NGCP-Src-Port: 5060\r\nP-NGCP-Src-Proto: udp\r\nP-

[sr-dev] [kamailio/kamailio] kazoo: add zone to connection event (#1061)

2017-04-06 Thread lazedo
You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/1061 -- Commit Summary -- * kazoo: add zone to connection event -- File Changes -- M src/modules/kazoo/kz_amqp.c (12) M src/modules/kazoo/kz_amqp.h (2) -- Patch Links -- htt

Re: [sr-dev] [kamailio/kamailio] crash on run_rr_callbacks() from dlg_onroute() (#1059)

2017-04-06 Thread Victor Seva
for the relevant part of code ``` LM_WARN("inconsitent dlg timer data on dlg %p [%u:%u] " "with clid '%.*s' and tags '%.*s' '%.*s'\n", dlg, dlg->h_entry, dlg->h_id, dlg->callid.le

Re: [sr-dev] [kamailio/kamailio] crash on run_rr_callbacks() from dlg_onroute() (#1059)

2017-04-06 Thread Victor Seva
and we have this at the log at the time of the core, 11064 is another process. ``` Apr 5 10:19:36 sipwise1-prx03a proxy[11064]: WARNING: dialog [dlg_handlers.c:1220]: dlg_onroute(): unable to find dialog for BYE with route param 'c68.0d81' [2156:6352] ``` -- You are receiving this because you

Re: [sr-dev] [kamailio/kamailio] crash on run_rr_callbacks() from dlg_onroute() (#1059)

2017-04-06 Thread Daniel-Constantin Mierla
Is it possible that there is a time consuming operations for BYE (eg, a slow database operation -- accounting or something else) that can take more than 5 seconds? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://git

Re: [sr-dev] [kamailio/kamailio] kazoo: add zone to connection event (#1061)

2017-04-06 Thread lazedo
Merged #1061. -- 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/1061#event-1032177406___ sr-dev mailing list sr-dev@lists.sip-router.org http

[sr-dev] git:master:ad368c93: kazoo: add zone to connection event

2017-04-06 Thread lazedo
Module: kamailio Branch: master Commit: ad368c93cb01f1375bb69acc09ea2b4431b9db77 URL: https://github.com/kamailio/kamailio/commit/ad368c93cb01f1375bb69acc09ea2b4431b9db77 Author: Luis Azedo Committer: lazedo Date: 2017-04-06T14:09:41+01:00 kazoo: add zone to connection event --- Modified: sr

[sr-dev] git:master:868f9996: kamailio.cfg: handle retransmissions also for request within dialog

2017-04-06 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 868f9996f39dd76707ed09fce980893bab7c31bc URL: https://github.com/kamailio/kamailio/commit/868f9996f39dd76707ed09fce980893bab7c31bc Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-04-06T15:16:05+02:00 kamailio.cfg: handle r

[sr-dev] git:master:09fe281b: kamailio.cfg: version updated to 5.1 in top comments

2017-04-06 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 09fe281bd5bea0d484a41e13b18fd3d206d2ebd9 URL: https://github.com/kamailio/kamailio/commit/09fe281bd5bea0d484a41e13b18fd3d206d2ebd9 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-04-06T15:17:47+02:00 kamailio.cfg: version

[sr-dev] git:5.0:a5e3a882: kamailio.cfg: handle retransmissions also for request within dialog

2017-04-06 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: a5e3a8822bf491516ac3d7ff0fc8ed18f5e26124 URL: https://github.com/kamailio/kamailio/commit/a5e3a8822bf491516ac3d7ff0fc8ed18f5e26124 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-04-06T15:18:34+02:00 kamailio.cfg: handle retr

[sr-dev] git:4.4:459efbd4: kamailio.cfg: handle retransmissions also for request within dialog

2017-04-06 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.4 Commit: 459efbd4f32e69001afadd85087cb87b0410b955 URL: https://github.com/kamailio/kamailio/commit/459efbd4f32e69001afadd85087cb87b0410b955 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-04-06T15:19:59+02:00 kamailio.cfg: handle retr

Re: [sr-dev] [kamailio/kamailio] crash on run_rr_callbacks() from dlg_onroute() (#1059)

2017-04-06 Thread Victor Seva
more than 5 secs? I don't think so. @apogrebennyk can you confirm? -- 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/1059#issuecomment-292190734___

Re: [sr-dev] [kamailio/kamailio] crash on run_rr_callbacks() from dlg_onroute() (#1059)

2017-04-06 Thread apogrebennyk
We have latency logging enabled but there were no abnormally long delays reported. The last lines before the crash are like this: ``` Apr 5 10:19:39 sipwise1 proxy[11071]: NOTICE: [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,

[sr-dev] git:master:e4a11d71: dialog: check if dialog exists after event route execution

2017-04-06 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: e4a11d715e3d4e47aa82b7e8e358000948e26c4c URL: https://github.com/kamailio/kamailio/commit/e4a11d715e3d4e47aa82b7e8e358000948e26c4c Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-04-06T17:06:37+02:00 dialog: check if dialo

[sr-dev] git:master:491d9cba: evapi: export non-async functions to kemi

2017-04-06 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 491d9cbae477c7b12bf768abadf7169fd25e2262 URL: https://github.com/kamailio/kamailio/commit/491d9cbae477c7b12bf768abadf7169fd25e2262 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-04-06T21:16:35+02:00 evapi: export non-asyn

[sr-dev] git:master:196537b0: dialog: exported dlg_manage() to kemi

2017-04-06 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 196537b0a226ed8da690d40a0f9526b6fb2a443e URL: https://github.com/kamailio/kamailio/commit/196537b0a226ed8da690d40a0f9526b6fb2a443e Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-04-06T21:57:17+02:00 dialog: exported dlg_m

[sr-dev] git:master:e444f6f8: tmx: new vars - $T(id_index_n) and $T(id_label_n)

2017-04-06 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: e444f6f821dcbd56e58442f9ee1b970feb52395f URL: https://github.com/kamailio/kamailio/commit/e444f6f821dcbd56e58442f9ee1b970feb52395f Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-04-06T22:20:00+02:00 tmx: new vars - $T(id_

Re: [sr-dev] [kamailio/kamailio] dmq_usrloc: sync with multi contacts per message (#1054)

2017-04-06 Thread Julien Chavanton
Hi @charlesrchance I am not planning any other modifications on this PR, the performance of sync is now acceptable for our need at this point. -- 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/kamai

Re: [sr-dev] [kamailio/kamailio] Segmentation fault using http_async_client on kamailio 5.0.0 (#1056)

2017-04-06 Thread Federico Cabiddu
I'm sorry, I've been quite busy in the last days. I will try to reproduce/investigate this in the next days. The function should indeed work in the scenario. @davyvdm: to be clear, are you calling http_async_query in a reply route or in a failure route? -- You are receiving this because you ar

Re: [sr-dev] [kamailio/kamailio] dmq_usrloc: sync with multi contacts per message (#1054)

2017-04-06 Thread Julien Chavanton
One thing that could help would be to increase the retransmission time-out only for the sync traffic, I did not see any obvious way to do this. I guess this is off topic and I was planning to discuss this in the mailing list. -- You are receiving this because you are subscribed to this thread.

Re: [sr-dev] [kamailio/kamailio] ERROR: cnxcc terminate_call(): Error executing dlg_end_dlg command. Return code was [404] (#1051)

2017-04-06 Thread Dipen Patel
Is this happening often? - yes never terminate call on exceed balance. so that why balance is going to negative? error log Apr 7 02:41:15 newsip /usr/local/sbin/kamailio[28567]: ERROR: cnxcc [cnxcc_mod.c:734]: __setup_billing(): Call [Cl11aQtI3l] not found Apr 7 02:41:15 newsip /usr/local/s