<div dir="ltr">Oh and put that all in a JIRA, Its easier to close a JIRA for being incomplete than it is to try do debug things over a mailing list so always opt for the JIRA.....</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 17, 2015 at 1:23 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</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">Also load that core into gdb again and do:<div><br></div><div>print *read_frame</div><div>print **frame</div><div>print session->raw_read_frame</div><div><br></div>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 17, 2015 at 1:17 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</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">Do you have the logs with full debugging enabled so you could take the uuid of the crashed call and compare it to the logs?<div>Maybe also with the SIP trace enabled.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, Dec 17, 2015 at 12:59 PM, Adam Johnston <span dir="ltr"><<a href="mailto:ajohnston@alertsolutions.com" target="_blank">ajohnston@alertsolutions.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I was going to file a JIRA, but I'm not running on most recent commit of FreeSWITCH.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I have not been able to reproduce this issue on-demand, but it has happened sporadically in both 1.4 and as of yesterday 1.7.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">A FreeSWITCH box will be running any number of calls (I've seen this happen with a handful and with hundreds) and will crash on WAV playback. The second-to-last message in the log file has been:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default"><font face="monospace, monospace">[ERR] switch_core_codec.c:784 Decode Codec is not initialized!</font><br></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">in every instance of this failure.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Our use case is we originate calls via mod_event_socket and with an inline dialplan that starts spandsp_start_tone_detect (for beep detection) and then plays a playback string of silence followed by one or more WAVs (8-bit u-law). I have not been able to narrow the culprit down to one specific call. In the most recent crash all calls had negotiated to PCMU or PCMA.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Any thoughts on how I could reproduce this so I can file a proper bug report? Some more info is below, and I'd be happy to provide any more information I can.</font></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">info:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">* Amazon EC2 c4.xlarge instance</font></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">* Debian 8.2 (jessie)</font></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">* commit 2cb7188c1733a6524e5852f95bb71f12e0ffcc18</font></div><div class="gmail_default"><font face="monospace, monospace">* FreeSWITCH version: 1.7.0+git~20151209T003048Z~2cb7188c17~64bit (git 2cb7188 2015-12-09 00:30:48Z 64bit)</font><br></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><font face="monospace, monospace">stack trace:</font></div><div class="gmail_default"><div class="gmail_default"><div class="gmail_default"><font face="monospace, monospace">#0 0x00007fe06a4a3750 in switch_core_session_read_frame (session=0x7fe0259a9078, frame=0x7fdfe0dd6090, flags=1641139939, stream_id=1762346489) at src/switch_core_io.c:501</font></div><div class="gmail_default"><font face="monospace, monospace">#1 0x00007fe06a52934a in switch_ivr_play_file (session=0x7fe0259a9078, fh=0x7fdfe0dd6850, file=0x7fdfe0dd6810 "", args=0x7fe0690b45f9 <__lll_unlock_wake_private+25>, args@entry=0x7fdfe0dd6810) at src/switch_ivr_play_say.c:1721</font></div><div class="gmail_default"><font face="monospace, monospace">#2 0x00007fe061362343 in playback_function (session=0x7fe0259a9078, data=<optimized out>) at mod_dptools.c:2810</font></div><div class="gmail_default"><font face="monospace, monospace">#3 0x00007fe06a49e81a in switch_core_session_exec (session=0x7fe0259a9078, application_interface=0xba4340, arg=0x7fe0259a5170 "silence_stream://1000!718946f17f2b6e4638d510540952d58e.wav!silence_stream://5000") at src/switch_core_session.c:2783</font></div><div class="gmail_default"><font face="monospace, monospace">#4 0x00007fe06a49edb8 in switch_core_session_execute_application_get_flags (session=0x0, app=0x7fe0259a5160 "playback", arg=0x7fe0259a5170 "silence_stream://1000!718946f17f2b6e4638d510540952d58e.wav!silence_stream://5000", flags=0x0) at src/switch_core_session.c:2653</font></div><div class="gmail_default"><font face="monospace, monospace">#5 0x00007fe06a4a1d42 in switch_core_standard_on_execute (session=<optimized out>) at src/switch_core_state_machine.c:283</font></div><div class="gmail_default"><font face="monospace, monospace">#6 switch_core_session_run (session=0x7fe0259a9078) at src/switch_core_state_machine.c:539</font></div><div class="gmail_default"><font face="monospace, monospace">#7 0x00007fe06a49c0be in switch_core_session_thread (thread=<optimized out>, obj=0x7fe0259a9078) at src/switch_core_session.c:1629</font></div><div class="gmail_default"><font face="monospace, monospace">#8 0x00007fe06a497e5d in switch_core_session_thread_pool_worker (thread=0x7fe0259cdd80, obj=0x0) at src/switch_core_session.c:1692</font></div><div class="gmail_default"><font face="monospace, monospace">#9 0x00007fe06a579590 in dummy_worker (opaque=0x7fe0259cdd80) at threadproc/unix/thread.c:151</font></div><div class="gmail_default"><font face="monospace, monospace">#10 0x00007fe0699ce0a4 in start_thread (arg=0x7fdfe0dd7700) at pthread_create.c:309</font></div><div class="gmail_default"><font face="monospace, monospace">#11 0x00007fe0690a804d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111</font></div></div></div><div class="gmail_default"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Thank you,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Adam Johnston</div><div><div></div></div>
</div>
<br></div></div>_________________________________________________________________________<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><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div><div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br></div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a> ☎ <a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a> </div><div><br></div></div></div><div><a href="https://www.youtube.com/watch?v=9XXgW34t40s" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank">https://www.youtube.com/watch?v=9XXgW34t40s</a></div><div><a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" target="_blank">https://www.youtube.com/watch?v=NLaDpGQuZDA</a><br></div></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div><div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br></div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a> ☎ <a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a> </div><div><br></div></div></div><div><a href="https://www.youtube.com/watch?v=9XXgW34t40s" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank">https://www.youtube.com/watch?v=9XXgW34t40s</a></div><div><a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" target="_blank">https://www.youtube.com/watch?v=NLaDpGQuZDA</a><br></div></div></div></div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div><div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br></div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a> ☎ +19193869900 </div><div><br></div></div></div><div><a href="https://www.youtube.com/watch?v=9XXgW34t40s" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank">https://www.youtube.com/watch?v=9XXgW34t40s</a></div><div><a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" target="_blank">https://www.youtube.com/watch?v=NLaDpGQuZDA</a><br></div></div></div></div></div></div></div>
</div>