Re: [sr-dev] [kamailio/kamailio] Issues with PUA_REGINFO module (#1579)

2018-08-22 Thread Daniel-Constantin Mierla
Closed #1579.

-- 
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/1579#event-1802175152___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Issues with PUA_REGINFO module (#1579)

2018-08-21 Thread Lars Olsson
Ok, great. Will try create a patch during the evening.



-- 
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/1579#issuecomment-414682202___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Issues with PUA_REGINFO module (#1579)

2018-08-20 Thread Daniel-Constantin Mierla
@lasseo - can you make the patch for master branch?  It doesn't apply there. We 
first fix the master branch and then backport. Eventually make a pull request, 
it is easier to review and merge the patch.

-- 
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/1579#issuecomment-414261930___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Issues with PUA_REGINFO module (#1579)

2018-07-03 Thread Lars Olsson
@linuxmaniac ,  Something like this?

(gdb) print *_r
$3 = {domain = 0x7fe96dea0dd8, aor = {s = 0x7fe96deb24d8 
"\320\063\r\301\376\177", len = 6}, aorhash = 2857371829, contacts = 0x0, slot 
= 0x0, prev = 0x0, 
  next = 0x0}

(gdb) print _r->slot
$4 = (struct hslot *) 0x0

(gdb) print *_r->slot
Cannot access memory at address 0x0




-- 
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/1579#issuecomment-402230511___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Issues with PUA_REGINFO module (#1579)

2018-07-03 Thread Victor Seva
@lasseo can you, please obtain the value of `*_r`, `_r->slot` and `*_r->slot` 
from gdb

-- 
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/1579#issuecomment-402044639___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Issues with PUA_REGINFO module (#1579)

2018-07-03 Thread Lars Olsson
`Core was generated by `/usr/local/sbin/kamailio -f /root/kamailio-test.cfg'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x7fe975560399 in release_urecord (_r=0x7fe96deb2430) at urecord.c:555
555 mem_delete_urecord(_r->slot->d, _r);
(gdb) bt full
#0  0x7fe975560399 in release_urecord (_r=0x7fe96deb2430) at urecord.c:555
No locals.
#1  0x7fe971e5619e in process_body (notify_body=..., domain=0x7fe96dea0ed8) 
at notify.c:461
doc = 0xf4b110
doc_root = 0xf4b4a0
registrations = 0xf4b860
contacts = 0x0
uris = 0x0
params = 0x0
uri = 
"\320\063\r\301\376\177\000\000\370rWg\000\000\000\000\020\203A\000\004\000\000\000\240\267~",
 '\000' , 
"\260\064\r\301\376\177\000\000\f\323l\000\000\000\000\000\250\026\f\000\000\000\000\000\b\000\000\000\000\000\000\000\017\000\000\000\000\000\000\000\020@\256v\351\177\000\000\000\064\r\301\376\177\000\000\300V\272v\351\177\000\000&\240\244\000\000\000\000\000\203\236\244\000\000\000\000\000\260\064\r\301\376\177\000\000\222]g\000\000\000\000\000\212\001\000\000\376\177\000\000\253ag",
 '\000' , "\240\267~\000\000\000\000\000) 
IN@\001\000\000\270\347~\000\000\000\000\000"...
aor_key = {s = 0x7ffec10d3370 "\320\063\r\301\376\177", len = 6}
aor = {s = 0xf33660 "sip:1...@mnc001.mcc001.3gppnetwork.org", len = 38}
callid = {s = 0x0, len = 0}
contact = {s = 0x0, len = 0}
contact_uri = {s = 0x0, len = 0}
contact_params = {s = 0x0, len = 0}
param = {s = 0x0, len = 0}
received = {s = 0x0, len = 0}
path = {s = 0x0, len = 0}
user_agent = {s = 0x0, len = 0}
state = 0
event = 0
expires = 10788902
result = 0
final_result = 2
expires_char = 0x0
cseq_char = 0x7fe975c56495 "sl: sl.c"
cseq = 0
len = 4293392
ul_record = 0x7fe96deb2430
ul_contact = 0x0
parsed_aor = {user = {s = 0xf33664 
"1...@mnc001.mcc001.3gppnetwork.org", len = 4}, passwd = {s = 0x0, len = 0}, 
host = {s = 0xf33669 "mnc001.mcc001.3gppnetwork.org", len = 29}, port = {s = 
0x0, len = 0}, params = {s = 0x0, len = 0}, 
  sip_params = {s = 0x0, len = 0}, headers = {s = 0x0, len = 0}, 
port_no = 0, proto = 0, type = SIP_URI_T, flags = (unknown: 0), transport = {s 
= 0x0, len = 0}, ttl = {s = 0x0, len = 0}, user_param = {s = 0x0, len = 0}, 
maddr = {s = 0x0, 
len = 0}, method = {s = 0x0, len = 0}, lr = {s = 0x0, len = 0}, r2 
= {s = 0x0, len = 0}, gr = {s = 0x0, len = 0}, transport_val = {s = 0x0, len = 
0}, ttl_val = {s = 0x0, len = 0}, user_param_val = {s = 0x0, len = 0}, 
maddr_val = {
s = 0x0, len = 0}, method_val = {s = 0x0, len = 0}, lr_val = {s = 
0x0, len = 0}, r2_val = {s = 0x0, len = 0}, gr_val = {s = 0x0, len = 0}}
mem_only = 1
__FUNCTION__ = "process_body"
#2  0x7fe971e56f51 in reginfo_handle_notify (msg=0x7fe976ba48e8, 
domain=0x7fe96dea0ed8 "\330\r\352m\351\177", s2=0x0) at notify.c:501
body = {
  s = 0xa49e9c  "\r\n\r\n\r\n}, sin = {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 
0}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 0, 
sin6_port = 0, 
---Type  to continue, or q  to quit---
  sin6_flowinfo = 0, sin6_addr = {__in6_u = {__u6_addr8 = '\000' 
, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 
0, 0, 0}}}, sin6_scope_id = 0}}, id = 0, proto = 0 '\000', send_flags = {f = 0, 
blst_imask = 0}}
tmp = 0x7ffec10d53c0 "\004"
new_uri = 0x0
end = 0x0
crt = 0x7fe976ba48e8 "\001"
cmd = 0x7fe976b86fc8
len = 32766
user = -1056095264
uri = {user = {s = 0x0, len = 300666880}, passwd = {s = 0x0, len = 
1733784312}, host = {s = 0x418310 <_start> 
"1\355I\211\321^H\211\342H\203\344\360PTI\307\300\060\217t", len = 
-1056088512}, port = {s = 0x0, len = 0}, params = {
s = 0x7ffec10d3c80 "\220=\r\301\376\177", len = 4753009}, 
sip_params = {s = 0x7ffec10d4050 "pushas.mnc001.mcc001.3gppnetwork.org", len = 
0}, headers = {s = 0x6d2e736168737570 , 
len = 808477550}, port_no = 12387, proto = 12592, type = 
1885811502, flags = (unknown: 1991919848), transport = {s = 0x7fe976b8aee0 "c", 
len = -1056097104}, ttl = {s = 0x0, len = 0}, user_param = {s = 0x0, len = 0}, 
maddr = {
s = 0x1 , len = 0}, method = {s = 0x0, len = 1733784312}, lr = {s = 
0x418310 <_start> "1\355I\211\321^H\211\342H\203\344\360PTI\307\300\060\217t", 
len = -1056088512}, r2 = {
s = 0x0, len = 0}, gr = {s = 0x7ffec10d3d90 "\200>\r\301\376\177", 
len = 4754710}, transport_val = {s = 0x0, len = 1991919848}, ttl_val = {s = 
0x7fe976b8aee0 "c", len = -1056091200}, user_param_val = {s = 0x0, len = 1}, 
maddr_val = {
s = 0x675772f8 , 
len = 1671370636}, method_val = {s = 0x418310 <_start> 

Re: [sr-dev] [kamailio/kamailio] Issues with PUA_REGINFO module (#1579)

2018-07-02 Thread Lars Olsson
Issue seen from beginning when using module together with Kamailio IMS.
SIPp scenario tries to simulate register/unregister as seen in IMS network.

launched with:
sipp -sf notify.xml -inf register.csv 192.168.55.20 -r 1 -m 1 
-default_behaviors none

[notify.csv.txt](https://github.com/kamailio/kamailio/files/2155708/notify.csv.txt)

[notify.xml.txt](https://github.com/kamailio/kamailio/files/2155714/notify.xml.txt)


-- 
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/1579#issuecomment-401836463___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Issues with PUA_REGINFO module (#1579)

2018-07-02 Thread Lars Olsson

[notify.patch.txt](https://github.com/kamailio/kamailio/files/2155657/notify.patch.txt)


-- 
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/1579#issuecomment-401830230___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Issues with PUA_REGINFO module (#1579)

2018-07-02 Thread ng-voice GmbH
Quote: "Attaching SIPp scenario."

Can you attach it?

-- 
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/1579#issuecomment-401827243___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Issues with PUA_REGINFO module (#1579)

2018-07-02 Thread Daniel-Constantin Mierla
If you get a crash, get the output of `bt full` in gdb taken from the core file 
and paste it here, it should give details where the crash happens.

-- 
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/1579#issuecomment-401808271___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev