Hi. Thank you for your response forgiveness for not answering before, I've been on holidays.
I thought that the problem was incompatibility between Firefox 3 (NSS 3.12) and JSS 4.2.5. I have isolated the error and only is produced on Windows, On Ubuntun all is OK. I execute, in Windows XP with the Firefox3.0.1 path in environment variable PATH (to access to nss libraries), the code: CryptoManager.initialize("C:\Documents and Settings\Administrador \Datos de programa\Mozilla\Firefox\Profiles\ojgat91z.default"); CryptoManager cm = CryptoManager.getInstance(); String bas64="MIICoTCCAgqgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBAMQswCQYDVQQGEwJlczEPMA0GA1UEChMGUFJVRUJBMQ8wDQYDVQQLEwZQUlVFQkExDzANBgNVBAMTBlBSVUVCQTAeFw0wODA4MDcxNjA1MTJaFw0xMzA4MDYxNjA1MTJaMEMxCzAJBgNVBAYTAmVzMRAwDgYDVQQKEwdQUlVFQkExMRAwDgYDVQQLEwdQUlVFQkExMRAwDgYDVQQDEwdQUlVFQkExMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDUFBETSWqc +b/JUAHxjIfC +HdE0owaBYCduN0wVqK5lFt8kZ72l6y4DziwmaL7hRI7FgqXc1GIlqE4P6UPlf3iYTEbEENkQb1KRZkRI8sLm8Pm8KwaxIiNEGGAto44zTPprgDhiLSDtMFLOucuKTIMnhvy6/ uXVciwENnvUaQz5wIDAQABo4GnMIGkMAkGA1UdEwQCMAAwHQYDVR0OBBYEFGoRcPyLC3uh6/ AbRUv07xfw541bMGgGA1UdIwRhMF +AFE07xaHtOdpkIExnYdhiQILTujD8oUSkQjBAMQswCQYDVQQGEwJlczEPMA0GA1UEChMGUFJVRUJBMQ8wDQYDVQQLEwZQUlVFQkExDzANBgNVBAMTBlBSVUVCQYIBATAOBgNVHQ8BAf8EBAMCBaAwDQYJKoZIhvcNAQELBQADgYEAFFGYmp2XB82lo/ DUC7WCb3A2x/ 8UtyTsRxe6A7T2ROjq8VK2fY04bH2IRHl2lhtkVZN1M8qD5UB1SNLLgNTRQgX+WRdCYqo +YAANzfpd7cCx3ZC68QjQte/yeGPaYjfh0YgrC// iGSgpbau9DA0zTp5gDqaaSAQDhQsMTxl882k="; javax.security.cert.X509Certificate javaX509 = javax.security.cert.X509Certificate.getInstance( new sun.misc.BASE64Decoder().decodeBuffer(bas64)); System.out.println(javaX509.getNotBefore()); Where bas64 es un test certificate in base64 format. if I test with Firefox 2.0.0.16 the error does not occur. If I delete the first lines 2 all is OK I have tested with several jdk and I have obtained the same result the file complete error log is: # # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x60007d88, pid=2376, tid=3732 # # Java VM: Java HotSpot(TM) Client VM (10.0-b23 mixed mode, sharing windows-x86) # Problematic frame: # C [MOZCRT19.dll+0x7d88] # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # --------------- T H R E A D --------------- Current thread (0x002e5c00): JavaThread "main" [_thread_in_native, id=3732, stack(0x008f0000,0x00940000)] siginfo: ExceptionCode=0xc0000005, reading address 0x00300000 Registers: EAX=0x003d4300, EBX=0x00300000, ECX=0x0093f948, EDX=0x00000004 ESP=0x0093f518, EBP=0x02fc7540, ESI=0x003d42e8, EDI=0x003d42e8 EIP=0x60007d88, EFLAGS=0x00010287 Top of Stack: (sp=0x0093f518) 0x0093f518: 003d42e8 002e5cf4 603f676e 003d4300 0x0093f528: 03203c10 030372c5 003d42e8 00000001 0x0093f538: 002e5c00 280f7660 0093f588 280f7668 0x0093f548: 00000000 00979c91 002e5cf4 0093f590 0x0093f558: 0093f598 002e62b8 002e62b8 002e62bc 0x0093f568: 0093f568 280f7660 0093f598 280f8d40 0x0093f578: 00000000 280f7668 00000000 0093f598 0x0093f588: 0093f5bc 00972e17 280f8068 009780b6 Instructions: (pc=0x60007d88) 0x60007d78: 53 8b 1d 00 60 0a 60 f7 d3 23 d8 3b d8 74 0f 57 0x60007d88: 8b 3b 50 e8 80 ef ff ff 83 c4 04 5f 5b c3 5b 89 Stack: [0x008f0000,0x00940000], sp=0x0093f518, free space=317k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [MOZCRT19.dll+0x7d88] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::StubRoutines (1) v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::StubRoutines (1) --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x02addc00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1436, stack(0x02d90000,0x02de0000)] 0x02ad8400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2272, stack(0x02d40000,0x02d90000)] 0x02ad7000 JavaThread "Attach Listener" daemon [_thread_blocked, id=2996, stack(0x02cf0000,0x02d40000)] 0x02ad6000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3484, stack(0x02ca0000,0x02cf0000)] 0x02ad1800 JavaThread "Finalizer" daemon [_thread_blocked, id=228, stack(0x02c50000,0x02ca0000)] 0x02acd400 JavaThread "Reference Handler" daemon [_thread_blocked, id=2588, stack(0x02c00000,0x02c50000)] =>0x002e5c00 JavaThread "main" [_thread_in_native, id=3732, stack(0x008f0000,0x00940000)] Other Threads: 0x02acc000 VMThread [stack: 0x02bb0000,0x02c00000] [id=3096] 0x02ae7800 WatcherThread [stack: 0x02de0000,0x02e30000] [id=2244] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 960K, used 579K [0x24010000, 0x24110000, 0x244f0000) eden space 896K, 57% used [0x24010000, 0x24090ed8, 0x240f0000) from space 64K, 99% used [0x24100000, 0x2410fff8, 0x24110000) to space 64K, 0% used [0x240f0000, 0x240f0000, 0x24100000) tenured generation total 4096K, used 1326K [0x244f0000, 0x248f0000, 0x28010000) the space 4096K, 32% used [0x244f0000, 0x2463bae8, 0x2463bc00, 0x248f0000) compacting perm gen total 12288K, used 933K [0x28010000, 0x28c10000, 0x2c010000) the space 12288K, 7% used [0x28010000, 0x280f95c0, 0x280f9600, 0x28c10000) ro space 8192K, 62% used [0x2c010000, 0x2c512ba0, 0x2c512c00, 0x2c810000) rw space 12288K, 52% used [0x2c810000, 0x2ce588e0, 0x2ce58a00, 0x2d410000) Dynamic libraries: 0x00400000 - 0x00423000 c:\Archivos de programa\Java\jre1.6.0_07\bin \java.exe 0x7c910000 - 0x7c9c6000 C:\WINDOWS\system32\ntdll.dll 0x7c800000 - 0x7c902000 C:\WINDOWS\system32\kernel32.dll 0x77da0000 - 0x77e4c000 C:\WINDOWS\system32\ADVAPI32.dll 0x77e50000 - 0x77ee1000 C:\WINDOWS\system32\RPCRT4.dll 0x7c340000 - 0x7c396000 c:\Archivos de programa\Java\jre1.6.0_07\bin \msvcr71.dll 0x6d7c0000 - 0x6da10000 c:\Archivos de programa\Java\jre1.6.0_07\bin \client\jvm.dll 0x7e390000 - 0x7e421000 C:\WINDOWS\system32\USER32.dll 0x77ef0000 - 0x77f37000 C:\WINDOWS\system32\GDI32.dll 0x76b00000 - 0x76b2e000 C:\WINDOWS\system32\WINMM.dll 0x76340000 - 0x7635d000 C:\WINDOWS\system32\IMM32.DLL 0x62e30000 - 0x62e39000 C:\WINDOWS\system32\LPK.DLL 0x74d20000 - 0x74d8b000 C:\WINDOWS\system32\USP10.dll 0x77be0000 - 0x77c38000 C:\WINDOWS\system32\msvcrt.dll 0x10000000 - 0x10005000 C:\WINDOWS\system32\avgrsstx.dll 0x6d270000 - 0x6d278000 c:\Archivos de programa\Java\jre1.6.0_07\bin \hpi.dll 0x76bb0000 - 0x76bbb000 C:\WINDOWS\system32\PSAPI.DLL 0x6d770000 - 0x6d77c000 c:\Archivos de programa\Java\jre1.6.0_07\bin \verify.dll 0x6d310000 - 0x6d32f000 c:\Archivos de programa\Java\jre1.6.0_07\bin \java.dll 0x6d7b0000 - 0x6d7bf000 c:\Archivos de programa\Java\jre1.6.0_07\bin \zip.dll 0x03030000 - 0x03050000 F:\ivotin\web\eleccionesWeb\cab\libsDinamicas \NT5\jss4.dll 0x60340000 - 0x603ea000 e:\Firefox3\nss3.dll 0x603f0000 - 0x60404000 e:\Firefox3\nssutil3.dll 0x600f0000 - 0x600f7000 e:\Firefox3\plc4.dll 0x600b0000 - 0x600e0000 e:\Firefox3\nspr4.dll 0x71a50000 - 0x71a5a000 C:\WINDOWS\system32\WSOCK32.dll 0x71a30000 - 0x71a47000 C:\WINDOWS\system32\WS2_32.dll 0x71a20000 - 0x71a28000 C:\WINDOWS\system32\WS2HELP.dll 0x60000000 - 0x600ae000 e:\Firefox3\MOZCRT19.dll 0x600e0000 - 0x600e7000 e:\Firefox3\plds4.dll 0x03050000 - 0x0306a000 C:\WINDOWS\system32\smime3.dll 0x30000000 - 0x30007000 C:\WINDOWS\system32\libplc4.dll 0x03070000 - 0x030a4000 C:\WINDOWS\system32\libnspr4.dll 0x719d0000 - 0x71a10000 C:\WINDOWS\system32\MSWSOCK.dll 0x60410000 - 0x60430000 e:\Firefox3\ssl3.dll 0x030b0000 - 0x030b6000 C:\WINDOWS\system32\libplds4.dll 0x602f0000 - 0x60315000 e:\Firefox3\softokn3.dll 0x60210000 - 0x60273000 e:\Firefox3\sqlite3.dll 0x60320000 - 0x60338000 e:\Firefox3\nssdbm3.dll 0x60450000 - 0x60489000 e:\Firefox3\freebl3.dll 0x6d750000 - 0x6d758000 C:\Archivos de programa\Java\jre1.6.0_07\bin \sunmscapi.dll 0x77a50000 - 0x77ae5000 C:\WINDOWS\system32\CRYPT32.dll 0x77af0000 - 0x77b02000 C:\WINDOWS\system32\MSASN1.dll VM Arguments: java_command: es.indra.crypto.mozilla.CryptoJSS C:\Documents and Settings\Administrador\Datos de programa\Mozilla\Firefox\Profiles \ojgat91z.default Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=E:\jdk1.5.0_14\bin PATH=c:\Archivos de programa\Java\jre1.6.0_07\bin;E:\cygwin\usr\local \bin;E:\cygwin\bin;E:\cygwin\bin;E:\cygwin\usr\X11R6\bin;e: \Reflection;e:\jdk1.5.0_04\jre\bin;e:\oracle\ora92\bin;c:\Archivos de programa\Oracle\jre\1.3.1\bin;c:\Archivos de programa\Oracle\jre \1.1.8\bin;c:\WINDOWS\system32;c:\WINDOWS;c:\WINDOWS\System32\Wbem;e: \SecureCRT 3.0;c:\Nokia\Update_Manager\bin;e:\GnuPG\pub;c:\Archivos de programa\CVSNT\;f:\ivotin\web\eleccionesWeb\cab\libsDinamicas\NT5;e: \Firefox3 USERNAME=Administrador OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 3, GenuineIntel --------------- S Y S T E M --------------- OS: Windows XP Build 2600 Service Pack 2 CPU:total 2 (1 cores per cpu, 2 threads per core) family 15 model 4 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht Memory: 4k page, physical 1039720k(46472k free), swap 2500708k(1610684k free) vm_info: Java HotSpot(TM) Client VM (10.0-b23) for windows-x86 JRE (1.6.0_07-b06), built on Jun 10 2008 01:14:11 by "java_re" with MS VC+ + 7.1 time: Thu Aug 07 18:41:46 2008 elapsed time: 0 seconds It is a difficult error because the JSS library cause a error in execution of javax.security package thanks in advance Fernando. _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto