Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 39333 invoked from network); 27 Aug 2010 12:59:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Aug 2010 12:59:39 -0000 Received: (qmail 1099 invoked by uid 500); 27 Aug 2010 12:59:38 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 99527 invoked by uid 500); 27 Aug 2010 12:59:35 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 99294 invoked by uid 99); 27 Aug 2010 12:59:34 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Aug 2010 12:59:34 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Aug 2010 12:59:16 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7RCwt2A001631 for ; Fri, 27 Aug 2010 12:58:55 GMT Message-ID: <8401684.30671282913935456.JavaMail.jira@thor> Date: Fri, 27 Aug 2010 08:58:55 -0400 (EDT) From: "Harald Kirsch (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (SANDBOX-328) StageException causes RuntimeError and haning threads with DedicatedThreadStageDriverFactory In-Reply-To: <31734866.30631282913754946.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SANDBOX-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harald Kirsch updated SANDBOX-328: ---------------------------------- Attachment: ShowBug.java Demonstrates the problem. > StageException causes RuntimeError and haning threads with DedicatedThreadStageDriverFactory > -------------------------------------------------------------------------------------------- > > Key: SANDBOX-328 > URL: https://issues.apache.org/jira/browse/SANDBOX-328 > Project: Commons Sandbox > Issue Type: Bug > Components: Pipeline > Environment: I used this revision from subversion: > URL: http://svn.apache.org/repos/asf/commons/sandbox/pipeline/trunk > Repository Root: http://svn.apache.org/repos/asf > Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 > Revision: 989116 > Reporter: Harald Kirsch > Attachments: ShowBug.java > > > The attached code runs a pipeline with a single stage having a DedicatedThreadStageDriverFactory. When the stage throws an exception, threads cannot be properly cleaned up again. > Please run the attached code on the command line without arguments. You will see that the program prints an exception but then does not finished, most likely because a thread does not finish properly. > When run with an argument, the stage does not throw and program exits as expected. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.