Hi Sergio,<br><br>After some tests, I can confirm that this issue doesn&#39;t affect rev240 of app_rtsp not on Asterisk 1.6.2.0 nor 1.6.2.0, where it behaves fine and calls are finished properly.<br><br>Hope this feedback will be of some help.<br>

<br>Regards,<br><br><br clear="all">--<br>Juan Manuel Coronado Z.<br>
<br><br><div class="gmail_quote">2010/2/8 Juan Manuel Coronado Zúñiga <span dir="ltr">&lt;<a href="mailto:juan.m.coronado@gmail.com">juan.m.coronado@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Sure, that&#39;s a better idea :-)<br><br>Here&#39;s the full backtrace for the Asterisk 1.6.2.0 core dump:<br><br>(gdb) bt full<br>#0  0xb7397004 in app_rtsp (chan=0x9375590, data=0xb7177f14) at app_rtsp.c:2088<br>        u = (struct ast_module_user *) 0x935ae70                               <br>


        ip = 0x9378268 &quot;172.30.0.25&quot;                                           <br>        url = 0xb7177f2b &quot;/test&quot;                                               <br>        username = 0x0                                                         <br>


        password = 0x0                                                         <br>        port = 5553                                                            <br>        __PRETTY_FUNCTION__ = &quot;app_rtsp&quot;                                       <br>


#1  0x08104967 in pbx_exec (c=0x9375590, app=0x9112328, data=0xb7177f14) at pbx.c:1348<br>        res = &lt;value optimized out&gt;                                                   <br>        u = (struct ast_module_user *) 0x9148858                                      <br>


        saved_c_appl = 0x0                                                            <br>        saved_c_data = 0x0                                                            <br>        __PRETTY_FUNCTION__ = &quot;pbx_exec&quot;                                              <br>


#2  0x0810f680 in pbx_extension_helper (c=0x9375590, con=0x0, context=0x9375800 &quot;pbx1&quot;, exten=0x9375850 &quot;553&quot;, priority=2, <br>    label=0x0, callerid=0x9374440 &quot;227&quot;, action=E_SPAWN, found=0xb717a348, combined_find_spawn=1) at pbx.c:3708<br>


        e = &lt;value optimized out&gt;<br>        app = (struct ast_app *) 0x9112328<br>        res = &lt;value optimized out&gt;<br>        q = {incstack = {0x0 &lt;repeats 128 times&gt;}, stacklen = 0, status = 5, swo = 0x0, data = 0x0,<br>


  foundcontext = 0x9375800 &quot;pbx1&quot;}<br>        passdata = &quot;rtsp://<a href="http://172.30.0.25:5553/test" target="_blank">172.30.0.25:5553/test</a>&quot;, &#39;\0&#39; &lt;repeats 8163 times&gt;<br>        matching_action = 0<br>


        __PRETTY_FUNCTION__ = &quot;pbx_extension_helper&quot;<br>#3  0x0811192d in __ast_pbx_run (c=0x9375590, args=0x0) at pbx.c:4167<br>        dst_exten = &#39;\0&#39; &lt;repeats 12 times&gt;, &quot;1�ѷ&quot;, &#39;\0&#39; &lt;repeats 60 times&gt;, &quot;\020&quot;, &#39;\0&#39; &lt;repeats 19 times&gt;, &quot;\230�7\t&quot;, &#39;\0&#39; &lt;repeats 44 times&gt;, &quot;T�ѷ&quot;, &#39;\0&#39; &lt;repeats 20 times&gt;, &quot;��ѷ\f\000\000\000\230�7\000�\237��`���\000\000\000\0008�\027��\031ҷ`���\f\000\000\000\000\000\000\000`���\200\024:\t\f\000\000\000\200\033\000\000\210�7\t\235�ٷ\230�7\t\210�7\tpv\a\b\210\021\033\b\f\000\000&quot;<br>


        pos = 4001536<br>        digit = 0<br>        invalid = &lt;value optimized out&gt;<br>        found = 1<br>---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---<br>        res = 0<br>        error = 0<br>


        __PRETTY_FUNCTION__ = &quot;__ast_pbx_run&quot;<br>#4  0x08113190 in pbx_thread (data=0x9375590) at pbx.c:4544<br>No locals.<br>#5  0x0815327b in dummy_start (data=0x937e898) at utils.c:968<br>        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {154659208, 0, 4001536, -1223187512, -699156598,<br>


        -747528460}, __mask_was_saved = 0}}, __pad = {0xb717a480, 0x0, 0x0, 0x0}}<br>        not_first_call = &lt;value optimized out&gt;<br>        ret = &lt;value optimized out&gt;<br>#6  0xb7c984b5 in start_thread () from /lib/i686/cmov/libpthread.so.0<br>


