Closed Bug 786618 Opened 12 years ago Closed 12 years ago

UnsatisfiedLinkError on PKCS11.C_GetOperationState while working with latest jre 1.7 update 6

Categories

(NSS :: Libraries, defect, P1)

3.12.4
x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: satul, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20100101 Firefox/6.0
Build ID: 20110811165603

Steps to reproduce:

I am using NSS with java using the SunPKCS11 provider. Recently i updated jre from 1.6 to 1.7 Update 6.


Actual results:

Getting UnsatisfiedLinkError on PKCS11.C_GetOperationState during SSL handshake.
Full trace:

java.lang.UnsatisfiedLinkError: sun.security.pkcs11.wrapper.PKCS11.C_GetOperationState(J)[B
		at sun.security.pkcs11.wrapper.PKCS11.C_GetOperationState(Native Method)
		at sun.security.pkcs11.P11Digest.clone(P11Digest.java:308)
		at java.security.MessageDigest$Delegate.clone(Unknown Source)
		at sun.security.ssl.HandshakeHash.cloneDigest(Unknown Source)
		at sun.security.ssl.HandshakeHash.getMD5Clone(Unknown Source)
		at sun.security.ssl.HandshakeMessage$Finished.getFinished(Unknown Source)
		at sun.security.ssl.HandshakeMessage$Finished.<init>(Unknown Source)
		at sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(Unknown Source)
		at sun.security.ssl.ClientHandshaker.serverHelloDone(Unknown Source)
		at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
		at sun.security.ssl.Handshaker.processLoop(Unknown Source)
		at sun.security.ssl.Handshaker.process_record(Unknown Source)
		at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
		at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
		at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
		at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
		at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)


Expected results:

SSl handshake would have worked fine as before.
I am not sure if this is a NSS issue or jre issue. But if i use released NSS (3.12.4) with released jre(1.7u6) its not working.  The same nss version was working fine in the older jre.
Severity: normal → critical
OS: All → Linux
Priority: -- → P1
Hardware: All → x86_64
I tried Jre 7 update 7 which got released last week and that also have same issue.
Sun has fixed this issue in jre7 u9.

Bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7195931 marked as resolved.

This is not an NSS bug, can be marked invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.