celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriele Ricciardi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CELIX-114) Potential deadlock in log_service bundle during stop
Date Tue, 29 Apr 2014 08:59:14 GMT
Gabriele Ricciardi created CELIX-114:

             Summary: 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
         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

View raw message