Bug 8028627

Bradford Wetmore bradford.wetmore at oracle.com
Fri Feb 21 00:29:20 UTC 2014


I've added the stack trace to the report.

Thanks!

Brad


On 2/19/2014 9:59 PM, Stefan Liebig wrote:
> Hi,
>
> I would like to add a comment to an existing bug:
> - http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8028627
> - https://bugs.openjdk.java.net/browse/JDK-8028627
>
> The problem described in that bug seems that it has been discovered by statically code analysis.
> However, it seems that we have this problem in production code. A thread dump shows that two threads are "looping":
>
> Java HotSpot(TM) Client VM (24.45-b08 mixed mode)
>
> "pool-2-thread-2" prio=6 tid=0x40537c00 nid=0xb80 runnable [0x4298e000]
>     java.lang.Thread.State: RUNNABLE
>          at java.util.WeakHashMap.get(WeakHashMap.java:471)
>          at javax.crypto.JceSecurity.getCodeBase(JceSecurity.java:222)
>          at javax.crypto.JceSecurityManager.getCryptoPermission(JceSecurityManager.java:107)
>          at javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2503)
>          at javax.crypto.Cipher.initCryptoPermission(Cipher.java:685)
>          at javax.crypto.Cipher.chooseProvider(Cipher.java:848)
>          - locked <0x16005f98> (a java.lang.Object)
>          at javax.crypto.Cipher.init(Cipher.java:1213)
>          at javax.crypto.Cipher.init(Cipher.java:1153)
>          at org.hsqldb.persist.Crypto.<init>(Unknown Source)
>          at org.hsqldb.persist.Logger.setVariables(Unknown Source)
>          at org.hsqldb.persist.Logger.openPersistence(Unknown Source)
>          at org.hsqldb.Database.reopen(Unknown Source)
>          at org.hsqldb.Database.open(Unknown Source)
>          - locked <0x15e51a60> (a org.hsqldb.Database)
>          at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
>          - locked <0x15e51a60> (a org.hsqldb.Database)
>          at org.hsqldb.DatabaseManager.newSession(Unknown Source)
>          at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source) ...
>
> "pool-2-thread-1" prio=6 tid=0x40537400 nid=0x18f4 runnable [0x412fe000]
>     java.lang.Thread.State: RUNNABLE
>          at java.util.WeakHashMap.get(WeakHashMap.java:471)
>          at javax.crypto.JceSecurity.getCodeBase(JceSecurity.java:222)
>          at javax.crypto.JceSecurityManager.getCryptoPermission(JceSecurityManager.java:107)
>          at javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2503)
>          at javax.crypto.Cipher.initCryptoPermission(Cipher.java:685)
>          at javax.crypto.Cipher.chooseProvider(Cipher.java:848)
>          - locked <0x16006128> (a java.lang.Object)
>          at javax.crypto.Cipher.init(Cipher.java:1213)
>          at javax.crypto.Cipher.init(Cipher.java:1153)
>          at org.hsqldb.persist.Crypto.<init>(Unknown Source)
>          at org.hsqldb.persist.Logger.setVariables(Unknown Source)
>          at org.hsqldb.persist.Logger.openPersistence(Unknown Source)
>          at org.hsqldb.Database.reopen(Unknown Source)
>          at org.hsqldb.Database.open(Unknown Source)
>          - locked <0x15e5a718> (a org.hsqldb.Database)
>          at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
>          - locked <0x15e5a718> (a org.hsqldb.Database)
>          at org.hsqldb.DatabaseManager.newSession(Unknown Source)
>          at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)
>          at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)
>          at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source) ...
>
> We have two database instances running parallel.
>
> Tschüß,
> Stefan
> -------------------------------------------------------------
> compeople AG
> Untermainanlage 8
> 60329 Frankfurt/Main
> fon: +49 (0) 69 / 27 22 18 0
> fax: +49 (0) 69 / 27 22 18 22
> web: www.compeople.de
>
> Vorstand: Jürgen Wiesmaier
> Aufsichtsratsvorsitzender: Christian Glanz
>
> Sitz der Gesellschaft: Frankfurt/Main
> Handelsregister Frankfurt HRB 56759
> USt-IdNr. DE207665352
> -------------------------------------------------------------
>



More information about the security-dev mailing list