[Freeswitch-users] outbound socket problem / fs_ivrd general protection, segfault
Christian Löschenkohl
christian.loeschenkohl at xpirio.com
Fri Jun 4 07:39:34 PDT 2010
hi
thank you
- i use a very up-to-date version - see version output 1.0.6
the ivrd hasn't changed from 1.0.6 to the current trunk
- i don't know how to debug with gdb here
freeswitch dumps it's core as a core file but fs_ivrd doesn't
could you provide a command that does the job?
strace
also syslog says the kernel logs this
Jun 4 14:23:43 vts02 kernel: [2321314.877379] fs_ivrd[18070] general protection ip:7f2f7b94bbf5 sp:7fffffffa148 error:0 in libpthread-2.7.so[7f2f7b942000+16000]
or
Jun 4 14:47:53 vts02 kernel: [2323898.324458] fs_ivrd[19023]: segfault at a006c6c85 ip 7f0429f43bf5 sp 7fffffffab68 error 4 in libpthread-2.7.so[7f0429f3a000+16000]
fs_ivrd doesn't break and it does not need a restart
br
On 2010-06-04 14:13, Steven Ayre wrote:
> 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
>
>
>
> 2010/6/4 Christian Löschenkohl <christian.loeschenkohl at xpirio.com
> <mailto:christian.loeschenkohl at xpirio.com>>
>
> 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
> <http://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
> <http://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
> <http://libpthread-2.7.so>[7f2f7b942000+16000] or
> fs_ivrd[12037]: segfault at a006c6c7576 ip 7f2f7b94bbf5 sp
> 7fffffffa148 error 4 in libpthread-2.7.so
> <http://libpthread-2.7.so>[7f2f7b942000+16000]
>
> uname -a
> Linux vts02.vie.xpirio.net <http://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 at xpirio.com
> <mailto:christian.loeschenkohl at xpirio.com>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
--
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 at xpirio.com
More information about the FreeSWITCH-users
mailing list