No symbol table info available.<br>#7  0xb7d90a5e in clone () from /lib/i686/cmov/libc.so.6<br>No symbol table info available.<br>(gdb)<br><br><br><br>And for <a href="http://1.6.2.1" target="_blank">1.6.2.1</a>:<br><br>

(gdb) bt full                                                                                                                <br>
#0  0xb72f1004 in app_rtsp (chan=0x86f6608, data=0xb70d1f14) at app_rtsp.c:2088                                              <br>        u = (struct ast_module_user *) 0x86f8fb0                                                                             <br>


        ip = 0x86fab40 &quot;172.30.0.25&quot;                                                                                         <br>        url = 0xb70d1f2b &quot;/test&quot;                                                                                             <br>


        username = 0x0                                                                                                       <br>        password = 0x0                                                                                                       <br>


        port = 5553                                                                                                          <br>        __PRETTY_FUNCTION__ = &quot;app_rtsp&quot;                                                                                     <br>


#1  0x08104cb7 in pbx_exec (c=0x86f6608, app=0x86f94a0, data=0xb70d1f14) at pbx.c:1348                                       <br>        res = &lt;value optimized out&gt;                                                                                          <br>


        u = (struct ast_module_user *) 0x86cefe0                                                                             <br>        saved_c_appl = 0x0                                                                                                   <br>


        saved_c_data = 0x0                                                                                                   <br>        __PRETTY_FUNCTION__ = &quot;pbx_exec&quot;                                                                                     <br>


#2  0x0810f850 in pbx_extension_helper (c=0x86f6608, con=0x0, context=0x86f6878 &quot;pbx1&quot;, exten=0x86f68c8 &quot;553&quot;, priority=2,   <br>    label=0x0, callerid=0x86f91f8 &quot;227&quot;, action=E_SPAWN, found=0xb70d4348, combined_find_spawn=1) at pbx.c:3706              <br>


        e = &lt;value optimized out&gt;                                                                                            <br>        app = (struct ast_app *) 0x86f94a0                                                                                   <br>


        res = &lt;value optimized out&gt;                                                                                          <br>        q = {incstack = {0x0 &lt;repeats 128 times&gt;}, stacklen = 0, status = 5, swo = 0x0, data = 0x0,<br>


  foundcontext = 0x86f6878 &quot;pbx1&quot;}<br>        passdata = &quot;rtsp://<a href="http://172.30.0.25:5553/test" target="_blank">172.30.0.25:5553/test</a>&quot;, &#39;\0&#39; &lt;repeats 5808 times&gt;, &quot;c^Ƿ&quot;, &#39;\0&#39; &lt;repeats 12 times&gt;, &quot;x=\r�\000\000\000\000\000=\r�\000\000\000\000\000\000\000\000\a\000\000\000\006&quot;, &#39;\0&#39; &lt;repeats 11 times&gt;, &quot;�?\000\000\000\000\2268\213�H&lt;\r��\211ķl&lt;\r�\2268\213�&quot;, &#39;\0&#39; &lt;repeats 20 times&gt;, &quot;����5\003\000\000\000\000\000\000\000\000\000\000,�ķ&quot;, &#39;\0&#39; &lt;repeats 24 times&gt;, &quot;�;\r�\000\000\000\000\000\000\000\000\000=\r�&quot;, &#39;\0&#39; &lt;repeats 16 times&gt;, &quot;����&quot;, &#39;\0&#39; &lt;repeats 40 times&gt;, &quot;����\225&quot;...<br>


        matching_action = 0<br>        __PRETTY_FUNCTION__ = &quot;pbx_extension_helper&quot;<br>#3  0x08111b9d in __ast_pbx_run (c=0x86f6608, args=0x0) at pbx.c:4165<br>        dst_exten = &quot;\022\000\000\000`ظ�����1\235Ƿ\224���t��\001\000\000\000����.�ˠ�\201\\C\r��\201��LC\r�t��@C\r�����\000\000\000\000`ظ�\005\000\000\000\020\000\000\000\001\000\000\000pC\r��;�dC\r��Uo\b\000\000\000\000@ڸ�LC\r�@C\r�\001\000\000\000&lt;C\r�\000\000\000\000\214C\r�\000\200\a\237�\000\000\000\000T\217Ƿ&quot;, &#39;\0&#39; &lt;repeats 12 times&gt;, &quot;@C\r��C\r��{Ƿ\f\000\000\000�Uo\000�?`Q\000\000\000\0008C\r���Ƿ`Q&quot;...<br>


