<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    the latest 3.1 branch as in db_text/dbt_tb.c following line:<br>
    <br>
    &nbsp;&nbsp;&nbsp; dtp = (dbt_table_p)shm_malloc(sizeof(dbt_table_t));<br>
    <br>
    Where is the line you refer to dpt-&gt;prev? Can you copy&amp;paste
    it here.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 10/3/11 2:20 PM, Bruno Bresciani wrote:
    <blockquote
cite="mid:CAKv6MrYCox0BYLL8yWYcQGdo+4WRC3WX1zow26EivEnTynZ==g@mail.gmail.com"
      type="cite">Hello ALL,<br>
      <br>
      Someone knows why at line 149 in .../kamailio-3.1.2/modules_k/
      <div id=":13t">db_text/dbt_tb.c the shm_malloc function sometimes
        allocates memory to dtp-&gt;prev but sometimes doesn't?<br>
        I'm asking this question because when the subscriber table is
        being loading to shared memory in db_text module, dtp-&gt;prev
        is allocated but on version, dispatcher, location table it
        doesn't... Analysing the source code I can't see any reason to
        this behavior.<br>
        <br>
        The allocation of dtp-&gt;prev to subscriber table is generating
        a core at db_text module.<br>
        <br>
        Best Regards</div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Dec 5-8, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>