from the logs he has sent the mem addresses all look 64 bit. Sparc AFAIK is only 64 bit anyway<div><br></div><div>Cheers</div><div>Jason<br><br><div class="gmail_quote">On Tue, Jun 12, 2012 at 8:50 AM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a 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">Hello,<br>
<br>
is it 64bit architecture?<br>
<br>
Cheers,<br>
Daniel<div><div class="h5"><br>
<br>
On 6/11/12 9:12 PM, Akan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Here is the information requested:<br>
<br>
System = SunOS<br>
Node = -f<br>
Release = 5.10<br>
KernelID = Generic_141444-09<br>
Machine = sun4u<br>
BusType = &lt;unknown&gt;<br>
Serial = &lt;unknown&gt;<br>
Users = &lt;unknown&gt;<br>
OEM# = 0<br>
Origin# = 1<br>
NumCPU = 1<br>
<br>
One machine is a Sun Fire V120, 2g memory, UltraSPARC-IIe 650MHz, UltraAX-i2<br>
The other machine is a Sun Netra  T1 200, 1g memory, UltraSparc-IIe 500MHz, UltraAX-i2<br>
<br>
Thanks<br>
<br>
Nathaniel L Keeling<br>
<br>
<br>
<br>
On 6/11/2012 8:33 AM, Daniel-Constantin Mierla wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I committed a patch that should make it work when realm_prefix is not set for registrar module:<br>
<br>
<a href="http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d42379da90f2ec87cb5dbb00ebb563c7528ec910" target="_blank">http://git.sip-router.org/cgi-<u></u>bin/gitweb.cgi/sip-router/?a=<u></u>commit;h=<u></u>d42379da90f2ec87cb5dbb00ebb563<u></u>c7528ec910</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&#39;s ok accessing the .len field but not .s of the same structure. The field .s is the first, making me think it&#39;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>
On 6/4/12 8:57 AM, Daniel-Constantin Mierla wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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>
On 6/2/12 10:36 PM, Akan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ok, I reloaded the servers with v3.2 from git without performing the checkout and with just the master branch.  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 class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
On 5/30/12 9:10 PM, Akan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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 git://<a href="http://git.sip-router.org/sip-router" target="_blank">git.sip-router.org/sip-<u></u>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 href="http://www.kamailio.org/wiki/install/devel/git" target="_blank">http://www.kamailio.org/wiki/<u></u>install/devel/git</a><br>
<br>
Cheers,<br>
Daniel<br>
<br>
</blockquote>
<br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</blockquote>
<br>
-- <br>
Daniel-Constantin Mierla -<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> -<a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<u></u>miconda</a><br>
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 -<a href="http://asipto.com/u/katu" target="_blank">http://asipto.com/u/katu</a><br>
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 -<a href="http://asipto.com/u/kpw" target="_blank">http://asipto.com/u/kpw</a><br>
<br>
<br>
</blockquote>
<br>
-- <br>
Daniel-Constantin Mierla -<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> -<a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<u></u>miconda</a><br>
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 -<a href="http://asipto.com/u/katu" target="_blank">http://asipto.com/u/katu</a><br>
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 -<a href="http://asipto.com/u/kpw" target="_blank">http://asipto.com/u/kpw</a><br>
<br>
<br>
No virus found in this message.<br>
Checked by AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a> &lt;<a href="http://www.avg.com" target="_blank">http://www.avg.com</a>&gt;<br>
Version: 2012.0.2178 / Virus Database: 2433/5061 - Release Date: 06/10/12<br>
<br>
</blockquote>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</blockquote>
<br></div></div><div class="im">
-- <br>
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
</div><a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<u></u>miconda</a><br>
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - <a href="http://asipto.com/u/katu" target="_blank">http://asipto.com/u/katu</a><div class="im HOEnZb"><br>
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - <a href="http://asipto.com/u/kpw" target="_blank">http://asipto.com/u/kpw</a><br>
<br>
<br>
<br>
<br></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</div></div></blockquote></div><br></div>

<pre>This email is subject to the disclaimer of Smile Communications (PTY) Ltd. at http://www.smilecoms.com/disclaimer