Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 78724 invoked from network); 8 Sep 2009 20:22:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Sep 2009 20:22:21 -0000 Received: (qmail 54865 invoked by uid 500); 8 Sep 2009 20:22:21 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 54752 invoked by uid 500); 8 Sep 2009 20:22:20 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 54731 invoked by uid 99); 8 Sep 2009 20:22:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 20:22:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 20:22:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 584A3234C4D1 for ; Tue, 8 Sep 2009 13:21:58 -0700 (PDT) Message-ID: <1775456166.1252441318360.JavaMail.jira@brutus> Date: Tue, 8 Sep 2009 13:21:58 -0700 (PDT) From: "Richard S. Hall (JIRA)" To: dev@felix.apache.org Subject: [jira] Updated: (FELIX-1565) Deadlock UrlHandlers In-Reply-To: <1385304643.1252383537648.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-1565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard S. Hall updated FELIX-1565: ----------------------------------- Fix Version/s: felix-2.2.0 > Deadlock UrlHandlers > -------------------- > > Key: FELIX-1565 > URL: https://issues.apache.org/jira/browse/FELIX-1565 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-1.8.1 > Environment: java version "1.6.0_14" > Java(TM) SE Runtime Environment (build 1.6.0_14-b08) > Java HotSpot(TM) Server VM (build 14.0-b16, mixed mode) > Linux > Reporter: Don Brown > Assignee: Karl Pauls > Fix For: felix-2.2.0 > > > I'm getting a deadlock quite frequently in the URLHandlers class during our unit tests: > build 07-Sep-2009 23:13:49 Java stack information for the threads listed above: > build 07-Sep-2009 23:13:49 =================================================== > build 07-Sep-2009 23:13:49 "FelixShutdown": > build 07-Sep-2009 23:13:49 at org.apache.felix.framework.URLHandlers.unregisterFrameworkListsForContextSearch(URLHandlers.java:265) > build 07-Sep-2009 23:13:49 - waiting to lock <0xb41335e0> (a java.util.HashMap) > build 07-Sep-2009 23:13:49 - locked <0xb00fd0e8> (a java.lang.Class for java.net.URL) > build 07-Sep-2009 23:13:49 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > build 07-Sep-2009 23:13:49 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > build 07-Sep-2009 23:13:49 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > build 07-Sep-2009 23:13:49 at java.lang.reflect.Method.invoke(Method.java:597) > build 07-Sep-2009 23:13:49 at org.apache.felix.framework.util.SecureAction.invoke(SecureAction.java:763) > build 07-Sep-2009 23:13:49 at org.apache.felix.framework.URLHandlers.unregisterFrameworkInstance(URLHandlers.java:533) > build 07-Sep-2009 23:13:49 - locked <0xb4133590> (a java.util.ArrayList) > build 07-Sep-2009 23:13:49 at org.apache.felix.framework.URLHandlersActivator.stop(URLHandlersActivator.java:63) > build 07-Sep-2009 23:13:49 at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:611) > build 07-Sep-2009 23:13:49 at org.apache.felix.framework.Felix$SystemBundleActivator.run(Felix.java:4041) > build 07-Sep-2009 23:13:49 at java.lang.Thread.run(Thread.java:619) > build 07-Sep-2009 23:13:49 "main": > build 07-Sep-2009 23:13:49 at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:571) > build 07-Sep-2009 23:13:49 - waiting to lock <0xb4133590> (a java.util.ArrayList) > build 07-Sep-2009 23:13:49 - locked <0xb41335e0> (a java.util.HashMap) > build 07-Sep-2009 23:13:49 at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:465) > build 07-Sep-2009 23:13:49 at org.apache.felix.framework.URLHandlersStreamHandlerProxy.hashCode(URLHandlersStreamHandlerProxy.java:225) > build 07-Sep-2009 23:13:49 at java.net.URL.hashCode(URL.java:857) > build 07-Sep-2009 23:13:49 - locked <0xefb8c0a8> (a java.net.URL) > build 07-Sep-2009 23:13:49 at java.util.HashMap.get(HashMap.java:300) > build 07-Sep-2009 23:13:49 at sun.net.www.protocol.jar.JarFileFactory.getCachedJarFile(JarFileFactory.java:90) > build 07-Sep-2009 23:13:49 at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:50) > build 07-Sep-2009 23:13:49 - locked <0xb40027d8> (a sun.net.www.protocol.jar.JarFileFactory) > build 07-Sep-2009 23:13:49 at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104) > build 07-Sep-2009 23:13:49 at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132) > build 07-Sep-2009 23:13:49 at java.net.URL.openStream(URL.java:1009) > build 07-Sep-2009 23:13:49 at aQute.lib.osgi.Analyzer.getBndManifest(Analyzer.java:591) > build 07-Sep-2009 23:13:49 at aQute.lib.osgi.Analyzer.getVersion(Analyzer.java:554) > build 07-Sep-2009 23:13:49 at aQute.lib.osgi.Analyzer.calcManifest(Analyzer.java:303) > build 07-Sep-2009 23:13:49 at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.determineExports(ExportsBuilder.java:84) > build 07-Sep-2009 23:13:49 at com.atlassian.plugin.osgi.container.felix.TestExportsBuilder.testDetermineExportsIncludeServiceInterfaces(TestExportsBuilder.java:68) > build 07-Sep-2009 23:13:49 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > build 07-Sep-2009 23:13:49 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > build 07-Sep-2009 23:13:49 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > build 07-Sep-2009 23:13:49 at java.lang.reflect.Method.invoke(Method.java:597) > build 07-Sep-2009 23:13:49 at junit.framework.TestCase.runTest(TestCase.java:154) > build 07-Sep-2009 23:13:49 at junit.framework.TestCase.runBare(TestCase.java:127) > build 07-Sep-2009 23:13:49 at junit.framework.TestResult$1.protect(TestResult.java:106) > build 07-Sep-2009 23:13:49 at junit.framework.TestResult.runProtected(TestResult.java:124) > build 07-Sep-2009 23:13:49 at junit.framework.TestResult.run(TestResult.java:109) > build 07-Sep-2009 23:13:49 at junit.framework.TestCase.run(TestCase.java:118) > build 07-Sep-2009 23:13:49 at junit.framework.TestSuite.runTest(TestSuite.java:208) > build 07-Sep-2009 23:13:49 at junit.framework.TestSuite.run(TestSuite.java:203) > build 07-Sep-2009 23:13:49 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.