axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinesh Premalal (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2C-399) memory leaks
Date Wed, 22 Nov 2006 11:25:02 GMT
    [ http://issues.apache.org/jira/browse/AXIS2C-399?page=comments#action_12451906 ] 
            
Dinesh Premalal commented on AXIS2C-399:
----------------------------------------

memory leak report for echo sample. Please ignore previous one.

==19642== Memcheck, a memory error detector.
==19642== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==19642== Using LibVEX rev 1658, a library for dynamic binary translation.
==19642== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==19642== Using valgrind-3.2.1-Debian, a dynamic binary instrumentation framework.
==19642== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==19642== For more details, rerun with: -v
==19642== 
--19642-- DWARF2 CFI reader: unhandled CFI instruction 0:50
--19642-- DWARF2 CFI reader: unhandled CFI instruction 0:50
--19642-- DWARF2 CFI reader: unhandled CFI instruction 0:50
--19642-- DWARF2 CFI reader: unhandled CFI instruction 0:50
==19642== Invalid read of size 4
==19642==    at 0x4010C81: (within /lib/ld-2.3.6.so)
==19642==    by 0x4006704: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x429FD8D: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x42A042C: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x429FD20: dlopen (in /lib/tls/libdl-2.3.6.so)
==19642==    by 0x402E14C: axis2_class_loader_load_lib (class_loader.c:250)
==19642==    by 0x402E3AE: axis2_class_loader_create_dll (class_loader.c:79)
==19642==    by 0x409D8D6: axis2_conf_builder_process_transport_senders (conf_builder.c:780)
==19642==  Address 0x448C564 is 52 bytes inside a block of size 55 alloc'd
==19642==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==19642==    by 0x40281BC: axis2_allocator_malloc_impl (allocator.c:64)
==19642==    by 0x402AEA0: axis2_strdup (string.c:33)
==19642==    by 0x4030579: axis2_dll_desc_set_name (dll_desc.c:262)
==19642==    by 0x409D86E: axis2_conf_builder_process_transport_senders (conf_builder.c:774)
==19642==    by 0x409E796: axis2_conf_builder_populate_conf (conf_builder.c:303)
==19642==    by 0x40986B6: axis2_dep_engine_load_client (dep_engine.c:905)
==19642==    by 0x409FAF2: build_client_conf_ctx (conf_init.c:97)
==19642==    by 0x40AB000: axis2_svc_client_init_transports_from_conf_ctx (svc_client.c:1142)
==19642==    by 0x40AB0D9: axis2_svc_client_create_with_conf_ctx_and_svc (svc_client.c:404)
==19642==    by 0x40AB63B: axis2_svc_client_create (svc_client.c:228)
==19642==    by 0x80489FF: main (echo.c:77)
==19642== 
==19642== Invalid read of size 4
==19642==    at 0x4010DE9: (within /lib/ld-2.3.6.so)
==19642==    by 0x4006704: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x429FD8D: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x42A042C: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x429FD20: dlopen (in /lib/tls/libdl-2.3.6.so)
==19642==    by 0x402E14C: axis2_class_loader_load_lib (class_loader.c:250)
==19642==    by 0x402E3AE: axis2_class_loader_create_dll (class_loader.c:79)
==19642==    by 0x409D8D6: axis2_conf_builder_process_transport_senders (conf_builder.c:780)
==19642==  Address 0x448C564 is 52 bytes inside a block of size 55 alloc'd
==19642==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==19642==    by 0x40281BC: axis2_allocator_malloc_impl (allocator.c:64)
==19642==    by 0x402AEA0: axis2_strdup (string.c:33)
==19642==    by 0x4030579: axis2_dll_desc_set_name (dll_desc.c:262)
==19642==    by 0x409D86E: axis2_conf_builder_process_transport_senders (conf_builder.c:774)
==19642==    by 0x409E796: axis2_conf_builder_populate_conf (conf_builder.c:303)
==19642==    by 0x40986B6: axis2_dep_engine_load_client (dep_engine.c:905)
==19642==    by 0x409FAF2: build_client_conf_ctx (conf_init.c:97)
==19642==    by 0x40AB000: axis2_svc_client_init_transports_from_conf_ctx (svc_client.c:1142)
==19642==    by 0x40AB0D9: axis2_svc_client_create_with_conf_ctx_and_svc (svc_client.c:404)
==19642==    by 0x40AB63B: axis2_svc_client_create (svc_client.c:228)
==19642==    by 0x80489FF: main (echo.c:77)
==19642== 
==19642== Invalid read of size 4
==19642==    at 0x4010DE9: (within /lib/ld-2.3.6.so)
==19642==    by 0x4004B1F: (within /lib/ld-2.3.6.so)
==19642==    by 0x4006792: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x429FD8D: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x42A042C: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x429FD20: dlopen (in /lib/tls/libdl-2.3.6.so)
==19642==    by 0x402E14C: axis2_class_loader_load_lib (class_loader.c:250)
==19642==    by 0x402E3AE: axis2_class_loader_create_dll (class_loader.c:79)
==19642==  Address 0x448C564 is 52 bytes inside a block of size 55 alloc'd
==19642==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==19642==    by 0x40281BC: axis2_allocator_malloc_impl (allocator.c:64)
==19642==    by 0x402AEA0: axis2_strdup (string.c:33)
==19642==    by 0x4030579: axis2_dll_desc_set_name (dll_desc.c:262)
==19642==    by 0x409D86E: axis2_conf_builder_process_transport_senders (conf_builder.c:774)
==19642==    by 0x409E796: axis2_conf_builder_populate_conf (conf_builder.c:303)
==19642==    by 0x40986B6: axis2_dep_engine_load_client (dep_engine.c:905)
==19642==    by 0x409FAF2: build_client_conf_ctx (conf_init.c:97)
==19642==    by 0x40AB000: axis2_svc_client_init_transports_from_conf_ctx (svc_client.c:1142)
==19642==    by 0x40AB0D9: axis2_svc_client_create_with_conf_ctx_and_svc (svc_client.c:404)
==19642==    by 0x40AB63B: axis2_svc_client_create (svc_client.c:228)
==19642==    by 0x80489FF: main (echo.c:77)
==19642== 
==19642== Invalid read of size 4
==19642==    at 0x4010CB8: (within /lib/ld-2.3.6.so)
==19642==    by 0x4006704: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x429FD8D: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x42A042C: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x429FD20: dlopen (in /lib/tls/libdl-2.3.6.so)
==19642==    by 0x402E14C: axis2_class_loader_load_lib (class_loader.c:250)
==19642==    by 0x402E3AE: axis2_class_loader_create_dll (class_loader.c:79)
==19642==    by 0x409EAEB: axis2_conf_builder_populate_conf (conf_builder.c:1006)
==19642==  Address 0x448F508 is 56 bytes inside a block of size 57 alloc'd
==19642==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==19642==    by 0x40281BC: axis2_allocator_malloc_impl (allocator.c:64)
==19642==    by 0x402AEA0: axis2_strdup (string.c:33)
==19642==    by 0x4030579: axis2_dll_desc_set_name (dll_desc.c:262)
==19642==    by 0x409EA89: axis2_conf_builder_populate_conf (conf_builder.c:999)
==19642==    by 0x40986B6: axis2_dep_engine_load_client (dep_engine.c:905)
==19642==    by 0x409FAF2: build_client_conf_ctx (conf_init.c:97)
==19642==    by 0x40AB000: axis2_svc_client_init_transports_from_conf_ctx (svc_client.c:1142)
==19642==    by 0x40AB0D9: axis2_svc_client_create_with_conf_ctx_and_svc (svc_client.c:404)
==19642==    by 0x40AB63B: axis2_svc_client_create (svc_client.c:228)
==19642==    by 0x80489FF: main (echo.c:77)
==19642== 
==19642== Invalid read of size 4
==19642==    at 0x4010E00: (within /lib/ld-2.3.6.so)
==19642==    by 0x4006704: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x429FD8D: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x42A042C: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x429FD20: dlopen (in /lib/tls/libdl-2.3.6.so)
==19642==    by 0x402E14C: axis2_class_loader_load_lib (class_loader.c:250)
==19642==    by 0x402E3AE: axis2_class_loader_create_dll (class_loader.c:79)
==19642==    by 0x409EAEB: axis2_conf_builder_populate_conf (conf_builder.c:1006)
==19642==  Address 0x448F508 is 56 bytes inside a block of size 57 alloc'd
==19642==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==19642==    by 0x40281BC: axis2_allocator_malloc_impl (allocator.c:64)
==19642==    by 0x402AEA0: axis2_strdup (string.c:33)
==19642==    by 0x4030579: axis2_dll_desc_set_name (dll_desc.c:262)
==19642==    by 0x409EA89: axis2_conf_builder_populate_conf (conf_builder.c:999)
==19642==    by 0x40986B6: axis2_dep_engine_load_client (dep_engine.c:905)
==19642==    by 0x409FAF2: build_client_conf_ctx (conf_init.c:97)
==19642==    by 0x40AB000: axis2_svc_client_init_transports_from_conf_ctx (svc_client.c:1142)
==19642==    by 0x40AB0D9: axis2_svc_client_create_with_conf_ctx_and_svc (svc_client.c:404)
==19642==    by 0x40AB63B: axis2_svc_client_create (svc_client.c:228)
==19642==    by 0x80489FF: main (echo.c:77)
==19642== 
==19642== Invalid read of size 4
==19642==    at 0x4010E00: (within /lib/ld-2.3.6.so)
==19642==    by 0x4004B1F: (within /lib/ld-2.3.6.so)
==19642==    by 0x4006792: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x429FD8D: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x42A042C: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x429FD20: dlopen (in /lib/tls/libdl-2.3.6.so)
==19642==    by 0x402E14C: axis2_class_loader_load_lib (class_loader.c:250)
==19642==    by 0x402E3AE: axis2_class_loader_create_dll (class_loader.c:79)
==19642==  Address 0x448F508 is 56 bytes inside a block of size 57 alloc'd
==19642==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==19642==    by 0x40281BC: axis2_allocator_malloc_impl (allocator.c:64)
==19642==    by 0x402AEA0: axis2_strdup (string.c:33)
==19642==    by 0x4030579: axis2_dll_desc_set_name (dll_desc.c:262)
==19642==    by 0x409EA89: axis2_conf_builder_populate_conf (conf_builder.c:999)
==19642==    by 0x40986B6: axis2_dep_engine_load_client (dep_engine.c:905)
==19642==    by 0x409FAF2: build_client_conf_ctx (conf_init.c:97)
==19642==    by 0x40AB000: axis2_svc_client_init_transports_from_conf_ctx (svc_client.c:1142)
==19642==    by 0x40AB0D9: axis2_svc_client_create_with_conf_ctx_and_svc (svc_client.c:404)
==19642==    by 0x40AB63B: axis2_svc_client_create (svc_client.c:228)
==19642==    by 0x80489FF: main (echo.c:77)
==19642== 
==19642== Invalid read of size 4
==19642==    at 0x4010C43: (within /lib/ld-2.3.6.so)
==19642==    by 0x4006704: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x429FD8D: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x42A042C: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x429FD20: dlopen (in /lib/tls/libdl-2.3.6.so)
==19642==    by 0x402E14C: axis2_class_loader_load_lib (class_loader.c:250)
==19642==    by 0x402E3AE: axis2_class_loader_create_dll (class_loader.c:79)
==19642==    by 0x409777B: axis2_dep_engine_load_module_dll (dep_engine.c:1298)
==19642==  Address 0x44BAD90 is 64 bytes inside a block of size 67 alloc'd
==19642==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==19642==    by 0x40281BC: axis2_allocator_malloc_impl (allocator.c:64)
==19642==    by 0x402AEA0: axis2_strdup (string.c:33)
==19642==    by 0x4030579: axis2_dll_desc_set_name (dll_desc.c:262)
==19642==    by 0x40976E1: axis2_dep_engine_load_module_dll (dep_engine.c:1281)
==19642==    by 0x409833D: axis2_dep_engine_do_deploy (dep_engine.c:1432)
==19642==    by 0x409A890: axis2_ws_info_list_update (ws_info_list.c:512)
==19642==    by 0x409F260: axis2_repos_listener_update (repos_listener.c:281)
==19642==    by 0x409F67A: axis2_repos_listener_init (repos_listener.c:310)
==19642==    by 0x409F6F7: axis2_repos_listener_create_with_folder_name_and_dep_engine (repos_listener.c:177)
==19642==    by 0x4098788: axis2_dep_engine_load_client (dep_engine.c:921)
==19642==    by 0x409FAF2: build_client_conf_ctx (conf_init.c:97)
==19642== 
==19642== Invalid read of size 4
==19642==    at 0x4010DD3: (within /lib/ld-2.3.6.so)
==19642==    by 0x4006704: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x429FD8D: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x42A042C: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x429FD20: dlopen (in /lib/tls/libdl-2.3.6.so)
==19642==    by 0x402E14C: axis2_class_loader_load_lib (class_loader.c:250)
==19642==    by 0x402E3AE: axis2_class_loader_create_dll (class_loader.c:79)
==19642==    by 0x409777B: axis2_dep_engine_load_module_dll (dep_engine.c:1298)
==19642==  Address 0x44BAD90 is 64 bytes inside a block of size 67 alloc'd
==19642==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==19642==    by 0x40281BC: axis2_allocator_malloc_impl (allocator.c:64)
==19642==    by 0x402AEA0: axis2_strdup (string.c:33)
==19642==    by 0x4030579: axis2_dll_desc_set_name (dll_desc.c:262)
==19642==    by 0x40976E1: axis2_dep_engine_load_module_dll (dep_engine.c:1281)
==19642==    by 0x409833D: axis2_dep_engine_do_deploy (dep_engine.c:1432)
==19642==    by 0x409A890: axis2_ws_info_list_update (ws_info_list.c:512)
==19642==    by 0x409F260: axis2_repos_listener_update (repos_listener.c:281)
==19642==    by 0x409F67A: axis2_repos_listener_init (repos_listener.c:310)
==19642==    by 0x409F6F7: axis2_repos_listener_create_with_folder_name_and_dep_engine (repos_listener.c:177)
==19642==    by 0x4098788: axis2_dep_engine_load_client (dep_engine.c:921)
==19642==    by 0x409FAF2: build_client_conf_ctx (conf_init.c:97)
==19642== 
==19642== Invalid read of size 4
==19642==    at 0x4010DD3: (within /lib/ld-2.3.6.so)
==19642==    by 0x4004B78: (within /lib/ld-2.3.6.so)
==19642==    by 0x4006792: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x429FD8D: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x42A042C: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x429FD20: dlopen (in /lib/tls/libdl-2.3.6.so)
==19642==    by 0x402E14C: axis2_class_loader_load_lib (class_loader.c:250)
==19642==    by 0x402E3AE: axis2_class_loader_create_dll (class_loader.c:79)
==19642==  Address 0x44BAD90 is 64 bytes inside a block of size 67 alloc'd
==19642==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==19642==    by 0x40281BC: axis2_allocator_malloc_impl (allocator.c:64)
==19642==    by 0x402AEA0: axis2_strdup (string.c:33)
==19642==    by 0x4030579: axis2_dll_desc_set_name (dll_desc.c:262)
==19642==    by 0x40976E1: axis2_dep_engine_load_module_dll (dep_engine.c:1281)
==19642==    by 0x409833D: axis2_dep_engine_do_deploy (dep_engine.c:1432)
==19642==    by 0x409A890: axis2_ws_info_list_update (ws_info_list.c:512)
==19642==    by 0x409F260: axis2_repos_listener_update (repos_listener.c:281)
==19642==    by 0x409F67A: axis2_repos_listener_init (repos_listener.c:310)
==19642==    by 0x409F6F7: axis2_repos_listener_create_with_folder_name_and_dep_engine (repos_listener.c:177)
==19642==    by 0x4098788: axis2_dep_engine_load_client (dep_engine.c:921)
==19642==    by 0x409FAF2: build_client_conf_ctx (conf_init.c:97)
==19642== 
==19642== Conditional jump or move depends on uninitialised value(s)
==19642==    at 0x4008ED5: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4F24: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x429FD8D: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x42A042C: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x429FD20: dlopen (in /lib/tls/libdl-2.3.6.so)
==19642==    by 0x402E14C: axis2_class_loader_load_lib (class_loader.c:250)
==19642==    by 0x402E3AE: axis2_class_loader_create_dll (class_loader.c:79)
==19642==    by 0x409777B: axis2_dep_engine_load_module_dll (dep_engine.c:1298)
==19642==    by 0x409833D: axis2_dep_engine_do_deploy (dep_engine.c:1432)
==19642== 
==19642== Conditional jump or move depends on uninitialised value(s)
==19642==    at 0x4008B2E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4F24: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x429FD8D: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x42A042C: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x429FD20: dlopen (in /lib/tls/libdl-2.3.6.so)
==19642==    by 0x402E14C: axis2_class_loader_load_lib (class_loader.c:250)
==19642==    by 0x402E3AE: axis2_class_loader_create_dll (class_loader.c:79)
==19642==    by 0x409777B: axis2_dep_engine_load_module_dll (dep_engine.c:1298)
==19642==    by 0x409833D: axis2_dep_engine_do_deploy (dep_engine.c:1432)
==19642== 
==19642== Invalid read of size 4
==19642==    at 0x4010CE7: (within /lib/ld-2.3.6.so)
==19642==    by 0x4006704: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x429FD8D: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x42A042C: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x429FD20: dlopen (in /lib/tls/libdl-2.3.6.so)
==19642==    by 0x402E14C: axis2_class_loader_load_lib (class_loader.c:250)
==19642==    by 0x402E3AE: axis2_class_loader_create_dll (class_loader.c:79)
==19642==    by 0x409777B: axis2_dep_engine_load_module_dll (dep_engine.c:1298)
==19642==  Address 0x44D475C is 60 bytes inside a block of size 63 alloc'd
==19642==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==19642==    by 0x40281BC: axis2_allocator_malloc_impl (allocator.c:64)
==19642==    by 0x402AEA0: axis2_strdup (string.c:33)
==19642==    by 0x4030579: axis2_dll_desc_set_name (dll_desc.c:262)
==19642==    by 0x40976E1: axis2_dep_engine_load_module_dll (dep_engine.c:1281)
==19642==    by 0x409833D: axis2_dep_engine_do_deploy (dep_engine.c:1432)
==19642==    by 0x409A890: axis2_ws_info_list_update (ws_info_list.c:512)
==19642==    by 0x409F260: axis2_repos_listener_update (repos_listener.c:281)
==19642==    by 0x409F67A: axis2_repos_listener_init (repos_listener.c:310)
==19642==    by 0x409F6F7: axis2_repos_listener_create_with_folder_name_and_dep_engine (repos_listener.c:177)
==19642==    by 0x4098788: axis2_dep_engine_load_client (dep_engine.c:921)
==19642==    by 0x409FAF2: build_client_conf_ctx (conf_init.c:97)
==19642== 
==19642== Invalid read of size 4
==19642==    at 0x4010E17: (within /lib/ld-2.3.6.so)
==19642==    by 0x4006704: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x429FD8D: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x42A042C: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x429FD20: dlopen (in /lib/tls/libdl-2.3.6.so)
==19642==    by 0x402E14C: axis2_class_loader_load_lib (class_loader.c:250)
==19642==    by 0x402E3AE: axis2_class_loader_create_dll (class_loader.c:79)
==19642==    by 0x409777B: axis2_dep_engine_load_module_dll (dep_engine.c:1298)
==19642==  Address 0x44D475C is 60 bytes inside a block of size 63 alloc'd
==19642==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==19642==    by 0x40281BC: axis2_allocator_malloc_impl (allocator.c:64)
==19642==    by 0x402AEA0: axis2_strdup (string.c:33)
==19642==    by 0x4030579: axis2_dll_desc_set_name (dll_desc.c:262)
==19642==    by 0x40976E1: axis2_dep_engine_load_module_dll (dep_engine.c:1281)
==19642==    by 0x409833D: axis2_dep_engine_do_deploy (dep_engine.c:1432)
==19642==    by 0x409A890: axis2_ws_info_list_update (ws_info_list.c:512)
==19642==    by 0x409F260: axis2_repos_listener_update (repos_listener.c:281)
==19642==    by 0x409F67A: axis2_repos_listener_init (repos_listener.c:310)
==19642==    by 0x409F6F7: axis2_repos_listener_create_with_folder_name_and_dep_engine (repos_listener.c:177)
==19642==    by 0x4098788: axis2_dep_engine_load_client (dep_engine.c:921)
==19642==    by 0x409FAF2: build_client_conf_ctx (conf_init.c:97)
==19642== 
==19642== Invalid read of size 4
==19642==    at 0x4010E17: (within /lib/ld-2.3.6.so)
==19642==    by 0x4004B78: (within /lib/ld-2.3.6.so)
==19642==    by 0x4006792: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x429FD8D: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x42A042C: (within /lib/tls/libdl-2.3.6.so)
==19642==    by 0x429FD20: dlopen (in /lib/tls/libdl-2.3.6.so)
==19642==    by 0x402E14C: axis2_class_loader_load_lib (class_loader.c:250)
==19642==    by 0x402E3AE: axis2_class_loader_create_dll (class_loader.c:79)
==19642==  Address 0x44D475C is 60 bytes inside a block of size 63 alloc'd
==19642==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==19642==    by 0x40281BC: axis2_allocator_malloc_impl (allocator.c:64)
==19642==    by 0x402AEA0: axis2_strdup (string.c:33)
==19642==    by 0x4030579: axis2_dll_desc_set_name (dll_desc.c:262)
==19642==    by 0x40976E1: axis2_dep_engine_load_module_dll (dep_engine.c:1281)
==19642==    by 0x409833D: axis2_dep_engine_do_deploy (dep_engine.c:1432)
==19642==    by 0x409A890: axis2_ws_info_list_update (ws_info_list.c:512)
==19642==    by 0x409F260: axis2_repos_listener_update (repos_listener.c:281)
==19642==    by 0x409F67A: axis2_repos_listener_init (repos_listener.c:310)
==19642==    by 0x409F6F7: axis2_repos_listener_create_with_folder_name_and_dep_engine (repos_listener.c:177)
==19642==    by 0x4098788: axis2_dep_engine_load_client (dep_engine.c:921)
==19642==    by 0x409FAF2: build_client_conf_ctx (conf_init.c:97)
==19642== 
==19642== Conditional jump or move depends on uninitialised value(s)
==19642==    at 0x4010C4E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43A6D6C: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A6DCD: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380B7C: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380C7F: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x4382705: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43855A5: gethostbyname_r (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4384DDD: gethostbyname (in /lib/tls/libc-2.3.6.so)
==19642== 
==19642== Conditional jump or move depends on uninitialised value(s)
==19642==    at 0x4010C5D: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43A6D6C: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A6DCD: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380B7C: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380C7F: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x4382705: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43855A5: gethostbyname_r (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4384DDD: gethostbyname (in /lib/tls/libc-2.3.6.so)
==19642== 
==19642== Conditional jump or move depends on uninitialised value(s)
==19642==    at 0x4010C6C: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43A6D6C: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A6DCD: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380B7C: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380C7F: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x4382705: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43855A5: gethostbyname_r (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4384DDD: gethostbyname (in /lib/tls/libc-2.3.6.so)
==19642== 
==19642== Conditional jump or move depends on uninitialised value(s)
==19642==    at 0x4010C7B: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43A6D6C: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A6DCD: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380B7C: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380C7F: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x4382705: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43855A5: gethostbyname_r (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4384DDD: gethostbyname (in /lib/tls/libc-2.3.6.so)
==19642== 
==19642== Conditional jump or move depends on uninitialised value(s)
==19642==    at 0x4010DDC: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43A6D6C: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A6DCD: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380B7C: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380C7F: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x4382705: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43855A5: gethostbyname_r (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4384DDD: gethostbyname (in /lib/tls/libc-2.3.6.so)
==19642== 
==19642== Conditional jump or move depends on uninitialised value(s)
==19642==    at 0x4010DE7: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43A6D6C: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A6DCD: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380B7C: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380C7F: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x4382705: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43855A5: gethostbyname_r (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4384DDD: gethostbyname (in /lib/tls/libc-2.3.6.so)
==19642== 
==19642== Conditional jump or move depends on uninitialised value(s)
==19642==    at 0x4010DDC: (within /lib/ld-2.3.6.so)
==19642==    by 0x4004B78: (within /lib/ld-2.3.6.so)
==19642==    by 0x4006792: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43A6D6C: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A6DCD: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380B7C: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380C7F: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x4382705: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
==19642== 
==19642== Conditional jump or move depends on uninitialised value(s)
==19642==    at 0x4010DE7: (within /lib/ld-2.3.6.so)
==19642==    by 0x4004B78: (within /lib/ld-2.3.6.so)
==19642==    by 0x4006792: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43A6D6C: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A6DCD: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380B7C: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380C7F: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x4382705: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
==19642== 
==19642== Invalid read of size 4
==19642==    at 0x4010E00: (within /lib/ld-2.3.6.so)
==19642==    by 0x4004B78: (within /lib/ld-2.3.6.so)
==19642==    by 0x4006792: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43A6D6C: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A6DCD: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380B7C: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380C7F: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x4382705: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
==19642==  Address 0x45D5E90 is 24 bytes inside a block of size 27 alloc'd
==19642==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==19642==    by 0x4006B83: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A4ACF: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A453E: _dl_open (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43A6D6C: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==19642==    by 0x43A6DCD: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380B7C: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x4380C7F: (within /lib/tls/libc-2.3.6.so)
==19642==    by 0x4382705: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
==19642==    by 0x43855A5: gethostbyname_r (in /lib/tls/libc-2.3.6.so)
==19642== 
==19642== ERROR SUMMARY: 29 errors from 23 contexts (suppressed: 45 from 1)
==19642== malloc/free: in use at exit: 260 bytes in 4 blocks.
==19642== malloc/free: 15,942 allocs, 15,938 frees, 1,082,013 bytes allocated.
==19642== For counts of detected errors, rerun with: -v
==19642== searching for pointers to 4 not-freed blocks.
==19642== checked 322,292 bytes.
==19642== 
==19642== LEAK SUMMARY:
==19642==    definitely lost: 0 bytes in 0 blocks.
==19642==      possibly lost: 0 bytes in 0 blocks.
==19642==    still reachable: 260 bytes in 4 blocks.
==19642==         suppressed: 0 bytes in 0 blocks.
==19642== Reachable blocks (those to which a pointer was found) are not shown.
==19642== To see them, rerun with: --show-reachable=yes


> memory leaks
> ------------
>
>                 Key: AXIS2C-399
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-399
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: Current (Nightly)
>         Environment: linux simple http server
>            Reporter: Marc Giger
>
> I see massive memory leaks with the Simple Axis2 HTTP Server.
> Because I can't test it with mod_axis2 I can only report it with the simple http server.
> Here are two valgrind outputs:
> The first one is with a shoot to the sample echo service:
> Started Simple Axis2 HTTP Server ...
> ==19904==
> ==19904== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 45 from
> 1) ==19904== malloc/free: in use at exit: 71,000 bytes in 1,038 blocks.
> ==19904== malloc/free: 15,119 allocs, 14,081 frees, 1,513,871 bytes
> allocated. ==19904== For counts of detected errors, rerun with: -v
> ==19904== searching for pointers to 1,038 not-freed blocks.
> ==19904== checked 8,697,064 bytes.
> ==19904==
> ==19904== LEAK SUMMARY:
> ==19904==    definitely lost: 70,309 bytes in 1,023 blocks.
> ==19904==      possibly lost: 136 bytes in 1 blocks.
> ==19904==    still reachable: 555 bytes in 14 blocks.
> ==19904==         suppressed: 0 bytes in 0 blocks.
> ==19904== Use --leak-check=full to see details of leaked memory.
> This second one is with a service built with the skeleton generator and
> no data binding but just XML in/out:
> Started Simple Axis2 HTTP Server ...
> ==13034==
> ==13034== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 46 from
> 1) ==13034== malloc/free: in use at exit: 200,214 bytes in 1,025 blocks.
> ==13034== malloc/free: 24,826 allocs, 23,801 frees, 2,676,022 bytes
> allocated. ==13034== For counts of detected errors, rerun with: -v
> ==13034== searching for pointers to 1,025 not-freed blocks.
> ==13034== checked 8,697,064 bytes.
> ==13034==
> ==13034== LEAK SUMMARY:
> ==13034==    definitely lost: 199,523 bytes in 1,010 blocks.
> ==13034==      possibly lost: 136 bytes in 1 blocks.
> ==13034==    still reachable: 555 bytes in 14 blocks.
> ==13034==         suppressed: 0 bytes in 0 blocks.
> ==13034== Use --leak-check=full to see details of leaked memory.
> My service function looks like the following:
> axiom_node_t* axis2_skel_TestService_Test (const axis2_env_t *env,
> 					      axiom_node_t* param0 )
> {
> 	return param0;
> }
> In this case i sent a document with about 34KB in size.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message