Anonymous | Login | Signup for a new account | 12-17-2024 08:34 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0005995 | [Resin] | block | random | 04-14-16 00:44 | 05-09-16 11:00 | ||||
Reporter | lcy2008a | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.39 | ||||||
Summary | 0005995: Deadlock occurred occasionally after start-up | ||||||||
Description |
Sometimes we met deadlock after the server starts-up. Here are the two threads which blocked each other (the stack info is from Resin thread dump), seems it is related to SSL: "resin-port-6790-57 BLOCKED waiting on java.lang.Class@45bef097 owned by "resin-port-6790-403" at sun.security.provider.X509Factory.getFromCache (X509Factory.java:218) at sun.security.provider.X509Factory.engineGenerateCertificate (X509Factory.java:96) at java.security.cert.CertificateFactory.generateCertificate (CertificateFactory.jav a:339) at sun.security.pkcs.PKCS7.parseSignedData (PKCS7.java:329) at sun.security.pkcs.PKCS7.parse (PKCS7.java:186) at sun.security.pkcs.PKCS7.parse (PKCS7.java:154) at sun.security.pkcs.PKCS7.<init> (PKCS7.java:136) at sun.security.util.SignatureFileVerifier.<init> (SignatureFileVerifier.java:95) at java.util.jar.JarVerifier.processEntry (JarVerifier.java:297) at java.util.jar.JarVerifier.update (JarVerifier.java:228) at java.util.jar.JarFile.initializeVerifier (JarFile.java:383) at java.util.jar.JarFile.getInputStream (JarFile.java:450) at com.caucho.vfs.Jar.getCertificates (Jar.java:303) at com.caucho.vfs.JarPath.getCertificates (JarPath.java:141) at com.caucho.loader.JarEntry.getCodeSource (JarEntry.java:251) at com.caucho.loader.JarListLoader.createEntry (JarListLoader.java:253) at com.caucho.loader.JarListLoader.getClassEntry (JarListLoader.java:214) at com.caucho.loader.DynamicClassLoader.getClassEntry (DynamicClassLoader.java:1755) at com.caucho.loader.DynamicClassLoader.findClassImpl (DynamicClassLoader.java:1708) at com.caucho.loader.DynamicClassLoader.loadClassImpl (DynamicClassLoader.java:1612) at com.caucho.loader.DynamicClassLoader.loadClass (DynamicClassLoader.java:1521) at com.caucho.loader.DynamicClassLoader.loadClass (DynamicClassLoader.java:1502) at org.bouncycastle.asn1.x9.ECNamedCurveTable.getByName at org.bouncycastle.jcajce.provider.asymmetric.util.EC5Util.<clinit> at org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey.populateFromPubKeyIn fo at org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey.<init> at org.bouncycastle.jcajce.provider.asymmetric.ec.KeyFactorySpi.generatePublic at org.bouncycastle.jce.provider.BouncyCastleProvider.getPublicKey at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.getPublicK ey at sun.security.validator.PKIXValidator.<init> (PKIXValidator.java:109) at sun.security.validator.Validator.getInstance (Validator.java:179) at sun.security.ssl.X509TrustManagerImpl.getValidator "resin-port-6790-403 BLOCKED waiting on com.caucho.loader.EnvironmentClassLoader@4263b080 owned by "resin-port-6790-57" at org.bouncycastle.jcajce.provider.asymmetric.rsa.KeyFactorySpi.engineGeneratePubli c at java.security.KeyFactory.generatePublic (KeyFactory.java:334) at sun.security.x509.X509Key.buildX509Key (X509Key.java:223) at sun.security.x509.X509Key.parse (X509Key.java:170) at sun.security.x509.CertificateX509Key.<init> (CertificateX509Key.java:75) at sun.security.x509.X509CertInfo.parse (X509CertInfo.java:667) at sun.security.x509.X509CertInfo.<init> (X509CertInfo.java:167) at sun.security.x509.X509CertImpl.parse (X509CertImpl.java:1806) at sun.security.x509.X509CertImpl.<init> (X509CertImpl.java:195) [16-04-01 14:42:58.240] at sun.security.provider.X509Factory.intern (X509Factory.java:170) at sun.security.x509.X509CertImpl.toImpl (X509CertImpl.java:1895) at sun.security.provider.certpath.AlgorithmChecker.check (AlgorithmChecker.java:186) at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.prepareNextCertO at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi.engineValidate at java.security.cert.CertPathValidator.validate (CertPathValidator.java:292) at sun.security.validator.PKIXValidator.doValidate (PKIXValidator.java:347) at sun.security.validator.PKIXValidator.engineValidate (PKIXValidator.java:249) at sun.security.validator.Validator.validate (Validator.java:260) at sun.security.ssl.X509TrustManagerImpl.validate (X509TrustManagerImpl.java:324) at sun.security.ssl.X509TrustManagerImpl.checkTrusted (X509TrustManagerImpl.java:229 ) at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted (X509TrustManagerImpl.ja va:124) at sun.security.ssl.ClientHandshaker.serverCertificate (ClientHandshaker.java:1491) at sun.security.ssl.ClientHandshaker.processMessage (ClientHandshaker.java:216) at sun.security.ssl.Handshaker.processLoop (Handshaker.java:979) at sun.security.ssl.Handshaker.process_record (Handshaker.java:914) at sun.security.ssl.SSLSocketImpl.readRecord (SSLSocketImpl.java:1062) at sun.security.ssl.SSLSocketImpl.performInitialHandshake (SSLSocketImpl.java:1375) at sun.security.ssl.SSLSocketImpl.startHandshake (SSLSocketImpl.java:1403) at sun.security.ssl.SSLSocketImpl.startHandshake (SSLSocketImpl.java:1387) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket (SSLConne ctionSocketFactory.java:394) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket (SSLConnectionS ocketFactory.java:353) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect (DefaultHtt pClientConnectionOperator.java:134) |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed. 25 unique queries executed. |