Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-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 13FD970FC for ; Tue, 4 Oct 2011 12:29:59 +0000 (UTC) Received: (qmail 89433 invoked by uid 500); 4 Oct 2011 12:29:58 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 88888 invoked by uid 500); 4 Oct 2011 12:29:58 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 88693 invoked by uid 99); 4 Oct 2011 12:29:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2011 12:29:57 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2011 12:29:55 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EEF8F2A879C for ; Tue, 4 Oct 2011 12:29:33 +0000 (UTC) Date: Tue, 4 Oct 2011 12:29:33 +0000 (UTC) From: "Kristian Waagan (Created) (JIRA)" To: derby-dev@db.apache.org Message-ID: <2086804739.6936.1317731373980.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (DERBY-5444) SpawnedProcess.complete may fail to destroy the process when a timeout is specified 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 SpawnedProcess.complete may fail to destroy the process when a timeout is specified ----------------------------------------------------------------------------------- Key: DERBY-5444 URL: https://issues.apache.org/jira/browse/DERBY-5444 Project: Derby Issue Type: Bug Components: Test Affects Versions: 10.9.0.0 Reporter: Kristian Waagan Assignee: Kristian Waagan The logic in SpawnedProcess has a weakness that may result in the wrapped process not being destroyed if the destroy variable is false and a timeout is specified. The problem is that the while condition will shortcut the if condition in the catch clause (where destroy is set to true if the timeout is exceeded). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira