<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi Duane,<br>
    <br>
    I have found the bug there - it was a wrong definition of xcap-diff
    event and I also noticed it in message-summary.&nbsp; I have fixed it
    now. I suggest you to update the code again.<br>
    <br>
    Thanks,<br>
    <pre class="moz-signature" cols="72">-- 
Anca Vamanu
<a class="moz-txt-link-abbreviated" href="http://www.voice-system.ro">www.voice-system.ro</a></pre>
    <br>
    <br>
    <br>
    On 12/10/2010 11:02 PM, Duane Larson wrote:
    <blockquote
      cite="mid:AANLkTinU1MoaU-4cem5E2fLz=uQzRQkRvyP64+mG6Qm0@mail.gmail.com"
      type="cite">
      <div>Thanks for working with me on this Ovidiu.&nbsp; I think this is
        what you are wanting (sorry not good with debugging)???</div>
      <div>&nbsp;</div>
      <div>(gdb) frame 4<br>
        #4&nbsp; 0x00007f1e935bc0b8 in send_publish_int (presentity=&lt;value
        optimized out&gt;, <br>
        &nbsp;&nbsp;&nbsp; publ=&lt;value optimized out&gt;, ev=0x7f1e88d57518,
        hash_index=332) at send_publish.c:496<br>
        496&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; free(body-&gt;s);</div>
      <div>&nbsp;</div>
      <div>print body-&gt;s<br>
        $1 = 0x83de41 "&lt;?xml version=\"1.0\"
        encoding=\"UTF-8\"?&gt;\n&lt;xcap-diff
        xmlns=\"urn:ietf:params:xml:ns:xcap-diff\" xcap-root=\"<a
          moz-do-not-send="true"
