Hi Christian,<br><br>If it's segfaulting, then there is a bug somewhere.<br><br>Firstly, make sure you're on the very latest version from Git. See if you can reproduce the error on that version. If you're on an old version then there'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 'ulimit -c unlimited' 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 'gdb fs_ivrd core', and post the output for the commands 'bt full' and 'thread apply all bt full'.<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"><<a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a>></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>
<condition field="destination_number" expression="^(\d+)$" break="on-true"><br>
<action application="set" data="ivr_path=/opt/freeswitch/scripts/script1.php"/><br>
<action application="socket" data="<a href="http://127.0.0.1:8084" target="_blank">127.0.0.1:8084</a> full"/><br>
... do something ...<br>
<action application="set" data="ivr_path=/opt/freeswitch/scripts/script2.php"/><br>
<action application="socket" data="<a href="http://127.0.0.1:8084" target="_blank">127.0.0.1:8084</a> full"/><br>
<action application="hangup"/><br>
</condition><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 & Entwicklung VoIP<br>
<br>
xpirio<br>
Telekommunikation & 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>