<div dir="ltr"><div>I&#39;ll do you one better :-)</div><div><br></div>Here is the complete output file of &quot;<span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">thread apply all bt&quot;</span><div><br></div><div><a href="https://www.dropbox.com/s/gslm6l13jrxkr6s/gdb.txt">https://www.dropbox.com/s/gslm6l13jrxkr6s/gdb.txt</a><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 23, 2014 at 10:40 AM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.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 dir="ltr">Are there conference_loop_input threads to go with those?<div>search for other threads with one of the sessions in it e.g. <span style="font-family:arial,sans-serif;font-size:12.6666669845581px">0x7f3f503a8b48</span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 23, 2014 at 12:33 PM, Oleg Stolyar <span dir="ltr">&lt;<a href="mailto:olegstolyar@gmail.com" target="_blank">olegstolyar@gmail.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 dir="ltr"><div>Thanks Anthony!</div>I got two such stuck legs right now.  Here are their threads.  <div><br></div><div><div>Thread 45 (Thread 0x7f3f574fb940 (LWP 25467)):</div><div>#0  0x0000003d8d207c65 in pthread_join () from /lib64/libpthread.so.0</div><div>#1  0x00007f3f712b9db9 in apr_thread_join () from /usr/local/freeswitch/lib/libfreeswitch.so.1</div><div>#2  0x00007f3f71186d2c in switch_thread_join (retval=0x7f3f574fa0fc, thd=0x7f3f683f8cb8) at src/switch_apr.c:1171</div><div>#3  0x00007f3f667b233c in conference_loop_output (member=0x7f3f574fa540) at mod_conference.c:4481</div><div>#4  0x00007f3f667c1a4c in conference_function (session=0x7f3f503a8b48, data=0x7f3f681cbd10 &quot;5d7b86e0-3ea5-11e4-b722-1231393fb01c@default+flags{join-only}&quot;) at mod_conference.c:8695</div><div>#5  0x00007f3f711c23e7 in switch_core_session_exec (session=0x7f3f503a8b48, application_interface=0x7f3f600e1920, arg=0x7f3f681cbd10 &quot;5d7b86e0-3ea5-11e4-b722-1231393fb01c@default+flags{join-only}&quot;)</div><div>    at src/switch_core_session.c:2862</div><div>#6  0x00007f3f711c1c85 in switch_core_session_execute_application_get_flags (session=0x7f3f503a8b48, app=0x7f3f681cbd00 &quot;conference&quot;,</div><div>    arg=0x7f3f681cbd10 &quot;5d7b86e0-3ea5-11e4-b722-1231393fb01c@default+flags{join-only}&quot;, flags=0x0) at src/switch_core_session.c:2737</div><div>#7  0x00007f3f711c3c3c in switch_core_standard_on_execute (session=0x7f3f503a8b48) at src/switch_core_state_machine.c:281</div><div>#8  0x00007f3f711c4de0 in switch_core_session_run (session=0x7f3f503a8b48) at src/switch_core_state_machine.c:530</div><div>#9  0x00007f3f711be45c in switch_core_session_thread (thread=0x7f3f50b9f990, obj=0x7f3f503a8b48) at src/switch_core_session.c:1597</div><div>#10 0x00007f3f711be913 in switch_core_session_thread_pool_worker (thread=0x7f3f50b9f990, obj=0x7f3f50b9f820) at src/switch_core_session.c:1689</div><div>#11 0x00007f3f712b9b7d in dummy_worker () from /usr/local/freeswitch/lib/libfreeswitch.so.1</div><div>#12 0x0000003d8d20683d in start_thread () from /lib64/libpthread.so.0</div><div>#13 0x0000003d8cad4f8d in clone () from /lib64/libc.so.6</div><div><br></div><div><br></div><div>Thread 60 (Thread 0x7f3f575af940 (LWP 28590)):</div><div>#0  0x0000003d8d207c65 in pthread_join () from /lib64/libpthread.so.0</div><div>#1  0x00007f3f712b9db9 in apr_thread_join () from /usr/local/freeswitch/lib/libfreeswitch.so.1</div><div>#2  0x00007f3f71186d2c in switch_thread_join (retval=0x7f3f575ae0fc, thd=0x215a358) at src/switch_apr.c:1171</div><div>#3  0x00007f3f667b233c in conference_loop_output (member=0x7f3f575ae540) at mod_conference.c:4481</div><div>#4  0x00007f3f667c1a4c in conference_function (session=0x7f3f50087998, data=0x2152a38 &quot;2e42aba0-430b-11e4-bc8b-22000a1cca7e@default+flags{join-only}&quot;) at mod_conference.c:8695</div><div>#5  0x00007f3f711c23e7 in switch_core_session_exec (session=0x7f3f50087998, application_interface=0x7f3f600e1920, arg=0x2152a38 &quot;2e42aba0-430b-11e4-bc8b-22000a1cca7e@default+flags{join-only}&quot;)</div><div>    at src/switch_core_session.c:2862</div><div>#6  0x00007f3f711c1c85 in switch_core_session_execute_application_get_flags (session=0x7f3f50087998, app=0x2152a28 &quot;conference&quot;, arg=0x2152a38 &quot;2e42aba0-430b-11e4-bc8b-22000a1cca7e@default+flags{join-only}&quot;,</div><div>    flags=0x0) at src/switch_core_session.c:2737</div><div>#7  0x00007f3f711c3c3c in switch_core_standard_on_execute (session=0x7f3f50087998) at src/switch_core_state_machine.c:281</div><div>#8  0x00007f3f711c4de0 in switch_core_session_run (session=0x7f3f50087998) at src/switch_core_state_machine.c:530</div><div>#9  0x00007f3f711be45c in switch_core_session_thread (thread=0x214d4b0, obj=0x7f3f50087998) at src/switch_core_session.c:1597</div><div>#10 0x00007f3f711be913 in switch_core_session_thread_pool_worker (thread=0x214d4b0, obj=0x214d340) at src/switch_core_session.c:1689</div><div>#11 0x00007f3f712b9b7d in dummy_worker () from /usr/local/freeswitch/lib/libfreeswitch.so.1</div><div>#12 0x0000003d8d20683d in start_thread () from /lib64/libpthread.so.0</div><div>#13 0x0000003d8cad4f8d in clone () from /lib64/libc.so.6</div></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 23, 2014 at 9:16 AM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.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 dir="ltr">It may be trapped inside some blocking call from within the conference.<div>Your best bet would be to catch it in that state, do the kick, when it doesn&#39;t work gcore the process and open it in gdb and get &quot;thread apply all bt&quot; then you can see the stack trace for that session and see which code its blocking on.</div><div><br></div><div>The BREAK signal you show there is designed to pull it out of most blocking situations so it must be something particular.</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Tue, Sep 23, 2014 at 10:53 AM, Oleg Stolyar <span dir="ltr">&lt;<a href="mailto:olegstolyar@gmail.com" target="_blank">olegstolyar@gmail.com</a>&gt;</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">Guys,<div><br></div><div>I wonder if anyone else ran into this situation:  Very rarely I have a conference participant stuck in a conference.  When I try to run kick command on that conference, it returns &quot;OK kicked &lt;member ID&gt;&quot; but nothing happens.  In the logs there is only this:</div><div><br></div><div><pre style="word-wrap:break-word"><font color="#000000"><span style="white-space:pre-wrap">db1790fe-fa75-42a6-9054-75c600b9539c 2014-09-23 15:43:07.066947 [DEBUG] mod_conference.c:5619 Send signal sofia/&lt;profile&gt;/anonymous@anonymous.invalid [BREAK]<br></span></font></pre><pre style="word-wrap:break-word"><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></pre><pre style="word-wrap:break-word"><font color="#000000"><span style="white-space:pre-wrap">As an additional piece of information if I use uuid_kill on the leg, it does disconnect the leg and ends the conference.</span></font></pre><pre style="word-wrap:break-word"><span style="white-space:pre-wrap;color:rgb(0,0,0);font-family:arial">Any suggestions?</span><br></pre></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" target="_blank">http://www.freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.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>
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><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><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>
</font></span></div>
<br>_________________________________________________________________________<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" target="_blank">http://www.freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.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>
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></blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<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" target="_blank">http://www.freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.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>
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></blockquote></div><br><br clear="all"><div><br></div>-- <br><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>
</div>
</div></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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.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>
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></blockquote></div><br></div>