<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 1, 2017 at 12:53 PM, Carlos Chavez <span dir="ltr"><<a href="mailto:cursor@telecomab.mx" target="_blank">cursor@telecomab.mx</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">     I am having a very tough time trying to replace an Elastix 2.X install running as a virtual machine on ESXI 4.  I tried using the Freepbx 14 ISO that installs CentOS 6 along with Asterisk 13.16 but I keep getting random segfaults:<br>
<br>
[175711.476685] asterisk[2942]: segfault at 188 ip 00007fc6c41abffc sp 00007fc608575890 error 4 in libasteriskpj.so.2[7fc6c414400<wbr>0+14c000]<br></blockquote><div><br></div><div>The messages that get dumped to the kernel log aren't of much use.  See below for more info.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
     I then proceeded to install a CentOS 7.3 VM and compiled Asterisk 13.17.0 by hand. </blockquote><div><br></div><div>That <i>should</i> be a good combination.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We are still using Freepbx 14 for the front end.  We did some testing over the weekend and calls were coming in and out and all extensions were registered.  Come Monday Asterisk started segfaulting again with exactly the same error.  Maybe VMware is too old to support the newer CentOS and Asterisk?  The Elastix install is based on CentOS 5 and Asterisk 1.6.  I have no idea how to approach this.  It only segfaults when there are only more than a couple simultaneous calls, that is why testing with only a couple of calls worked.<br>
<br>
     There are several core dump files but I really do not know how to use them for debugging Asterisk.  Any ideas?</blockquote><div><br></div><div>If you still have the coredump files, you can use the ast_coredumper utility located in /var/lib/asterisk/scripts to extract the human-readable stack traces.  "sudo /var/lib/asterisk/scripts/ast_coredumper --help" will get you more info on how to run the command.  The *-thread1.txt file it produces will be the most helpful but all 4 should be attached to the Asterisk issue should you decide to create one.</div><div><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I will try using chan_sip instead of PJSIP to get things running but confidence is not high.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Telecomunicaciones Abiertas de México S.A. de C.V.<br>
Carlos Chávez<br>
dCAP #1349<br>
+52 (55)8116-9161<br>
<br>
-- <br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org<wbr>/</a><br>
<br>
New to Asterisk? Start here:<br>
     <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wik<wbr>i/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailma<wbr>n/listinfo/asterisk-users</a></font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="font-size:12.8px">George Joseph</span><br style="font-size:12.8px"><span style="font-size:12.8px">Digium, Inc. | Software Developer</span><span style="font-size:12.8px"><br>445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br></span><span style="font-size:12.8px">Check us out at: </span><a href="http://www.digium.com/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.digium.com</a><span style="font-size:12.8px"> & </span><a href="http://www.asterisk.org/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.asterisk.org</a><br><div><br></div></div></div>
</div></div>