href="http://xcap.aethercommunications.com/xcap-root/%22%3E/n%3Cdocument">http://xcap.aethercommunications.com/xcap-root\"&gt;\n&lt;document</a>
        new-etag=\"697c57e1c3c03ffe4febcc2c8905f"...<br>
        <br>
      </div>
      <div>&nbsp;</div>
      <div class="gmail_quote">On Fri, Dec 10, 2010 at 2:56 PM, Ovidiu
        Sas <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:osas@voipembedded.com">osas@voipembedded.com</a>&gt;</span>
        wrote:<br>
        <blockquote style="border-left: 1px solid rgb(204, 204, 204);
          margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"
          class="gmail_quote">This is a crash in the pua module
          (different than the previous one).<br>
          send_publish.c:496 =&gt; free(body-&gt;s);<br>
          <br>
          Can you print the value and content of the body?<br>
          <br>
          <br>
          Thanks,<br>
          <font color="#888888">Ovidiu<br>
          </font>
          <div>
            <div class="h5"><br>
              On Fri, Dec 10, 2010 at 3:28 PM, Duane Larson &lt;<a
                moz-do-not-send="true"
                href="mailto:duane.larson@gmail.com">duane.larson@gmail.com</a>&gt;
              wrote:<br>
              &gt; I did a total removal of the older OpenSIPS install
              and dropped and readded<br>
              &gt; the Presence tables into MySQL.&nbsp; That really helped
              thanks.&nbsp; I still had<br>
              &gt; some core dumps though not sure if it is going to
              happen more or not (will<br>
              &gt; have to keep my eye on it), but this is what the core
              dump says<br>
              &gt;<br>
              &gt;<br>
              &gt; (gdb) backtrace<br>
              &gt; #0&nbsp; 0x00007f1e97c6e165 in raise () from
              /lib/libc.so.6<br>
              &gt; #1&nbsp; 0x00007f1e97c70f70 in abort () from
              /lib/libc.so.6<br>
              &gt; #2&nbsp; 0x00007f1e97ca427b in ?? () from /lib/libc.so.6<br>
              &gt; #3&nbsp; 0x00007f1e97cadad6 in ?? () from /lib/libc.so.6<br>
              &gt; #4&nbsp; 0x00007f1e935bc0b8 in send_publish_int
              (presentity=&lt;value optimized<br>
              &gt; out&gt;, publ=&lt;value optimized out&gt;,
              ev=0x7f1e88d57518, hash_index=332) at<br>
              &gt; send_publish.c:496<br>
              &gt; #5&nbsp; 0x00007f1e935bcf12 in send_publish
              (publ=0x7fff97d6adc0) at<br>
              &gt; send_publish.c:572<br>
              &gt; #6&nbsp; 0x00007f1e92f968d3 in mi_pua_publish
              (cmd=0x84ddb0, param=&lt;value<br>
              &gt; optimized out&gt;) at mi_func.c:237<br>
              &gt; #7&nbsp; 0x00007f1e9540e388 in run_mi_cmd
              (rx_sock=&lt;value optimized out&gt;,<br>
              &gt; tx_sock=&lt;value optimized out&gt;) at
              ../../mi/mi.h:104<br>
              &gt; #8&nbsp; mi_datagram_server (rx_sock=&lt;value optimized
              out&gt;, tx_sock=&lt;value<br>
              &gt; optimized out&gt;) at datagram_fnc.c:529<br>
              &gt; #9&nbsp; 0x00007f1e95410463 in datagram_process (rank=0)
              at mi_datagram.c:311<br>
              &gt; #10 0x0000000000493f0c in start_module_procs () at
              sr_module.c:574<br>
              &gt; #11 0x000000000042cefa in main_loop (argc=&lt;value
              optimized out&gt;, argv=&lt;value<br>
              &gt; optimized out&gt;) at main.c:872<br>
              &gt; #12 main (argc=&lt;value optimized out&gt;,
              argv=&lt;value optimized out&gt;) at<br>
              &gt; main.c:1388<br>
              &gt;<br>
              &gt;<br>
              &gt; libc.so.6 keeps popping up in the core dumps.<br>
              &gt;<br>
              &gt; On Fri, Dec 10, 2010 at 12:15 PM, Ovidiu Sas &lt;<a
                moz-do-not-send="true"
                href="mailto:osas@voipembedded.com">osas@voipembedded.com</a>&gt;
              wrote:<br>
              &gt;&gt;<br>
              &gt;&gt; Have you also updated the layout of the
              presentity table?<br>
              &gt;&gt; Check for the extra_hdrs field.<br>
              &gt;&gt;<br>
              &gt;&gt; Regards,<br>
              &gt;&gt; Ovidiu Sas<br>
              &gt;&gt;<br>
              &gt;&gt; On Fri, Dec 10, 2010 at 12:52 PM, Duane Larson
              &lt;<a moz-do-not-send="true"
                href="mailto:duane.larson@gmail.com">duane.larson@gmail.com</a>&gt;<br>
              &gt;&gt; wrote:<br>
              &gt;&gt; &gt; I did update the presentity table to be 5
              instead of 4.&nbsp; Perhaps i<br>
              &gt;&gt; &gt; didn't<br>
              &gt;&gt; &gt; clean up the previous install.&nbsp; Let me try
              that.<br>
              &gt;&gt; &gt;<br>
              &gt;&gt; &gt; On Dec 10, 2010 11:46 AM, "Ovidiu Sas" &lt;<a
                moz-do-not-send="true"
                href="mailto:osas@voipembedded.com">osas@voipembedded.com</a>&gt;
              wrote:<br>
              &gt;&gt; &gt;<br>
              &gt;&gt; &gt; Do you see any errors in the logs?<br>
              &gt;&gt; &gt; Make sure that you clean up your previous
              install (remove all the<br>
              &gt;&gt; &gt; opensips modules and all the opensips
              binaries) before re-installing<br>
              &gt;&gt; &gt; opensips.<br>
              &gt;&gt; &gt; Also, the presentity table has evolved (it
              has a new field:<br>
              &gt;&gt; &gt; extra_hdrs). &nbsp;The presentity version table
              should be 5.<br>
              &gt;&gt; &gt;<br>
              &gt;&gt; &gt;<br>
              &gt;&gt; &gt; Regards,<br>
              &gt;&gt; &gt; Ovidiu Sas<br>
              &gt;&gt; &gt;<br>
              &gt;&gt; &gt; On Fri, Dec 10, 2010 at 12:20 PM, Duane
              Larson &lt;<a moz-do-not-send="true"
                href="mailto:duane.larson@gmail.com">duane.larson@gmail.com</a>&gt;<br>
              &gt;&gt; &gt; wrote:<br>
              &gt;&gt; &gt;&gt; I am not sure if&nbsp;I...<br>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">
</pre>
  </body>
</html>