axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frederic Heem (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2C-1228) rp_secpolicy_create memory leak
Date Thu, 03 Jul 2008 11:00:45 GMT

    [ https://issues.apache.org/jira/browse/AXIS2C-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610197#action_12610197
] 

Frederic Heem commented on AXIS2C-1228:
---------------------------------------

Actually, there are many other memory leaks, unfortunately, the backtrace is a bit broken
and it will be a more difficult to identify them, at least, we know there are present.

==15779== 948 (180 direct, 768 indirect) bytes in 3 blocks are definitely lost in loss record
35 of 46
==15779==    at 0x4005858: malloc (vg_replace_malloc.c:207)
==15779==    by 0x458A9AD: ???
==15779==    by 0x45BEF55: ???
==15779==    by 0x45C245E: ???
==15779==    by 0x45B1333: ???
==15779==    by 0x4087AA2: axis2_handler_invoke (handler.c:93)
==15779==    by 0x408D730: axis2_phase_invoke (phase.c:213)
==15779==    by 0x4090D8D: axis2_engine_invoke_phases (engine.c:688)
==15779==    by 0x4091889: axis2_engine_receive (engine.c:249)
==15779==    by 0x4019DED: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:659)
==15779==    by 0x4016AFE: axis2_http_worker_process_request (http_worker.c:908)
==15779==    by 0x4123ED0: axis2_svr_thread_worker_func (http_svr_thread.c:259)
==15779==
==15779==
==15779== 656 (168 direct, 488 indirect) bytes in 3 blocks are definitely lost in loss record
36 of 46
==15779==    at 0x4005858: malloc (vg_replace_malloc.c:207)
==15779==    by 0x40E9411: rp_secpolicy_create (secpolicy.c:48)
==15779==    by 0x40E4294: rp_secpolicy_builder_build (secpolicy_builder.c:44)
==15779==    by 0x45C2473: ???
==15779==    by 0x45B1333: ???
==15779==    by 0x4087AA2: axis2_handler_invoke (handler.c:93)
==15779==    by 0x408D730: axis2_phase_invoke (phase.c:213)
==15779==    by 0x4090D8D: axis2_engine_invoke_phases (engine.c:688)
==15779==    by 0x4091889: axis2_engine_receive (engine.c:249)
==15779==    by 0x4019DED: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:659)
==15779==    by 0x4016AFE: axis2_http_worker_process_request (http_worker.c:908)
==15779==    by 0x4123ED0: axis2_svr_thread_worker_func (http_svr_thread.c:259)
==15779==
==15779==
==15779== 528 bytes in 12 blocks are definitely lost in loss record 38 of 46
==15779==    at 0x4005858: malloc (vg_replace_malloc.c:207)
==15779==    by 0x4051258: axutil_strdup (string.c:282)
==15779==    by 0x458A712: ???
==15779==    by 0x45BE7DC: ???
==15779==    by 0x45B857F: ???
==15779==    by 0x45B1474: ???
==15779==    by 0x4087AA2: axis2_handler_invoke (handler.c:93)
==15779==    by 0x408D730: axis2_phase_invoke (phase.c:213)
==15779==    by 0x4090D8D: axis2_engine_invoke_phases (engine.c:688)
==15779==    by 0x4091889: axis2_engine_receive (engine.c:249)
==15779==    by 0x4019DED: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:659)
==15779==    by 0x4016AFE: axis2_http_worker_process_request (http_worker.c:908)
==15779==
==15779==
==15779== 2,919 (48 direct, 2,871 indirect) bytes in 3 blocks are definitely lost in loss
record 39 of 46
==15779==    at 0x4005858: malloc (vg_replace_malloc.c:207)
==15779==    by 0x4563A55: ???
==15779==    by 0x4589D99: ???
==15779==    by 0x458A767: ???
==15779==    by 0x45BE7DC: ???
==15779==    by 0x45B857F: ???
==15779==    by 0x45B1474: ???
==15779==    by 0x4087AA2: axis2_handler_invoke (handler.c:93)
==15779==    by 0x408D730: axis2_phase_invoke (phase.c:213)
==15779==    by 0x4090D8D: axis2_engine_invoke_phases (engine.c:688)
==15779==    by 0x4091889: axis2_engine_receive (engine.c:249)
==15779==    by 0x4019DED: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:659)
==15779==
==15779==
==15779== 270 bytes in 6 blocks are definitely lost in loss record 40 of 46
==15779==    at 0x4005858: malloc (vg_replace_malloc.c:207)
==15779==    by 0x4564200: ???
==15779==    by 0x45875E7: ???
==15779==    by 0x45B8645: ???
==15779==    by 0x45B1474: ???
==15779==    by 0x4087AA2: axis2_handler_invoke (handler.c:93)
==15779==    by 0x408D730: axis2_phase_invoke (phase.c:213)
==15779==    by 0x4090D8D: axis2_engine_invoke_phases (engine.c:688)
==15779==    by 0x4091889: axis2_engine_receive (engine.c:249)
==15779==    by 0x4019DED: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:659)
==15779==    by 0x4016AFE: axis2_http_worker_process_request (http_worker.c:908)
==15779==    by 0x4123ED0: axis2_svr_thread_worker_func (http_svr_thread.c:259)
==15779==
==15779==
==15779== 6,183 (120 direct, 6,063 indirect) bytes in 3 blocks are definitely lost in loss
record 43 of 46
==15779==    at 0x4005858: malloc (vg_replace_malloc.c:207)
==15779==    by 0x4589505: ???
==15779==    by 0x4589A11: ???
==15779==    by 0x4589D30: ???
==15779==    by 0x458A4C2: ???
==15779==    by 0x45B4541: ???
==15779==    by 0x45B4A93: ???
==15779==    by 0x45BA1B4: ???
==15779==    by 0x45BA9DD: ???
==15779==    by 0x45B110C: ???
==15779==    by 0x4087AA2: axis2_handler_invoke (handler.c:93)
==15779==    by 0x408D730: axis2_phase_invoke (phase.c:213)
==15779==
==15779==
==15779== 126 bytes in 3 blocks are definitely lost in loss record 44 of 46
==15779==    at 0x4005858: malloc (vg_replace_malloc.c:207)
==15779==    by 0x721C71D: default_malloc_ex (mem.c:79)
==15779==    by 0x721CD9E: CRYPTO_malloc (mem.c:304)
==15779==    by 0x7251B0B: BN_bn2dec (bn_print.c:119)
==15779==    by 0x72B3C10: i2s_ASN1_INTEGER (v3_utl.c:153)
==15779==    by 0x456492C: ???
==15779==    by 0x4589A91: ???
==15779==    by 0x4589D30: ???
==15779==    by 0x458A4C2: ???
==15779==    by 0x45B4541: ???
==15779==    by 0x45B4A93: ???
==15779==    by 0x45BA1B4: ???


