Return-Path: X-Original-To: apmail-incubator-celix-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-celix-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D686111059 for ; Sun, 8 Jun 2014 20:58:01 +0000 (UTC) Received: (qmail 55251 invoked by uid 500); 8 Jun 2014 20:58:01 -0000 Delivered-To: apmail-incubator-celix-commits-archive@incubator.apache.org Received: (qmail 55220 invoked by uid 500); 8 Jun 2014 20:58:01 -0000 Mailing-List: contact celix-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: celix-dev@incubator.apache.org Delivered-To: mailing list celix-commits@incubator.apache.org Received: (qmail 55212 invoked by uid 99); 8 Jun 2014 20:58:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Jun 2014 20:58:01 +0000 Date: Sun, 8 Jun 2014 20:58:01 +0000 (UTC) From: "Bjoern Petri (JIRA)" To: celix-commits@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CELIX-114) Potential deadlock in log_service bundle during stop 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/CELIX-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bjoern Petri resolved CELIX-114. -------------------------------- Resolution: Fixed Assignee: Bjoern Petri patch committed for potential deadlock > Potential deadlock in log_service bundle during stop > ---------------------------------------------------- > > Key: CELIX-114 > URL: https://issues.apache.org/jira/browse/CELIX-114 > Project: Celix > Issue Type: Bug > Reporter: Gabriele Ricciardi > Assignee: Bjoern Petri > Attachments: log_service_deadlock_patch.tgz > > > In a non-sistematic way, the log_service bundle gets stuck during the framework shutdown phase. In particular, after analyzing the core file generated by the application abort, seems that a deadlock condition exists among the removeListener function (blocked on the apr_thread_join) and the logListener thread (waiting on a never-again signalled condition variable). > Attached a patch solving the issue -- This message was sent by Atlassian JIRA (v6.2#6252)