<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    I committed a patch that should make it work when realm_prefix is
    not set for registrar module:<br>
    <br>
<a class="moz-txt-link-freetext" href="http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d42379da90f2ec87cb5dbb00ebb563c7528ec910">http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d42379da90f2ec87cb5dbb00ebb563c7528ec910</a><br>
    <br>
    For the moment I have no idea why SIGBUS is triggered, i tried to
    access the structure directly, not via defines, and there is still a
    problem when realm_prefix is set. It's ok accessing the .len field
    but not .s of the same structure. The field .s is the first, making
    me think it's not alignment issue, or it is something very specific
    to this system.<br>
    <br>
    Overall, I am not familiar with sparc/solaris systems, maybe if you
    send here full details about OS version, architecture and CPU type,
    others using similar systems can give hints.<br>
    <br>
    Jason reported that on solaris with x86, this problem was not
    encountered.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 6/4/12 8:57 AM, Daniel-Constantin
      Mierla wrote:<br>
    </div>
    <blockquote cite="mid:4FCC5C64.90401@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Hello,<br>
      <br>
      still strange with the crash on that if condition. One of your
      previous reports showed a different line, when assigning a
      pointer. Also, I kind of understood that save() was ok, but
      lookup() not. Is not the case anymore as the backtrace shows.<br>
      <br>
      SIGBUS can occur because of alignment in memory which is thrown in
      solaris, does not happen in linux flavours. I am thinking of
      putting the prefix field first so the access to it is at beginning
      of the straucture, just to see if that is the problem, although is
      should not be.<br>
      <br>
      I will add a patch soon, otherwise I am out of ideas for the
      moment with the SIGBUS, I would need access to the machine to do
      some testing by myself.<br>
      <br>
      Cheers,<br>
      Daniel<br>
      <br>
      <div class="moz-cite-prefix">On 6/2/12 10:36 PM, Akan wrote:<br>
      </div>
      <blockquote cite="mid:4FCA7968.90008@akan.net" type="cite">Ok, I
        reloaded the servers with v3.2 from git without performing the
        checkout and with just the master branch.&nbsp; Reran my tests on 2
        servers and Kamailio terminated with a core dump. I have
        included the full trace of one of the servers. The other trace
        has the same results. <br>
        <br>
        Thanks <br>
        <br>
        Nathaniel <br>
        <br>
        On 5/30/2012 2:25 PM, Daniel-Constantin Mierla wrote: <br>
        <blockquote type="cite">Hello, <br>
          <br>
          On 5/30/12 9:10 PM, Akan wrote: <br>
          <blockquote type="cite">This was a re-pull from the git
            master. I had deleted all of the old files and issued these
            commands: <br>
            <br>
            git clone --depth 1 <a moz-do-not-send="true"
              class="moz-txt-link-freetext"
              href="git://git.sip-router.org/sip-router">git://git.sip-router.org/sip-router</a>
            kamailio <br>
            cd kamailio <br>
            git checkout -b 3.2 origin/3.2 <br>
            <br>
            This is the source that I got. Could this be a problem
            within git? <br>
          </blockquote>
          do not checkout branch 3.2, just try with the master branch,
          as said, not all patches are backported to stable 3.2. <br>
          <br>
          For sake of completeness, here are some guidelines: <br>
          <a moz-do-not-send="true" class="moz-txt-link-freetext"
            href="http://www.kamailio.org/wiki/install/devel/git">http://www.kamailio.org/wiki/install/devel/git</a>
          <br>
          <br>
          Cheers, <br>
          Daniel <br>
          <br>
        </blockquote>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
      </blockquote>
      <br>
      <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a>
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://asipto.com/u/kpw">http://asipto.com/u/kpw</a></pre>
      <br>
      <br>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a>
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kpw">http://asipto.com/u/kpw</a></pre>
    <br>
    <br>
  </body>
</html>