---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---<br>        pos = 4001536<br>        digit = 0<br>        invalid = &lt;value optimized out&gt;<br>        found = 1<br>        res = 0<br>        error = 0<br>


        __PRETTY_FUNCTION__ = &quot;__ast_pbx_run&quot;<br>#4  0x08113400 in pbx_thread (data=0x86f6608) at pbx.c:4542<br>No locals.<br>#5  0x0815305b in dummy_start (data=0x86f55a0) at utils.c:968<br>        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {141435248, 0, 4001536, -1223867448, 161732390, 960872024},<br>


      __mask_was_saved = 0}}, __pad = {0xb70d4480, 0x0, 0xb70d43c4, 0xb7d63ff4}}<br>        not_first_call = &lt;value optimized out&gt;<br>        ret = &lt;value optimized out&gt;<br>#6  0xb7bf24b5 in start_thread () from /lib/i686/cmov/libpthread.so.0<br>


No symbol table info available.<br>#7  0xb7ceaa5e in clone () from /lib/i686/cmov/libc.so.6<br>No symbol table info available.<br>(gdb)<br><br><br>Best regards,<br><font color="#888888"><br clear="all">--<br>Juan Manuel Coronado Z.</font><div>

<div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Mon, Feb 8, 2010 at 11:39 AM, Sergio Garcia Murillo <span dir="ltr">&lt;<a href="mailto:sergio.garcia@fontventa.com" target="_blank">sergio.garcia@fontventa.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 Juan Manuel,<br>
<br>
Could you send a backtrace of the core dumps instead?<br>
<br>
Best regards<br>
Sergio<br>
<br>
Juan Manuel Coronado Zúñiga escribió:<br>
<div><div></div><div>&gt;<br>
&gt; Hi Sergio and list,<br>
&gt;<br>
&gt; Hanging up a succesfull call from a Eyebeam Softphone (H.264) to<br>
&gt; app_rtsp causes Asterisk to crash. I&#39;ve tried versions 1.6.0.10,<br>
&gt; 1.6.2.0 and 1.6.2.1.<br>
&gt;<br>
&gt; I have the following setup:<br>
&gt;<br>
&gt; - Asterisk with app_rtsp rev 250 in Debian Lenny (5.0.3) i386.<br>
&gt; - Grandstream GXV3601 registered in Asterisk.<br>
&gt; - VLC in other PC which connects to the Camera, performs the<br>
&gt; authentication (I&#39;ve experienced issues with app_rtsp auth) and<br>
&gt; re-streams to Asterisk.<br>
&gt; - Windows machine with Eyebeam softphone and a webcam attached.<br>
&gt;<br>
&gt; The call to app_rtsp succesfully shows the video streamed by the<br>
&gt; camera, but when hanging up it causes a segfault. I can provide 2 core<br>
&gt; dumps with the latest versions of Asterisk if needed (1.3 MB).<br>
&gt;<br>
&gt; Any help would be appreciated.<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Juan Manuel Coronado Z.<br>
&gt;<br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-video mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-video" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-video</a></font></blockquote></div><br>
</div></div></blockquote></div><br>