<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">So switch_core_session_exec is what is calling your module, which is then crashing, and you think the problem is in switch_core_session_exec?<div><br><div><div>On May 21, 2014, at 12:44 PM, Bhavesh Soni &lt;<a href="mailto:bhavesh.soni@gslab.com">bhavesh.soni@gslab.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Yes specifically again, in mymodule.so,
      I have certain pointers to offset addresses only.<br>
      But, per my discussions with my fellow teammates the underlying
      switch_core* calls are thought to be culprits.<br>
      I am parallel looking to mymodule.so calls as well; <br>
      <br>
      Again on the other hand, do you think because of <b>esl_recv_event()</b>
      failure and third thread call to ESL socket and can cause crash?<br>
      <pre class="moz-signature" cols="72">Regards
Bhavesh
GS LAB
(O) +91 20 4671 1256
(M) +91 86000 64681</pre>
      On 21-05-2014 18:01, Michael Jerris wrote:<br>
    </div>
    <blockquote cite="mid:2C019824-9156-4A1C-8E5E-7111B88F9037@jerris.com" type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      You should get a full backtrace from gdb and make sure you have
      symbols in "mymodule" to see why its actually crashing, seems its
      somewhere in your module, and seems you have actually edited the
      backtrace to hide any details of your module, which would be where
      the useful data would be contained.
      <div><br>
        <div><br>
          <div>
            <div>On May 21, 2014, at 12:22 PM, Bhavesh Soni &lt;<a moz-do-not-send="true" href="mailto:bhavesh.soni@gslab.com">bhavesh.soni@gslab.com</a>&gt;
              wrote:</div>
            <br class="Apple-interchange-newline">
            <blockquote type="cite">
              <meta http-equiv="content-type" content="text/html;
                charset=ISO-8859-1">
              <div bgcolor="#FFFFFF" text="#000000"> Folks,<br>
                My board randomly crashes sometimes making outgoing
                calls;<br>
                The backtrace looks like:<br>
                <br>
                mymodule<br>
/lib/libc.so.6(__default_sa_restorer_v2+0x0)[0x404bc630]#012<br>
                /lib/libc.so.6(gsignal+0x40)[0x404bb2ec]#012<br>
                /lib/libc.so.6(abort+0x1b0)[0x404c0b04]#012<br>
/lib/libc.so.6(__default_sa_restorer_v2+0x0)[0x404bc630]#012<br>
                mymodule<br>
                /lib/libfreeswitch.so.1(<b>switch_core_session_exec</b>+0x56c)[0x4014385c]#012<br>
                /lib/libfreeswitch.so.1(<b>switch_core_session_execute_application_get_flags</b>+0x494)[0x40143ee8]#012<br>
                /lib/libfreeswitch.so.1(<b>switch_core_session_run</b>+0xea0)[0x40147980]#012<br>
                /lib/libfreeswitch.so.1(+0x59a7c)[0x40142a7c]#012<br>
                /lib/libfreeswitch.so.1(+0xdc8bc)[0x401c58bc]#012<br>
                /lib/libpthread.so.0(+0x5a90)[0x400cea90]#012<br>
                /lib/libc.so.6(clone+0x88)[0x40567fb8]#012<br>
                <br>
                Is it really failing somewhere in switch_thread?<br>
                Also, some times I see different set of traces, where <b>esl_recv_event()</b>
                fails?<br>
                <br>
                I am running freeswitch version 1.2.1 on my ARM board.<br>
                <br>
                <br>
                <pre class="moz-signature" cols="72">-- 
Regards
Bhavesh
GS LAB
(O) +91 20 4671 1256
(M) +91 86000 64681</pre>
              </div>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a moz-do-not-send="true" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
              <a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br>
              <br>
              FreeSWITCH-powered IP PBX: The CudaTel Communication
              Server<br>
              <a class="moz-txt-link-freetext" href="http://www.cudatel.com/">http://www.cudatel.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a class="moz-txt-link-freetext" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
              <a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><br>
              <a class="moz-txt-link-freetext" href="http://www.cluecon.com/">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a class="moz-txt-link-freetext" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com/">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org/">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com/">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org/">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </div>

_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>