<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thanks for the backtrace. In DB, what
      do you have for the "attr" value ? NULL or an empty string ?<br>
      <br>
      In gdb, could you do:<br>
      &nbsp;&nbsp;&nbsp; f 1<br>
      &nbsp;&nbsp;&nbsp; p (vals+6)-&gt;val.string_val<br>
      <br>
      Thanks,<br>
      <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></pre>
      On 05.06.2014 06:15, Pasan Meemaduma wrote:<br>
    </div>
    <blockquote
      cite="mid:1401938120.47383.YahooMailNeo@web163402.mail.gq1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:times
        new roman, new york, times, serif;font-size:10pt">
        <div style="" class=""><span style="" class="">oops sorry I
            forgot opensips-dbg :) bt reattached.</span></div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 13.3333px;
          font-family: times new roman,new york,times,serif;
          background-color: transparent; font-style: normal;"><br
            style="" class="">
          <span style="" class=""></span></div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 13.3333px;
          font-family: times new roman,new york,times,serif;
          background-color: transparent; font-style: normal;"><span
            style="" class="">I have change some sensitive values with
            'x' as below, hope it wont affect u r investigations</span></div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 13.3333px;
          font-family: times new roman,new york,times,serif;
          background-color: transparent; font-style: normal;"><br
            style="" class="">
          <span style="" class=""></span></div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 13.3333px;
          font-family: times new roman,new york,times,serif;
          background-color: transparent; font-style: normal;"><span
            style="" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; contact = {s = 0xf91eab
            <a class="moz-txt-link-rfc2396E" href="mailto:sip:xxxxxxxxxx@xxx.xxx.xxx.xx">"sip:xxxxxxxxxx@xxx.xxx.xxx.xx"</a>, len = 29}<br style=""
              class="">
          </span></div>
        <div class="qtdSeparateBR"><br>
          <br>
        </div>
        <div style="display: block;" class="yahoo_quoted">
          <div class="" style="font-family: times new roman, new york,
            times, serif; font-size: 10pt;">
            <div class="" style="font-family: times new roman, new york,
              times, serif; font-size: 12pt;">
              <div style="" class="" dir="ltr"> <font style="" class=""
                  face="Arial" size="2"> On Thursday, 5 June 2014, 8:34,
                  Pasan Meemaduma <a class="moz-txt-link-rfc2396E" href="mailto:pasandev@ymail.com">&lt;pasandev@ymail.com&gt;</a> wrote:<br
                    style="" class="">
                </font> </div>
              <br style="" class="">
              <br style="" class="">
              <div style="" class="">
                <div style="" class="" id="yiv8338424817">
                  <div style="" class="">
                    <div class=""
                      style="color:#000;background-color:#fff;font-family:times
                      new roman, new york, times, serif;font-size:10pt;">
                      <div class="" style=""><span class="" style="">Hi
                          Bogdan,</span></div>
                      <div class="" style="color:rgb(0, 0,
                        0);font-size:13.3333px;font-family:times new
                        roman, new york, times,
                        serif;background-color:transparent;font-style:normal;"><br
                          class="" style="" clear="none">
                        <span class="" style=""></span></div>
                      <div class="" style="color:rgb(0, 0,
                        0);font-size:13.3333px;font-family:times new
                        roman, new york, times,
                        serif;background-color:transparent;font-style:normal;"><span
                          class="" style="">I double checked the schema
                          and it is correct. btw doc needs fixing its
                          missing attr column which is needed by 1.10
                          for location table otherwise I'll get below
                          error.</span></div>
                      <div class="" style="color:rgb(0, 0,
                        0);font-size:13.3333px;font-family:times new
                        roman, new york, times,
                        serif;background-color:transparent;font-style:normal;"><br
                          class="" style="" clear="none">
                        <span class="" style=""></span></div>
                      <div class="" style="color:rgb(0, 0,
                        0);font-size:13.3333px;font-family:times new
                        roman, new york, times,
                        serif;background-color:transparent;font-style:normal;">Jun&nbsp;
                        5 12:57:26&nbsp; x/usr/sbin/opensips[30176]:
                        CRITICAL:db_mysql:wrapper_single_mysql_real_query:
                        driver error (1054): Unknown column 'attr' in
                        'field list'<br class="" style="" clear="none">
                        Jun&nbsp; 5 12:57:26 x /usr/sbin/opensips[30177]:
                        DBG:core:db_do_init: connection 0x7f4dc04c1c28
                        inserted in pool as 0x7f4dc04c1d30<br class=""
                          style="" clear="none">
                        Jun&nbsp; 5 12:57:26 x /usr/sbin/opensips[30176]:
                        ERROR:core:db_do_query: error while submitting
                        query - [select
                        username,contact,expires,q,callid,cseq,flags,cflags,user_agent,received,path,socket,methods,last_modified,sip_instance,attr
                        from location ]<br class="" style=""
                          clear="none">
                        Jun&nbsp; 5 12:57:26 anacardium3backup
                        /usr/sbin/opensips[30176]:
                        ERROR:usrloc:preload_udomain: db_query (1)
                        failed<br class="" style="" clear="none">
                        <br class="" style="" clear="none">
                        <span class="" style=""></span></div>
                      <div class="" style="color:rgb(0, 0,
                        0);font-size:13.3333px;font-family:times new
                        roman, new york, times,
                        serif;background-color:transparent;font-style:normal;">:)<br
                          class="" style="" clear="none">
                        <span class="" style=""></span></div>
                      <div class="" style="color:rgb(0, 0,
                        0);font-size:13.3333px;font-family:times new
                        roman, new york, times,
                        serif;background-color:transparent;font-style:normal;"><br
                          class="" style="" clear="none">
                        <span class="" style=""></span></div>
                      <div class="" style="color:rgb(0, 0,
                        0);font-size:13.3333px;font-family:times new
                        roman, new york, times,
                        serif;background-color:transparent;font-style:normal;"><span
                          class="" style="">I got the backtrace as you
                          requested , It doesn't seems right to me.&nbsp;
                          does it make any sense ? or did I miss
                          something getting it ?</span></div>
                      <div class="" style="color:rgb(0, 0,
                        0);font-size:13.3333px;font-family:times new
                        roman, new york, times,
                        serif;background-color:transparent;font-style:normal;"><br
                          class="" style="" clear="none">
                        <span class="" style=""></span></div>
                      <br style="" class="">
                    </div>
                  </div>
                </div>
                <br style="" class="">
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>