[sr-dev] Multiple memleaks and segfauts in Kamailio v5.0.4

M S shaheryarkh at gmail.com
Mon Dec 4 09:50:29 CET 2017


Super. I will test it and report back.

Many thanks and kind regards.


On Mon, Dec 4, 2017 at 9:48 AM, Daniel-Constantin Mierla <miconda at gmail.com>
wrote:

> I think I catch this one, too -- I pushed a patch for it to branch 5.0 as
> well.
>
> Cheers,
> Daniel
>
> On 04.12.17 03:49, M S wrote:
>
> For "pv_buffer_slots" issue, kamailio crashes during startup and there is
> no core dump. What should i do about it?
>
> Here is what i see in logs (just one log line).
>
> --
> Dec  4 03:44:19 webrtc-as-rct kernel: [1814300.507165] kamailio[16879]
> segfault at c0c0c0c7 ip b7700239 sp bfd9a0f8 error 7 in libc-2.13.so
> [b75e2000+161000]
> --
>
>
> Thank you.
>
>
>
> On Mon, Dec 4, 2017 at 3:14 AM, M S <shaheryarkh at gmail.com> wrote:
>
>> Thanks @Daniel, i am opening up the tickets.
>>
>> @Juha, we are not dumping sip trace to db but rather to a udp socket
>> (typically 127.0.0.1:5060), where we can observer them using ngrep or
>> sipgrep cli utilities. The whole purpose is to watch sip trace at runtime
>> while conducting our tests and observe the changes as sip client changes
>> its behaviour (it is sort of whitebox testing). Dumping in db or Homer is
>> bit of waste of time and resources for our work. That's why we disabled
>> both of these via module params. We have been doing it with kamailio v4.x
>> for last 1-2 years or so and it never caused any trouble. These problems
>> started happening only after upgrading our dev setup to v5.0.
>>
>> Thank you.
>>
>>
>>
>> On Mon, Dec 4, 2017 at 2:54 AM, Juha Heinanen <jh at tutpro.com> wrote:
>>
>>> M S writes:
>>>
>>> > 1. Calling sip_trace method without any arguements or with only one
>>> > arguement (duplicate uri) crashes kamailio with segfault.
>>>
>>> My K does not crash when I make call like this:
>>>
>>>     setflag(TRACE);
>>>     sip_trace();
>>>
>>> but I have not defined as many vars as you, but only these:
>>>
>>> # -- siptrace params
>>> modparam("siptrace", "db_url", "xxx")
>>> modparam("siptrace", "trace_flag", TRACE)
>>>
>>> -- Juha
>>>
>>> _______________________________________________
>>> Kamailio (SER) - Development Mailing List
>>> sr-dev at lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
>>>
>>
>>
>
>
> _______________________________________________
> Kamailio (SER) - Development Mailing Listsr-dev at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
>
>
> --
> Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - www.asipto.com
> Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20171204/7f47c583/attachment-0003.html>


More information about the sr-dev mailing list