<div dir="ltr"><div>I know it sounds scary, but unfortunately I haven't been able to 
reproduce the issue since I did a clean installation. I'll definitely 
post again if it somehow manifests...</div><div><br></div><div>BR,</div>George</div><div class="gmail_extra"><br><div class="gmail_quote">On 4 December 2017 at 11:00, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>I pushed a patch few days ago related to this report, if you
      still get the issue, better open an issue on bug tracker -- it is
      safer not to forget about it.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p><div><div class="h5">
    <br>
    <div class="m_940921538082912853moz-cite-prefix">On 30.11.17 20:04, Daniel-Constantin
      Mierla wrote:<br>
    </div>
    <blockquote type="cite">
      
      <p>Hello,</p>
      <p>did you run with debug=3 in kamailio.cfg? That piece of code is
        new in 5.1, but executed only when debug is at least 3 (which is
        for troubleshooting purposes, not for production). Anyhow, I
        will check a bit that part to see if anything is wrong there...</p>
      <p>Cheers,<br>
        Daniel<br>
      </p>
      <br>
      <div class="m_940921538082912853moz-cite-prefix">On 30.11.17 18:52, George
        Diamantopoulos wrote:<br>
      </div>
      <blockquote type="cite">
        <div dir="ltr">
          <div>OK, so I performed a clean installation on a new debian
            stretch instance I haven't been able to reproduce the issue
            so far. Either something changed in the latest nightly, or
            the fact that I upgraded from 5.0.4 was causing the issue.<br>
            <br>
          </div>
          The deployment is automated with ansible, so there shouldn't
          be any deviations in the configuration of the host. Only other
          difference (apart from the clean kamailio install) should be
          rtpengine's building, which was performed anew. However, I
          don't see how that might have affected things (after all, I
          don't believe kamailio is a build time dependency for
          rtpengine)...<br>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On 30 November 2017 at 01:08, George
            Diamantopoulos <span dir="ltr"><<a href="mailto:georgediam@gmail.com" target="_blank">georgediam@gmail.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">Oh, I also tried with 5.2.0-dev1 nightly
                and it also crashes in the same way...<br>
              </div>
              <div class="m_940921538082912853HOEnZb">
                <div class="m_940921538082912853h5">
                  <div class="gmail_extra"><br>
                    <div class="gmail_quote">On 30 November 2017 at
                      01:07, George Diamantopoulos <span dir="ltr"><<a href="mailto:georgediam@gmail.com" target="_blank">georgediam@gmail.com</a>></span>
                      wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                        <div dir="ltr">
                          <div>I've been trying to get a core dump on
                            this for hours now, but I just can't get
                            one! Is there anything special needed with
                            this build on debian stretch? Checked
                            ulimits, disable_core_dump,
                            /etc/default/kamailio, started it as root
                            (-u root -g root), from systemd with user
                            kamailio, with working directory set in
                            command line and in config file, I just
                            can't get a core dump...<br>
                            <br>
                          </div>
                          Thanks<br>
                        </div>
                        <div class="m_940921538082912853m_3315713652689971458HOEnZb">
                          <div class="m_940921538082912853m_3315713652689971458h5">
                            <div class="gmail_extra"><br>
                              <div class="gmail_quote">On 29 November
                                2017 at 18:10, George Diamantopoulos <span dir="ltr"><<a href="mailto:georgediam@gmail.com" target="_blank">georgediam@gmail.com</a>></span>
                                wrote:<br>
                                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                  <div dir="ltr">
                                    <div>
                                      <div>
                                        <div>
                                          <div>
                                            <div>
                                              <div>Hello,<br>
                                                <br>
                                              </div>
                                              I've just installed
                                              kamailio 5.1 nightly from
                                              the debian repo for
                                              stretch. I didn't change
                                              anything in the
                                              configuration compared to
                                              5.0.4 (which I was testing
                                              previously), apart from
                                              the database structure as
                                              found in the wiki for
                                              upgrading from 5.0.x.<br>
                                              <br>
                                            </div>
                                            Now kamailio crashes after a
                                            while, with the following
                                            output in the logs:<br>
                                            <br>
                                            Nov 29 15:47:05
                                            modcom-sbc-dev1
                                            kamailio[2497]:  3(2502)
                                            ERROR: <core>
                                            [core/udp_server.c:481]:
                                            udp_rcv_loop(): print buffer
                                            building failed<br>
                                            Nov 29 15:47:05
                                            modcom-sbc-dev1
                                            kamailio[2497]: 121(2620)
                                            CRITICAL: <core>
                                            [core/pass_fd.c:277]:
                                            receive_fd(): EOF on 26<br>
                                            Nov 29 15:47:05
                                            modcom-sbc-dev1
                                            kamailio[2497]: 121(2620)
                                            DEBUG: <core>
                                            [core/tcp_main.c:3512]:
                                            handle_ser_child(): dead
                                            child 3, pid 2502 (shutting
                                            down?)<br>
                                            Nov 29 15:47:05
                                            modcom-sbc-dev1
                                            kamailio[2497]: 121(2620)
                                            DEBUG: <core>
                                            [core/io_wait.h:602]:
                                            io_watch_del(): DBG:
                                            io_watch_del
                                            (0x55ae7132ffc0, 26, -1,
                                            0x0) fd_no=126 called<br>
                                            Nov 29 15:47:05
                                            modcom-sbc-dev1
                                            kamailio[2497]:  0(2499)
                                            ALERT: <core>
                                            [main.c:741]: handle_sigs():
                                            child process 2502 exited
                                            normally, status=255<br>
                                            Nov 29 15:47:05
                                            modcom-sbc-dev1
                                            kamailio[2497]:  0(2499)
                                            INFO: <core>
                                            [main.c:771]: handle_sigs():
                                            terminating due to SIGCHLD<br>
                                            Nov 29 15:47:05
                                            modcom-sbc-dev1
                                            kamailio[2497]:  0(2499)
                                            DEBUG: <core>
                                            [main.c:773]: handle_sigs():
                                            terminating due to SIGCHLD<br>
                                            Nov 29 15:47:05
                                            modcom-sbc-dev1
                                            kamailio[2497]: 118(2617)
                                            INFO: <core>
                                            [main.c:826]: sig_usr():
                                            signal 15 received<br>
                                            <br>
                                          </div>
                                          Let me know if I can somehow
                                          help dissect this issue, I
                                          don't really know where to
                                          start. Thanks.<br>
                                        </div>
                                        <br>
                                      </div>
                                      BR,<br>
                                    </div>
                                    George<br>
                                  </div>
                                </blockquote>
                              </div>
                              <br>
                            </div>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
        <br>
        <fieldset class="m_940921538082912853mimeAttachmentHeader"></fieldset>
        <br>
        <pre>______________________________<wbr>_________________
Kamailio (SER) - Development Mailing List
<a class="m_940921538082912853moz-txt-link-abbreviated" href="mailto:sr-dev@lists.kamailio.org" target="_blank">sr-dev@lists.kamailio.org</a>
<a class="m_940921538082912853moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>dev</a>
</pre>
      </blockquote>
      <br>
      <pre class="m_940921538082912853moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_940921538082912853moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_940921538082912853moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="m_940921538082912853moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="m_940921538082912853moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
    </blockquote>
    <br>
    <pre class="m_940921538082912853moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_940921538082912853moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_940921538082912853moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="m_940921538082912853moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="m_940921538082912853moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
  </div></div></div>

</blockquote></div><br></div>