Hello Daniel,
I haven't internet assess in our LAB kamailio,
I just applied your last commit3a48835cf68f583ff2fbd7cec9bd76ddc0a1b6fc
and now It's working.
(Tested for empty match_exp with match_op 1 and 2)
Thank you so much!
Julia
On Tue, Dec 20, 2016 at 9:38 AM, Daniel-Constantin Mierla <miconda(a)gmail.com
wrote:
> Hello,
>
> thanks, it helped and hopefully it is not fixed in master and 4.4
> branches? Can you try fetching from git repository and see all ok now?
>
> Cheers,
> Daniel
>
> On 20/12/2016 06:56, Julia Boudniatsky wrote:
>
> Hello,
>
> (gdb) frame 2
> #2 0x00007f7dca44d21a in translate (msg=0x7f7dd00bedd8, input=...,
> output=0x7fff32793420, idp=0x7f7cc9376648, attrs=0x7fff32793410)
> at dp_repl.c:636
> 636 rez = fnmatch(rulep->match_exp.s,
> input.s, 0);
> (gdb) list
> 631
> 632 case DP_FNMATCH_OP:
> 633 LM_DBG("fnmatch operator
> testing\n");
> 634 b = input.s[input.len];
> 635 input.s[input.len] = '\0';
> 636 rez = fnmatch(rulep->match_exp.s,
> input.s, 0);
> 637 input.s[input.len] = b;
> 638 rez = (rez==0)?0:-1;
> 639 break;
> 640
>
> Thank you,
> Julia
>
> On Mon, Dec 19, 2016 at 10:46 PM, Daniel-Constantin Mierla <
> miconda(a)gmail.com
wrote:
>
>> Hello,
>>
>> I mistakenly pointed to a wrong frame, can you do it again for frame 2?
>> frame 2
>> list
>>
>> Cheers,
>> Daniel
>>
>>
>> On 19/12/2016 21:28, Julia Boudniatsky wrote:
>>
>> Hello Daniel,
>>
>> Thank you for reply.
>>
>>
>> Program terminated with signal 11, Segmentation fault.
>> #0 0x00000036074afb73 in internal_fnmatch () from /lib64/libc.so.6
>> Missing separate debuginfos, use: debuginfo-install
>> MySQL-shared-5.5.27-1.el6.x86_64 glibc-2.12-1.47.el6.x86_64
>> libgcc-4.4.6-3.el6.x86_64 libuuid-2.17.2-12.4.el6.x86_64
>> pcre-7.8-3.1.el6.x86_64
>> (gdb) frame 0
>> #0 0x00000036074afb73 in internal_fnmatch () from /lib64/libc.so.6
>> (gdb) list
>> 1834 int proto;
>> 1835 char *options;
>> 1836 int ret;
>> 1837 unsigned int seed;
>> 1838 int rfd;
>> 1839 int debug_save, debug_flag;
>> 1840 int dont_fork_cnt;
>> 1841 struct name_lst* n_lst;
>> 1842 char *p;
>> 1843 struct stat st = {0};
>>
>> Best regards.
>>
>> Julia
>>
>>
>>
>>
>>
>> On Mon, Dec 19, 2016 at 8:38 PM, Daniel-Constantin Mierla <
>> miconda(a)gmail.com
wrote:
>>
>>> Hello,
>>>
>>> can you give the output in gdb for:
>>>
>>> frame 0
>>> list
>>>
>>> The head of 4.4 branch got some extra commits to the module and those
>>> commands help to identify the right lines of code.
>>>
>>> Cheers,
>>> Daniel
>>>
>>> On 19/12/2016 13:47, Julia Boudniatsky wrote:
>>>
>>> version: kamailio 4.4.4 id:852c47
>>>
>>> ENTRY: {
>>> PRIO: 16765956
>>> MATCHOP: 2
>>> *MATCHEXP: *
>>> MATCHLEN: 0
>>> SUBSTEXP:
>>> REPLEXP:
>>> ATTRS: 1
>>> }
>>>
>>> Please see generated core file in extension.
>>>
>>> Thank you,
>>> Julia.
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>> --
>>> Daniel-Constantin
Mierlawww.twitter.com/miconda --
www.linkedin.com/in/miconda
>>> Kamailio World Conference - May 8-10, 2017 -
www.kamailioworld.com
>>>
>>> _______________________________________________ SIP Express Router
>>> (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cg
>>> i-bin/mailman/listinfo/sr-users
>>
>> --
>> Daniel-Constantin
Mierlawww.twitter.com/miconda --
www.linkedin.com/in/miconda
>> Kamailio World Conference - May 8-10, 2017 -
www.kamailioworld.com
>>
>> --
> Daniel-Constantin
Mierlawww.twitter.com/miconda --
www.linkedin.com/in/miconda
> Kamailio World Conference - May 8-10, 2017 -
www.kamailioworld.com
>
>