<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    I got access and it is actually gcc, here are the compile options:<br>
    <br>
    $ gmake Q=0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
    Makefile.defs defs skipped<br>
    gcc -g -O9 -funroll-loops -m64 -mcpu=ultrasparc -mtune=ultrasparc
    -fno-strict-overflow -ftree-vectorize -Wall&nbsp;&nbsp;&nbsp; -DNAME='"kamailio"'
    -DVERSION='"3.3.0-pre3"' -DARCH='"sparc64"' -DOS='solaris_'
    -DOS_QUOTED='"solaris"' -DCOMPILER='"gcc 4.6.2"' -D__CPU_sparc64
    -D__OS_solaris -DSER_VER=3003000
    -DCFG_DIR='"/usr/local/etc/kamailio/"' -DPKG_MALLOC -DSHM_MEM
    -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP
    -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER
    -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC
    -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS
    -DMALLOC_STATS -DWITH_AS_SUPPORT -DFAST_LOCK -DADAPTIVE_WAIT
    -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DSPARC64_MODE
    -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD
    -DHAVE_ALLOCA_H -DUSE_SIGACTION -DHAVE_DEVPOLL -DHAVE_SELECT
    -DHAVE_FILIO_H&nbsp;
    -DMODS_DIR='"/usr/local/lib64/kamailio/modules:/usr/local/lib64/kamailio/modules_s:/usr/local/lib64/kamailio/modules_k"'

    -c main.c -o main.o -MMD -MP<br>
    <br>
    I am doing some tests right now to see if I catch soemthing.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 6/11/12 10:21 AM, Jason Penton
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAE=KcrgbayCiz12g18xybuBBtw76HAq_vV3-UXYgN9SVZfQ3Jg@mail.gmail.com"
      type="cite">This seems like a really strange bug, what compiler
      are you using, gcc or sun studio? We use gcc and don't have any
      issues like this. I will use sun studio if you confirm that you
      are using it and will give that a go.
      <div>
        <br>
      </div>
      <div>Cheers</div>
      <div>Jason<br>
        <br>
        <div class="gmail_quote">On Mon, Jun 4, 2012 at 8:57 AM,
          Daniel-Constantin Mierla <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:miconda@gmail.com"
              target="_blank">miconda@gmail.com</a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> 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
              <div>
                <div class="h5"><br>
                  <br>
                  <div>On 6/2/12 10:36 PM, Akan wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">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">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"
                        href="http://www.kamailio.org/wiki/install/devel/git"
                        target="_blank">http://www.kamailio.org/wiki/install/devel/git</a>
                      <br>
                      <br>
                      Cheers, <br>
                      Daniel <br>
                      <br>
                    </blockquote>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <div class="im">
                  <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
                </div>
              </blockquote>
              <div class="im"> <br>
                <pre cols="72">-- 
Daniel-Constantin Mierla - <a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - <a moz-do-not-send="true" href="http://asipto.com/u/katu" target="_blank">http://asipto.com/u/katu</a>
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - <a moz-do-not-send="true" href="http://asipto.com/u/kpw" target="_blank">http://asipto.com/u/kpw</a></pre>
                <br>
                <br>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
            mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
              target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <pre>This email is subject to the disclaimer of Smile Communications (PTY) Ltd. at <a class="moz-txt-link-freetext" href="http://www.smilecoms.com/disclaimer">http://www.smilecoms.com/disclaimer</a>



</pre>
    </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>