[Freeswitch-users] XML parser bug

David Villasmil david.villasmil.work at gmail.com
Sun Apr 3 15:05:30 MSD 2011


That's what I mean. (i am on 64bit, btw)

On Thu, Mar 31, 2011 at 2:35 PM, Steven Ayre <steveayre at gmail.com> wrote:

> Which warnings?
>
> "WARNING: Wasting up to 8 megs of memory per thread." only appears if
> you're giving -waste
>
> "Error: stacksize x is too large" will only appear if you haven't set
> "ulimit -s" correctly. If you're on 64bit I don't think it appears at all.
>
> -Steve
>
>
>
>
> On 31 March 2011 11:36, David Villasmil <david.villasmil.work at gmail.com>wrote:
>
>> Hello,
>>
>> that's just testing :P i just don't like the warnings when testing
>> I don't run it like that for production.
>>
>> David
>>
>>
>> On Wed, Mar 30, 2011 at 11:55 PM, Eliot Gable <
>> egable+freeswitch at gmail.com> wrote:
>>
>>> On a side note, why are you running with -waste flag? You really should
>>> not be doing that unless you have very good and very specific reasons to do
>>> it and you know what that does and why you want to do it. Perhaps you do,
>>> but I would double check. Personally, I've run FS on several different
>>> versions of Linux without -waste for two years without ever needing it.
>>>
>>>
>>> On Wed, Mar 30, 2011 at 8:54 AM, David Villasmil <
>>> david.villasmil.work at gmail.com> wrote:
>>>
>>>> Hello Joao,
>>>>
>>>> Ok, thanks
>>>>
>>>> David
>>>>
>>>>
>>>> 2011/3/30 João Mesquita <jmesquita at freeswitch.org>
>>>>
>>>>> This is not a bug and has been discussed several times on this mailing
>>>>> list. You can't comment X-PRE-PROCESS tags like that. Make a quick google
>>>>> search and you'll find several discussions about that including an
>>>>> explanation from Tony on the subject.
>>>>>
>>>>> Regards,
>>>>> João Mesquita
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Mar 30, 2011 at 9:21 AM, David Villasmil <
>>>>> david.villasmil.work at gmail.com> wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I noticed the following:
>>>>>>
>>>>>> I have my sofia.conf.xml like this:
>>>>>>
>>>>>> <configuration name="sofia.conf" description="sofia Endpoint">
>>>>>>
>>>>>>   <global_settings>
>>>>>>     <param name="log-level" value="0"/>
>>>>>>
>>>>>>     <!-- <param name="auto-restart" value="false"/> -->
>>>>>>
>>>>>>     <param name="debug-presence" value="0"/>
>>>>>>   </global_settings>
>>>>>>
>>>>>>   <!--
>>>>>>            The rabbit hole goes deep.  This includes all the
>>>>>>            profiles in the sip_profiles directory that is up
>>>>>>            one level from this directory.
>>>>>>        <profiles>
>>>>>>          <X-PRE-PROCESS cmd="include" data="../sip_profiles/*.xml" />
>>>>>>        </profiles>
>>>>>>   -->
>>>>>>
>>>>>> </configuration>
>>>>>>
>>>>>> when I start FS, latest GIT:
>>>>>> freeswitch -version
>>>>>> FreeSWITCH version: 1.0.head (git-7e52acf 2011-03-28 22-18-47 -0500)
>>>>>>
>>>>>> I get the following output:
>>>>>>
>>>>>> ./freeswitch -waste
>>>>>> WARNING: Wasting up to 8 megs of memory per thread.
>>>>>> 2011-03-30 14:02:23.200097 [INFO] switch_event.c:615 Activate Eventing
>>>>>> Engine.
>>>>>> 2011-03-30 14:02:23.211052 [DEBUG] switch_event.c:594 Create event
>>>>>> dispatch thread 0
>>>>>> Cannot Initialize [[error near line 1521]: unclosed <!--]
>>>>>>
>>>>>> If i then change my sofia to:
>>>>>>
>>>>>> <configuration name="sofia.conf" description="sofia Endpoint">
>>>>>>
>>>>>>   <global_settings>
>>>>>>     <param name="log-level" value="0"/>
>>>>>>
>>>>>>     <!-- <param name="auto-restart" value="false"/> -->
>>>>>>
>>>>>>     <param name="debug-presence" value="0"/>
>>>>>>   </global_settings>
>>>>>>
>>>>>>   <!--
>>>>>>            The rabbit hole goes deep.  This includes all the
>>>>>>            profiles in the sip_profiles directory that is up
>>>>>>            one level from this directory.
>>>>>>        <profiles>
>>>>>>        </profiles>
>>>>>>   -->
>>>>>>
>>>>>> </configuration>
>>>>>>
>>>>>>
>>>>>> Please note the absence of:          <X-PRE-PROCESS cmd="include"
>>>>>> data="../sip_profiles/*.xml" />
>>>>>>
>>>>>>
>>>>>> FS Starts normally!
>>>>>>
>>>>>> Is this the correct behaviour? Isn't comments supposed NOT to be read?
>>>>>>
>>>>>> Thanks all.
>>>>>>
>>>>>>
>>>>>>
>>>>>> David
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>> Eliot Gable
>>>
>>> "We do not inherit the Earth from our ancestors: we borrow it from our
>>> children." ~David Brower
>>>
>>> "I decided the words were too conservative for me. We're not borrowing
>>> from our children, we're stealing from them--and it's not even considered to
>>> be a crime." ~David Brower
>>>
>>> "Esse oportet ut vivas, non vivere ut edas." (Thou shouldst eat to live;
>>> not live to eat.) ~Marcus Tullius Cicero
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110403/7ddd3583/attachment-0001.html 


More information about the FreeSWITCH-users mailing list