Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 57147 invoked from network); 10 Sep 2008 08:37:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Sep 2008 08:37:36 -0000 Received: (qmail 90353 invoked by uid 500); 10 Sep 2008 08:37:33 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 90337 invoked by uid 500); 10 Sep 2008 08:37:33 -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 90326 invoked by uid 99); 10 Sep 2008 08:37:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 01:37:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Wed, 10 Sep 2008 08:36:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9BA3C234C1D1 for ; Wed, 10 Sep 2008 01:36:45 -0700 (PDT) Message-ID: <2403580.1221035805636.JavaMail.jira@brutus> Date: Wed, 10 Sep 2008 01:36:45 -0700 (PDT) From: "Sebastien Bigot (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Created: (AXIS2C-1262) Leaking a axiom_soap_envelope_t in axiom_soap_builder_create error path MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Leaking a axiom_soap_envelope_t in axiom_soap_builder_create error path ----------------------------------------------------------------------- Key: AXIS2C-1262 URL: https://issues.apache.org/jira/browse/AXIS2C-1262 Project: Axis2-C Issue Type: Bug Components: xml/soap Affects Versions: 1.5.0 Reporter: Sebastien Bigot We're leaking memory in case we can't decode the soap envelope creating the axiom_soap_builder_t (in this case, wrong soap NS). [Wed Sep 10 09:58:33 2008] [error] soap_builder.c(886) AXIS2_ERROR_TRANSPORT_LEVEL_INFORMATION_DOES_NOT_MATCH_WITH_SOAP ==31384== 48 bytes in 1 blocks are definitely lost in loss record 2 of 3 ==31384== at 0x4A1A0A7: malloc (vg_replace_malloc.c:207) ==31384== by 0x6746A5: axutil_allocator_malloc_impl (allocator.c:78) ==31384== by 0x65E907: axiom_soap_envelope_create_null (soap_envelope.c:59) ==31384== by 0x66037A: axiom_soap_builder_construct_node (soap_builder.c:546) ==31384== by 0x65FE86: axiom_soap_builder_create_om_element (soap_builder.c:352) ==31384== by 0x65FD8D: axiom_soap_builder_next (soap_builder.c:314) ==31384== by 0x65FC19: axiom_soap_builder_get_soap_envelope (soap_builder.c:242) ==31384== by 0x660C98: axiom_soap_builder_identify_soap_version (soap_builder.c:844) ==31384== by 0x65F9C3: axiom_soap_builder_create (soap_builder.c:140) ==31384== by 0x4A5A82: cmg::axis::CreateSoapBuilder(boost::shared_ptr const&, boost::shared_ptr const&) (Axis.cpp:123) ==31384== by 0x56B0F7: cmg::transport::ConvMapperSoapInterface::decode(CMG_Message&) (ConvMapperSoapInterface.cpp:65) ==31384== by 0x43954A: testNew1ASoapConvMapper() (CMG_Tests1ASoap.cpp:80) ==31384== by 0x439865: Test1ASoap() (CMG_Tests1ASoap.cpp:216) ==31384== by 0x437DA5: Interactive() (CMG_Tests.cpp:362) ==31384== by 0x43847F: main (CMG_Tests.cpp:643) -- 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