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

Frederic Heem commented on AXIS2C-1227:
---------------------------------------

By the way, there is another leak on the same scenario, msg_ctx is not being 
freed. 
==19049== 31,978 (528 direct, 31,450 indirect) bytes in 2 blocks are definitely 
lost in loss record 84 of 91
==19049==    at 0x4005858: malloc (vg_replace_malloc.c:207)
==19049==    by 0x8074862: axis2_msg_ctx_create (msg_ctx.c:230)
==19049==    by 0x4014823: axis2_http_worker_process_request (http_worker.c:279)
==19049==    by 0x4123ED0: axis2_svr_thread_worker_func (http_svr_thread.c:259)
==19049==    by 0x405EEE5: dummy_worker (thread_unix.c:93)
==19049==    by 0x8E145A: start_thread (in /lib/libpthread-2.5.so)
==19049==    by 0x71323D: clone (in /lib/libc-2.5.so)



> engine not freed when server return an error
> --------------------------------------------
>
>                 Key: AXIS2C-1227
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1227
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: linux fc6
>            Reporter: Frederic Heem
>         Attachments: http_worker.patch
>
>
> In http_worker.c at line 1181, the engine is created but not destroyed, this 
> happens when the server returns a fault.
> ==17539== 12 bytes in 3 blocks are definitely lost in loss record 4 of 103
> ==17539==    at 0x4005858: malloc (vg_replace_malloc.c:207)
> ==17539==    by 0x4091E75: axis2_engine_create (engine.c:52)
> ==17539==    by 0x4016B40: axis2_http_worker_process_request 
> (http_worker.c:1181)
> ==17539==    by 0x4123ED0: axis2_svr_thread_worker_func 
> (http_svr_thread.c:259)
> ==17539==    by 0x405EEE5: dummy_worker (thread_unix.c:93)
> ==17539==    by 0x8E145A: start_thread (in /lib/libpthread-2.5.so)
> ==17539==    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