<div dir="ltr">null rsession pointer probably.<div><br></div><div>This is not the right place to file bug reports.</div><div><a href="http://jira.freeswitch.org">http://jira.freeswitch.org</a>  but make sure you can reproduce your problem on the latest git HEAD.</div>
<div> </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 8, 2013 at 4:47 PM, JC <span dir="ltr">&lt;<a href="mailto:jcongdon@networxonline.com" target="_blank">jcongdon@networxonline.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 style="word-wrap:break-word"><div>Hi everyone,</div><div><br></div><div>We&#39;ve been having some server crashes lately.  We thought our most recent upgrade had fixed it, but unfortunately, it crashed again the other day.  Based on the information below, does anyone have any recommendations or thoughts?  Always seems to segfault.</div>
<div><br></div><div>We are connected to it via RTMP from a Flash Media Server if that helps at all.</div><div><br><blockquote type="cite"><div style="word-wrap:break-word"><div><div><br><blockquote type="cite"><div style="word-wrap:break-word">
<div><b><br></b></div><div><b>Crash this time:</b></div><div><br></div><div><div style="word-wrap:break-word"><div style="margin:0px;font-size:12px;font-family:Menlo">Core was generated by `/usr/local/freeswitch/bin/freeswitch -nc -hp&#39;.</div>
<div style="margin:0px;font-size:12px;font-family:Menlo">Program terminated with signal 11, Segmentation fault.</div><div style="margin:0px;font-size:12px;font-family:Menlo">#0  rtmp_send_message (rsession=0x0, amfnumber=3 &#39;\003&#39;, timestamp=0, type=20 &#39;\024&#39;, stream_id=0, message=0x2adf53c96160 &quot;\002&quot;, </div>
<div style="margin:0px;font-size:12px;font-family:Menlo">    len=69, flags=0) at rtmp.c:562</div><div style="margin:0px;font-size:12px;font-family:Menlo">562<span style="white-space:pre-wrap">                </span>if ((rsession-&gt;send_ack + rsession-&gt;send_ack_window) &lt; rsession-&gt;send &amp;&amp; </div>
<div style="margin:0px;font-size:12px;font-family:Menlo"><br></div><div style="margin:0px;font-size:12px;font-family:Menlo"><br></div><div style="margin:0px;font-size:12px;font-family:Menlo"><br></div><div style="margin:0px;font-size:12px;font-family:Menlo">
<div style="margin:0px">(gdb) bt</div><div style="margin:0px">#0  rtmp_send_message (rsession=0x0, amfnumber=3 &#39;\003&#39;, timestamp=0, type=20 &#39;\024&#39;, stream_id=0, message=0x2adf53c96160 &quot;\002&quot;, </div>
<div style="margin:0px">    len=69, flags=0) at rtmp.c:562</div><div style="margin:0px">#1  0x00002adf4a14a0dd in rtmp_send_invoke_v (rsession=0x0, amfnumber=3 &#39;\003&#39;, type=20 &#39;\024&#39;, timestamp=0, stream_id=0, </div>
<div style="margin:0px">    list=0x2adf53c969d0, freethem=SWITCH_TRUE) at rtmp.c:548</div><div style="margin:0px">#2  0x00002adf4a14a2c8 in rtmp_send_invoke_free (rsession=0x0, amfnumber=3 &#39;\003&#39;, timestamp=20, stream_id=0) at rtmp.c:507</div>
<div style="margin:0px">#3  0x00002adf4a14a429 in rtmp_notify_call_state (session=&lt;value optimized out&gt;) at rtmp.c:484</div><div style="margin:0px">#4  0x00002adf4a147073 in rtmp_receive_message (session=0x2adf4c33d5a8, msg=0x2adf53c96c90)</div>
<div style="margin:0px">    at /usr/local/src/freeswitch/src/mod/endpoints/mod_rtmp/mod_rtmp.c:549</div><div style="margin:0px">#5  0x00002adf42bc36cb in switch_core_session_perform_receive_message (session=0x2adf4c33d5a8, message=0x3, </div>
<div style="margin:0px">    file=&lt;value optimized out&gt;, func=&lt;value optimized out&gt;, line=&lt;value optimized out&gt;) at src/switch_core_session.c:801</div><div style="margin:0px">#6  0x00002adf42ba3bea in switch_channel_perform_pre_answer (channel=0x2adf4c343190, file=0x2adf42d075d8 &quot;src/switch_core_session.c&quot;, </div>
<div style="margin:0px">    func=0x2adf42d08400 &quot;switch_core_session_execute_application_get_flags&quot;, line=2635) at src/switch_channel.c:3347</div><div style="margin:0px">#7  0x00002adf42bc4711 in switch_core_session_execute_application_get_flags (session=0x2adf4c33d5a8, </div>
<div style="margin:0px">    app=0x2adf4d533cc8 &quot;spandsp_start_dtmf&quot;, arg=&lt;value optimized out&gt;, flags=&lt;value optimized out&gt;) at src/switch_core_session.c:2635</div><div style="margin:0px">#8  0x00002adf42bc8153 in switch_core_session_run (session=0x2adf4c33d5a8) at src/switch_core_state_machine.c:230</div>
<div style="margin:0px">#9  0x00002adf42bc3030 in switch_core_session_thread (thread=&lt;value optimized out&gt;, obj=0x2adf4c33d5a8)</div><div style="margin:0px">    at src/switch_core_session.c:1529</div><div style="margin:0px">
#10 0x00002adf42bbf9d0 in switch_core_session_thread_pool_worker (thread=0x2adf545d3600, obj=&lt;value optimized out&gt;)</div><div style="margin:0px">    at src/switch_core_session.c:1621</div><div style="margin:0px">#11 0x00000030b000683d in start_thread () from /lib64/libpthread.so.0</div>
<div style="margin:0px">#12 0x00000030af8d4f8d in clone () from /lib64/libc.so.6</div><div><br></div><div><br></div><div><br></div></div></div></div><div><br></div><b>Last two times:<br></b><div><br></div><div><br></div><div>
Loaded symbols for /lib64/libnss_dns.so.2<br>Core was generated by `/usr/local/freeswitch/bin/freeswitch -nc -hp&#39;.<br>Program terminated with signal 11, Segmentation fault.<br>#0  rtmp_send_message (rsession=0x0, amfnumber=3 &#39;\003&#39;, timestamp=0, type=20 &#39;\024&#39;, stream_id=0, message=0x2b8329b6b410 &quot;\002&quot;, len=68, flags=0) at rtmp.c:562<br>
562<span style="white-space:pre-wrap">                </span>if ((rsession-&gt;send_ack + rsession-&gt;send_ack_window) &lt; rsession-&gt;send &amp;&amp; <br><br><div><div><br></div><div>Core dump from last time:</div><div><br></div><blockquote type="cite">
<blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br><br>Program terminated with signal 11, Segmentation fault.<br>#0  rtmp_send_message (rsession=0x0, amfnumber=3 &#39;\003&#39;, timestamp=0, type=20 &#39;\024&#39;, stream_id=0, message=0x46eaf410 &quot;\002&quot;, len=71, flags=0) at rtmp.c:562<br>
562<span style="white-space:pre-wrap">        </span><span style="white-space:pre-wrap">        </span>if ((rsession-&gt;send_ack + rsession-&gt;send_ack_window) &lt; rsession-&gt;send &amp;&amp; <br></blockquote></blockquote></blockquote>
</blockquote><div><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></div></div></div></div></blockquote></div><br></div></div><br><br></blockquote></div><br>
</div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900
</div>