<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi everyone,</div><div><br></div><div>We'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; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><div><br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><b><br></b></div><div><b>Crash this time:</b></div><div><br></div><div><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="margin: 0px; font-size: 12px; font-family: Menlo;">Core was generated by `/usr/local/freeswitch/bin/freeswitch -nc -hp'.</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 '\003', timestamp=0, type=20 '\024', stream_id=0, message=0x2adf53c96160 "\002", </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 class="Apple-tab-span" style="white-space:pre">                </span>if ((rsession->send_ack + rsession->send_ack_window) < rsession->send && </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 '\003', timestamp=0, type=20 '\024', stream_id=0, message=0x2adf53c96160 "\002", </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 '\003', type=20 '\024', 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 '\003', timestamp=20, stream_id=0) at rtmp.c:507</div><div style="margin: 0px;">#3 0x00002adf4a14a429 in rtmp_notify_call_state (session=<value optimized out>) 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=<value optimized out>, func=<value optimized out>, line=<value optimized out>) at src/switch_core_session.c:801</div><div style="margin: 0px;">#6 0x00002adf42ba3bea in switch_channel_perform_pre_answer (channel=0x2adf4c343190, file=0x2adf42d075d8 "src/switch_core_session.c", </div><div style="margin: 0px;"> func=0x2adf42d08400 "switch_core_session_execute_application_get_flags", 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 "spandsp_start_dtmf", arg=<value optimized out>, flags=<value optimized out>) 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=<value optimized out>, 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=<value optimized out>)</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'.<br>Program terminated with signal 11, Segmentation fault.<br>#0 rtmp_send_message (rsession=0x0, amfnumber=3 '\003', timestamp=0, type=20 '\024', stream_id=0, message=0x2b8329b6b410 "\002", len=68, flags=0) at rtmp.c:562<br>562<span class="Apple-tab-span" style="white-space: pre;">                </span>if ((rsession->send_ack + rsession->send_ack_window) < rsession->send && <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 '\003', timestamp=0, type=20 '\024', stream_id=0, message=0x46eaf410 "\002", len=71, flags=0) at rtmp.c:562<br>562<span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">        </span>if ((rsession->send_ack + rsession->send_ack_window) < rsession->send && <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></body></html>