Running out of stack space? The stack space we run freeswitch in is
fairly small. Programs launched from the freeswitch process inherit
this.
Mike
On Aug 26, 2009, at 4:28 AM, Alberto Escudero-Pascual (lists) wrote:
> I ran strace from freeswitch and from the command line. lame segfaults
> when run from system FS.
>
> The only obvious different i see is in the execve() /* XX vars */
> apart
> from the final Segfault
>
> From
> execve("/usr/local/freeswitch/bin/lame",
> ["/usr/local/freeswitch/bin/lame", "/tmp/foo.wav", "/tmp/foo.mp3", "-
> S"],
> [/* 16 vars */]) = 0
>
>
>> From FS
> execve("/usr/local/freeswitch/bin/lame",
> ["/usr/local/freeswitch/bin/lame", "/tmp/foo.wav",
> "/tmp/fooooooooooooooo.mp3", "-S"], [/* 14 vars */]) = 0
>
> I am attaching the full straces in case they are of any help. Not
> sure if
> this deserves a jira
>
> /aep
> --
> Stopping junk mailers is good for the environment
>
>> maybe it's writing some err to stderr that is being suppressed
>> somehow
>>
>> On Tue, Aug 25, 2009 at 3:46 PM, Alberto Escudero-Pascual (lists) <
>> [email protected]> wrote:
>>
>>> Hi Brian,
>>>
>>>> From the CLI>
>>>
>>> freeswi...@open46> system /usr/local/freeswitch/bin/lame -V2
>>> /tmp/foo.wav
>>> /tmp/foo.mp3 -S
>>> 2009-08-25 22:41:51.556484 [NOTICE] mod_commands.c:3386 Executing
>>> command:
>>> /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S
>>> API CALL [system(/usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav
>>> /tmp/foo.mp3 -S)] output:
>>> +OK
>>>
>>> open46:/tmp# ls
>>> foo.wav
>>>
>>>
>>> and running the command from the command line:
>>>
>>>
>>> open46:/tmp# /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav
>>> /tmp/foo.mp3
>>> -Sopen46:/tmp# ls
>>> foo.mp3 foo.wav
>>>
>>>
>>> If I do the same with lame397
>>>
>>> freeswi...@open46> system /usr/local/freeswitch/bin/lame397 -V2
>>> /tmp/foo.wav /tmp/foo.mp3 -S
>>> 2009-08-25 22:44:32.743998 [NOTICE] mod_commands.c:3386 Executing
>>> command:
>>> /usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S
>>> API CALL [system(/usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav
>>> /tmp/foo.mp3 -S)] output:
>>> +OK
>>>
>>> open46:/tmp# ls
>>> foo.mp3 foo.wav
>>>
>>>
>>> Highly paranormal! Sorry for hijacking the previous thread.
>>>
>>> /aep
>>>
>>> --
>>> Stopping junk mailers is good for the environment
>>>
>>>> Try running it at the CLI and see if you see any errors. Also
>>>> please
>>>> do not hijack threads. The original thread "[Freeswitch-users]
>>>> XML-
>>>> RPC on different ip than 0.0.0.0" which was hijacked by clicking
>>>> reply, changing the subject and clicking send. Please in the
>>>> future
>>>> do not do that as it clutters up the threading and could get your
>>>> query lost in the noise.
>>>>
>>>> Thanks,
>>>> Brian
>>>>
>>>> On Aug 25, 2009, at 1:54 AM, Alberto Escudero-Pascual (lists)
>>>> wrote:
>>>>
>>>>> Here it comes the mystery. I am use lame 3.98.2 the mp3 file never
>>>>> appears, if I use version 3.97 (older version), it does!.
>>>>
>>>>
>>>> _______________________________________________
>>>> FreeSWITCH-users mailing list
>>>> [email protected]
>>>> 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
>>> [email protected]
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
>>> users
>>> http://www.freeswitch.org
>>>
>>
>>
>>
>> --
>> Anthony Minessale II
>>
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>> Twitter: http://twitter.com/FreeSWITCH_wire
>>
>> AIM: anthm
>> MSN:[email protected] <MSN
>> %[email protected]>
>> GTALK/JABBER/PAYPAL:[email protected]<PAYPAL
>> %[email protected]>
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:[email protected] <sip
>> %[email protected]>
>> iax:[email protected]/888
>> googletalk:[email protected]<googletalk%3Aconf
>> %[email protected]>
>> pstn:213-799-1400
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> [email protected]
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
>> users
>> http://www.freeswitch.org
>>
> <lame_strace.txt>_______________________________________________
> FreeSWITCH-users mailing list
> [email protected]
> 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
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org