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/