Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 91292 invoked from network); 10 Nov 2008 13:58:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Nov 2008 13:58:26 -0000 Received: (qmail 42956 invoked by uid 500); 10 Nov 2008 13:58:33 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 42924 invoked by uid 500); 10 Nov 2008 13:58:33 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 42913 invoked by uid 99); 10 Nov 2008 13:58:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 05:58:33 -0800 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; Mon, 10 Nov 2008 13:57:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 80A34234C28D for ; Mon, 10 Nov 2008 05:58:05 -0800 (PST) Message-ID: <1215940845.1226325485525.JavaMail.jira@brutus> Date: Mon, 10 Nov 2008 05:58:05 -0800 (PST) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQCPP-203) Segmentation Fault in Integration tests occurs occasionally. In-Reply-To: <2023082075.1225721465399.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/activemq/browse/AMQCPP-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47220#action_47220 ] Timothy Bish commented on AMQCPP-203: ------------------------------------- This is an odd one. If I were to guess I'd say that what might be happening is the the threads aren't shutting down and freeing up their child pools from the global apr pool before the application terminates and we free the APR global APR pool. This is odd since all the threads I've found so far are joined as we are shutting down, at least all the one's I've found so far are. The join methods on CentOS did seem to return and allow the main thread to become runnable slightly faster than on my Fedora system which played a part in many of the errors we initially saw and fixed. The pools mechanism in APR is a bit frustrating at times. > Segmentation Fault in Integration tests occurs occasionally. > ------------------------------------------------------------ > > Key: AMQCPP-203 > URL: https://issues.apache.org/activemq/browse/AMQCPP-203 > Project: ActiveMQ C++ Client > Issue Type: Sub-task > Components: Integration Tests > Affects Versions: 2.2.1 > Environment: CentOS 5.2 / REHL / Fedora 9 > Reporter: Timothy Bish > Assignee: Timothy Bish > Fix For: 2.2.2 > > Attachments: BufferedInputStream.cpp.patch, segfault.6517.tar.gz, segfault.bufferedinputstream.log.gz, segfaults.barak.tar.gz, segfaults.tar.gz, weekend.puzzle.tar.gz > > > While running the integration tests in a long loop an occasional Segmentation fault has been seen. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.