<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Daniel,<br>
<br>
I fetched sources from git again, this time there was MEMDBG option. I
enabled this and regenerated debs.<br>
Purged old installation, installed new debs, checked for existence of
DBG_QM_MALLOC. It was there.<br>
changed DB config (replaced default DB passwords with current), changed
debug level to 5, <br>
said as root "ulimit -c unlimited" and placed<br>
echo "/tmp/core.%e.sig%s.%p" &gt; /proc/sys/kernel/core_pattern<br>
<br>
Then I just started kamailio from command line under root account. Now
it crashes without any connections just during startup.<br>
Also there were no any  lines in syslog about generating or not
generating core dump.<br>
<br>
Error log you may see in attached file.<br>
<br>
BR,<br>
Dmitri<br>
<br>
<br>
09.02.2010 11:12, Daniel-Constantin Mierla пишет:
<blockquote cite="mid:4B7126F7.7000702@gmail.com" type="cite">
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <title></title>
Hi Dnitri,<br>
  <br>
On 2/9/10 9:19 AM, Dmitri wrote:
  <blockquote cite="mid:4B711A78.7060402@festart.ee" type="cite">
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
Hello Daniel,<br>
    <br>
I fetched source code from git using <br>
    <pre class="code"><span
 style="background-color: rgb(221, 252, 216); color: rgb(0, 0, 0);"># git clone --depth 1 git://git.sip-router.org/sip-router kamailio
  # cd kamailio
  # git checkout -b kamailio_3.0 origin/kamailio_3.0


</span></pre>
But there is no MEMDBG option in Makefile.defs<br>
devel:/usr/src/kamailio-3.0.0/kamailio# grep MEMDBG ./Makefile.defs<br>
devel:/usr/src/kamailio-3.0.0/kamailio#<br>
    <br>
Should I add MEMDBG there ?<br>
  </blockquote>
  <br>
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?<br>
  <br>
Cheers,<br>
Daniel<br>
  <blockquote cite="mid:4B711A78.7060402@festart.ee" type="cite"><br>
BR,<br>
Dmitri<br>
    <br>
09.02.2010 0:26, Daniel-Constantin Mierla пишет:<br>
    <blockquote cite="mid:4B708F8F.2060800@gmail.com" type="cite"><br>
Then, open Makefile.defs file and search for MEMDBG, update the intial
value to 1:<br>
      <br>
MEMDBG ?= 1<br>
      <br>
The you re-compile/re-generate debs.<br>
      <br>
To doublecheck, once everything was re-installed, run kamailio -V, you
should see DBG_QM_MALLOC in flags string.<br>
      <br>
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.<br>
      <br>
Thanks for assistance,<br>
Daniel<br>
    </blockquote>
    <br>
  </blockquote>
  <br>
  <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
eLearning class for Kamailio 3.0.0
Starting Feb 8, 2010
* <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.asipto.com/">http://www.asipto.com/</a>
  </pre>
</blockquote>
<br>
</body>
</html>