fs_encode and segmentation fault
I am trying the following command: fs_encode -l mod_sangoma_codec greeting.wav greeting.G729 which returns: 31663 Segmentation fault If I try to convert to PCMU it works fine: fs_encode -l mod_sangoma_codec greeting.wav greeting.PCMU Making and receiving calls with G729 works fine. A similar command on a machine with a DIGIUM card works fine: fs_encode -l mod_dahdi_codec greeting.wav greeting.G729 The only difference I see is the card and the module being loaded. Any idea of what could be happenning? Do I need to load some other module for the Sangoma card? Thanks in advance -- Guillermo
Can you reproduce this on Git master head? Please enable coredumps (ulimit -c unlimited) and collect a backtrace, then open a Jira bug ticket and attach the backtrace. http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb... http://jira.freeswitch.org/ -Steve On 28 January 2013 23:30, Guillermo Ruiz Camauer <grcamauer@gmail.com>wrote:
I am trying the following command: fs_encode -l mod_sangoma_codec greeting.wav greeting.G729
which returns:
31663 Segmentation fault
If I try to convert to PCMU it works fine: fs_encode -l mod_sangoma_codec greeting.wav greeting.PCMU
Making and receiving calls with G729 works fine.
A similar command on a machine with a DIGIUM card works fine: fs_encode -l mod_dahdi_codec greeting.wav greeting.G729
The only difference I see is the card and the module being loaded. Any idea of what could be happenning? Do I need to load some other module for the Sangoma card?
Thanks in advance
-- Guillermo
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
I am running FreeSWITCH Version 1.2.5.3+git~20121229T001759Z~e04eab7902 (git e04eab7 2012-12-29 00:17:59Z) How do I tell if this is Master or Stable? How do I switch between the two? I will try to collect the backtrace and post on Jira. Thanks On Mon, Jan 28, 2013 at 9:57 PM, Steven Ayre <steveayre@gmail.com> wrote:
Can you reproduce this on Git master head?
Please enable coredumps (ulimit -c unlimited) and collect a backtrace, then open a Jira bug ticket and attach the backtrace.
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb... http://jira.freeswitch.org/
-Steve
On 28 January 2013 23:30, Guillermo Ruiz Camauer <grcamauer@gmail.com>wrote:
I am trying the following command: fs_encode -l mod_sangoma_codec greeting.wav greeting.G729
which returns:
31663 Segmentation fault
If I try to convert to PCMU it works fine: fs_encode -l mod_sangoma_codec greeting.wav greeting.PCMU
Making and receiving calls with G729 works fine.
A similar command on a machine with a DIGIUM card works fine: fs_encode -l mod_dahdi_codec greeting.wav greeting.G729
The only difference I see is the card and the module being loaded. Any idea of what could be happenning? Do I need to load some other module for the Sangoma card?
Thanks in advance
-- Guillermo
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Guillermo Ruiz Camauer
1.X.... Where X is even that¹s a stable branch, where X is odd that¹s a dev branch, currently those are 1.2 and 1.3 .... git status¹ will also show you from your source tree checked out from git which branch you are on... To change between the branches you do the following (from your source tree, adjusting paths for your install as required, I will assume you have installed into /usr/local/freeswitch) # cd /usr/src/freeswitch ;#(or wherever that source is) # git clean fdx # rm rf /usr/local/freeswich/{mod,bin,lib}/* ;#Adjust path if needed # git checkout BRANCH ;# where branch name is v1.2.stable or master # git pull ;#make sure you are up to date on this branch Now starting at bootstrap.sh install as normal, this will not overwrite your configs, and yes it is necessary to start over clean, if you do not it is possible that there are patches in the libs that are not picked up and recompliled leaving you with branch to branch build skew which will result in all sorts of weird behavior. Also please be sure that any bugs you file are against the master branch as they will get fixed there first then rolled down to the stable branch. K On 1/29/13 10:03 AM, "Guillermo Ruiz Camauer" <grcamauer@gmail.com> wrote:
I am running FreeSWITCH Version 1.2.5.3+git~20121229T001759Z~e04eab7902 (git e04eab7 2012-12-29 00:17:59Z)
How do I tell if this is Master or Stable? How do I switch between the two?
I will try to collect the backtrace and post on Jira.
Thanks
On Mon, Jan 28, 2013 at 9:57 PM, Steven Ayre <steveayre@gmail.com> wrote:
Can you reproduce this on Git master head?
Please enable coredumps (ulimit -c unlimited) and collect a backtrace, then open a Jira bug ticket and attach the backtrace.
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb... .28Linux.2FUnix.29 http://jira.freeswitch.org/
-Steve
On 28 January 2013 23:30, Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote:
I am trying the following command: fs_encode -l mod_sangoma_codec greeting.wav greeting.G729
which returns:
31663 Segmentation fault
If I try to convert to PCMU it works fine: fs_encode -l mod_sangoma_codec greeting.wav greeting.PCMU
Making and receiving calls with G729 works fine.
A similar command on a machine with a DIGIUM card works fine: fs_encode -l mod_dahdi_codec greeting.wav greeting.G729
The only difference I see is the card and the module being loaded. Any idea of what could be happenning? Do I need to load some other module for the Sangoma card?
Thanks in advance
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
Thanks for the detailed reply. I have compiled MASTER and reproduced the same results. I opened a JIRA ticket against the original version. I am updating it now to post the findings against MASTER. On Tue, Jan 29, 2013 at 1:18 PM, Ken Rice <krice@freeswitch.org> wrote:
1.X.... Where X is even that’s a stable branch, where X is odd that’s a dev branch, currently those are 1.2 and 1.3 ....
‘git status’ will also show you from your source tree checked out from git which branch you are on...
To change between the branches you do the following (from your source tree, adjusting paths for your install as required, I will assume you have installed into /usr/local/freeswitch)
# cd /usr/src/freeswitch ;#(or wherever that source is) # git clean –fdx # rm –rf /usr/local/freeswich/{mod,bin,lib}/* ;#Adjust path if needed # git checkout BRANCH ;# where branch name is v1.2.stable or master # git pull ;#make sure you are up to date on this branch
Now starting at bootstrap.sh install as normal, this will not overwrite your configs, and yes it is necessary to start over clean, if you do not it is possible that there are patches in the libs that are not picked up and recompliled leaving you with branch to branch build skew which will result in all sorts of weird behavior.
Also please be sure that any bugs you file are against the master branch as they will get fixed there first then rolled down to the stable branch.
K
On 1/29/13 10:03 AM, "Guillermo Ruiz Camauer" <grcamauer@gmail.com> wrote:
I am running FreeSWITCH Version 1.2.5.3+git~20121229T001759Z~e04eab7902 (git e04eab7 2012-12-29 00:17:59Z)
How do I tell if this is Master or Stable? How do I switch between the two?
I will try to collect the backtrace and post on Jira.
Thanks
On Mon, Jan 28, 2013 at 9:57 PM, Steven Ayre <steveayre@gmail.com> wrote:
Can you reproduce this on Git master head?
Please enable coredumps (ulimit -c unlimited) and collect a backtrace, then open a Jira bug ticket and attach the backtrace.
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb... http://jira.freeswitch.org/
-Steve
On 28 January 2013 23:30, Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote:
I am trying the following command: fs_encode -l mod_sangoma_codec greeting.wav greeting.G729
which returns:
31663 Segmentation fault
If I try to convert to PCMU it works fine: fs_encode -l mod_sangoma_codec greeting.wav greeting.PCMU
Making and receiving calls with G729 works fine.
A similar command on a machine with a DIGIUM card works fine: fs_encode -l mod_dahdi_codec greeting.wav greeting.G729
The only difference I see is the card and the module being loaded. Any idea of what could be happenning? Do I need to load some other module for the Sangoma card?
Thanks in advance
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Guillermo Ruiz Camauer
participants (3)
-
Guillermo Ruiz Camauer
-
Ken Rice
-
Steven Ayre