Hi Anthony,<br><br>it is not the machine ... and yep there was some memory related issue ... but this was caused by my module ....<br><br>So, to summarize.. i had two issues:<br><br><ol><li>FS crashing without any notice (at 5 CPS)</li>
<li>Unable to recompile FS with gdb support</li></ol><br><br>The first issue was actually related to &quot;-hp&quot; switch i was using in my startup
script. With it, FS was crashing without any notice (even on low traffic)
and regardless if i load my custom modules or not.<br>The second issue was related to many FS crashes having my module loaded... I found it later and fixed that.<br><br><br>So, after the machine cleanup I rebuild FS with gdb support without any issues. <br>
Of course i sow this log .. but i didn&#39;t realize for a while... and after that i was fighting with crashes caused by &quot;-hp&quot; ... also, it was quite late as well ended up at 3 AM :P<br><br><br><br>Anyhow, the poit is; FS works well with my custom module. It just finished 2 mil. calls (with media) at 100 CPS having ~1600 simultaneous calls... well, thats something :P.<br>
<br><br><br>T.<br><br><br><div class="gmail_quote">On Tue, Sep 22, 2009 at 4:35 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
see this from your own log?<div class="im"><br><br>make[2]: Entering directory `/opt/freeswitch-trunk/libs/</div><div><div class="im">pcre&#39;<br>g++
-DHAVE_CONFIG_H -I.     -O2 -MT pcrecpp_unittest.o -MD -MP -MF
.deps/pcrecpp_unittest.Tpo -c -o pcrecpp_unittest.o pcrecpp_unittest.cc<br>
g++: Internal error: Segmentation fault (program cc1plus)<br>Please submit a full bug report.<br>See &lt;file:///usr/share/doc/gcc-4.3/README.Bugs&gt; for instructions.<br>make[2]: *** [pcrecpp_unittest.o] Error 1<br>make[2]: Leaving directory `/opt/freeswitch-trunk/libs/pcre&#39;<br>


make[1]: *** [all] Error 2<br>make[1]: Leaving directory `/opt/freeswitch-trunk/libs/pcre&#39;<br>make: *** [libs/pcre/<a href="http://libpcre.la/" target="_blank">libpcre.la</a>] Error 2<br><br><br></div>This is a FATAL error to have on your machine.<br>

It&#39;s failing during the build.  This is your compiler crashing while trying to build the software.<br>This is very bad.<br>You most likely have a hardware failure and need to replace the machine or at the very least all of the memory chips.<br>

<br></div><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Sep 22, 2009 at 7:36 AM, Tihomir Culjaga <span dir="ltr">&lt;<a href="mailto:tculjaga@gmail.com" target="_blank">tculjaga@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi Brian, <br><br>well, there is no coredump at all... and when i start FS with gdb it doesn&#39;t crash :P<br>I need to do some more testing and will come back to you.<br><br>T.<br><br><div class="gmail_quote"><div><div>

</div><div>On Tue, Sep 22, 2009 at 1:22 AM, Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div><div>This looks like gcc is segfaulting can you provide me a complete backtrace of the core file that dumps from FreeSWITCH? <div>



<br></div><div><a href="http://wiki.freeswitch.org/wiki/Reporting_Bugs" target="_blank">http://wiki.freeswitch.org/wiki/Reporting_Bugs</a></div><div><br></div><div>It sounds like you might have bad ram or bad hardware... gcc crashing is usually a sign something is really wrong with your machine.  </div>



<div><br></div><font color="#888888"><div>/b</div></font><div><div><br><div><div>On Sep 21, 2009, at 5:46 PM, Tihomir Culjaga wrote:</div><br><blockquote type="cite">but without luck...<br><br>ode1:/opt/freeswitch-trunk#<span> </span><br>



node1:/opt/freeswitch-trunk# sudo make<br>make[1]: Entering directory `/opt/freeswitch-trunk/libs/pcre&#39;<br>make  all-am<br>make[2]: Entering directory `/opt/freeswitch-trunk/libs/pcre&#39;<br>g++ -DHAVE_CONFIG_H -I.     -O2 -MT pcrecpp_unittest.o -MD -MP -MF .deps/pcrecpp_unittest.Tpo -c -o pcrecpp_unittest.o pcrecpp_unittest.cc<br>



g++: Internal error: Segmentation fault (program cc1plus)<br>Please submit a full bug report.<br>See &lt;<a>file:///usr/share/doc/gcc-4.3/README.Bugs</a>&gt; for instructions.<br>make[2]: *** [pcrecpp_unittest.o] Error 1<br>



make[2]: Leaving directory `/opt/freeswitch-trunk/libs/pcre&#39;<br>make[1]: *** [all] Error 2<br>make[1]: Leaving directory `/opt/freeswitch-trunk/libs/pcre&#39;<br>make: *** [libs/pcre/<a href="http://libpcre.la/" target="_blank">libpcre.la</a>] Error 2<br>



node1:/opt/freeswitch-trunk#<span> </span><br>node1:/opt/freeswitch-trunk#<span> </span><br><br><br>Of course I&#39;m using the latest trunk...<br><br>Can anyone help?</blockquote></div><br></div></div></div><br></div></div>

_______________________________________________<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>

Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>