karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Grzybek (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-5184) ClassLoader leak when org.apache.karaf.shell.core bundle is refreshed
Date Thu, 08 Jun 2017 08:34:18 GMT
Grzegorz Grzybek created KARAF-5184:
---------------------------------------

             Summary: ClassLoader leak when org.apache.karaf.shell.core bundle is refreshed
                 Key: KARAF-5184
                 URL: https://issues.apache.org/jira/browse/KARAF-5184
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 4.1.1
            Reporter: Grzegorz Grzybek
            Assignee: Grzegorz Grzybek
             Fix For: 4.2.0, 4.1.2


I have this chain of references leading to old BundleRevision of {{org.apache.karaf.shell.core}}
bundle:
{noformat}
this     - value: org.apache.felix.framework.BundleWiringImpl #14
 <- m_wiring     - class: org.apache.felix.framework.BundleWiringImpl$BundleClassLoader,
value: org.apache.felix.framework.BundleWiringImpl #14
  <- <classLoader>     - class: org.apache.karaf.util.jaas.JaasHelper$OsgiSubjectDomainCombiner,
value: org.apache.felix.framework.BundleWiringImpl$BundleClassLoader #11
   <- <class>     - class: org.apache.karaf.util.jaas.JaasHelper$OsgiSubjectDomainCombiner,
value: org.apache.karaf.util.jaas.JaasHelper$OsgiSubjectDomainCombiner class JaasHelper$OsgiSubjectDomainCombiner
    <- combiner     - class: java.security.AccessControlContext, value: org.apache.karaf.util.jaas.JaasHelper$OsgiSubjectDomainCombiner
#1
     <- inheritedAccessControlContext (thread object)     - class: java.lang.Thread, value:
java.security.AccessControlContext #60
{noformat}

Could be related to jline:
{noformat}
"JLine terminal non blocking reader thread" #145 daemon prio=5 os_prio=0 tid=0x00007f046822c000
nid=0x43aa runnable [0x00007f0474b35000]
   java.lang.Thread.State: RUNNABLE
	at java.io.FileInputStream.readBytes(Native Method)
	at java.io.FileInputStream.read(FileInputStream.java:255)
	at org.jline.utils.InputStreamReader.read(InputStreamReader.java:270)
	- locked <0x00000000e0f0ed90> (a java.io.FileInputStream)
	at org.jline.utils.InputStreamReader.read(InputStreamReader.java:200)
	- locked <0x00000000e0f0ed90> (a java.io.FileInputStream)
	at org.jline.utils.NonBlockingReader.run(NonBlockingReader.java:273)
	at java.lang.Thread.run(Thread.java:748)
...
"JLine terminal non blocking reader thread" #78 daemon prio=5 os_prio=0 tid=0x00007f0470039000
nid=0x4369 runnable [0x00007f0407ffe000]
   java.lang.Thread.State: RUNNABLE
	at java.io.FileInputStream.readBytes(Native Method)
	at java.io.FileInputStream.read(FileInputStream.java:255)
	at org.jline.utils.InputStreamReader.read(InputStreamReader.java:270)
	- locked <0x00000000e081c5f8> (a java.io.FileInputStream)
	at org.jline.utils.InputStreamReader.read(InputStreamReader.java:200)
	- locked <0x00000000e081c5f8> (a java.io.FileInputStream)
	at org.jline.utils.NonBlockingReader.run(NonBlockingReader.java:273)
	at java.lang.Thread.run(Thread.java:748)

   Locked ownable synchronizers:
	- None
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message