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] Created: (AXIS2C-1221) memoty leak in http receiver
Date Tue, 01 Jul 2008 14:00:45 GMT
memoty leak in http receiver
----------------------------

                 Key: AXIS2C-1221
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1221
             Project: Axis2-C
          Issue Type: Bug
          Components: transport/http
    Affects Versions: Current (Nightly)
         Environment: linux fc6
            Reporter: Frederic Heem


This a new memory leak in the http receiver, the request being received is:
POST /axis2/services/zigbee HTTP/1.1
User-Agent: Axis2C/1.4.0
Content-Length: 337
Content-Type: application/soap+xml;charset=UTF-8;action="SetDeviceName"
Host: localhost:9090

<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header></soapenv:Header><soapenv:Body><n:SetDeviceNameRequestParam
xmlns:n="http://www.telsey.com/DPWS/2008/03/Zigbee"><n:eui64Address>000d6f0000096da5</n:eui64Address><n:name>pippo</n:name></n:SetDeviceNameRequestParam></soapenv:Body></soapenv:Envelope>

Here is the valgrind output:
==23841== 30 (16 direct, 14 indirect) bytes in 1 blocks are definitely lost in loss record
24 of 34
==23841==    at 0x4005858: malloc (vg_replace_malloc.c:207)
==23841==    by 0x40517EC: axutil_string_create (string.c:52)
==23841==    by 0x4019F7B: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:464)
==23841==    by 0x4016B03: axis2_http_worker_process_request (http_worker.c:908)
==23841==    by 0x4123ED0: axis2_svr_thread_worker_func (http_svr_thread.c:259)
==23841==    by 0x405EEE5: dummy_worker (thread_unix.c:93)
==23841==    by 0x8E145A: start_thread (in /lib/libpthread-2.5.so)
==23841==    by 0x71323D: clone (in /lib/libc-2.5.so)
==23841==
==23841==
==23841== 31 bytes in 2 blocks are definitely lost in loss record 27 of 34
==23841==    at 0x4005858: malloc (vg_replace_malloc.c:207)
==23841==    by 0x4051258: axutil_strdup (string.c:282)
==23841==    by 0x4017D96: axis2_http_transport_utils_get_value_from_content_type (http_transport_utils.c:2191)
==23841==    by 0x40199D0: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:319)
==23841==    by 0x4016B03: axis2_http_worker_process_request (http_worker.c:908)
==23841==    by 0x4123ED0: axis2_svr_thread_worker_func (http_svr_thread.c:259)
==23841==    by 0x405EEE5: dummy_worker (thread_unix.c:93)
==23841==    by 0x8E145A: start_thread (in /lib/libpthread-2.5.so)
==23841==    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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message