FreeSWITCH - Segmentation fault in libcrypto.so.1.0.0
Hi, We use FreeSWITCH in a production enviroment and this morning experienced an outage caused by a segmentation fault (error 4 in libcrypto.so.1.0.0). Based on this error I'm geussing this is linked to the OpenSSL module? We have TLS disabled in all of our SIP profiles, how can we stop FreeSWITCH from using libcrypto, or is anyone able to advise on another method to fix this? Our system: Ubuntu 12.04 LTS FreeSwitch 1.4.15 PostgreSQL 9.3.6 OpenSSL 1.0.1 Please see below for a copy of the kernal log, I've replaced server names and IP addresses with xxxx for security purposes. Sep 19 00:21:13 xxxx kernel: [1276167.422451] show_signal_msg: 57 callbacks suppressed Sep 19 00:21:13 xxxx kernel: [1276167.422456] freeswitch[53622]: segfault at 7f4590c6b000 ip 00007f45908fb6e3 sp 00007f453f50dfc0 error 4 in libcrypto.so.1.0.0[7f4590890000+1b2000] This isn't the first time we've seen this error, but it has been many months since this last occured. The last time we expeirenced this type of segmentation fault (libcrypto) in FreeSWITCH we installed all available updates. On this occasion the segmentation fault happened overnight when we only have the occasional call. This happened approx 37 seconds after the last call had ended (see below). d89ff492-5e5b-11e5-90c5-d74017d9130d 2015-09-19 00:20:36.601890 [NOTICE] sofia.c:952 Hangup sofia/internal/3303@xxxx [CS_EXECUTE] [NORMAL_CLEARING] da61a97e-5e5b-11e5-90f6-d74017d9130d 2015-09-19 00:20:36.621841 [NOTICE] switch_ivr_bridge.c:754 Hangup sofia/external/+xxxx@xxxx [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] There doesn't seem to be any connection with the time or any events on the server, there were no authentication attempts or logs that we can find which could be linked to segmentation fault. Hope someone here can advise. Many Thanks, Shaun ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
The only way to see what really caused this is with a proper backtrace(see: https://freeswitch.org/confluence/display/FREESWITCH/Debugging#Debugging-Adv ancedDebuggingTechniques ) and file a jira with all the details (see: https://freeswitch.org/confluence/display/FREESWITCH/Reporting+Bugs+to+JIRA) K From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Shaun Stokes Sent: Saturday, September 19, 2015 11:45 AM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] FreeSWITCH - Segmentation fault in libcrypto.so.1.0.0 Hi, We use FreeSWITCH in a production enviroment and this morning experienced an outage caused by a segmentation fault (error 4 in libcrypto.so.1.0.0). Based on this error I'm geussing this is linked to the OpenSSL module? We have TLS disabled in all of our SIP profiles, how can we stop FreeSWITCH from using libcrypto, or is anyone able to advise on another method to fix this? Our system: Ubuntu 12.04 LTS FreeSwitch 1.4.15 PostgreSQL 9.3.6 OpenSSL 1.0.1 Please see below for a copy of the kernal log, I've replaced server names and IP addresses with xxxx for security purposes. Sep 19 00:21:13 xxxx kernel: [1276167.422451] show_signal_msg: 57 callbacks suppressed Sep 19 00:21:13 xxxx kernel: [1276167.422456] freeswitch[53622]: segfault at 7f4590c6b000 ip 00007f45908fb6e3 sp 00007f453f50dfc0 error 4 in libcrypto.so.1.0.0[7f4590890000+1b2000] This isn't the first time we've seen this error, but it has been many months since this last occured. The last time we expeirenced this type of segmentation fault (libcrypto) in FreeSWITCH we installed all available updates. On this occasion the segmentation fault happened overnight when we only have the occasional call. This happened approx 37 seconds after the last call had ended (see below). d89ff492-5e5b-11e5-90c5-d74017d9130d 2015-09-19 00:20:36.601890 [NOTICE] sofia.c:952 Hangup sofia/internal/3303@xxxx [CS_EXECUTE] [NORMAL_CLEARING] da61a97e-5e5b-11e5-90f6-d74017d9130d 2015-09-19 00:20:36.621841 [NOTICE] switch_ivr_bridge.c:754 Hangup sofia/external/+xxxx@xxxx [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] There doesn't seem to be any connection with the time or any events on the server, there were no authentication attempts or logs that we can find which could be linked to segmentation fault. Hope someone here can advise. Many Thanks, Shaun ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
Thanks for this, if we get any more problems before we'll be sure to file a jira. We're in the process of migrating to a new build on Debian 8 running the latest version of FreeSwitch, hopeing this problem is specific to our old build. Thanks, Shaun ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] on behalf of Ken Rice [krice@freeswitch.org] Sent: 19 September 2015 17:51 To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] FreeSWITCH - Segmentation fault in libcrypto.so.1.0.0 The only way to see what really caused this is with a proper backtrace(see: https://freeswitch.org/confluence/display/FREESWITCH/Debugging#Debugging-Adv... ) and file a jira with all the details (see: https://freeswitch.org/confluence/display/FREESWITCH/Reporting+Bugs+to+JIRA) K From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Shaun Stokes Sent: Saturday, September 19, 2015 11:45 AM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] FreeSWITCH - Segmentation fault in libcrypto.so.1.0.0 Hi, We use FreeSWITCH in a production enviroment and this morning experienced an outage caused by a segmentation fault (error 4 in libcrypto.so.1.0.0). Based on this error I'm geussing this is linked to the OpenSSL module? We have TLS disabled in all of our SIP profiles, how can we stop FreeSWITCH from using libcrypto, or is anyone able to advise on another method to fix this? Our system: Ubuntu 12.04 LTS FreeSwitch 1.4.15 PostgreSQL 9.3.6 OpenSSL 1.0.1 Please see below for a copy of the kernal log, I've replaced server names and IP addresses with xxxx for security purposes. Sep 19 00:21:13 xxxx kernel: [1276167.422451] show_signal_msg: 57 callbacks suppressed Sep 19 00:21:13 xxxx kernel: [1276167.422456] freeswitch[53622]: segfault at 7f4590c6b000 ip 00007f45908fb6e3 sp 00007f453f50dfc0 error 4 in libcrypto.so.1.0.0[7f4590890000+1b2000] This isn't the first time we've seen this error, but it has been many months since this last occured. The last time we expeirenced this type of segmentation fault (libcrypto) in FreeSWITCH we installed all available updates. On this occasion the segmentation fault happened overnight when we only have the occasional call. This happened approx 37 seconds after the last call had ended (see below). d89ff492-5e5b-11e5-90c5-d74017d9130d 2015-09-19 00:20:36.601890 [NOTICE] sofia.c:952 Hangup sofia/internal/3303@xxxx [CS_EXECUTE] [NORMAL_CLEARING] da61a97e-5e5b-11e5-90f6-d74017d9130d 2015-09-19 00:20:36.621841 [NOTICE] switch_ivr_bridge.c:754 Hangup sofia/external/+xxxx@xxxx [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] There doesn't seem to be any connection with the time or any events on the server, there were no authentication attempts or logs that we can find which could be linked to segmentation fault. Hope someone here can advise. Many Thanks, Shaun ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
Shaun, you might find "A word from our sponsor" on the following linked page informative and supportive of your move to Debian 8. https://freeswitch.org/confluence/display/FREESWITCH/Linux Regards, Bote From: Shaun Stokes Sent: Saturday, 19 September, 2015 13:45 Subject: Re: [Freeswitch-users] FreeSWITCH - Segmentation fault in libcrypto.so.1.0.0 Thanks for this, if we get any more problems before we'll be sure to file a jira. We're in the process of migrating to a new build on Debian 8 running the latest version of FreeSwitch, hopeing this problem is specific to our old build. Thanks, Shaun _____ From: Ken Rice [krice@freeswitch.org] Sent: 19 September 2015 17:51 Subject: Re: [Freeswitch-users] FreeSWITCH - Segmentation fault in libcrypto.so.1.0.0 The only way to see what really caused this is with a proper backtrace(see: https://freeswitch.org/confluence/display/FREESWITCH/Debugging#Debugging-Adv ancedDebuggingTechniques ) and file a jira with all the details (see: https://freeswitch.org/confluence/display/FREESWITCH/Reporting+Bugs+to+JIRA) K From: Shaun Stokes Sent: Saturday, September 19, 2015 11:45 AM Subject: [Freeswitch-users] FreeSWITCH - Segmentation fault in libcrypto.so.1.0.0 Hi, We use FreeSWITCH in a production enviroment and this morning experienced an outage caused by a segmentation fault (error 4 in libcrypto.so.1.0.0). Based on this error I'm geussing this is linked to the OpenSSL module? We have TLS disabled in all of our SIP profiles, how can we stop FreeSWITCH from using libcrypto, or is anyone able to advise on another method to fix this? Our system: Ubuntu 12.04 LTS FreeSwitch 1.4.15 PostgreSQL 9.3.6 OpenSSL 1.0.1 Please see below for a copy of the kernal log, I've replaced server names and IP addresses with xxxx for security purposes. Sep 19 00:21:13 xxxx kernel: [1276167.422451] show_signal_msg: 57 callbacks suppressed Sep 19 00:21:13 xxxx kernel: [1276167.422456] freeswitch[53622]: segfault at 7f4590c6b000 ip 00007f45908fb6e3 sp 00007f453f50dfc0 error 4 in libcrypto.so.1.0.0[7f4590890000+1b2000] This isn't the first time we've seen this error, but it has been many months since this last occured. The last time we expeirenced this type of segmentation fault (libcrypto) in FreeSWITCH we installed all available updates. On this occasion the segmentation fault happened overnight when we only have the occasional call. This happened approx 37 seconds after the last call had ended (see below). d89ff492-5e5b-11e5-90c5-d74017d9130d 2015-09-19 00:20:36.601890 [NOTICE] sofia.c:952 Hangup sofia/internal/3303@xxxx [CS_EXECUTE] [NORMAL_CLEARING] da61a97e-5e5b-11e5-90f6-d74017d9130d 2015-09-19 00:20:36.621841 [NOTICE] switch_ivr_bridge.c:754 Hangup sofia/external/+xxxx@xxxx [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] There doesn't seem to be any connection with the time or any events on the server, there were no authentication attempts or logs that we can find which could be linked to segmentation fault. Hope someone here can advise. Many Thanks, Shaun
There are known issues with OpenSSL on Ubuntu 12.04 LTS being broken by some patches that Ubuntu broke in that library. It is STRONGLY recommend not to use 12.04, as it is known to be broken, specifically a history of causing segfaults in OpenSSL. We reccomend using Debian 8, it will be the most stable platform is it is our primary development platform, so it will get the best testing. On Saturday, September 19, 2015, Shaun Stokes < shaun.stokes@itec-support.co.uk> wrote:
Hi,
We use FreeSWITCH in a production enviroment and this morning experienced an outage caused by a segmentation fault (error 4 in libcrypto.so.1.0.0). Based on this error I'm geussing this is linked to the OpenSSL module? We have TLS disabled in all of our SIP profiles, how can we stop FreeSWITCH from using libcrypto, or is anyone able to advise on another method to fix this?
Our system:
Ubuntu 12.04 LTS
FreeSwitch 1.4.15
PostgreSQL 9.3.6
OpenSSL 1.0.1
Please see below for a copy of the kernal log, I've replaced server names and IP addresses with xxxx for security purposes.
Sep 19 00:21:13 xxxx kernel: [1276167.422451] show_signal_msg: 57 callbacks suppressed Sep 19 00:21:13 xxxx kernel: [1276167.422456] freeswitch[53622]: segfault at 7f4590c6b000 ip 00007f45908fb6e3 sp 00007f453f50dfc0 error 4 in libcrypto.so.1.0.0[7f4590890000+1b2000]
This isn't the first time we've seen this error, but it has been many months since this last occured. The last time we expeirenced this type of segmentation fault (libcrypto) in FreeSWITCH we installed all available updates. On this occasion the segmentation fault happened overnight when we only have the occasional call. This happened approx 37 seconds after the last call had ended (see below).
d89ff492-5e5b-11e5-90c5-d74017d9130d 2015-09-19 00:20:36.601890 [NOTICE] sofia.c:952 Hangup sofia/internal/3303@xxxx [CS_EXECUTE] [NORMAL_CLEARING]
da61a97e-5e5b-11e5-90f6-d74017d9130d 2015-09-19 00:20:36.621841 [NOTICE] switch_ivr_bridge.c:754 Hangup sofia/external/+xxxx@xxxx [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
There doesn't seem to be any connection with the time or any events on the server, there were no authentication attempts or logs that we can find which could be linked to segmentation fault.
Hope someone here can advise.
Many Thanks, Shaun
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
We’re in the process of migrating to our new build on Debian 8, but this will take a few more weeks to complete. This gives me some confidence that we’ve made the right decision. Thanks, Shaun From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: 20 September 2015 01:46 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FreeSWITCH - Segmentation fault in libcrypto.so.1.0.0 There are known issues with OpenSSL on Ubuntu 12.04 LTS being broken by some patches that Ubuntu broke in that library. It is STRONGLY recommend not to use 12.04, as it is known to be broken, specifically a history of causing segfaults in OpenSSL. We reccomend using Debian 8, it will be the most stable platform is it is our primary development platform, so it will get the best testing. On Saturday, September 19, 2015, Shaun Stokes <shaun.stokes@itec-support.co.uk<mailto:shaun.stokes@itec-support.co.uk>> wrote: Hi, We use FreeSWITCH in a production enviroment and this morning experienced an outage caused by a segmentation fault (error 4 in libcrypto.so.1.0.0). Based on this error I'm geussing this is linked to the OpenSSL module? We have TLS disabled in all of our SIP profiles, how can we stop FreeSWITCH from using libcrypto, or is anyone able to advise on another method to fix this? Our system: Ubuntu 12.04 LTS FreeSwitch 1.4.15 PostgreSQL 9.3.6 OpenSSL 1.0.1 Please see below for a copy of the kernal log, I've replaced server names and IP addresses with xxxx for security purposes. Sep 19 00:21:13 xxxx kernel: [1276167.422451] show_signal_msg: 57 callbacks suppressed Sep 19 00:21:13 xxxx kernel: [1276167.422456] freeswitch[53622]: segfault at 7f4590c6b000 ip 00007f45908fb6e3 sp 00007f453f50dfc0 error 4 in libcrypto.so.1.0.0[7f4590890000+1b2000] This isn't the first time we've seen this error, but it has been many months since this last occured. The last time we expeirenced this type of segmentation fault (libcrypto) in FreeSWITCH we installed all available updates. On this occasion the segmentation fault happened overnight when we only have the occasional call. This happened approx 37 seconds after the last call had ended (see below). d89ff492-5e5b-11e5-90c5-d74017d9130d 2015-09-19 00:20:36.601890 [NOTICE] sofia.c:952 Hangup sofia/internal/3303@xxxx [CS_EXECUTE] [NORMAL_CLEARING] da61a97e-5e5b-11e5-90f6-d74017d9130d 2015-09-19 00:20:36.621841 [NOTICE] switch_ivr_bridge.c:754 Hangup sofia/external/+xxxx@xxxx [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] There doesn't seem to be any connection with the time or any events on the server, there were no authentication attempts or logs that we can find which could be linked to segmentation fault. Hope someone here can advise. Many Thanks, Shaun ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
Hi All, Collided with an interesting problem. FreeSWITCH Version 1.7.0 on Debian 8. Clean installation. I am trying to make a call to 1004 in 1003 Simple dialplan <extension name="test4"> <condition field="destination_number" expression="^(6083)$"> <action application="export" data="nolocal:absolute_codec_string=VP8,OPUS"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="RECORD_STEREO=true"/> <action application="export" data="RECORD_TOGGLE_ON_REPEAT=true"/> <action application="export" data="record_concat_video=true"/> <action application="bind_meta_app" data="2 a i record_session::/usr/local/freeswitch/recordings/${strftime(%Y%m%d_%H%M%S)}_${destination_number}_a.mp4"/> <action application="bind_meta_app" data="2 b i record_session::/usr/local/freeswitch/recordings/${strftime(%Y%m%d_%H%M%S)}_${destination_number}_b.mp4"/> <action application="answer"/> <action application="bridge" data="user/1003${sip_profile}"/> </condition> </extension> When I start to record video with the help of mod_vlc (with mod_av the same result), beautifully crafted file. Writes about 3-5 minutes (always different) and then crash freeswitch with error "Segmentation fault (core dumped)". The log is nothing critical 2015-10-14 18:00:08.727101 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:17.667098 [DEBUG] switch_core_media.c:2030 37bb2d93-701b-4b5e-8e6d-b51dc2b2b213 sofia/internal/3pdl5ns9@elvq5f8dpe6i.invalid "Extension 1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:17.667098 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:18.717096 [DEBUG] switch_core_media.c:2030 b6beadf0-c5c6-47a0-a6e5-ea7539922589 sofia/internal/1004@sip1.applicloud.com "1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:18.717096 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:27.707101 [DEBUG] switch_core_media.c:2030 37bb2d93-701b-4b5e-8e6d-b51dc2b2b213 sofia/internal/3pdl5ns9@elvq5f8dpe6i.invalid "Extension 1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:27.707101 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:28.727097 [DEBUG] switch_core_media.c:2030 b6beadf0-c5c6-47a0-a6e5-ea7539922589 sofia/internal/1004@sip1.applicloud.com "1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:28.727097 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:37.747097 [DEBUG] switch_core_media.c:2030 37bb2d93-701b-4b5e-8e6d-b51dc2b2b213 sofia/internal/3pdl5ns9@elvq5f8dpe6i.invalid "Extension 1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:37.747097 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:38.757097 [DEBUG] switch_core_media.c:2030 b6beadf0-c5c6-47a0-a6e5-ea7539922589 sofia/internal/1004@sip1.applicloud.com "1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:38.757097 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) What am I doing wrong? -- S pozdravem, Ing.Denis Jakovlev mob.tel. 775-415-382
You should file issues like this as a Jira On Wed, Oct 14, 2015 at 10:01 AM, Denis Jakovlev <yadenis@seznam.cz> wrote:
Hi All,
Collided with an interesting problem.
FreeSWITCH Version 1.7.0 on Debian 8. Clean installation. I am trying to make a call to 1004 in 1003 Simple dialplan
<extension name="test4"> <condition field="destination_number" expression="^(6083)$"> <action application="export" data="nolocal:absolute_codec_string=VP8,OPUS"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="RECORD_STEREO=true"/> <action application="export" data="RECORD_TOGGLE_ON_REPEAT=true"/> <action application="export" data="record_concat_video=true"/> <action application="bind_meta_app" data="2 a i record_session::/usr/local/freeswitch/recordings/${strftime(%Y%m%d_%H%M%S)}_${destination_number}_a.mp4"/> <action application="bind_meta_app" data="2 b i record_session::/usr/local/freeswitch/recordings/${strftime(%Y%m%d_%H%M%S)}_${destination_number}_b.mp4"/> <action application="answer"/> <action application="bridge" data="user/1003${sip_profile}"/> </condition> </extension>
When I start to record video with the help of mod_vlc (with mod_av the same result), beautifully crafted file. Writes about 3-5 minutes (always different) and then crash freeswitch with error "Segmentation fault (core dumped)". The log is nothing critical
2015-10-14 18:00:08.727101 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:17.667098 [DEBUG] switch_core_media.c:2030 37bb2d93-701b-4b5e-8e6d-b51dc2b2b213 sofia/internal/3pdl5ns9@elvq5f8dpe6i.invalid "Extension 1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:17.667098 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:18.717096 [DEBUG] switch_core_media.c:2030 b6beadf0-c5c6-47a0-a6e5-ea7539922589 sofia/internal/ 1004@sip1.applicloud.com "1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:18.717096 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:27.707101 [DEBUG] switch_core_media.c:2030 37bb2d93-701b-4b5e-8e6d-b51dc2b2b213 sofia/internal/3pdl5ns9@elvq5f8dpe6i.invalid "Extension 1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:27.707101 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:28.727097 [DEBUG] switch_core_media.c:2030 b6beadf0-c5c6-47a0-a6e5-ea7539922589 sofia/internal/ 1004@sip1.applicloud.com "1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:28.727097 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:37.747097 [DEBUG] switch_core_media.c:2030 37bb2d93-701b-4b5e-8e6d-b51dc2b2b213 sofia/internal/3pdl5ns9@elvq5f8dpe6i.invalid "Extension 1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:37.747097 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:38.757097 [DEBUG] switch_core_media.c:2030 b6beadf0-c5c6-47a0-a6e5-ea7539922589 sofia/internal/ 1004@sip1.applicloud.com "1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:38.757097 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames)
What am I doing wrong?
*-- S pozdravem, Ing.Denis Jakovlev mob.tel <http://mob.tel>. 775-415-382 *
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.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
You should try without loading mod_vlc at all. I think there is a collision on the versions of av used between mod_av and mod_vlc. Also you need to be using our repo and install our packages for the depends. On Wed, Oct 14, 2015 at 4:36 PM, Chris Tunbridge <blasterjr@gmail.com> wrote:
You should file issues like this as a Jira
On Wed, Oct 14, 2015 at 10:01 AM, Denis Jakovlev <yadenis@seznam.cz> wrote:
Hi All,
Collided with an interesting problem.
FreeSWITCH Version 1.7.0 on Debian 8. Clean installation. I am trying to make a call to 1004 in 1003 Simple dialplan
<extension name="test4"> <condition field="destination_number" expression="^(6083)$"> <action application="export" data="nolocal:absolute_codec_string=VP8,OPUS"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="RECORD_STEREO=true"/> <action application="export" data="RECORD_TOGGLE_ON_REPEAT=true"/> <action application="export" data="record_concat_video=true"/> <action application="bind_meta_app" data="2 a i record_session::/usr/local/freeswitch/recordings/${strftime(%Y%m%d_%H%M%S)}_${destination_number}_a.mp4"/> <action application="bind_meta_app" data="2 b i record_session::/usr/local/freeswitch/recordings/${strftime(%Y%m%d_%H%M%S)}_${destination_number}_b.mp4"/> <action application="answer"/> <action application="bridge" data="user/1003${sip_profile}"/> </condition> </extension>
When I start to record video with the help of mod_vlc (with mod_av the same result), beautifully crafted file. Writes about 3-5 minutes (always different) and then crash freeswitch with error "Segmentation fault (core dumped)". The log is nothing critical
2015-10-14 18:00:08.727101 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:17.667098 [DEBUG] switch_core_media.c:2030 37bb2d93-701b-4b5e-8e6d-b51dc2b2b213 sofia/internal/3pdl5ns9@elvq5f8dpe6i.invalid "Extension 1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:17.667098 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:18.717096 [DEBUG] switch_core_media.c:2030 b6beadf0-c5c6-47a0-a6e5-ea7539922589 sofia/internal/ 1004@sip1.applicloud.com "1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:18.717096 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:27.707101 [DEBUG] switch_core_media.c:2030 37bb2d93-701b-4b5e-8e6d-b51dc2b2b213 sofia/internal/3pdl5ns9@elvq5f8dpe6i.invalid "Extension 1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:27.707101 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:28.727097 [DEBUG] switch_core_media.c:2030 b6beadf0-c5c6-47a0-a6e5-ea7539922589 sofia/internal/ 1004@sip1.applicloud.com "1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:28.727097 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:37.747097 [DEBUG] switch_core_media.c:2030 37bb2d93-701b-4b5e-8e6d-b51dc2b2b213 sofia/internal/3pdl5ns9@elvq5f8dpe6i.invalid "Extension 1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:37.747097 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:38.757097 [DEBUG] switch_core_media.c:2030 b6beadf0-c5c6-47a0-a6e5-ea7539922589 sofia/internal/ 1004@sip1.applicloud.com "1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:38.757097 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames)
What am I doing wrong?
*-- S pozdravem, Ing.Denis Jakovlev mob.tel <http://mob.tel>. 775-415-382 *
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.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
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
Dobrý den, I did not load at the same time two modules mod_av and mod_vlc. And of course I use your repo and load dependencies there. -- S pozdravem, Ing.Denis Jakovlev mob.tel. 775-415-382 středa 14. října 2015, 23:40:15, napsal jste: You should try without loading mod_vlc at all. I think there is a collision on the versions of av used between mod_av and mod_vlc. Also you need to be using our repo and install our packages for the depends. On Wed, Oct 14, 2015 at 4:36 PM, Chris Tunbridge <blasterjr@gmail.com> wrote: You should file issues like this as a Jira On Wed, Oct 14, 2015 at 10:01 AM, Denis Jakovlev <yadenis@seznam.cz> wrote: Hi All, Collided with an interesting problem. FreeSWITCH Version 1.7.0 on Debian 8. Clean installation. I am trying to make a call to 1004 in 1003 Simple dialplan <extension name="test4"> <condition field="destination_number" expression="^(6083)$"> <action application="export" data="nolocal:absolute_codec_string=VP8,OPUS"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="RECORD_STEREO=true"/> <action application="export" data="RECORD_TOGGLE_ON_REPEAT=true"/> <action application="export" data="record_concat_video=true"/> <action application="bind_meta_app" data="2 a i record_session::/usr/local/freeswitch/recordings/${strftime(%Y%m%d_%H%M%S)}_${destination_number}_a.mp4"/> <action application="bind_meta_app" data="2 b i record_session::/usr/local/freeswitch/recordings/${strftime(%Y%m%d_%H%M%S)}_${destination_number}_b.mp4"/> <action application="answer"/> <action application="bridge" data="user/1003${sip_profile}"/> </condition> </extension> When I start to record video with the help of mod_vlc (with mod_av the same result), beautifully crafted file. Writes about 3-5 minutes (always different) and then crash freeswitch with error "Segmentation fault (core dumped)". The log is nothing critical 2015-10-14 18:00:08.727101 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:17.667098 [DEBUG] switch_core_media.c:2030 37bb2d93-701b-4b5e-8e6d-b51dc2b2b213 sofia/internal/3pdl5ns9@elvq5f8dpe6i.invalid "Extension 1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:17.667098 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:18.717096 [DEBUG] switch_core_media.c:2030 b6beadf0-c5c6-47a0-a6e5-ea7539922589 sofia/internal/1004@sip1.applicloud.com "1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:18.717096 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:27.707101 [DEBUG] switch_core_media.c:2030 37bb2d93-701b-4b5e-8e6d-b51dc2b2b213 sofia/internal/3pdl5ns9@elvq5f8dpe6i.invalid "Extension 1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:27.707101 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:28.727097 [DEBUG] switch_core_media.c:2030 b6beadf0-c5c6-47a0-a6e5-ea7539922589 sofia/internal/1004@sip1.applicloud.com "1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:28.727097 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:37.747097 [DEBUG] switch_core_media.c:2030 37bb2d93-701b-4b5e-8e6d-b51dc2b2b213 sofia/internal/3pdl5ns9@elvq5f8dpe6i.invalid "Extension 1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:37.747097 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:38.757097 [DEBUG] switch_core_media.c:2030 b6beadf0-c5c6-47a0-a6e5-ea7539922589 sofia/internal/1004@sip1.applicloud.com "1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:38.757097 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) What am I doing wrong? -- S pozdravem, Ing.Denis Jakovlev mob.tel. 775-415-382 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.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 -- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ http://freeswitch.org/g+ ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
Segmentation faults are always a bug. They're a bug within FreeSWITCH or one of the libraries it uses, not your configuration of them. Try on the latest version to see if it still occurs there (in case it's already fixed), if it does file a Jira. On 15 October 2015 at 07:36, Denis Jakovlev <yadenis@seznam.cz> wrote:
Dobrý den,
I did not load at the same time two modules mod_av and mod_vlc. And of course I use your repo and load dependencies there.
*-- S pozdravem, Ing.Denis Jakovlev mob.tel <http://mob.tel>. 775-415-382 středa 14. října 2015, 23:40:15, napsal jste: *
You should try without loading mod_vlc at all. I think there is a collision on the versions of av used between mod_av and mod_vlc. Also you need to be using our repo and install our packages for the depends.
On Wed, Oct 14, 2015 at 4:36 PM, Chris Tunbridge <blasterjr@gmail.com> wrote: You should file issues like this as a Jira
On Wed, Oct 14, 2015 at 10:01 AM, Denis Jakovlev <yadenis@seznam.cz> wrote: Hi All,
Collided with an interesting problem.
FreeSWITCH Version 1.7.0 on Debian 8. Clean installation. I am trying to make a call to 1004 in 1003 Simple dialplan
<extension name="test4"> <condition field="destination_number" expression="^(6083)$"> <action application="export" data="nolocal:absolute_codec_string=VP8,OPUS"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="RECORD_STEREO=true"/> <action application="export" data="RECORD_TOGGLE_ON_REPEAT=true"/> <action application="export" data="record_concat_video=true"/> <action application="bind_meta_app" data="2 a i record_session::/usr/local/freeswitch/recordings/${strftime(%Y%m%d_%H%M%S)}_${destination_number}_a.mp4"/> <action application="bind_meta_app" data="2 b i record_session::/usr/local/freeswitch/recordings/${strftime(%Y%m%d_%H%M%S)}_${destination_number}_b.mp4"/> <action application="answer"/> <action application="bridge" data="user/1003${sip_profile}"/> </condition> </extension>
When I start to record video with the help of mod_vlc (with mod_av the same result), beautifully crafted file. Writes about 3-5 minutes (always different) and then crash freeswitch with error "Segmentation fault (core dumped)". The log is nothing critical
2015-10-14 18:00:08.727101 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:17.667098 [DEBUG] switch_core_media.c:2030 37bb2d93-701b-4b5e-8e6d-b51dc2b2b213 sofia/internal/3pdl5ns9@elvq5f8dpe6i.invalid "Extension 1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:17.667098 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:18.717096 [DEBUG] switch_core_media.c:2030 b6beadf0-c5c6-47a0-a6e5-ea7539922589 sofia/internal/ 1004@sip1.applicloud.com "1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:18.717096 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:27.707101 [DEBUG] switch_core_media.c:2030 37bb2d93-701b-4b5e-8e6d-b51dc2b2b213 sofia/internal/3pdl5ns9@elvq5f8dpe6i.invalid "Extension 1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:27.707101 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:28.727097 [DEBUG] switch_core_media.c:2030 b6beadf0-c5c6-47a0-a6e5-ea7539922589 sofia/internal/ 1004@sip1.applicloud.com "1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:28.727097 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:37.747097 [DEBUG] switch_core_media.c:2030 37bb2d93-701b-4b5e-8e6d-b51dc2b2b213 sofia/internal/3pdl5ns9@elvq5f8dpe6i.invalid "Extension 1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:37.747097 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames) 2015-10-14 18:00:38.757097 [DEBUG] switch_core_media.c:2030 b6beadf0-c5c6-47a0-a6e5-ea7539922589 sofia/internal/ 1004@sip1.applicloud.com "1004" Sync A/V JB to 300ms 4 VFrames FPS 30 a:yes v:no 2015-10-14 18:00:38.757097 [DEBUG] switch_core_media.c:1937 Setting Jitterbuffer to 300ms (15 frames) (30 max frames)
What am I doing wrong?
*-- S pozdravem, Ing.Denis Jakovlev *mob.tel
*. 775-415-382 * _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.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
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ http://freeswitch.org/g+
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.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
participants (8)
-
Anthony Minessale
-
Bote Man
-
Chris Tunbridge
-
Denis Jakovlev
-
Ken Rice
-
Michael Jerris
-
Shaun Stokes
-
Steven Ayre