axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manjula Peiris (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2C-1220) memory leak on the server side (axis2_http_server)
Date Tue, 06 Jan 2009 12:56:44 GMT

     [ https://issues.apache.org/jira/browse/AXIS2C-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Manjula Peiris resolved AXIS2C-1220.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.0

I have tested this scenario with valgrind. Did not find reported memory leaks.

> 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
>          Components: core/engine
>    Affects Versions: Current (Nightly)
>         Environment: linux fc5
>            Reporter: Frederic Heem
>            Assignee: Manjula Peiris
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> 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.


Mime
View raw message