> rp_secpolicy_create memory leak
> -------------------------------
>
>                 Key: AXIS2C-1228
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1228
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: rampart
>    Affects Versions: Current (Nightly)
>         Environment: linux fc6
>            Reporter: Frederic Heem
>
> A memory has been detected for each invocation (5 in total) on the server:
> ==5603== 816 (280 direct, 536 indirect) bytes in 5 blocks are definitely lost in loss
record 46 of 55
> ==5603==    at 0x4005858: malloc (vg_replace_malloc.c:207)
> ==5603==    by 0x40E9411: rp_secpolicy_create (secpolicy.c:48)
> ==5603==    by 0x40E4294: rp_secpolicy_builder_build (secpolicy_builder.c:44)
> ==5603==    by 0x45C2473: ???
> ==5603==    by 0x45B1333: ???
> ==5603==    by 0x408799C: axis2_handler_invoke (handler.c:91)
> ==5603==    by 0x408D6D0: axis2_phase_invoke (phase.c:213)
> ==5603==    by 0x4090D2D: axis2_engine_invoke_phases (engine.c:688)
> ==5603==    by 0x4091829: axis2_engine_receive (engine.c:249)
> ==5603==    by 0x4019DCD: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:659)
> ==5603==    by 0x4016B03: axis2_http_worker_process_request (http_worker.c:908)
> ==5603==    by 0x4123ED0: axis2_svr_thread_worker_func (http_svr_thread.c:259)

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message