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

Guillaume Sauthier reassigned FELIX-4108:
-----------------------------------------

    Assignee: Guillaume Sauthier
    
> Deadlock in the new extender
> ----------------------------
>
>                 Key: FELIX-4108
>                 URL: https://issues.apache.org/jira/browse/FELIX-4108
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: ipojo-runtime-1.10
>            Reporter: Clement Escoffier
>            Assignee: Guillaume Sauthier
>             Fix For: ipojo-runtime-1.10.1
>
>
> Here is the deadlock trace:
> State: BLOCKED on org.apache.felix.ipojo.InstanceManager@31f94 owned by: 
> FelixStartLevel
> Total blocked: 2  Total waited: 1
> Stack trace: 
>  org.apache.felix.ipojo.InstanceManager.getState(InstanceManager.java:585)
> org.apache.felix.ipojo.IPojoFactory.stop(IPojoFactory.java:568)
>    - locked org.apache.felix.ipojo.ComponentFactory@59a6b5
> org.apache.felix.ipojo.IPojoFactory.dispose(IPojoFactory.java:591)
>    - locked org.apache.felix.ipojo.ComponentFactory@59a6b5
> org.apache.felix.ipojo.extender.internal.linker.ManagedType.stop(ManagedType.java:167)
> org.apache.felix.ipojo.extender.internal.linker.DeclarationLinker.removedService(DeclarationLinker.java:107)
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:956)
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:864)
> org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)
> org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:902)
> org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
> org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
> org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
> org.apache.felix.framework.Felix.access$000(Felix.java:74)
> org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:401)
> org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:151)
> org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:127)
> org.apache.felix.framework.ServiceRegistry.unregisterServices(ServiceRegistry.java:196)
> org.apache.felix.framework.Felix.stopBundle(Felix.java:2555)
> org.apache.felix.framework.BundleImpl.stop(BundleImpl.java:991)
> org.apache.felix.fileinstall.internal.DirectoryWatcher.stopTransient(DirectoryWatcher.java:1103)
> org.apache.felix.fileinstall.internal.DirectoryWatcher.installOrUpdateBundle(DirectoryWatcher.java:954)
> org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:877)
> org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:790)
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:428)
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:245)
> END OF FIRST TRACE
> ---------------------------------------------------------------------------------------------------------
> Name: FelixStartLevel
> State: BLOCKED on org.apache.felix.ipojo.ComponentFactory@59a6b5 owned by: 
> fileinstall-/home/torito/workspace/iCasa/iCasaPlatform/tests/core-platform-tests/distributions-test/icasa-distribution-test/target/distribution/icasa.platform.distribution/load
> Total blocked: 65  Total waited: 55
> Stack trace: 
>  org.apache.felix.ipojo.IPojoFactory.disposed(IPojoFactory.java:724)
> org.apache.felix.ipojo.InstanceManager.dispose(InstanceManager.java:497)
>    - locked org.apache.felix.ipojo.InstanceManager@31f94
> org.apache.felix.ipojo.extender.internal.linker.ManagedType$InstanceSupport.removedService(ManagedType.java:346)
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:956)
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:864)
> org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)
> org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:902)
> org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
> org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
> org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
> org.apache.felix.framework.Felix.access$000(Felix.java:74)
> org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:401)
> org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:151)
> org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:127)
> org.apache.felix.ipojo.extender.internal.AbstractService.stop(AbstractService.java:73)
> org.apache.felix.ipojo.extender.internal.processor.ComponentsBundleProcessor$ComponentsAndInstances.stop(ComponentsBundleProcessor.java:220)
> org.apache.felix.ipojo.extender.internal.processor.ComponentsBundleProcessor.deactivate(ComponentsBundleProcessor.java:112)
> org.apache.felix.ipojo.extender.internal.processor.ForwardingBundleProcessor.deactivate(ForwardingBundleProcessor.java:42)
> org.apache.felix.ipojo.extender.internal.processor.ChainedBundleProcessor.deactivate(ChainedBundleProcessor.java:100)
> org.apache.felix.ipojo.extender.internal.Extender$1.removedBundle(Extender.java:173)
> org.osgi.util.tracker.BundleTracker$Tracked.customizerRemoved(BundleTracker.java:491)
> org.osgi.util.tracker.BundleTracker$Tracked.customizerRemoved(BundleTracker.java:414)
> org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)
> org.osgi.util.tracker.BundleTracker.close(BundleTracker.java:192)
> org.apache.felix.ipojo.extender.internal.Extender.stop(Extender.java:189)
> org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
> org.apache.felix.framework.Felix.stopBundle(Felix.java:2530)
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309)
> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
> java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to