Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Possible memory leak - need a second opinion


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
regs at kinetix.gr
Guest





PostPosted: Mon Jul 20, 2009 6:15 am    Post subject: [Freeswitch-users] Possible memory leak - need a second opin Reply with quote

Hi I noticed that after a day of relatively moderate traffic (about 400
simultaneous channels average) the memory used by FS reached 1.3 GB of
RAM. I tried to trace the leak (if any) with valgrind and got that :

==18894== 572 bytes in 1 blocks are definitely lost in loss record 148
of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x7AFDE93: sofia_glue_do_invite (sofia_glue.c:1599)
==18894== by 0x7ACB191: sofia_on_init (mod_sofia.c:102)
==18894== by 0x405B124: switch_core_session_run
(switch_core_state_machine.c:480)
==18894== by 0x4058204: switch_core_session_thread
(switch_core_session.c:1064)
==18894== by 0x40CD6C5: dummy_worker (thread.c:138)
==18894== by 0xB5346A: start_thread (in /lib/libpthread-2.5.so)
==18894== by 0xAAADBD: clone (in /lib/libc-2.5.so)


So, I assummed that this happens for every call. I tried testing it
again by placing two calls before shutting down FS, but it only came up
once. I wanted to get a second opinion before posting this to JIRA as an
issue.

I used revision 14269 of the SVN. I am attaching the valgrind output as
well.

I also noticed that only one of my CPU cores gets really busy when
dealing with moderate traffic. From what I read in the mailing list
users are encouraged to use 64bit multi core servers for FS because it
scales up better. But this is not what I am seeing in practice. Could
the single threaded architecture of libsofia be the cause of that behavior?



--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr
-------------------------------------------

