memory leak on the server side (axis2_http_server)
--------------------------------------------------

                 Key: AXIS2C-1220
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1220
             Project: Axis2-C
          Issue Type: Bug
    Affects Versions: Current (Nightly)
         Environment: linux fc5
            Reporter: Frederic Heem
            Priority: Minor


When axis2_http_server is stated and stopped, it doesn't free everything it has 
allocated. Please note that no message has been received or sent.
Even though these leaks doesn't increased by the number of messages received, 
it makes it more difficult to spot memory leaked that are based on the number 
of messaged being received.
==23797== 28 (16 direct, 12 indirect) bytes in 1 blocks are definitely lost in 
loss record 11 of 27
==23797==    at 0x4005858: malloc (vg_replace_malloc.c:207)
==23797==    by 0x405F292: axutil_thread_create (thread_unix.c:107)
==23797==    by 0x40561D4: axutil_thread_pool_get_thread (thread_pool.c:76)
==23797==    by 0x50A2E91: ???
==23797==    by 0x40AD7A4: axis2_load_services (conf_init.c:331)
==23797==    by 0x40ADBE5: axis2_build_conf_ctx (conf_init.c:84)
==23797==    by 0x4123CE4: axis2_http_server_create (http_receiver.c:124)
==23797==    by 0x80563B8: main (http_server_main.c:209)
==23797==
==23797==
==23797== 1,000 (56 direct, 944 indirect) bytes in 2 blocks are definitely lost 
in loss record 22 of 27
==23797==    at 0x4005858: malloc (vg_replace_malloc.c:207)
==23797==    by 0x8076552: axis2_conf_ctx_create (conf_ctx.c:57)
==23797==    by 0x411E431: ???
==23797==    by 0x40AD7A4: axis2_load_services (conf_init.c:331)
==23797==    by 0x40ADBE5: axis2_build_conf_ctx (conf_init.c:84)
==23797==    by 0x4123CE4: axis2_http_server_create (http_receiver.c:124)
==23797==    by 0x80563B8: main (http_server_main.c:209)
==23797==
==23797==
==23797== 174 (24 direct, 150 indirect) bytes in 1 blocks are definitely lost 
in loss record 23 of 27
==23797==    at 0x4005858: malloc (vg_replace_malloc.c:207)
==23797==    by 0x50A86C8: ???
==23797==    by 0x50A4C89: ???
==23797==    by 0x50A55F9: ???
==23797==    by 0x50A3FD3: ???
==23797==    by 0x50A2D76: ???
==23797==    by 0x405EEE5: dummy_worker (thread_unix.c:93)
==23797==    by 0x8E145A: start_thread (in /lib/libpthread-2.5.so)
==23797==    by 0x71323D: clone (in /lib/libc-2.5.so)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to