Hi Christian,
If it's segfaulting, then there is a bug somewhere.
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.
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 (http://jira.freeswitch.org/). 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'.
See http://wiki.freeswitch.org/wiki/Reporting_Bugs
-Steve
hello list
recently i have problems with outbound socket scripts (written in php)
dialplan looks like this
<condition field="destination_number" expression="^(\d+)$" break="on-true">
<action application="set" data="ivr_path=/opt/freeswitch/scripts/script1.php"/>
<action application="socket" data="127.0.0.1:8084 full"/>
... do something ...
<action application="set" data="ivr_path=/opt/freeswitch/scripts/script2.php"/>
<action application="socket" data="127.0.0.1:8084 full"/>
<action application="hangup"/>
</condition>
script1.php is executed script2.php fails (see syslog msg)
syslog says
fs_ivrd[11971] general protection ip:7f2f7b94bbf5 sp:7fffffffa148 error:0 in libpthread-2.7.so[7f2f7b942000+16000] or
fs_ivrd[12037]: segfault at a006c6c7576 ip 7f2f7b94bbf5 sp 7fffffffa148 error 4 in libpthread-2.7.so[7f2f7b942000+16000]
uname -a
Linux vts02.vie.xpirio.net 2.6.26-2-amd64 #1 SMP Tue Mar 9 22:29:32 UTC 2010 x86_64 GNU/Linux
version
FreeSWITCH Version 1.0.6 (svn-exported)
does anybody have similar problems?
br
--
Ing. Christian Löschenkohl
Technische Leitung, Forschung & Entwicklung VoIP
xpirio
Telekommunikation & Service GmbH
Lakeside B04
9020 Klagenfurt
Austria
T +43 (0) 5 77 11 - 1000
F +43 (0) 5 77 11 - 1002
E christian.loeschenkohl@xpirio.com
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org