<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=gb18030" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Loring,<br>
    <br>
    It seems you came across a memory corruption or so.<br>
    <br>
    Regarding the compiling of mem debugger and the failure to start the
    postgres module, I suspect you have not re-compiled the postgres
    module after changing the options in Makefile.<br>
    <br>
    Regards,<br>
    Bogdan<br>
    <br>
    On 12/18/2012 05:12 AM, 夜雨萧萧~~~ wrote:
    <blockquote cite="mid:tencent_2DD5331754A77C0E3ECB6CA1@qq.com"
      type="cite">
      <div><span>Hi ,</span></div>
      <div><span>   I've got a segfaultmemory which is always end in
          fm_remove_free.</span></div>
      <div><span>i follow the step show in <a moz-do-not-send="true"
            href="http://www.opensips.org/Resources/DocsTsMem">http://www.opensips.org/Resources/DocsTsMem</a>,
          my opensips software is version 1.6.4, but i can start
          opensips as there is error</span></div>
      <div><span></span> </div>
      <div><span> "ERROR:core:sr_load_module: could not open module
          &lt;/usr/local/lib/opensips/modules/db_postgres.so&gt;:
          /usr/local/lib/opensips/modules/db_postgres.so: undefined
          symbol: fm_malloc"</span></div>
      <div><span></span> </div>
      <div><span>could you give me some tip to handle it ?</span></div>
      <div><span></span> </div>
      <div><span>  By the way, how to interpret the log as follow? </span></div>
      <div><span>/usr/local/sbin/opensips[22058]: Memory status (shm):<br>
          /usr/local/sbin/opensips[22058]: fm_status (0xa76f7000):<br>
          /usr/local/sbin/opensips[22058]:  heap size= 268435456<br>
          /usr/local/sbin/opensips[22058]:  used= 86844,
          used+overhead=134384, free=268348612<br>
          /usr/local/sbin/opensips[22058]:  max used (+overhead)=
          2321060<br>
          /usr/local/sbin/opensips[22058]: dumping free list:<br>
          /usr/local/sbin/opensips[22058]: hash =   1 fragments no.:   
          94, unused:     0#012#011#011 bucket size:    8 -   8
          (first         8)<br>
          /usr/local/sbin/opensips[22058]: hash =   2 fragments no.:  
          591, unused:     0#012#011#011 bucket size:        16 -       
          16 (first        16)<br>
           localhost /usr/local/sbin/opensips[22058]: hash =   3
          fragments no.:   594, unused:     0#012#011#011 bucket
          size:        24 -        24 (first        24)<br>
          localhost /usr/local/sbin/opensips[22058]: hash =   4
          fragments no.:   296, unused:     0#012#011#011 bucket
          size:        32 -        32 (first        32)<br>
          Dec 17 19:11:16 localhost /usr/local/sbin/opensips[22058]:
          hash =   5 fragments no.:     4, unused:     0#012#011#011
          bucket size:        40 -        40 (first        40)<br>
          Dec 17 19:11:16 localhost /usr/local/sbin/opensips[22058]:
          hash =   6 fragments no.:     6, unused:     0#012#011#011
          bucket size:        48 -        48 (first        52)</span></div>
      <div><span></span> </div>
      <div><span></span> </div>
      <div><span></span> </div>
      <div><span>Best wish!</span></div>
      <div><span>Loring</span></div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
    </blockquote>
  </body>
</html>