<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Brett<br>
    <br>
    Seem you have an overwritten core, at shutdown.<br>
    Please follow the details from
    <a class="moz-txt-link-freetext" href="http://www.opensips.org/Resources/DocsTsCrash">http://www.opensips.org/Resources/DocsTsCrash</a> in order to generate
    the proper core file, the one that trigger the initial shutdown.<br>
    <br>
    Regards,<br>
    <pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
    <br>
    On 02/14/2013 10:01 AM, Muhammad Shahzad wrote:
    <blockquote
cite="mid:CAFZQphxicKk=2MGbY4xSkU_eD_O5jk6fONFfT45PXj_WdhEFwA@mail.gmail.com"
      type="cite">Please specify opensips version / revision.
      <div><br>
      </div>
      <div>Thank you.<br>
        <div><br>
          <br>
          <div class="gmail_quote">On Thu, Feb 14, 2013 at 8:13 AM,
            Brett Nemeroff <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:brett@nemeroff.com"
                target="_blank">brett@nemeroff.com</a>&gt;</span> wrote:<br>
            <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
              0.8ex; border-left: 1px solid rgb(204, 204, 204);
              padding-left: 1ex;">Hey all,
              <div>I'm running into a crash. Same thing hits over and
                over. Not sure what's causing it.. Here's a bt:</div>
              <div><br>
              </div>
              <div>
                <div>
                  <div>Program terminated with signal 11, Segmentation
                    fault.</div>
                  <div>
                    #0  0x00007f33ce3339b9 in db_mysql_val2bind
                    (v=0x7f330fa18cc0, binds=0x7f33ce88cf00, i=33) at
                    val.c:297</div>
                  <div>297<span style="white-space: pre-wrap;"> </span>*(binds[i].is_null)
                    = 0;</div>
                  <div>Missing separate debuginfos, use:
                    debuginfo-install glibc-2.12-1.80.el6_3.7.x86_64
                    hiredis-0.10.1-3.el6.x86_64 json-c-0.10-2.el6.x86_64
                    keyutils-libs-1.4-4.el6.x86_64
                    krb5-libs-1.9-33.el6_3.3.x86_64
                    libcom_err-1.41.12-12.el6.x86_64
                    libmemcached-0.31-1.1.el6.x86_64
                    libselinux-2.0.94-5.3.el6.x86_64
                    mysql-libs-5.1.67-1.el6_3.x86_64
                    nss-softokn-freebl-3.12.9-11.el6.x86_64
                    openssl-1.0.0-25.el6_3.1.x86_64
                    zlib-1.2.3-27.el6.x86_64</div>
                  <div>(gdb) bt full</div>
                  <div>#0  0x00007f33ce3339b9 in db_mysql_val2bind
                    (v=0x7f330fa18cc0, binds=0x7f33ce88cf00, i=33) at
                    val.c:297</div>
                  <div>        t = &lt;value optimized out&gt;</div>
                  <div>        mt = &lt;value optimized out&gt;</div>
                  <div>        __FUNCTION__ = "db_mysql_val2bind"</div>
                  <div>#1  0x00007f33ce32d34c in
                    db_mysql_do_prepared_query (conn=0x7f33ce88cd68,
                    v=&lt;value optimized out&gt;, n=36, uv=&lt;value
                    optimized out&gt;, un=0, query=0x7f33ce5477b0) at
                    dbase.c:584</div>
                  <div>        i = 33</div>
                  <div>        j = &lt;value optimized out&gt;</div>
                  <div>        code = &lt;value optimized out&gt;</div>
                  <div>        cols = &lt;value optimized out&gt;</div>
                  <div>        pq_ptr = 0x7f33ce88cec0</div>
                  <div>        ctx = 0x7f33ce88e310</div>
                  <div>        mysql_bind = 0x7f33ce88cf00</div>
                  <div>        start = {tv_sec = 139860479483003,
                    tv_usec = 5334081}</div>
                  <div>        buffered_rows = 0x0</div>
                  <div>#2  0x00007f33ce32fcae in db_mysql_insert
                    (_h=0x7f33ce88cd68, _k=0x7f330d73197b,
                    _v=0x7f330fa188a0, _n=36) at dbase.c:1028</div>
                  <div>        ret = &lt;value optimized out&gt;</div>
                  <div>#3  0x0000000000517729 in flush_query_list () at
                    db/db_insertq.c:133</div>
                  <div>        it = 0x7f330d7318a0</div>
                  <div>        my_ps = 0x7f33ce88cec0</div>
                  <div>        i = &lt;value optimized out&gt;</div>
                  <div>        __FUNCTION__ = "flush_query_list"</div>
                  <div>#4  0x000000000051799c in handle_ql_shutdown ()
                    at db/db_insertq.c:170</div>
                  <div>No locals.</div>
                  <div>#5  0x000000000042c2c1 in cleanup (show_status=1)
                    at main.c:347</div>
                  <div>        __FUNCTION__ = "cleanup"</div>
                </div>
              </div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div>and in case you need it:</div>
              <div>
                <div>(gdb) print *binds</div>
                <div>$1 = {length = 0x7f33ce88dd70, is_null =
                  0x7f33ce88dd78 "", buffer = 0x7f330fa18d20, error =
                  0x0, row_ptr = 0x0, store_param_func = 0, fetch_result
                  = 0, skip_result = 0, buffer_length = 0, offset = 0, </div>
                <div>  length_value = 0, param_number = 0, pack_length =
                  0, buffer_type = MYSQL_TYPE_STRING, error_value = 0
                  '\000', is_unsigned = 0 '\000', long_data_used = 0
                  '\000', is_null_value = 0 '\000', </div>
                <div>  extension = 0x0}</div>
              </div>
              <div><br>
              </div>
              <div>
                <div>(gdb) print binds[33]</div>
                <div>$2 = {length = 0x6, is_null = 0x0, buffer = 0x18,
                  error = 0x0, row_ptr = 0x16 &lt;Address 0x16 out of
                  bounds&gt;, store_param_func = 0, fetch_result = 0x25,
                  skip_result = 0, buffer_length = 3, offset = 0, </div>
                <div>  length_value = 2, param_number = 0, pack_length =
                  0, buffer_type = 40, error_value = 0 '\000',
                  is_unsigned = 0 '\000', long_data_used = 0 '\000',
                  is_null_value = 0 '\000', extension = 0x0}</div>
                <div>(gdb) </div>
              </div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div>Please let me know if you need any further testing.
                Thanks!!!</div>
              <span class="HOEnZb"><font color="#888888">
                  <div>-Brett</div>
                  <div><br>
                  </div>
                </font></span><br>
              _______________________________________________<br>
              Users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
              <br>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <span style="color: rgb(136, 136, 136); font-family:
            arial,sans-serif; font-size: 13px; background-color:
            rgb(255, 255, 255);">Muhammad Shahzad</span><br
            style="color: rgb(136, 136, 136); font-family:
            arial,sans-serif; font-size: 13px; background-color:
            rgb(255, 255, 255);">
          <span style="color: rgb(136, 136, 136); font-family:
            arial,sans-serif; font-size: 13px; background-color:
            rgb(255, 255, 255);">------------------------------</span><span
            style="color: rgb(136, 136, 136); font-family:
            arial,sans-serif; font-size: 13px; background-color:
            rgb(255, 255, 255);">-----</span><br style="color: rgb(136,
            136, 136); font-family: arial,sans-serif; font-size: 13px;
            background-color: rgb(255, 255, 255);">
          <span style="color: rgb(136, 136, 136); font-family:
            arial,sans-serif; font-size: 13px; background-color:
            rgb(255, 255, 255);">CISCO Rich Media Communication
            Specialist (CRMCS)</span><br style="color: rgb(136, 136,
            136); font-family: arial,sans-serif; font-size: 13px;
            background-color: rgb(255, 255, 255);">
          <span style="color: rgb(136, 136, 136); font-family:
            arial,sans-serif; font-size: 13px; background-color:
            rgb(255, 255, 255);">CISCO Certified Network Associate
            (CCNA)</span><br style="color: rgb(136, 136, 136);
            font-family: arial,sans-serif; font-size: 13px;
            background-color: rgb(255, 255, 255);">
          <span style="color: rgb(136, 136, 136); font-family:
            arial,sans-serif; font-size: 13px; background-color:
            rgb(255, 255, 255);">Cell: +49 176 99 83 10 85</span><br
            style="color: rgb(136, 136, 136); font-family:
            arial,sans-serif; font-size: 13px; background-color:
            rgb(255, 255, 255);">
          <span style="color: rgb(136, 136, 136); font-family:
            arial,sans-serif; font-size: 13px; background-color:
            rgb(255, 255, 255);">MSN: </span><a moz-do-not-send="true"
            href="mailto:shari_786pk@hotmail.com" style="color: rgb(17,
            85, 204); font-family: arial,sans-serif; font-size: 13px;
            background-color: rgb(255, 255, 255);" target="_blank">shari_786pk@hotmail.com</a><br
            style="color: rgb(136, 136, 136); font-family:
            arial,sans-serif; font-size: 13px; background-color:
            rgb(255, 255, 255);">
          <span style="color: rgb(136, 136, 136); font-family:
            arial,sans-serif; font-size: 13px; background-color:
            rgb(255, 255, 255);">Email: </span><a moz-do-not-send="true"
            href="mailto:shaheryarkh@googlemail.com" style="color:
            rgb(17, 85, 204); font-family: arial,sans-serif; font-size:
            13px; background-color: rgb(255, 255, 255);" target="_blank">shaheryarkh@googlemail.com</a>
        </div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>