[Freeswitch-users] mod_spidermonkey memory leak?

Anthony Minessale anthony.minessale at gmail.com
Wed Jan 27 08:45:56 PST 2010


if you suspect a memory leak
can you please update to the latest SVN trunk (over 1000 revs higher than
yours)
then reproduce the problem under valgrind and send the report in a jira
http://jira.freeswitch.org

valgrind --tool=memcheck --log-file=vg.log --leak-check=full
--leak-resolution=high --show-reachable=yes
/usr/local/freeswitch/bin/freeswitch -vg



2010/1/26 まつばら ともや <matomoya at yahoo.co.jp>

> I have tested the SVN trunk 15341.
> When the following scripts are executed, it seems to do the memory leak.
> Is the mistake found in the following scripts?
> Or Is there a problem in mod_spidermonkey?
>
> -- test script --
> session.execute("ring_ready");
> session.answer();
> session.setVariable("ringback", "%(1000, 2000, 440, 460)");
>
> var bleg = new Session();
> var sound_wav = "sounds/test01.wav";
> var sound_leg = "both";
> var op = "api_on_answer=uuid_broadcast "+session.uuid+" "+sound_wav+"
> "+sound_leg;
> var ret = bleg.originate(session, "{"+op+"}" +
> "sofia/gateway/profile0_gateway1/1000");
> if(!session.ready()){
>  return;
> }
>
>
> if(!ret){ // bleg not answered.
>  var sound_wav = "sounds/test02.wav";
>  session.streamFile(sound_wav);
>  if(session.ready()){
>    session.hangup();
>  }
>  return;
> }
>
> if(bleg.ready()){
>  bridge(session, bleg);
> }
>
>
> _______________________________________________
> 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100127/9e574b70/attachment-0002.html 


More information about the FreeSWITCH-users mailing list