Return-Path: Delivered-To: apmail-apr-bugs-archive@www.apache.org Received: (qmail 64535 invoked from network); 13 Sep 2007 08:33:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Sep 2007 08:33:18 -0000 Received: (qmail 60445 invoked by uid 500); 13 Sep 2007 08:33:11 -0000 Delivered-To: apmail-apr-bugs-archive@apr.apache.org Received: (qmail 60425 invoked by uid 500); 13 Sep 2007 08:33:11 -0000 Mailing-List: contact bugs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apr.apache.org Delivered-To: mailing list bugs@apr.apache.org Received: (qmail 60414 invoked by uid 99); 13 Sep 2007 08:33:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 01:33:11 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 08:34:56 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 81C6271413F; Thu, 13 Sep 2007 01:32:55 -0700 (PDT) From: bugzilla@apache.org To: bugs@apr.apache.org Subject: DO NOT REPLY [Bug 43375] New: - Pool integrity check fails for apr threads Message-ID: X-Bugzilla-Reason: AssignedTo Date: Thu, 13 Sep 2007 01:32:55 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=43375 Summary: Pool integrity check fails for apr threads Product: APR Version: 1.2.8 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: APR AssignedTo: bugs@apr.apache.org ReportedBy: daniel.tacalau@avira.com apr_pool_check_integrity will assert at the ownership test for apr_thread_exit apr_thread_exit destroys a pool allocated on another thread. This pool is created in apr_thread_create and is the pool in which the thread resources are allocated (the pool belongs to the parent thread). So the thread trying to do destroy in apr_thread_exit does not have ownership of the pool. apr_thread_exit must be called from the thread who wants to exit since it calls pthread_exit. A solution to fix this would be for apr_thread_exit() to not call apr_pool_destroy() since it does not own the pool and leave this to the thread parent. This will comply with apr_pool_check_integrity requirements -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org For additional commands, e-mail: bugs-help@apr.apache.org