WebLogic Server: Sun HotSpot JVM Crash In Solaris 10 When Using pkcs11_softtoken.so Library (Doc ID 1275086.1)

Last updated on APRIL 03, 2017

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.


WebLogic Server crashes when using HotSpot JVM using cipherertest.jar with dependency library commons-logging-1.0.4.jar. This is part of the Jasper Server library. The JVM crash shows the following stack:

Current thread (0x0ad6a800): JavaThread "[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon [_thread_in_native, id=116,

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000018

EAX=0x00000018, EBX=0x692dc000, ECX=0x692a4a53, EDX=0x09158ba8
ESP=0x66e0f2a4, EBP=0x66e0f2f0, ESI=0x00000136, EDI=0x00000000
EIP=0x692a1e44, EFLAGS=0x00010202

Top of Stack: (sp=0x66e0f2a4)
0x66e0f2a4: 66e0f3b0 00000136 692dc000 00000001
0x66e0f2b4: 72c2a718 72c4eac0 72c3a468 72c28f88
0x66e0f2c4: 72c3a408 00000001 00000001 72c29e38
0x66e0f2d4: 72c2c0e8 66e103b0 00000018 00000136
0x66e0f2e4: 00000000 09158bac fef4d000 66e0f318
0x66e0f2f4: 692a4a68 09158ba8 66e0f3b0 00000010
0x66e0f304: 66e103b0 66e113e4 00000001 66e113e4
0x66e0f314: 692dc000 66e0f33c 692a4bc0 09158ba8

Instructions: (pc=0x692a1e44)
0x692a1e34: 45 dc 85 c0 0f 84 04 01 00 00 8d 47 18 89 45 ec
0x692a1e44: 8b 08 8b 75 10 8d 04 31 83 f8 08 0f 82 bb 00 00

Stack: [0x66dc3000,0x66e13000], sp=0x66e0f2a4, free space=304k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [pkcs11_softtoken.so.1+0x11e44]
C [pkcs11_softtoken.so.1+0x14a68]
C [pkcs11_softtoken.so.1+0x14bc0]
C [pkcs11_softtoken.so.1+0x1321b] C_DecryptUpdate+0xe7
C [libpkcs11.so.1+0xede0] C_DecryptUpdate+0xbe
C [libj2pkcs11.so+0x5900] Java_sun_security_pkcs11_wrapper_PKCS11_C_1DecryptUpdate+0x13c
j sun.security.pkcs11.wrapper.PKCS11.C_DecryptUpdate(JJ[BIIJ[BII)I+0
j sun.security.pkcs11.P11Cipher.implUpdate([BII[BII)I+247
j sun.security.pkcs11.P11Cipher.engineUpdate([BII[BI)I+18

And the issue is reproduced in the following versions:

> java -version

java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Server VM (build 14.3-b01, mixed mode)

> uname -ai

SunOS <name> 5.10 Generic_142901-12 i86pc i386 i86pc

However the issue is not seen in another system having:

> uname -a

SunOS <name> 5.10 Generic_142900-12 sun4us sparc FJSV,GPUZC-M

> java -version

java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms