<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    <div class="moz-cite-prefix">On 22/04/15 11:26, Mickael Marrache
      wrote:<br>
    </div>
    <blockquote cite="mid:035801d07cde$746f0080$5d4d0180$@gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hi,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span lang="EN-US">I just got the following
            issue when stopping kamailio.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">kamailio[7279]: NOTICE:
            <core> [main.c:682]: handle_sigs(): Thank you for
            flying kamailio!!!<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">kamailio[7279]: ERROR:
            ctl [ctl.c:369]: mod_destroy(): ERROR: ctl: could not delete
            unix socket /tmp/kamailio_ctl: Operation not permitted (1)<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">kamailio[7279]: :
            <core> [mem/f_malloc.c:586]: fm_free(): BUG: fm_free:
            bad pointer 0x4f2dec6200000000 (out of memory block!),
            called from tm: h_table.c: free_cell(138) - aborting<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">I always get the first
            ERROR when I stop kamailio, I need to look at the
            permissions. However, the next one is a bug.</span></p>
      </div>
    </blockquote>
    <br>
    the first one should be fixed with the new release. With old
    versions, ctl module doesn't inherits the user/group set by the
    core, you would have to set it in the ctl module via params.<br>
    <br>
    The second can happen in very rare cases -- if there was a
    transaction in the process of freeing, then signal interrupted it.
    Parts of the transaction structure that were freed could have been
    allocated already and value overwritten. But the transaction itself
    was not removed from the list, so the main process will attempt a
    cleanup at shutdown, ending in some invalid pointer data.<br>
    <br>
    If you get it every time, then is likely a bug. If you get it very
    rare, then it can be the above case.<br>
    <br>
    Perhaps we can add a flag saying it is shutdown where to be more
    flexible in handling these situations.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<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 World Conference, May 27-29, 2015
Berlin, Germany - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
  </body>
</html>