Return-Path: X-Original-To: apmail-axis-c-dev-archive@www.apache.org Delivered-To: apmail-axis-c-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7F656D108 for ; Wed, 14 Nov 2012 13:10:15 +0000 (UTC) Received: (qmail 44176 invoked by uid 500); 14 Nov 2012 13:10:14 -0000 Delivered-To: apmail-axis-c-dev-archive@axis.apache.org Received: (qmail 43725 invoked by uid 500); 14 Nov 2012 13:10:13 -0000 Mailing-List: contact c-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list c-dev@axis.apache.org Received: (qmail 43673 invoked by uid 99); 14 Nov 2012 13:10:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 13:10:12 +0000 Date: Wed, 14 Nov 2012 13:10:12 +0000 (UTC) From: "Alex Mantaut (JIRA)" To: c-dev@axis.apache.org Message-ID: <1958837948.113672.1352898612814.JavaMail.jiratomcat@arcas> In-Reply-To: <892137578.39109.1338896123267.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (AXIS2C-1595) Memory leak in src/core/transport/http/common/http_worker.c: array_list allocated by axutil_tokenize() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2C-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497079#comment-13497079 ] Alex Mantaut commented on AXIS2C-1595: -------------------------------------- Ivan, Can you attach a test case for this leaks? > Memory leak in src/core/transport/http/common/http_worker.c: array_list allocated by axutil_tokenize() > ------------------------------------------------------------------------------------------------------ > > Key: AXIS2C-1595 > URL: https://issues.apache.org/jira/browse/AXIS2C-1595 > Project: Axis2-C > Issue Type: Bug > Components: transport/http > Affects Versions: Current (Nightly) > Reporter: Ivan Pechorin > Attachments: axis2-c-http_worker-arraylist-leak.diff, axis2-c-http_worker-request_params.diff > > > There are 3 places in src/core/transport/http/common/http_worker.c where axutil_tokenize() is called, but the axutil_array_list_t allocated inside it is not freed. > HP aC++ on HP-UX reports these leaks with the same call stacks: > These range in size from 80 to 80 bytes and are allocated > #0 axutil_allocator_malloc_impl() at allocator.c:99 > #1 axutil_array_list_create() at array_list.c:57 > #2 axutil_tokenize() at string_util.c:40 > #3 axis2_http_worker_process_request() at http_worker.c:312 > 80 bytes leaked at 0x60000000013b3f10 (0.18% of all bytes leaked) > #0 axutil_allocator_malloc_impl() at allocator.c:99 > #1 axutil_array_list_create() at array_list.c:57 > #2 axutil_tokenize() at string_util.c:40 > #3 axis2_http_worker_process_request() at http_worker.c:350 > 80 bytes leaked at 0x60000000013b3f10 (0.18% of all bytes leaked) > #0 axutil_allocator_malloc_impl() at allocator.c:99 > #1 axutil_array_list_create() at array_list.c:57 > #2 axutil_tokenize() at string_util.c:40 > #3 axis2_http_worker_process_request() at http_worker.c:395 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org For additional commands, e-mail: c-dev-help@axis.apache.org