[
https://issues.apache.org/jira/browse/FELIX-2913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019393#comment-13019393
]
Stephane Chomat commented on FELIX-2913:
----------------------------------------
Thread [main] (Suspended)
waiting for: Integer (id=101)
Object.wait(long) line: not available [native method]
Integer(Object).wait() line: 485 [local variables unavailable]
StartLevelImpl.setStartLevelAndWait(int) line: 129
Felix.start() line: 825
Main.launch() line: 269
Main.main(String[]) line: 422
Daemon Thread [Blueprint Extender: 3] (Suspended)
owns: AsmProxyManager (id=90)
owns: Object (id=91)
owns: AtomicBoolean (id=92)
owns: AtomicBoolean (id=93)
waiting for: Object[] (id=89)
Object.wait(long) line: not available [native method]
Object[](Object).wait() line: 485
Felix.acquireBundleLock(BundleImpl, int) line: 4930
Felix.addBundleListener(BundleImpl, BundleListener) line: 2724
BundleContextImpl.addBundleListener(BundleListener) line: 199
DefaultWorker.setupListener(Bundle) line: 86
DefaultWorker.getClassLoader(Bundle) line: 73
AriesFrameworkUtil.getClassLoaderForced(Bundle) line: 92
AsmProxyManager(AbstractProxyManager).getClassLoader(Bundle,
Collection<Class<?>>) line: 93
AsmProxyManager.createNewProxy(Bundle, Collection<Class<?>>,
InvocationHandler) line: 84
AsmProxyManager(AbstractProxyManager).createProxy(Bundle,
Collection<Class<?>>, Callable<Object>, InvocationHandlerWrapper) line: 50
AsmProxyManager(AbstractProxyManager).createProxy(Bundle,
Collection<Class<?>>, Callable<Object>) line: 39
ReferenceRecipe(AbstractServiceReferenceRecipe).createProxy(Callable<Object>,
Set<Class<?>>) line: 236
ReferenceRecipe.internalCreate() line: 82
ReferenceRecipe(AbstractRecipe).create() line: 64
BlueprintRepository.createInstances(Collection<String>) line: 219
BlueprintRepository.createAll(Collection<String>) line: 147
BlueprintContainerImpl.instantiateEagerComponents() line: 640
BlueprintContainerImpl.doRun() line: 331
BlueprintContainerImpl.run() line: 227
Executors$RunnableAdapter<T>.call() line: 441
FutureTask$Sync.innerRun() line: 303
ScheduledThreadPoolExecutor$ScheduledFutureTask<V>(FutureTask<V>).run()
line: 138
ScheduledThreadPoolExecutor$ScheduledFutureTask<V>.access$301(ScheduledThreadPoolExecutor$ScheduledFutureTask)
line: 98
ScheduledThreadPoolExecutor$ScheduledFutureTask<V>.run() line: 206
ThreadPoolExecutor$Worker.runTask(Runnable) line: 886
ThreadPoolExecutor$Worker.run() line: 908
Thread.run() line: 680
Daemon Thread [FelixStartLevel] (Suspended)
waiting for: AtomicBoolean (id=93)
owned by: Daemon Thread [Blueprint Extender: 3] (Suspended)
waiting for: Object[] (id=89)
BlueprintContainerImpl.destroy() line: 826
BlueprintExtender.destroyContext(Bundle) line: 250
BlueprintExtender.bundleChanged(BundleEvent) line: 242
BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(Bundle,
BundleEvent, Object) line: 431
BundleTracker$Tracked.customizerModified(Object, Object, Object) line:
453
BundleTracker$Tracked(AbstractTracked).track(Object, Object) line: 237
BundleTracker$Tracked.bundleChanged(BundleEvent) line: 413
EventDispatcher.invokeBundleListenerCallback(Bundle, EventListener,
EventObject) line: 807
EventDispatcher.fireEventImmediately(EventDispatcher, int, Object[],
EventObject, Dictionary) line: 729
EventDispatcher.fireBundleEvent(BundleEvent) line: 610
Felix.fireBundleEvent(int, Bundle) line: 3883
Felix.stopBundle(BundleImpl, boolean) line: 2216
Felix.setActiveStartLevel(int) line: 1202
StartLevelImpl.run() line: 264
Thread.run() line: 680 [local variables unavailable]
> Deadlock in some case
> ---------------------
>
> Key: FELIX-2913
> URL: https://issues.apache.org/jira/browse/FELIX-2913
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: framework-3.2.0
> Environment: mac os x
> Reporter: Stephane Chomat
> Priority: Critical
>
> I met a deadlock problem with felix 3.2.0.
> There is no problem with felix 3.0.9
> A thread waits on m_bundleLockObject in method acquireBundleLock and
> m_globalLockThread is null and m_globalLockCount equals to 0
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira