[Kamailio-Users] kamailio crashes during connection attempt

Dmitri dmitri at festart.ee
Tue Feb 9 18:32:40 CET 2010


Hello Daniel,

I fetched sources from git again, this time there was MEMDBG option. I 
enabled this and regenerated debs.
Purged old installation, installed new debs, checked for existence of 
DBG_QM_MALLOC. It was there.
changed DB config (replaced default DB passwords with current), changed 
debug level to 5,
said as root "ulimit -c unlimited" and placed
echo "/tmp/core.%e.sig%s.%p" > /proc/sys/kernel/core_pattern

Then I just started kamailio from command line under root account. Now 
it crashes without any connections just during startup.
Also there were no any  lines in syslog about generating or not 
generating core dump.

Error log you may see in attached file.

BR,
Dmitri


09.02.2010 11:12, Daniel-Constantin Mierla пишет:
> Hi Dnitri,
>
> On 2/9/10 9:19 AM, Dmitri wrote:
>> Hello Daniel,
>>
>> I fetched source code from git using
>> # git clone --depth 1 git://git.sip-router.org/sip-router kamailio
>>    # cd kamailio
>>    # git checkout -b kamailio_3.0 origin/kamailio_3.0
>>
>>
>> But there is no MEMDBG option in Makefile.defs
>> devel:/usr/src/kamailio-3.0.0/kamailio# grep MEMDBG ./Makefile.defs
>> devel:/usr/src/kamailio-3.0.0/kamailio#
>>
>> Should I add MEMDBG there ?
>
> it is very strange. I just did the same steps and I get it. Can you 
> doublecheck there was no typo when you checkout and having the wrong 
> branch?
>
> Cheers,
> Daniel
>>
>> BR,
>> Dmitri
>>
>> 09.02.2010 0:26, Daniel-Constantin Mierla пишет:
>>>
>>> Then, open Makefile.defs file and search for MEMDBG, update the 
>>> intial value to 1:
>>>
>>> MEMDBG ?= 1
>>>
>>> The you re-compile/re-generate debs.
>>>
>>> To doublecheck, once everything was re-installed, run kamailio -V, 
>>> you should see DBG_QM_MALLOC in flags string.
>>>
>>> Set debug lever to some big value, say 5, test again and send over 
>>> the syslog messages along with the backtrace from the new core.
>>>
>>> Thanks for assistance,
>>> Daniel
>>
>
> -- 
> Daniel-Constantin Mierla
> eLearning class for Kamailio 3.0.0
> Starting Feb 8, 2010
> *http://www.asipto.com/
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/users/attachments/20100209/48d3bc98/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: errorlog.txt
URL: <http://lists.kamailio.org/pipermail/users/attachments/20100209/48d3bc98/attachment-0001.txt>


More information about the Users mailing list