<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Any CRITICAL message into the log before the crash ?<br>
      <br>
      also, in gdb in frame 2, please print:<br>
          p *((struct qm_frag*) ((char*)p-sizeof(struct qm_frag)))<br>
          <br>
    </tt><tt><br>
      Thanks,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>

OpenSIPS Summit May 2017 Amsterdam
  <a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
</pre>
    <div class="moz-cite-prefix">On 04/04/2017 03:19 PM, Denis wrote:<br>
    </div>
    <blockquote cite="mid:2219671491308376@web4m.yandex.ru" type="cite">
      <div>
        <div>p shm_block->first_frag</div>
        <div>$1 = (struct qm_frag *) 0x7fdf6b9d44f8</div>
        <div>
          <div> </div>
          <div>p shm_block->last_frag_end</div>
          <div>$2 = (struct qm_frag_end *) 0x7fe02899efd0</div>
          <div> </div>
          <div>
            <div> p mem_block->first_frag</div>
            <div>$3 = (struct qm_frag *) 0x7fe029214508</div>
            <div> </div>
            <div>
              <div>p mem_block->last_frag_end</div>
              <div>$4 = (struct qm_frag_end *) 0x7fe0691defe0</div>
            </div>
          </div>
        </div>
        <div> </div>
      </div>
      <div> </div>
      <div>-- </div>
      <div>С уважением, Денис.</div>
      <div>Best regards, Denis</div>
      <div> </div>
      <div> </div>
      <div> </div>
      <div>04.04.2017, 14:51, "Bogdan-Andrei Iancu"
        <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a>:</div>
      <blockquote type="cite">
        <div bgcolor="#FFFFFF">OK,please enter gdb and print:<br>
              p shm_block->first_frag<br>
              p shm_block->last_frag_end<br>
          <br>
              p mem_block->first_frag<br>
              p mem_block->last_frag_end<br>
          <br>
          Thanks,
          <pre>Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a moz-do-not-send="true" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a>

OpenSIPS Summit May 2017 Amsterdam
  <a moz-do-not-send="true" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
</pre>
          <div>On 04/04/2017 01:42 PM, Denis wrote:</div>
          <blockquote cite="mid:1579141491302539@web17o.yandex.ru"
            type="cite">
            <div>Hello, Bogdan!</div>
            <div> </div>
            <div>No, i cannot see in the log any messages you mentioned
              it your letter.</div>
            <div>The situation dealing with crash had such stage.</div>
            <div> </div>
            <div>1. I prepared to migrate to 2.2.3 from 2.2.2. But do
              not have a time to restart Opensips</div>
            <div>2. As a result "i waited" when Opensips have crashed.
              During crash of 2.2.2 no core file has been generated, but
              Opensips has been restarted using cron.</div>
            <div>3. After 2) Opensips became 2.2.3. It was working about
              1 minute and crashed again, but in that time, core file
              has been generated and i attached information from it.</div>
            <div>So, between 2) and 3) , as i mentioned above, there
              were no messages about memory, but i see many messages
              like</div>
            <div>'WARNING:core:utimer_ticker: utimer task
              <tm-utimer> already scheduled for 71500 ms</div>
            <div>WARNING:core:timer_ticker: timer task
              <pike-clean> already scheduled for 72400 ms</div>
            <div>WARNING:core:timer_ticker: timer task <nh-timer>
              already scheduled for 72400 ms</div>
            <div>WARNING:core:timer_ticker: timer task <dlg-timer>
              already scheduled for 72400 ms</div>
            <div>WARNING:core:timer_ticker: timer task
              <blcore-expire> already scheduled for 72400 ms'</div>
            <div>and so on</div>
            <div> </div>
            <div>As for about version</div>
            <div> </div>
            <div>
              <div>version: opensips 2.2.3 (x86_64/linux)</div>
              <div>flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP,
                PKG_MALLOC, QM_MALLOC, DBG_MALLOC,
                FAST_LOCK-ADAPTIVE_WAIT</div>
              <div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE
                262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</div>
              <div>poll method support: poll, epoll_lt, epoll_et,
                sigio_rt, select.</div>
              <div>git revision: <span>7922417</span></div>
              <div>main.c compiled on 06:29:28 Mar 23 2017 with gcc
                5.4.0</div>
              <div> </div>
            </div>
            <div>-- </div>
            <div>С уважением, Денис.</div>
            <div>Best regards, Denis</div>
            <div> </div>
            <div> </div>
            <div> </div>
            <div>04.04.2017, 12:43, "Bogdan-Andrei Iancu" <a
                moz-do-not-send="true" href="mailto:bogdan@opensips.org"><a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a></a>:</div>
            <blockquote type="cite">
              <div bgcolor="#FFFFFF">Hello Denis,<br>
                <br>
                Thank you for the report. Do you see any CRITICAL log
                just before the crash, something like:<br>
                    "bad pointer 0xxxxxxxx (out of memory block!) -
                aborting"<br>
                ?<br>
                If yes, please post here the exact line.<br>
                <br>
                Also, do you use the latest OpenSIPS 2.2 from GIT repo ?
                (run "opensips -v")<br>
                <br>
                Regards,
                <pre>Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a moz-do-not-send="true" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a>

OpenSIPS Summit May 2017 Amsterdam
  <a moz-do-not-send="true" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
</pre>
                <div>On 04/04/2017 10:58 AM, Denis via Users wrote:</div>
                <blockquote cite="mid:325131491292730@web16g.yandex.ru"
                  type="cite">
                  <div>Hello!</div>
                  <div> </div>
                  <div>Server:: OpenSIPS (2.2.3 (x86_64/linux))</div>
                  <div> </div>
                  <div>Thank you for any help.</div>
                  <div> </div>
                  <div>P.S. Opensips has been compiled with QM_MALLOC
                    and DBG_MALLOC flags</div>
                  <div> </div>
                  <div>-- </div>
                  <div>С уважением, Денис.</div>
                  <div>Best regards, Denis</div>
                  <div> </div>
                  <div> </div>
                  <div> </div>
                   
                  <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                </blockquote>
              </div>
            </blockquote>
          </blockquote>
        </div>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>