Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 50032 invoked from network); 22 May 2008 14:22:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 May 2008 14:22:28 -0000 Received: (qmail 22254 invoked by uid 500); 22 May 2008 14:22:19 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 22241 invoked by uid 500); 22 May 2008 14:22:19 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 22220 invoked by uid 99); 22 May 2008 14:22:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 May 2008 07:22:19 -0700 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 May 2008 14:21:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CCAD2234C120 for ; Thu, 22 May 2008 07:21:56 -0700 (PDT) Message-ID: <1583963040.1211466116836.JavaMail.jira@brutus> Date: Thu, 22 May 2008 07:21:56 -0700 (PDT) From: "Milinda Lakmal Pathirage (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2C-1149) memory leak in mtom In-Reply-To: <1053500437.1211365075643.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Milinda Lakmal Pathirage resolved AXIS2C-1149. ---------------------------------------------- Resolution: Fixed Fix Version/s: Current (Nightly) Fixed in current SVN trunk. > memory leak in mtom > ------------------- > > Key: AXIS2C-1149 > URL: https://issues.apache.org/jira/browse/AXIS2C-1149 > Project: Axis2-C > Issue Type: Bug > Affects Versions: 1.4.0 > Environment: linux fc5 > Reporter: Frederic Heem > Assignee: Milinda Lakmal Pathirage > Priority: Minor > Fix For: Current (Nightly) > > > [heefre@heefre mtom]$ valgrind --leak-check=full ./mtom > ==14639== Memcheck, a memory error detector. > ==14639== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. > ==14639== Using LibVEX rev 1804, a library for dynamic binary translation. > ==14639== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. > ==14639== Using valgrind-3.3.0, a dynamic binary instrumentation framework. > ==14639== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. > ==14639== For more details, rerun with: -v > ==14639== > Using endpoint : http://localhost:9090/axis2/services/mtom > test.jpg > Received OM : > mtom client invoke SUCCESSFUL! > ==14639== > ==14639== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 49 from 1) > ==14639== malloc/free: in use at exit: 3,285 bytes in 12 blocks. > ==14639== malloc/free: 19,598 allocs, 19,586 frees, 1,052,487 bytes allocated. > ==14639== For counts of detected errors, rerun with: -v > ==14639== searching for pointers to 12 not-freed blocks. > ==14639== checked 286,248 bytes. > ==14639== > ==14639== 90 (16 direct, 74 indirect) bytes in 1 blocks are definitely lost in loss record 2 of 9 > ==14639== at 0x4005828: malloc (vg_replace_malloc.c:207) > ==14639== by 0x40E264C: axiom_namespace_create (om_namespace.c:51) > ==14639== by 0x40DD867: axiom_text_serialize (om_text.c:399) > ==14639== by 0x40DC500: axiom_node_serialize (om_node.c:480) > ==14639== by 0x40DC841: axiom_node_to_string (om_node.c:1196) > ==14639== by 0x8049024: build_om_programatically (mtom_client.c:211) > ==14639== by 0x80491CC: main (mtom_client.c:122) > ==14639== > ==14639== > ==14639== 49 bytes in 1 blocks are definitely lost in loss record 5 of 9 > ==14639== at 0x4005828: malloc (vg_replace_malloc.c:207) > ==14639== by 0x4116118: axutil_strdup (string.c:282) > ==14639== by 0x405C7D6: axis2_http_transport_utils_get_value_from_content_type (http_transport_utils.c:2113) > ==14639== by 0x405F30F: axis2_http_transport_utils_create_soap_msg (http_transport_utils.c:1903) > ==14639== by 0x408D846: axis2_http_transport_sender_write_message (http_transport_sender.c:800) > ==14639== by 0x408E10D: axis2_http_transport_sender_invoke (http_transport_sender.c:309) > ==14639== by 0x402B876: axis2_engine_send (engine.c:176) > ==14639== by 0x4052787: axis2_op_client_two_way_send (op_client.c:1140) > ==14639== by 0x4053F8C: axis2_op_client_execute (op_client.c:500) > ==14639== by 0x40563F8: axis2_svc_client_send_receive_with_op_qname (svc_client.c:851) > ==14639== by 0x40566B2: axis2_svc_client_send_receive (svc_client.c:949) > ==14639== by 0x80491DF: main (mtom_client.c:126) > ==14639== > ==14639== > ==14639== 786 bytes in 1 blocks are definitely lost in loss record 7 of 9 > ==14639== at 0x4005828: malloc (vg_replace_malloc.c:207) > ==14639== by 0x40F0B13: axiom_mime_parser_parse (mime_parser.c:265) > ==14639== by 0x405F675: axis2_http_transport_utils_create_soap_msg (http_transport_utils.c:1956) > ==14639== by 0x408D846: axis2_http_transport_sender_write_message (http_transport_sender.c:800) > ==14639== by 0x408E10D: axis2_http_transport_sender_invoke (http_transport_sender.c:309) > ==14639== by 0x402B876: axis2_engine_send (engine.c:176) > ==14639== by 0x4052787: axis2_op_client_two_way_send (op_client.c:1140) > ==14639== by 0x4053F8C: axis2_op_client_execute (op_client.c:500) > ==14639== by 0x40563F8: axis2_svc_client_send_receive_with_op_qname (svc_client.c:851) > ==14639== by 0x40566B2: axis2_svc_client_send_receive (svc_client.c:949) > ==14639== by 0x80491DF: main (mtom_client.c:126) > ==14639== > ==14639== > ==14639== 2,092 (44 direct, 2,048 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 9 > ==14639== at 0x4005828: malloc (vg_replace_malloc.c:207) > ==14639== by 0x4114095: axutil_stream_create_internal (stream.c:84) > ==14639== by 0x41144E4: axutil_stream_create_basic (stream.c:234) > ==14639== by 0x405F424: axis2_http_transport_utils_create_soap_msg (http_transport_utils.c:1972) > ==14639== by 0x408D846: axis2_http_transport_sender_write_message (http_transport_sender.c:800) > ==14639== by 0x408E10D: axis2_http_transport_sender_invoke (http_transport_sender.c:309) > ==14639== by 0x402B876: axis2_engine_send (engine.c:176) > ==14639== by 0x4052787: axis2_op_client_two_way_send (op_client.c:1140) > ==14639== by 0x4053F8C: axis2_op_client_execute (op_client.c:500) > ==14639== by 0x40563F8: axis2_svc_client_send_receive_with_op_qname (svc_client.c:851) > ==14639== by 0x40566B2: axis2_svc_client_send_receive (svc_client.c:949) > ==14639== by 0x80491DF: main (mtom_client.c:126) > ==14639== > ==14639== LEAK SUMMARY: > ==14639== definitely lost: 895 bytes in 4 blocks. > ==14639== indirectly lost: 2,122 bytes in 5 blocks. > ==14639== possibly lost: 0 bytes in 0 blocks. > ==14639== still reachable: 268 bytes in 3 blocks. > ==14639== suppressed: 0 bytes in 0 blocks. > ==14639== Reachable blocks (those to which a pointer was found) are not shown. > ==14639== To see them, rerun with: --leak-check=full --show-reachable=yes -- 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