==18894== Memcheck, a memory error detector.
==18894== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==18894== Using LibVEX rev 1658, a library for dynamic binary translation.
==18894== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==18894== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
==18894== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==18894== For more details, rerun with: -v
==18894==
==18894== My PID = 18894, parent PID = 18741. Prog and args are:
==18894== /usr/local/bin/freeswitch
==18894== -vg
==18894==
==18894== Thread 13:
==18894== Syscall param epoll_ctl(event) points to uninitialised byte(s)
==18894== at 0xAAB3AE: epoll_ctl (in /lib/libc-2.5.so)
==18894== by 0x403E62C: switch_pollset_add (switch_apr.c:802)
==18894== by 0x403E72D: switch_socket_create_pollfd (switch_apr.c:842)
==18894== by 0x407A785: switch_rtp_set_local_address (switch_rtp.c:824)
==18894== by 0x407AD82: switch_rtp_new (switch_rtp.c:1242)
==18894== by 0x7AF8C74: sofia_glue_activate_rtp (sofia_glue.c:2322)
==18894== by 0x7ADECA5: sofia_event_callback (sofia.c:3772)
==18894== by 0x7B72DD8: nua_application_event (nua_stack.c:393)
==18894== by 0x7BB784C: su_base_port_execute_msgs (su_base_port.c:280)
==18894== by 0x7BB75F3: su_base_port_getmsgs (su_base_port.c:202)
==18894== by 0x7BB7B63: su_base_port_step (su_base_port.c:473)
==18894== by 0x7BC863A: su_port_step (su_port.h:340)
==18894== Address 0xCE52B58 is on thread 13's stack
==18894==
==18894== ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 281 from 1)
==18894== malloc/free: in use at exit: 927,131 bytes in 606 blocks.
==18894== malloc/free: 360,322 allocs, 359,716 frees, 661,660,377 bytes allocated.
==18894== For counts of detected errors, rerun with: -v
==18894== searching for pointers to 606 not-freed blocks.
==18894== checked 22,451,028 bytes.
==18894==
==18894== Thread 1:
==18894==
==18894== 3 bytes in 1 blocks are still reachable in loss record 1 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0xA48DEF: strdup (in /lib/libc-2.5.so)
==18894== by 0x127B7848: PR_NewLogModule (prlog.c:363)
==18894== by 0x127BE34B: _PR_InitStuff (prinit.c:193)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 3 bytes in 1 blocks are still reachable in loss record 2 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0xA48DEF: strdup (in /lib/libc-2.5.so)
==18894== by 0x127B7848: PR_NewLogModule (prlog.c:363)
==18894== by 0x127BE2BB: _PR_InitStuff (prinit.c:187)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 3 bytes in 1 blocks are still reachable in loss record 3 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x127BB923: PR_Malloc (prmem.c:448)
==18894== by 0x127BDCFD: PR_CreateStack (pratom.c:386)
==18894== by 0x127B2AAB: _PR_InitFdCache (prfdcach.c:285)
==18894== by 0x127C6520: _PR_InitIO (ptio.c:1109)
==18894== by 0x127BE40E: _PR_InitStuff (prinit.c:236)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894==
==18894==
==18894== 4 bytes in 1 blocks are still reachable in loss record 4 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0xA48DEF: strdup (in /lib/libc-2.5.so)
==18894== by 0x127B7848: PR_NewLogModule (prlog.c:363)
==18894== by 0x127BE363: _PR_InitStuff (prinit.c:194)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 4 bytes in 1 blocks are still reachable in loss record 5 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0xA48DEF: strdup (in /lib/libc-2.5.so)
==18894== by 0x127B7848: PR_NewLogModule (prlog.c:363)
==18894== by 0x127BE2D3: _PR_InitStuff (prinit.c:188)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 4 bytes in 1 blocks are still reachable in loss record 6 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x22AC7D: (within /lib/libcrypto.so.0.9.8b)
==18894== by 0x22B2FE: CRYPTO_malloc (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x26E4D6: (within /lib/libcrypto.so.0.9.8b)
==18894== by 0x26E51D: engine_cleanup_add_last (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x26EFC6: ENGINE_add (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x272711: ENGINE_load_dynamic (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x270BE6: ENGINE_load_builtin_engines (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x127FE136: Curl_ossl_init (in /usr/lib/libcurl.so.3.0.0)
==18894== by 0x1280F3AB: Curl_ssl_init (in /usr/lib/libcurl.so.3.0.0)
==18894== by 0x12807162: curl_global_init (in /usr/lib/libcurl.so.3.0.0)
==18894== by 0x1279FAB3: mod_spidermonkey_load (mod_spidermonkey.c:3751)
==18894==
==18894==
==18894== 5 bytes in 1 blocks are still reachable in loss record 7 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0xA48DEF: strdup (in /lib/libc-2.5.so)
==18894== by 0x127B7848: PR_NewLogModule (prlog.c:363)
==18894== by 0x127BE37B: _PR_InitStuff (prinit.c:195)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 5 bytes in 1 blocks are still reachable in loss record 8 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0xA48DEF: strdup (in /lib/libc-2.5.so)
==18894== by 0x127B7848: PR_NewLogModule (prlog.c:363)
==18894== by 0x127BE303: _PR_InitStuff (prinit.c:190)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 5 bytes in 1 blocks are still reachable in loss record 9 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0xA48DEF: strdup (in /lib/libc-2.5.so)
==18894== by 0x127B7848: PR_NewLogModule (prlog.c:363)
==18894== by 0x127BE2A3: _PR_InitStuff (prinit.c:186)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 6 bytes in 1 blocks are still reachable in loss record 10 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0xA48DEF: strdup (in /lib/libc-2.5.so)
==18894== by 0x127B7848: PR_NewLogModule (prlog.c:363)
==18894== by 0x127BE31B: _PR_InitStuff (prinit.c:191)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 6 bytes in 1 blocks are still reachable in loss record 11 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0xA48DEF: strdup (in /lib/libc-2.5.so)
==18894== by 0x127B7848: PR_NewLogModule (prlog.c:363)
==18894== by 0x127BE28B: _PR_InitStuff (prinit.c:185)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 6 bytes in 1 blocks are still reachable in loss record 12 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0xA48DEF: strdup (in /lib/libc-2.5.so)
==18894== by 0xC23E31: _nc_setupterm (in /usr/lib/libncurses.so.5.5)
==18894== by 0xC24747: tgetent (in /usr/lib/libncurses.so.5.5)
==18894== by 0x4141441: term_set (term.c:925)
==18894== by 0x4141843: term_init (term.c:350)
==18894== by 0x4139E84: el_init (el.c:84)
==18894== by 0x4049449: switch_console_loop (switch_console.c:747)
==18894== by 0x4061CE7: switch_core_runtime_loop (switch_core.c:687)
==18894== by 0x804A453: main (switch.c:715)
==18894==
==18894==
==18894== 7 bytes in 1 blocks are still reachable in loss record 13 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0xA48DEF: strdup (in /lib/libc-2.5.so)
==18894== by 0x127B7848: PR_NewLogModule (prlog.c:363)
==18894== by 0x127BE333: _PR_InitStuff (prinit.c:192)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 7 bytes in 1 blocks are still reachable in loss record 14 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0xA48DEF: strdup (in /lib/libc-2.5.so)
==18894== by 0x127B7848: PR_NewLogModule (prlog.c:363)
==18894== by 0x127BE2EB: _PR_InitStuff (prinit.c:189)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 8 bytes in 1 blocks are still reachable in loss record 15 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0xA48DEF: strdup (in /lib/libc-2.5.so)
==18894== by 0xC2A532: (within /usr/lib/libncurses.so.5.5)
==18894== by 0xC2A837: _nc_trim_sgr0 (in /usr/lib/libncurses.so.5.5)
==18894== by 0xC248BE: tgetent (in /usr/lib/libncurses.so.5.5)
==18894== by 0x4141441: term_set (term.c:925)
==18894== by 0x4141843: term_init (term.c:350)
==18894== by 0x4139E84: el_init (el.c:84)
==18894== by 0x4049449: switch_console_loop (switch_console.c:747)
==18894== by 0x4061CE7: switch_core_runtime_loop (switch_core.c:687)
==18894== by 0x804A453: main (switch.c:715)
==18894==
==18894==
==18894== 8 bytes in 1 blocks are still reachable in loss record 16 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3D03: sqlite3HashInsert (hash.c:366)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x7AA4EF1: mod_cdr_csv_load (mod_cdr_csv.c:314)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 8 bytes in 1 blocks are still reachable in loss record 17 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3D03: sqlite3HashInsert (hash.c:366)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x400EC26: mod_logfile_load (mod_logfile.c:290)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 8 bytes in 1 blocks are still reachable in loss record 18 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x407176E: my_dup (switch_event.c:95)
==18894== by 0x40737A4: switch_event_bind_removable (switch_event.c:1176)
==18894== by 0x4073960: switch_event_bind (switch_event.c:1205)
==18894== by 0x4053B7A: switch_core_sqldb_start (switch_core_sqldb.c:584)
==18894== by 0x4063A91: switch_core_init (switch_core.c:1248)
==18894== by 0x406585C: switch_core_init_and_modload (switch_core.c:1422)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 9 bytes in 1 blocks are still reachable in loss record 19 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3D03: sqlite3HashInsert (hash.c:366)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x4064603: switch_load_network_lists (switch_core.c:909)
==18894== by 0x40659E4: switch_core_init_and_modload (switch_core.c:1457)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 9 bytes in 1 blocks are still reachable in loss record 20 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3D03: sqlite3HashInsert (hash.c:366)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x4064724: switch_load_network_lists (switch_core.c:921)
==18894== by 0x40659E4: switch_core_init_and_modload (switch_core.c:1457)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 12 bytes in 1 blocks are still reachable in loss record 21 of 193
==18894== at 0x40046FF: calloc (vg_replace_malloc.c:279)
==18894== by 0x127BB985: PR_Calloc (prmem.c:455)
==18894== by 0x127B7834: PR_NewLogModule (prlog.c:361)
==18894== by 0x127BE28B: _PR_InitStuff (prinit.c:185)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 12 bytes in 1 blocks are still reachable in loss record 22 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x22AC7D: (within /lib/libcrypto.so.0.9.8b)
==18894== by 0x22B2FE: CRYPTO_malloc (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x27E53F: lh_insert (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x280EDF: (within /lib/libcrypto.so.0.9.8b)
==18894== by 0x28141B: ERR_get_state (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x281ADA: ERR_clear_error (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x27271E: ENGINE_load_dynamic (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x270BE6: ENGINE_load_builtin_engines (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x127FE136: Curl_ossl_init (in /usr/lib/libcurl.so.3.0.0)
==18894== by 0x1280F3AB: Curl_ssl_init (in /usr/lib/libcurl.so.3.0.0)
==18894== by 0x12807162: curl_global_init (in /usr/lib/libcurl.so.3.0.0)
==18894==
==18894==
==18894== 12 bytes in 1 blocks are still reachable in loss record 23 of 193
==18894== at 0x40046FF: calloc (vg_replace_malloc.c:279)
==18894== by 0x127BB985: PR_Calloc (prmem.c:455)
==18894== by 0x127B7834: PR_NewLogModule (prlog.c:361)
==18894== by 0x127BE2BB: _PR_InitStuff (prinit.c:187)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 12 bytes in 1 blocks are still reachable in loss record 24 of 193
==18894== at 0x40046FF: calloc (vg_replace_malloc.c:279)
==18894== by 0x127BB985: PR_Calloc (prmem.c:455)
==18894== by 0x127B2C12: _PR_InitMW (prmwait.c:243)
==18894== by 0x127BE41D: _PR_InitStuff (prinit.c:239)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 12 bytes in 1 blocks are still reachable in loss record 25 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x127BB923: PR_Malloc (prmem.c:448)
==18894== by 0x127BDCBA: PR_CreateStack (pratom.c:382)
==18894== by 0x127B2AAB: _PR_InitFdCache (prfdcach.c:285)
==18894== by 0x127C6520: _PR_InitIO (ptio.c:1109)
==18894== by 0x127BE40E: _PR_InitStuff (prinit.c:236)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894==
==18894==
==18894== 12 bytes in 1 blocks are still reachable in loss record 26 of 193
==18894== at 0x40046FF: calloc (vg_replace_malloc.c:279)
==18894== by 0x127BB985: PR_Calloc (prmem.c:455)
==18894== by 0x127B7834: PR_NewLogModule (prlog.c:361)
==18894== by 0x127BE37B: _PR_InitStuff (prinit.c:195)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 12 bytes in 1 blocks are still reachable in loss record 27 of 193
==18894== at 0x40046FF: calloc (vg_replace_malloc.c:279)
==18894== by 0x127BB985: PR_Calloc (prmem.c:455)
==18894== by 0x127B7834: PR_NewLogModule (prlog.c:361)
==18894== by 0x127BE363: _PR_InitStuff (prinit.c:194)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 12 bytes in 1 blocks are still reachable in loss record 28 of 193
==18894== at 0x40046FF: calloc (vg_replace_malloc.c:279)
==18894== by 0x127BB985: PR_Calloc (prmem.c:455)
==18894== by 0x127B7834: PR_NewLogModule (prlog.c:361)
==18894== by 0x127BE34B: _PR_InitStuff (prinit.c:193)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 12 bytes in 1 blocks are still reachable in loss record 29 of 193
==18894== at 0x40046FF: calloc (vg_replace_malloc.c:279)
==18894== by 0x127BB985: PR_Calloc (prmem.c:455)
==18894== by 0x127B7834: PR_NewLogModule (prlog.c:361)
==18894== by 0x127BE333: _PR_InitStuff (prinit.c:192)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 12 bytes in 1 blocks are still reachable in loss record 30 of 193
==18894== at 0x40046FF: calloc (vg_replace_malloc.c:279)
==18894== by 0x127BB985: PR_Calloc (prmem.c:455)
==18894== by 0x127B7834: PR_NewLogModule (prlog.c:361)
==18894== by 0x127BE31B: _PR_InitStuff (prinit.c:191)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 12 bytes in 1 blocks are still reachable in loss record 31 of 193
==18894== at 0x40046FF: calloc (vg_replace_malloc.c:279)
==18894== by 0x127BB985: PR_Calloc (prmem.c:455)
==18894== by 0x127B7834: PR_NewLogModule (prlog.c:361)
==18894== by 0x127BE303: _PR_InitStuff (prinit.c:190)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 12 bytes in 1 blocks are still reachable in loss record 32 of 193
==18894== at 0x40046FF: calloc (vg_replace_malloc.c:279)
==18894== by 0x127BB985: PR_Calloc (prmem.c:455)
==18894== by 0x127B7834: PR_NewLogModule (prlog.c:361)
==18894== by 0x127BE2EB: _PR_InitStuff (prinit.c:189)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 12 bytes in 1 blocks are still reachable in loss record 33 of 193
==18894== at 0x40046FF: calloc (vg_replace_malloc.c:279)
==18894== by 0x127BB985: PR_Calloc (prmem.c:455)
==18894== by 0x127B7834: PR_NewLogModule (prlog.c:361)
==18894== by 0x127BE2D3: _PR_InitStuff (prinit.c:188)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 12 bytes in 1 blocks are still reachable in loss record 34 of 193
==18894== at 0x40046FF: calloc (vg_replace_malloc.c:279)
==18894== by 0x127BB985: PR_Calloc (prmem.c:455)
==18894== by 0x127B7834: PR_NewLogModule (prlog.c:361)
==18894== by 0x127BE2A3: _PR_InitStuff (prinit.c:186)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 12 bytes in 2 blocks are still reachable in loss record 35 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3D03: sqlite3HashInsert (hash.c:366)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x4064E08: switch_load_network_lists (switch_core.c:1077)
==18894== by 0x40659E4: switch_core_init_and_modload (switch_core.c:1457)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 12 bytes in 1 blocks are still reachable in loss record 36 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x22AC7D: (within /lib/libcrypto.so.0.9.8b)
==18894== by 0x22B2FE: CRYPTO_malloc (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x4C048E: (within /lib/libssl.so.0.9.8b)
==18894== by 0x4C06B6: SSL_COMP_get_compression_methods (in /lib/libssl.so.0.9.8b)
==18894== by 0x4C61F4: SSL_library_init (in /lib/libssl.so.0.9.8b)
==18894== by 0x127FE140: Curl_ossl_init (in /usr/lib/libcurl.so.3.0.0)
==18894== by 0x1280F3AB: Curl_ssl_init (in /usr/lib/libcurl.so.3.0.0)
==18894== by 0x12807162: curl_global_init (in /usr/lib/libcurl.so.3.0.0)
==18894== by 0x1279FAB3: mod_spidermonkey_load (mod_spidermonkey.c:3751)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894==
==18894==
==18894== 12 bytes in 1 blocks are still reachable in loss record 37 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x9BE859: decompose_rpath (in /lib/ld-2.5.so)
==18894== by 0x9BF831: _dl_map_object (in /lib/ld-2.5.so)
==18894== by 0x9C32D5: openaux (in /lib/ld-2.5.so)
==18894== by 0x9C4E25: _dl_catch_error (in /lib/ld-2.5.so)
==18894== by 0x9C3894: _dl_map_object_deps (in /lib/ld-2.5.so)
==18894== by 0x9C8A8C: dl_open_worker (in /lib/ld-2.5.so)
==18894== by 0x9C4E25: _dl_catch_error (in /lib/ld-2.5.so)
==18894== by 0x9C8411: _dl_open (in /lib/ld-2.5.so)
==18894== by 0xB1FC4C: dlopen_doit (in /lib/libdl-2.5.so)
==18894== by 0x9C4E25: _dl_catch_error (in /lib/ld-2.5.so)
==18894== by 0xB202CB: _dlerror_run (in /lib/libdl-2.5.so)
==18894==
==18894==
==18894== 13 bytes in 1 blocks are definitely lost in loss record 38 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x412F754: crypto_alloc (alloc.c:97)
==18894== by 0x412FF9D: null_cipher_alloc (null_cipher.c:6Cool
==18894== by 0x412B53C: cipher_type_self_test (cipher.c:264)
==18894== by 0x412F0B5: crypto_kernel_load_cipher_type (crypto_kernel.c:310)
==18894== by 0x412F62C: crypto_kernel_init (crypto_kernel.c:151)
==18894== by 0x4129026: srtp_init (srtp.c:1081)
==18894== by 0x407AF62: switch_rtp_init (switch_rtp.c:611)
==18894== by 0x40639D6: switch_core_init (switch_core.c:1252)
==18894== by 0x406585C: switch_core_init_and_modload (switch_core.c:1422)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 13 bytes in 1 blocks are still reachable in loss record 39 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3D03: sqlite3HashInsert (hash.c:366)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x4064511: switch_load_network_lists (switch_core.c:901)
==18894== by 0x40659E4: switch_core_init_and_modload (switch_core.c:1457)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 14 bytes in 1 blocks are still reachable in loss record 40 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3D03: sqlite3HashInsert (hash.c:366)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x4064881: switch_load_network_lists (switch_core.c:937)
==18894== by 0x40659E4: switch_core_init_and_modload (switch_core.c:1457)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 14 bytes in 1 blocks are still reachable in loss record 41 of 193
==18894== at 0x40054BB: realloc (vg_replace_malloc.c:306)
==18894== by 0xC21BDF: _nc_doalloc (in /usr/lib/libncurses.so.5.5)
==18894== by 0xC25667: tparm (in /usr/lib/libncurses.so.5.5)
==18894== by 0xC2A526: (within /usr/lib/libncurses.so.5.5)
==18894== by 0xC2A82B: _nc_trim_sgr0 (in /usr/lib/libncurses.so.5.5)
==18894== by 0xC248BE: tgetent (in /usr/lib/libncurses.so.5.5)
==18894== by 0x4141441: term_set (term.c:925)
==18894== by 0x4141843: term_init (term.c:350)
==18894== by 0x4139E84: el_init (el.c:84)
==18894== by 0x4049449: switch_console_loop (switch_console.c:747)
==18894== by 0x4061CE7: switch_core_runtime_loop (switch_core.c:687)
==18894== by 0x804A453: main (switch.c:715)
==18894==
==18894==
==18894== 14 bytes in 1 blocks are still reachable in loss record 42 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3D03: sqlite3HashInsert (hash.c:366)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x40647CC: switch_load_network_lists (switch_core.c:927)
==18894== by 0x40659E4: switch_core_init_and_modload (switch_core.c:1457)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 16 bytes in 1 blocks are still reachable in loss record 43 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x22AC7D: (within /lib/libcrypto.so.0.9.8b)
==18894== by 0x22B2FE: CRYPTO_malloc (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x27DED9: sk_new (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x27DF4D: sk_new_null (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x26E3FA: (within /lib/libcrypto.so.0.9.8b)
==18894== by 0x26E50B: engine_cleanup_add_last (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x26EFC6: ENGINE_add (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x272711: ENGINE_load_dynamic (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x270BE6: ENGINE_load_builtin_engines (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x127FE136: Curl_ossl_init (in /usr/lib/libcurl.so.3.0.0)
==18894== by 0x1280F3AB: Curl_ssl_init (in /usr/lib/libcurl.so.3.0.0)
==18894==
==18894==
==18894== 16 bytes in 1 blocks are still reachable in loss record 44 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x22AC7D: (within /lib/libcrypto.so.0.9.8b)
==18894== by 0x22B2FE: CRYPTO_malloc (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x27DED9: sk_new (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x4C046C: (within /lib/libssl.so.0.9.8b)
==18894== by 0x4C06B6: SSL_COMP_get_compression_methods (in /lib/libssl.so.0.9.8b)
==18894== by 0x4C61F4: SSL_library_init (in /lib/libssl.so.0.9.8b)
==18894== by 0x127FE140: Curl_ossl_init (in /usr/lib/libcurl.so.3.0.0)
==18894== by 0x1280F3AB: Curl_ssl_init (in /usr/lib/libcurl.so.3.0.0)
==18894== by 0x12807162: curl_global_init (in /usr/lib/libcurl.so.3.0.0)
==18894== by 0x1279FAB3: mod_spidermonkey_load (mod_spidermonkey.c:3751)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894==
==18894==
==18894== 18 bytes in 1 blocks are still reachable in loss record 45 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0xC21DCE: _nc_home_terminfo (in /usr/lib/libncurses.so.5.5)
==18894== by 0xC29449: _nc_next_db (in /usr/lib/libncurses.so.5.5)
==18894== by 0xC29F31: _nc_read_entry (in /usr/lib/libncurses.so.5.5)
==18894== by 0xC23FDC: _nc_setupterm (in /usr/lib/libncurses.so.5.5)
==18894== by 0xC24747: tgetent (in /usr/lib/libncurses.so.5.5)
==18894== by 0x4141441: term_set (term.c:925)
==18894== by 0x4141843: term_init (term.c:350)
==18894== by 0x4139E84: el_init (el.c:84)
==18894== by 0x4049449: switch_console_loop (switch_console.c:747)
==18894== by 0x4061CE7: switch_core_runtime_loop (switch_core.c:687)
==18894== by 0x804A453: main (switch.c:715)
==18894==
==18894==
==18894== 20 bytes in 1 blocks are still reachable in loss record 46 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x22AC7D: (within /lib/libcrypto.so.0.9.8b)
==18894== by 0x22B2FE: CRYPTO_malloc (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x27DEB6: sk_new (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x27DF4D: sk_new_null (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x26E3FA: (within /lib/libcrypto.so.0.9.8b)
==18894== by 0x26E50B: engine_cleanup_add_last (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x26EFC6: ENGINE_add (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x272711: ENGINE_load_dynamic (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x270BE6: ENGINE_load_builtin_engines (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x127FE136: Curl_ossl_init (in /usr/lib/libcurl.so.3.0.0)
==18894== by 0x1280F3AB: Curl_ssl_init (in /usr/lib/libcurl.so.3.0.0)
==18894==
==18894==
==18894== 20 bytes in 1 blocks are still reachable in loss record 47 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3CD2: sqlite3HashInsert (hash.c:363)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x4064881: switch_load_network_lists (switch_core.c:937)
==18894== by 0x40659E4: switch_core_init_and_modload (switch_core.c:1457)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 20 bytes in 1 blocks are still reachable in loss record 48 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3CD2: sqlite3HashInsert (hash.c:363)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x40647CC: switch_load_network_lists (switch_core.c:927)
==18894== by 0x40659E4: switch_core_init_and_modload (switch_core.c:1457)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 20 bytes in 1 blocks are still reachable in loss record 49 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3CD2: sqlite3HashInsert (hash.c:363)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x4064724: switch_load_network_lists (switch_core.c:921)
==18894== by 0x40659E4: switch_core_init_and_modload (switch_core.c:1457)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 20 bytes in 1 blocks are still reachable in loss record 50 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3CD2: sqlite3HashInsert (hash.c:363)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x7AA4EF1: mod_cdr_csv_load (mod_cdr_csv.c:314)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 20 bytes in 1 blocks are still reachable in loss record 51 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3CD2: sqlite3HashInsert (hash.c:363)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x400EC26: mod_logfile_load (mod_logfile.c:290)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 20 bytes in 1 blocks are still reachable in loss record 52 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3CD2: sqlite3HashInsert (hash.c:363)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x4064603: switch_load_network_lists (switch_core.c:909)
==18894== by 0x40659E4: switch_core_init_and_modload (switch_core.c:1457)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 20 bytes in 1 blocks are still reachable in loss record 53 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x400544A: realloc (vg_replace_malloc.c:306)
==18894== by 0x9C163F: _dl_lookup_symbol_x (in /lib/ld-2.5.so)
==18894== by 0x9C2334: _dl_relocate_object (in /lib/ld-2.5.so)
==18894== by 0x9C8B67: dl_open_worker (in /lib/ld-2.5.so)
==18894== by 0x9C4E25: _dl_catch_error (in /lib/ld-2.5.so)
==18894== by 0x9C8411: _dl_open (in /lib/ld-2.5.so)
==18894== by 0xB1FC4C: dlopen_doit (in /lib/libdl-2.5.so)
==18894== by 0x9C4E25: _dl_catch_error (in /lib/ld-2.5.so)
==18894== by 0xB202CB: _dlerror_run (in /lib/libdl-2.5.so)
==18894== by 0xB1FB83: dlopen@@GLIBC_2.1 (in /lib/libdl-2.5.so)
==18894== by 0x4067486: switch_dso_open (switch_dso.c:94)
==18894==
==18894==
==18894== 20 bytes in 1 blocks are still reachable in loss record 54 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x22AC7D: (within /lib/libcrypto.so.0.9.8b)
==18894== by 0x22B2FE: CRYPTO_malloc (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x27DEB6: sk_new (in /lib/libcrypto.so.0.9.8b)
==18894== by 0x4C046C: (within /lib/libssl.so.0.9.8b)
==18894== by 0x4C06B6: SSL_COMP_get_compression_methods (in /lib/libssl.so.0.9.8b)
==18894== by 0x4C61F4: SSL_library_init (in /lib/libssl.so.0.9.8b)
==18894== by 0x127FE140: Curl_ossl_init (in /usr/lib/libcurl.so.3.0.0)
==18894== by 0x1280F3AB: Curl_ssl_init (in /usr/lib/libcurl.so.3.0.0)
==18894== by 0x12807162: curl_global_init (in /usr/lib/libcurl.so.3.0.0)
==18894== by 0x1279FAB3: mod_spidermonkey_load (mod_spidermonkey.c:3751)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894==
==18894==
==18894== 20 bytes in 1 blocks are still reachable in loss record 55 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3CD2: sqlite3HashInsert (hash.c:363)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x4064511: switch_load_network_lists (switch_core.c:901)
==18894== by 0x40659E4: switch_core_init_and_modload (switch_core.c:1457)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 20 bytes in 1 blocks are still reachable in loss record 56 of 193
==18894== at 0x40046FF: calloc (vg_replace_malloc.c:279)
==18894== by 0xB2033B: _dlerror_run (in /lib/libdl-2.5.so)
==18894== by 0xB1FB83: dlopen@@GLIBC_2.1 (in /lib/libdl-2.5.so)
==18894== by 0x40674AF: switch_dso_open (switch_dso.c:96)
==18894== by 0x406C800: switch_loadable_module_load_module_ex (switch_loadable_module.c:795)
==18894== by 0x406D073: switch_loadable_module_init (switch_loadable_module.c:1159)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 20 bytes in 1 blocks are still reachable in loss record 57 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3CD2: sqlite3HashInsert (hash.c:363)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x7AA4812: ??? (mod_cdr_csv.c:140)
==18894== by 0x7AA4B55: ??? (mod_cdr_csv.c:233)
==18894== by 0x405A631: switch_core_session_reporting_state (switch_core_state_machine.c:607)
==18894== by 0x405AC1A: switch_core_session_run (switch_core_state_machine.c:409)
==18894== by 0x4058204: switch_core_session_thread (switch_core_session.c:1064)
==18894== by 0x40CD6C5: dummy_worker (thread.c:138)
==18894== by 0xB5346A: start_thread (in /lib/libpthread-2.5.so)
==18894== by 0xAAADBD: clone (in /lib/libc-2.5.so)
==18894==
==18894==
==18894== 20 bytes in 1 blocks are still reachable in loss record 58 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3CD2: sqlite3HashInsert (hash.c:363)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x7AA4812: ??? (mod_cdr_csv.c:140)
==18894== by 0x7AA4AA0: ??? (mod_cdr_csv.c:251)
==18894== by 0x405A631: switch_core_session_reporting_state (switch_core_state_machine.c:607)
==18894== by 0x405AC1A: switch_core_session_run (switch_core_state_machine.c:409)
==18894== by 0x4058204: switch_core_session_thread (switch_core_session.c:1064)
==18894== by 0x40CD6C5: dummy_worker (thread.c:138)
==18894== by 0xB5346A: start_thread (in /lib/libpthread-2.5.so)
==18894== by 0xAAADBD: clone (in /lib/libc-2.5.so)
==18894==
==18894==
==18894== 21 bytes in 1 blocks are definitely lost in loss record 59 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0xA48DEF: strdup (in /lib/libc-2.5.so)
==18894== by 0x40A9A52: switch_xml_config_parse_event (switch_xml_config.c:267)
==18894== by 0x11CAC65C: ??? (mod_voicemail.c:643)
==18894== by 0x11CAD21F: mod_voicemail_load (mod_voicemail.c:821)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 22 bytes in 1 blocks are still reachable in loss record 60 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x407176E: my_dup (switch_event.c:95)
==18894== by 0x40737A4: switch_event_bind_removable (switch_event.c:1176)
==18894== by 0x40ABD58: softtimer_load (switch_time.c:753)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D073: switch_loadable_module_init (switch_loadable_module.c:1159)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 24 bytes in 1 blocks are still reachable in loss record 61 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x127BB923: PR_Malloc (prmem.c:448)
==18894== by 0x127B26D2: _PR_Getfd (prfdcach.c:141)
==18894== by 0x127C8EBA: pt_SetMethods (ptio.c:3248)
==18894== by 0x127C65A0: _PR_InitIO (ptio.c:1113)
==18894== by 0x127BE40E: _PR_InitStuff (prinit.c:236)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894==
==18894==
==18894== 24 bytes in 1 blocks are still reachable in loss record 62 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x127BB923: PR_Malloc (prmem.c:448)
==18894== by 0x127B26D2: _PR_Getfd (prfdcach.c:141)
==18894== by 0x127C8EBA: pt_SetMethods (ptio.c:3248)
==18894== by 0x127C6572: _PR_InitIO (ptio.c:1112)
==18894== by 0x127BE40E: _PR_InitStuff (prinit.c:236)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894==
==18894==
==18894== 24 bytes in 1 blocks are still reachable in loss record 63 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x127BB923: PR_Malloc (prmem.c:448)
==18894== by 0x127B26D2: _PR_Getfd (prfdcach.c:141)
==18894== by 0x127C8EBA: pt_SetMethods (ptio.c:3248)
==18894== by 0x127C6544: _PR_InitIO (ptio.c:1111)
==18894== by 0x127BE40E: _PR_InitStuff (prinit.c:236)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894==
==18894==
==18894== 24 bytes in 1 blocks are still reachable in loss record 64 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x407374D: switch_event_bind_removable (switch_event.c:1172)
==18894== by 0x40ABD58: softtimer_load (switch_time.c:753)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D073: switch_loadable_module_init (switch_loadable_module.c:1159)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 24 bytes in 1 blocks are still reachable in loss record 65 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x407374D: switch_event_bind_removable (switch_event.c:1172)
==18894== by 0x4073960: switch_event_bind (switch_event.c:1205)
==18894== by 0x4053B7A: switch_core_sqldb_start (switch_core_sqldb.c:584)
==18894== by 0x4063A91: switch_core_init (switch_core.c:1248)
==18894== by 0x406585C: switch_core_init_and_modload (switch_core.c:1422)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 28 bytes in 1 blocks are still reachable in loss record 66 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x9C3B6B: _dl_map_object_deps (in /lib/ld-2.5.so)
==18894== by 0x9C8A8C: dl_open_worker (in /lib/ld-2.5.so)
==18894== by 0x9C4E25: _dl_catch_error (in /lib/ld-2.5.so)
==18894== by 0x9C8411: _dl_open (in /lib/ld-2.5.so)
==18894== by 0xAE07F1: do_dlopen (in /lib/libc-2.5.so)
==18894== by 0x9C4E25: _dl_catch_error (in /lib/ld-2.5.so)
==18894== by 0xAE09A4: __libc_dlopen_mode (in /lib/libc-2.5.so)
==18894== by 0xB5BB06: pthread_cancel_init (in /lib/libpthread-2.5.so)
==18894== by 0xB5BC30: _Unwind_ForcedUnwind (in /lib/libpthread-2.5.so)
==18894== by 0xB59700: __pthread_unwind (in /lib/libpthread-2.5.so)
==18894== by 0xB543CF: pthread_exit (in /lib/libpthread-2.5.so)
==18894==
==18894==
==18894== 28 bytes in 1 blocks are still reachable in loss record 67 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x127BB923: PR_Malloc (prmem.c:448)
==18894== by 0x127B26E7: _PR_Getfd (prfdcach.c:144)
==18894== by 0x127C8EBA: pt_SetMethods (ptio.c:3248)
==18894== by 0x127C65A0: _PR_InitIO (ptio.c:1113)
==18894== by 0x127BE40E: _PR_InitStuff (prinit.c:236)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894==
==18894==
==18894== 28 bytes in 1 blocks are still reachable in loss record 68 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x127BB923: PR_Malloc (prmem.c:448)
==18894== by 0x127B26E7: _PR_Getfd (prfdcach.c:144)
==18894== by 0x127C8EBA: pt_SetMethods (ptio.c:3248)
==18894== by 0x127C6572: _PR_InitIO (ptio.c:1112)
==18894== by 0x127BE40E: _PR_InitStuff (prinit.c:236)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894==
==18894==
==18894== 28 bytes in 1 blocks are still reachable in loss record 69 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x127BB923: PR_Malloc (prmem.c:448)
==18894== by 0x127B26E7: _PR_Getfd (prfdcach.c:144)
==18894== by 0x127C8EBA: pt_SetMethods (ptio.c:3248)
==18894== by 0x127C6544: _PR_InitIO (ptio.c:1111)
==18894== by 0x127BE40E: _PR_InitStuff (prinit.c:236)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894==
==18894==
==18894== 31 bytes in 1 blocks are still reachable in loss record 70 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0xA48DEF: strdup (in /lib/libc-2.5.so)
==18894== by 0x400EBEB: mod_logfile_load (mod_logfile.c:283)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 33 bytes in 1 blocks are still reachable in loss record 71 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3D03: sqlite3HashInsert (hash.c:366)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x7AA4812: ??? (mod_cdr_csv.c:140)
==18894== by 0x7AA4B55: ??? (mod_cdr_csv.c:233)
==18894== by 0x405A631: switch_core_session_reporting_state (switch_core_state_machine.c:607)
==18894== by 0x405AC1A: switch_core_session_run (switch_core_state_machine.c:409)
==18894== by 0x4058204: switch_core_session_thread (switch_core_session.c:1064)
==18894== by 0x40CD6C5: dummy_worker (thread.c:138)
==18894== by 0xB5346A: start_thread (in /lib/libpthread-2.5.so)
==18894== by 0xAAADBD: clone (in /lib/libc-2.5.so)
==18894==
==18894==
==18894== 34 bytes in 5 blocks are still reachable in loss record 72 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3D03: sqlite3HashInsert (hash.c:366)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x7AA518D: mod_cdr_csv_load (mod_cdr_csv.c:361)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 35 bytes in 1 blocks are still reachable in loss record 73 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3D03: sqlite3HashInsert (hash.c:366)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x7AA4812: ??? (mod_cdr_csv.c:140)
==18894== by 0x7AA4AA0: ??? (mod_cdr_csv.c:251)
==18894== by 0x405A631: switch_core_session_reporting_state (switch_core_state_machine.c:607)
==18894== by 0x405AC1A: switch_core_session_run (switch_core_state_machine.c:409)
==18894== by 0x4058204: switch_core_session_thread (switch_core_session.c:1064)
==18894== by 0x40CD6C5: dummy_worker (thread.c:138)
==18894== by 0xB5346A: start_thread (in /lib/libpthread-2.5.so)
==18894== by 0xAAADBD: clone (in /lib/libc-2.5.so)
==18894==
==18894==
==18894== 40 bytes in 1 blocks are still reachable in loss record 74 of 193
==18894== at 0x40046FF: calloc (vg_replace_malloc.c:279)
==18894== by 0x127BB985: PR_Calloc (prmem.c:455)
==18894== by 0x127CC5A2: _PR_InitThreads (ptthread.c:900)
==18894== by 0x127BE404: _PR_InitStuff (prinit.c:215)
==18894== by 0x127BE433: _PR_ImplicitInitialization (prinit.c:245)
==18894== by 0x127C37CF: PR_NewLock (ptsynch.c:172)
==18894== by 0x128D452B: js_InitStringGlobals (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x12867A0E: JS_Init (in /usr/local/lib/libjs.so.1.0.6)
==18894== by 0x1279F6FB: mod_spidermonkey_load (mod_spidermonkey.c:1046)
==18894== by 0x406C884: switch_loadable_module_load_module_ex (switch_loadable_module.c:846)
==18894== by 0x406D22F: switch_loadable_module_init (switch_loadable_module.c:1174)
==18894== by 0x4065980: switch_core_init_and_modload (switch_core.c:1451)
==18894==
==18894==
==18894== 40 bytes in 2 blocks are still reachable in loss record 75 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x40DED94: sqlite3MallocX (sqliteInt.h:278)
==18894== by 0x40D3CD2: sqlite3HashInsert (hash.c:363)
==18894== by 0x40531EE: switch_core_hash_insert (switch_core_hash.c:67)
==18894== by 0x4064E08: switch_load_network_lists (switch_core.c:1077)
==18894== by 0x40659E4: switch_core_init_and_modload (switch_core.c:1457)
==18894== by 0x804A3FF: main (switch.c:710)
==18894==
==18894==
==18894== 44 bytes in 2 blocks are still reachable in loss record 76 of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x9BF9B7: _dl_map_object (in /lib/ld-2.5.so)
==18894== by 0x9C32D5: openaux (in /lib/ld-2.5.so)
==18894== by 0x9C4E25: _dl_catch_error (in /lib/ld-2.5.so)
==18894== by 0x9C3894: _dl_map_object_deps (in /lib/ld-2.5.so)
==18894== by 0x9C8A8C: dl_open_worker (in /lib/ld-2.5.so)
==18894== by 0x9C4E25: _dl_catch_error (in /lib/ld-2.5.so)
==18894== by 0x9C8411: _dl_open (in /lib/ld-2.5.so)
==18894== by 0xB1FC4C: dlopen_doit (in /lib/libdl-2.5.so)
==18894== by 0x9C4E25: _dl_catch_error (in /lib/ld-2.5.so)
==18894== by 0xB202CB: _dlerror_run (in /lib/libdl-2.5.so)
==18894== by 0xB1FB83: dlopen@@GLIBC_2.1 (in /lib/libdl-2.5.so)
==18894==
==18894==
==18894== 45 bytes in 1 blocks are still reachable in loss record 77 of 193
==18894
Back to top
regs at kinetix.gr
Guest





PostPosted: Tue Jul 21, 2009 8:38 am    Post subject: [Freeswitch-users] Possible memory leak - need a second opin Reply with quote

Since nobody replied I am posting it to JIRA.

Apostolos Pantsiopoulos wrote:
Quote:
Hi I noticed that after a day of relatively moderate traffic (about 400
simultaneous channels average) the memory used by FS reached 1.3 GB of
RAM. I tried to trace the leak (if any) with valgrind and got that :

==18894== 572 bytes in 1 blocks are definitely lost in loss record 148
of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x7AFDE93: sofia_glue_do_invite (sofia_glue.c:1599)
==18894== by 0x7ACB191: sofia_on_init (mod_sofia.c:102)
==18894== by 0x405B124: switch_core_session_run
(switch_core_state_machine.c:480)
==18894== by 0x4058204: switch_core_session_thread
(switch_core_session.c:1064)
==18894== by 0x40CD6C5: dummy_worker (thread.c:138)
==18894== by 0xB5346A: start_thread (in /lib/libpthread-2.5.so)
==18894== by 0xAAADBD: clone (in /lib/libc-2.5.so)


So, I assummed that this happens for every call. I tried testing it
again by placing two calls before shutting down FS, but it only came up
once. I wanted to get a second opinion before posting this to JIRA as an
issue.

I used revision 14269 of the SVN. I am attaching the valgrind output as
well.

I also noticed that only one of my CPU cores gets really busy when
dealing with moderate traffic. From what I read in the mailing list
users are encouraged to use 64bit multi core servers for FS because it
scales up better. But this is not what I am seeing in practice. Could
the single threaded architecture of libsofia be the cause of that behavior?




------------------------------------------------------------------------

_______________________________________________
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


--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr
-------------------------------------------

_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Tue Jul 21, 2009 9:00 am    Post subject: [Freeswitch-users] Possible memory leak - need a second opin Reply with quote

If you're gonna open a jira we'll need a sipp scenario file that will
reproduce the issue along with sip traces that can show what is going
on.

/b

On Jul 21, 2009, at 8:29 AM, Apostolos Pantsiopoulos wrote:

Quote:
Since nobody replied I am posting it to JIRA.

Apostolos Pantsiopoulos wrote:
Quote:
Hi I noticed that after a day of relatively moderate traffic (about
400
simultaneous channels average) the memory used by FS reached 1.3 GB
of
RAM. I tried to trace the leak (if any) with valgrind and got that :

==18894== 572 bytes in 1 blocks are definitely lost in loss record
148
of 193
==18894== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==18894== by 0x7AFDE93: sofia_glue_do_invite (sofia_glue.c:1599)
==18894== by 0x7ACB191: sofia_on_init (mod_sofia.c:102)
==18894== by 0x405B124: switch_core_session_run
(switch_core_state_machine.c:480)
==18894== by 0x4058204: switch_core_session_thread
(switch_core_session.c:1064)
==18894== by 0x40CD6C5: dummy_worker (thread.c:138)
==18894== by 0xB5346A: start_thread (in /lib/libpthread-2.5.so)
==18894== by 0xAAADBD: clone (in /lib/libc-2.5.so)


So, I assummed that this happens for every call. I tried testing it
again by placing two calls before shutting down FS, but it only
came up
once. I wanted to get a second opinion before posting this to JIRA
as an
issue.

I used revision 14269 of the SVN. I am attaching the valgrind
output as
well.

I also noticed that only one of my CPU cores gets really busy when
dealing with moderate traffic. From what I read in the mailing list
users are encouraged to use 64bit multi core servers for FS because
it
scales up better. But this is not what I am seeing in practice. Could
the single threaded architecture of libsofia be the cause of that
behavior?




------------------------------------------------------------------------

_______________________________________________
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


--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr
-------------------------------------------

_______________________________________________
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


_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services