<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    <div class="moz-cite-prefix">On 5/15/13 6:43 AM, kiran bhosale
      wrote:<br>
    </div>
    <blockquote cite="mid:5193125D.9050103@synteltelecom.com"
      type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      Hi<br>
       we  have developed the custom module where in we have  created 
      shared  memory  area  which is not  used  by any other module or
      process and  we locked it  using  locks as  recommended. but
      because of  locks the kamailio  is getting crashed every now  and
      then . is it  really important  to protect the  shared  memory
      area  with locks.  if yes  then how to avoid  the crash ?? <br>
      <br>
      so to locate the  crash  we  built kamailio wit h MM_DBG , and
      other GCC  debug flags . but we are  getting  error "<i>No symbol
        table info  available</i>" . how  to  locate the  bugs.  the
      kamailio is  built  wit h 1 MB of shared  memory  on MIPS  based 
      VOIP gateway which is  having  * MB of flash and  16 MB or memory
      (RAM) .<br>
    </blockquote>
    set ulimit-c unlimited in order to get a core file, then use gdb to
    get the backtrace from the core. It will show where the crash
    happened.<br>
    <br>
    Protection to shared memory is needed only when there is potential
    concurrent access.<br>
    <br>
    Cheers,<br>
    Daniel<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>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
  * <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a> *</pre>
  </body>
</html>