You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2011/03/10 22:12:59 UTC

[jira] Resolved: (FELIX-1816) deadlock on SystemBundle.stop()

     [ https://issues.apache.org/jira/browse/FELIX-1816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall resolved FELIX-1816.
------------------------------------

    Resolution: Fixed
      Assignee: Richard S. Hall  (was: Karl Pauls)

I committed a patch to move the shutdown thread out further so that the calling thread doesn't attempt to lock the system bundle, thus allowing it to return immediately and avoiding the deadlock.

> deadlock on SystemBundle.stop()
> -------------------------------
>
>                 Key: FELIX-1816
>                 URL: https://issues.apache.org/jira/browse/FELIX-1816
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-2.0.1
>            Reporter: Dennis Geurts
>            Assignee: Richard S. Hall
>             Fix For: framework-3.2.0
>
>         Attachments: Activator.java, felix-framework-2.0.1.tar.gz, trace-nohook.log, trace.log
>
>
> When one calls SystemBundle.stop within BundleActivator.start(BundleContext) a deadlock occurs.
> I will attach a stacktrace.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira