<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    this should be fixed in branch 4.2 -- you have to install the
    nightly builds (if you are using debian) or from sources branch 4.2.<br>
    <br>
    We will have a release very soon, as 4.2.2 which will include it --
    this most probably will happen sometime next week.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 29/12/14 12:08, Tobias wrote:<br>
    </div>
    <blockquote cite="mid:DUB110-W1288F542D1FBCD813B56461F7510@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr">Hi!
        <div><br>
        </div>
        <div>We recently upgraded our Kamailio 4.1 to 4.2.1. With the
          newer version Kamailio crashes after just running a few
          minutes. After some debugging it looks as though the problem
          is in exec_msg (which is used in our config). After disabling
          this 4.2.1 seem to run just fine.</div>
        <div><br>
        </div>
        <div>Core file exists, here's the output:</div>
        <div>
          <p class="p1"><span class="s1">(gdb) backtrace</span></p>
          <p class="p1"><span class="s1">#0  0x00000000005ebf0f in
              fm_extract_free (frag=0x7f053ea08d18, qm=0x7f053e88e010)
              at mem/f_malloc.c:206</span></p>
          <p class="p1"><span class="s1">#1  fm_malloc
              (qm=0x7f053e88e010, size=<optimized out>,
              file=file@entry=0x7f053cbedfd4 "exec: exec_hf.c",
              func=func@entry=0x7f053cbef378 "replace_env",
              line=line@entry=375) at mem/f_malloc.c:490</span></p>
          <p class="p1"><span class="s1">#2  0x00007f053cbe7953 in
              replace_env (list=0x7f053ea08868) at exec_hf.c:375</span></p>
          <p class="p1"><span class="s1">#3  0x00007f053cbe862e in
              set_env (msg=0x7f053e91d690) at exec_hf.c:547</span></p>
          <p class="p1"><span class="s1">#4  0x00007f053cbeb835 in
              w_exec_msg (msg=0x7f053e87c480, cmd=0x7f053ea5e168
              "X֤>\005\177", foo=<optimized out>) at
              exec_mod.c:164</span></p>
          <p class="p1"><span class="s1">#5  0x00000000004274f7 in
              do_action (h=h@entry=0x7fff02e9cf90,
              a=a@entry=0x7f053ea5cfb8, msg=msg@entry=0x7f053e87c480) at
              action.c:1094</span></p>
          <p class="p1"><span class="s1">#6  0x00000000004261a9 in
              run_actions (h=h@entry=0x7fff02e9cf90,
              a=a@entry=0x7f053ea5cfb8, msg=msg@entry=0x7f053e87c480) at
              action.c:1583</span></p>
          <p class="p1"><span class="s1">#7  0x0000000000432980 in
              run_top_route (a=0x7f053ea5cfb8,
              msg=msg@entry=0x7f053e87c480, c=c@entry=0x0) at
              action.c:1669</span></p>
          <p class="p1"><span class="s1">#8  0x00007f053e610d2a in
              run_failure_handlers (t=t@entry=0x7f0534ecc770,
              rpl=0x7f053ea71040, code=486,
              extra_flags=extra_flags@entry=64) at t_reply.c:1051</span></p>
          <p class="p1"><span class="s1">#9  0x00007f053e612aa3 in
              t_should_relay_response (Trans=Trans@entry=0x7f0534ecc770,
              new_code=new_code@entry=486, branch=branch@entry=0,
              should_store=should_store@entry=0x7fff02e9d2a0,
              should_relay=should_relay@entry=0x7fff02e9d290, </span></p>
          <p class="p1"><span class="s1">   
              cancel_data=cancel_data@entry=0x7fff02e9d490,
              reply=reply@entry=0x7f053ea71040) at t_reply.c:1406</span></p>
          <p class="p1"><span class="s1">#10 0x00007f053e616126 in
              relay_reply (t=t@entry=0x7f0534ecc770,
              p_msg=p_msg@entry=0x7f053ea71040, branch=0,
              msg_status=msg_status@entry=486,
              cancel_data=cancel_data@entry=0x7fff02e9d490,
              do_put_on_wait=do_put_on_wait@entry=1)</span></p>
          <p class="p1"><span class="s1">    at t_reply.c:1809</span></p>
          <p class="p1"><span class="s1">#11 0x00007f053e61a9f3 in
              reply_received (p_msg=0x7f053ea71040) at t_reply.c:2493</span></p>
          <p class="p1"><span class="s1">#12 0x00000000004920a6 in
              do_forward_reply (msg=msg@entry=0x7f053ea71040,
              mode=mode@entry=0) at forward.c:783</span></p>
          <p class="p1"><span class="s1">#13 0x0000000000493637 in
              forward_reply (msg=msg@entry=0x7f053ea71040) at
              forward.c:885</span></p>
          <p class="p1"><span class="s1">#14 0x00000000004f5634 in
              receive_msg (buf=<optimized out>, len=<optimized
              out>, rcv_info=<optimized out>) at receive.c:275</span></p>
          <p class="p1"><span class="s1">#15 0x00000000005d929d in
              udp_rcv_loop () at udp_server.c:521</span></p>
          <p class="p1"><span class="s1">#16 0x00000000004a73f1 in
              main_loop () at main.c:1629</span></p>
          <p class="p1"><span class="s1">#17 0x0000000000425085 in main
              (argc=<optimized out>, argv=<optimized out>)
              at main.c:2561</span></p>
          <p class="p1"><span class="s1"><br>
            </span></p>
          <p class="p1"><span class="s1">Kind regards,</span></p>
          <p class="p1"><span class="s1">/Tobias</span></p>
        </div>
      </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://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></pre>
  </body>
</html>