Hi Christian,<br><br>If it&#39;s segfaulting, then there is a bug somewhere.<br><br>Firstly, make sure you&#39;re on the very latest version from Git. See if you can reproduce the error on that version. If you&#39;re on an old version then there&#39;s a possibility the bug has already been fixed.<br>
<br>If you still have segfault problems collect a core dump file (which may require running &#39;ulimit -c unlimited&#39; before starting fs_ivrd) for the process and report it with the backtrace from gdb on Jira (<a href="http://jira.freeswitch.org/">http://jira.freeswitch.org/</a>). Load the core file into gdb with the command &#39;gdb fs_ivrd core&#39;, and post the output for the commands &#39;bt full&#39; and &#39;thread apply all bt full&#39;.<br>
<br>See <a href="http://wiki.freeswitch.org/wiki/Reporting_Bugs">http://wiki.freeswitch.org/wiki/Reporting_Bugs</a><br><br>-Steve<br><br><br><br><div class="gmail_quote">2010/6/4 Christian Löschenkohl <span dir="ltr">&lt;<a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">hello list<br>
<br>
recently i have problems with outbound socket scripts (written in php)<br>
<br>
dialplan looks like this<br>
<br>
&lt;condition field=&quot;destination_number&quot; expression=&quot;^(\d+)$&quot; break=&quot;on-true&quot;&gt;<br>
   &lt;action application=&quot;set&quot; data=&quot;ivr_path=/opt/freeswitch/scripts/script1.php&quot;/&gt;<br>
   &lt;action application=&quot;socket&quot; data=&quot;<a href="http://127.0.0.1:8084" target="_blank">127.0.0.1:8084</a> full&quot;/&gt;<br>
   ... do something ...<br>
   &lt;action application=&quot;set&quot; data=&quot;ivr_path=/opt/freeswitch/scripts/script2.php&quot;/&gt;<br>
   &lt;action application=&quot;socket&quot; data=&quot;<a href="http://127.0.0.1:8084" target="_blank">127.0.0.1:8084</a> full&quot;/&gt;<br>
   &lt;action application=&quot;hangup&quot;/&gt;<br>
&lt;/condition&gt;<br>
<br>
script1.php is executed script2.php fails (see syslog msg)<br>
<br>
syslog says<br>
  fs_ivrd[11971] general protection ip:7f2f7b94bbf5 sp:7fffffffa148 error:0 in <a href="http://libpthread-2.7.so" target="_blank">libpthread-2.7.so</a>[7f2f7b942000+16000] or<br>
  fs_ivrd[12037]: segfault at a006c6c7576 ip 7f2f7b94bbf5 sp 7fffffffa148 error 4 in <a href="http://libpthread-2.7.so" target="_blank">libpthread-2.7.so</a>[7f2f7b942000+16000]<br>
<br>
uname -a<br>
  Linux <a href="http://vts02.vie.xpirio.net" target="_blank">vts02.vie.xpirio.net</a> 2.6.26-2-amd64 #1 SMP Tue Mar 9 22:29:32 UTC 2010 x86_64 GNU/Linux<br>
<br>
version<br>
  FreeSWITCH Version 1.0.6 (svn-exported)<br>
<br>
does anybody have similar problems?<br>
<br>
br<br>
<br>
<br>
--<br>
Ing. Christian Löschenkohl<br>
Technische Leitung, Forschung &amp; Entwicklung VoIP<br>
<br>
xpirio<br>
Telekommunikation &amp; Service GmbH<br>
Lakeside B04<br>
9020 Klagenfurt<br>
Austria<br>
<br>
T  +43 (0) 5 77 11 - 1000<br>
F  +43 (0) 5 77 11 - 1002<br>
E  <a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a><br>
<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>