<div dir="ltr">This is on FreeSWITCH Version 1.6.5+git-20151209T192325Z~70b8c17763~32bit (git 70b8c17 2015-12-09 19:23:25Z 32bit) by the way.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 10, 2015 at 2:49 PM, Komar, Jason <span dir="ltr"><<a href="mailto:jkomar@jbox.ca" target="_blank">jkomar@jbox.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I get nothing in debug or sip trace. It always dies at mod_spandsp_fax so I figured it was in that module. At that point freeswitch just restarts without throwing any errors.<div><br></div><div>Kernel log shows:</div><div><br></div><div><div>Dec 10 14:16:17 antman kernel: [ 5949.832802] Alignment trap: not handling instruction ecb17a01 at [<b44fe32c>]</div><div>Dec 10 14:16:17 antman kernel: [ 5949.834290] Unhandled fault: alignment exception (0x001) at 0xb4546e4a</div></div><div><br></div><div>The only part of the exception that is the same every time it happens is "instruction ecb17a01."</div><div><br></div><div>I would have just opened a JIRA, but I didn't think this was enough information. I have been Googling trying to figure out how to get more info.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Jason</div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 10, 2015 at 2:37 PM, Stanislav Sinyagin <span dir="ltr"><<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi, I didn't see any errors, but I'm not using fax, and mostly it's bridging the calls and connecting users to a conference. Do you have more debugging information?</p>
<p dir="ltr">Most probably the source of the problem is that x86 allows unaligned memory access: a word pointer can have any value. And other architectures don't allow this, and require the pointers to be aligned to word boundaries. Mongodb, for example, is known to fail on any non-x86 CPU because of that.</p>
<p dir="ltr">So, probably mod_spandsp needs an audit.<br></p><div><div>
<div class="gmail_quote">On 10 Dec 2015 21:11, "Komar, Jason" <<a href="mailto:jkomar@jbox.ca" target="_blank">jkomar@jbox.ca</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Your instructions worked great for me building on/for my Odroid-U3 (arm) running Debian Jessie.<div><br></div><div>I know you are running on arm at scaleway. Do you ever run into any alignment issues? I'm getting alignment exception faults receiving faxes and I'm having trouble pulling any useful debug messages.</div><div><br></div><div>Thanks,</div><div>Jason</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 30, 2015 at 9:27 AM, Stanislav Sinyagin <span dir="ltr"><<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi,<br>
<br>
I put together the build scenario that I tested for ARM (armhf at<br>
<a href="http://scaleway.com" rel="noreferrer" target="_blank">scaleway.com</a>), and it should also work for other architectures:<br>
<br>
<a href="https://freeswitch.org/confluence/display/FREESWITCH/Building+debs+for+other+architectures" rel="noreferrer" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/Building+debs+for+other+architectures</a><br>
<br>
It will be great if someone tests them on other architectures too.<br>
<br>
<br>
cheers,<br>
stanislav<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>