Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8231019

JVM crash in com.microsoft.sqlserver.jdbc.AuthenticationJNI.SNISecGenClientContext

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_vista

      Description

      ADDITIONAL SYSTEM INFORMATION :
      sql server2014, windows 10, jdk1.8.0_221

      A DESCRIPTION OF THE PROBLEM :
      Attempting to return use JDBC 4.2 to connect to a 2014 sql server db and return some records

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005cc2f803, pid=9928, tid=0x000000000000357c
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_221-b11) (build 1.8.0_221-b11)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.221-b11 mixed mode windows-amd64 compressed oops)
      # Problematic frame:
      # V [jvm.dll+0x13f803]
      #
      # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

      --------------- T H R E A D ---------------

      Current thread (0x00000000026ee000): JavaThread "main" [_thread_in_vm, id=13692, stack(0x0000000002740000,0x0000000002840000)]

      siginfo: ExceptionCode=0xc0000005, reading address 0x00000002e69ac368

      Registers:
      RAX=0x0000000000000000, RBX=0x00000000026ee000, RCX=0x0000000000000003, RDX=0x00000002e69ac300
      RSP=0x000000000283e900, RBP=0x000000000283ea50, RSI=0x00000000026ee1f8, RDI=0x00000000026ee000
      R8 =0xffff800203dcd720, R9 =0x00007ffdfc23290f, R10=0x000000000000002f, R11=0x000000000000002f
      R12=0x0000000000000000, R13=0x0000000000000000, R14=0x000000000283ec90, R15=0x000000000283ec60
      RIP=0x000000005cc2f803, EFLAGS=0x0000000000010206

      Top of Stack: (sp=0x000000000283e900)
      0x000000000283e900: 00007ffdfc2328e0 00000000026ee000
      0x000000000283e910: 000000000283ea50 0000000000000000
      0x000000000283e920: 00000000026ee000 0000000000000000
      0x000000000283e930: 0000000000000000 0000000000000000
      0x000000000283e940: 00000000252176d0 00007ffdfc223017
      0x000000000283e950: 00000000026ee1f8 000000000283ea50
      0x000000000283e960: 00000000026ee000 00000000029a16a0
      0x000000000283e970: 0000000000000000 00000000029a1797
      0x000000000283e980: 00000000029a1aa0 0000000000000000
      0x000000000283e990: 0000000000000000 0000000000000000
      0x000000000283e9a0: 00000000029a16a0 0000000002010000
      0x000000000283e9b0: 0000000000000000 0000000000000000
      0x000000000283e9c0: 0000000000000000 0000000000000000
      0x000000000283e9d0: 0000000000000000 0000000000000000
      0x000000000283e9e0: 0000000000000000 000000000283ec78
      0x000000000283e9f0: 000000000283ec98 000000000283ec60

      Instructions: (pc=0x000000005cc2f803)
      0x000000005cc2f7e3: 00 00 48 8b 17 74 15 8b 52 08 8b 0d 75 a0 66 00
      0x000000005cc2f7f3: 48 d3 e2 48 03 15 63 a0 66 00 eb 04 48 8b 52 08
      0x000000005cc2f803: 48 8b 52 68 48 8b ce e8 01 81 0d 00 48 83 7c 24
      0x000000005cc2f813: 28 00 48 8b f0 74 0a 48 8d 4c 24 20 e8 fc f4 13


      Register to memory mapping:

      RAX=0x0000000000000000 is an unknown value
      RBX=0x00000000026ee000 is a thread
      RCX=0x0000000000000003 is an unknown value
      RDX=0x00000002e69ac300 is an unknown value
      RSP=0x000000000283e900 is pointing into the stack for thread: 0x00000000026ee000
      RBP=0x000000000283ea50 is pointing into the stack for thread: 0x00000000026ee000
      RSI=0x00000000026ee1f8 is an unknown value
      RDI=0x00000000026ee000 is a thread
      R8 =0xffff800203dcd720 is an unknown value
      R9 =0x00007ffdfc23290f is an unknown value
      R10=0x000000000000002f is an unknown value
      R11=0x000000000000002f is an unknown value
      R12=0x0000000000000000 is an unknown value
      R13=0x0000000000000000 is an unknown value
      R14=0x000000000283ec90 is pointing into the stack for thread: 0x00000000026ee000
      R15=0x000000000283ec60 is pointing into the stack for thread: 0x00000000026ee000


      Stack: [0x0000000002740000,0x0000000002840000], sp=0x000000000283e900, free space=1018k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0x13f803]
      C [sqljdbc_auth.dll+0x3017]
      C 0x0000000002958c67

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j com.microsoft.sqlserver.jdbc.AuthenticationJNI.SNISecGenClientContext([B[I[BI[B[I[ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/logging/Logger;)I+0
      j com.microsoft.sqlserver.jdbc.AuthenticationJNI.GenerateClientContext([BI[B[I[Z)I+24
      j com.microsoft.sqlserver.jdbc.SQLServerConnection.SSPIData([B[B[I[ZLcom/microsoft/sqlserver/jdbc/AuthenticationJNI;)V+13
      j com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(Lcom/microsoft/sqlserver/jdbc/SQLServerConnection$LogonCommand;Lcom/microsoft/sqlserver/jdbc/AuthenticationJNI;)V+155
      j com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(Lcom/microsoft/sqlserver/jdbc/SQLServerConnection$LogonCommand;)V+20
      j com.microsoft.sqlserver.jdbc.SQLServerConnection.access$000(Lcom/microsoft/sqlserver/jdbc/SQLServerConnection;Lcom/microsoft/sqlserver/jdbc/SQLServerConnection$LogonCommand;)V+2
      j com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute()Z+5
      j com.microsoft.sqlserver.jdbc.TDSCommand.execute(Lcom/microsoft/sqlserver/jdbc/TDSWriter;Lcom/microsoft/sqlserver/jdbc/TDSReader;)Z+30
      j com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Lcom/microsoft/sqlserver/jdbc/TDSCommand;)Z+45
      j com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Lcom/microsoft/sqlserver/jdbc/ServerPortPlaceHolder;II)V+284
      j com.microsoft.sqlserver.jdbc.SQLServerConnection.login(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Lcom/microsoft/sqlserver/jdbc/FailoverInfo;IJ)V+399
      j com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Ljava/util/Properties;Lcom/microsoft/sqlserver/jdbc/SQLServerPooledConnection;)Ljava/sql/Connection;+1929
      j com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection;+45
      j java.sql.DriverManager.getConnection(Ljava/lang/String;Ljava/util/Properties;Ljava/lang/Class;)Ljava/sql/Connection;+171
      j java.sql.DriverManager.getConnection(Ljava/lang/String;)Ljava/sql/Connection;+13
      j Example.main([Ljava/lang/String;)V+10
      v ~StubRoutines::call_stub

      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
        0x0000000025265000 JavaThread "Service Thread" daemon [_thread_blocked, id=11848, stack(0x0000000026490000,0x0000000026590000)]
        0x000000002524e800 JavaThread "C1 CompilerThread1" daemon [_thread_blocked, id=15100, stack(0x0000000026390000,0x0000000026490000)]
        0x000000002524b800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=14172, stack(0x0000000026290000,0x0000000026390000)]
        0x000000002524a800 JavaThread "Attach Listener" daemon [_thread_blocked, id=4928, stack(0x0000000026190000,0x0000000026290000)]
        0x0000000025245000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4344, stack(0x0000000026090000,0x0000000026190000)]
        0x0000000002937000 JavaThread "Finalizer" daemon [_thread_blocked, id=8532, stack(0x0000000025e90000,0x0000000025f90000)]
        0x0000000025238000 JavaThread "Reference Handler" daemon [_thread_blocked, id=16032, stack(0x0000000025d90000,0x0000000025e90000)]
      =>0x00000000026ee000 JavaThread "main" [_thread_in_vm, id=13692, stack(0x0000000002740000,0x0000000002840000)]

      Other Threads:
        0x0000000025216800 VMThread [stack: 0x0000000025c90000,0x0000000025d90000] [id=17024]
        0x0000000025269000 WatcherThread [stack: 0x0000000026590000,0x0000000026690000] [id=9072]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      heap address: 0x00000005c1800000, size: 8168 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
      Narrow klass base: 0x0000000000000000, Narrow klass shift: 3
      Compressed class space size: 1073741824 Address: 0x00000007c0000000

      Heap:
       PSYoungGen total 153088K, used 23686K [0x0000000715d80000, 0x0000000720800000, 0x00000007c0000000)
        eden space 131584K, 18% used [0x0000000715d80000,0x00000007174a1928,0x000000071de00000)
        from space 21504K, 0% used [0x000000071f300000,0x000000071f300000,0x0000000720800000)
        to space 21504K, 0% used [0x000000071de00000,0x000000071de00000,0x000000071f300000)
       ParOldGen total 349696K, used 0K [0x00000005c1800000, 0x00000005d6d80000, 0x0000000715d80000)
        object space 349696K, 0% used [0x00000005c1800000,0x00000005c1800000,0x00000005d6d80000)
       Metaspace used 8756K, capacity 9010K, committed 9344K, reserved 1056768K
        class space used 934K, capacity 1033K, committed 1152K, reserved 1048576K

      Card table byte_map: [0x0000000011d00000,0x0000000012d00000] byte_map_base: 0x000000000eef4000

      Marking Bits: (ParMarkBitMap*) 0x000000005d315ce0
       Begin Bits: [0x00000000139b0000, 0x000000001b950000)
       End Bits: [0x000000001b950000, 0x00000000238f0000)

      Polling page: 0x0000000000780000

      CodeCache: size=245760Kb used=3353Kb max_used=3353Kb free=242407Kb
       bounds [0x0000000002940000, 0x0000000002c90000, 0x0000000011940000]
       total_blobs=1307 nmethods=952 adapters=268
       compilation: enabled

      Compilation events (10 events):
      Event: 1.325 Thread 0x000000002524e800 947 3 sun.net.www.ParseUtil::encodePath (336 bytes)
      Event: 1.326 Thread 0x000000002524b800 948 4 java.lang.String::replace (127 bytes)
      Event: 1.326 Thread 0x000000002524e800 nmethod 947 0x0000000002c82490 code [0x0000000002c82700, 0x0000000002c83718]
      Event: 1.331 Thread 0x000000002524b800 nmethod 948 0x0000000002c86f90 code [0x0000000002c870e0, 0x0000000002c875d8]
      Event: 1.332 Thread 0x000000002524e800 949 3 com.sun.crypto.provider.AESCrypt::mul4 (181 bytes)
      Event: 1.332 Thread 0x000000002524e800 nmethod 949 0x0000000002c85a90 code [0x0000000002c85ca0, 0x0000000002c86710]
      Event: 1.340 Thread 0x000000002524e800 950 3 sun.security.provider.SHA::resetHashes (41 bytes)
      Event: 1.340 Thread 0x000000002524e800 nmethod 950 0x0000000002c853d0 code [0x0000000002c85540, 0x0000000002c85750]
      Event: 1.341 Thread 0x000000002524e800 952 3 java.io.WinNTFileSystem::prefixLength (91 bytes)
      Event: 1.342 Thread 0x000000002524e800 nmethod 952 0x0000000002c87790 code [0x0000000002c87980, 0x0000000002c88508]

      GC Heap History (0 events):
      No events

      Deoptimization events (3 events):
      Event: 0.298 Thread 0x00000000026ee000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002af1ea4 method=java.util.regex.Pattern$BmpCharProperty.match(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Z @ 31
      Event: 0.298 Thread 0x00000000026ee000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002af1e40 method=java.util.regex.Pattern$BmpCharProperty.match(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Z @ 5
      Event: 0.768 Thread 0x00000000026ee000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002adb55c method=java.lang.CharacterDataLatin1.digit(II)I @ 82

      Classes redefined (0 events):
      No events

      Internal exceptions (8 events):
      Event: 0.030 Thread 0x00000000026ee000 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.defineClass(Ljava/lang/String;[BII)Ljava/lang/Class; name or signature does not match> (0x0000000715d87cb8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u221\13320\hotspot
      Event: 0.030 Thread 0x00000000026ee000 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x0000000715d87fa0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u221\13320\hotspot\src\share\vm\prim
      Event: 0.189 Thread 0x00000000026ee000 Exception <a 'java/security/PrivilegedActionException'> (0x0000000715f873e0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u221\13320\hotspot\src\share\vm\prims\jvm.cpp, line 1502]
      Event: 0.189 Thread 0x00000000026ee000 Exception <a 'java/security/PrivilegedActionException'> (0x0000000715f875f0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u221\13320\hotspot\src\share\vm\prims\jvm.cpp, line 1502]
      Event: 0.190 Thread 0x00000000026ee000 Exception <a 'java/security/PrivilegedActionException'> (0x0000000715f8b500) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u221\13320\hotspot\src\share\vm\prims\jvm.cpp, line 1502]
      Event: 0.190 Thread 0x00000000026ee000 Exception <a 'java/security/PrivilegedActionException'> (0x0000000715f8b710) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u221\13320\hotspot\src\share\vm\prims\jvm.cpp, line 1502]
      Event: 0.747 Thread 0x00000000026ee000 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x00000007167018a8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u221\13320\hotspot\src\share\vm\prims\methodHandles.cpp, line 1167]
      Event: 0.756 Thread 0x00000000026ee000 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x000000071670f018) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u221\13320\hotspot\src\share\vm\prims\methodHandles.cpp, line 1167]

      Events (10 events):
      Event: 1.337 loading class javax/crypto/MacSpi
      Event: 1.337 loading class javax/crypto/MacSpi done
      Event: 1.339 loading class sun/security/ssl/CipherBox$1
      Event: 1.339 loading class sun/security/ssl/CipherBox$1 done
      Event: 1.339 loading class java/lang/StrictMath
      Event: 1.339 loading class java/lang/StrictMath done
      Event: 1.340 loading class com/microsoft/sqlserver/jdbc/AuthenticationJNI
      Event: 1.340 loading class com/microsoft/sqlserver/jdbc/AuthenticationJNI done
      Event: 1.340 loading class java/lang/ClassLoaderHelper
      Event: 1.341 loading class java/lang/ClassLoaderHelper done


      Dynamic libraries:
      0x00007ff6c0c20000 - 0x00007ff6c0c57000 C:\Program Files\Java\jdk1.8.0_221\bin\java.exe
      0x00007ffe36cc0000 - 0x00007ffe36eb0000 C:\WINDOWS\SYSTEM32\ntdll.dll
      0x00007ffe35270000 - 0x00007ffe35322000 C:\WINDOWS\System32\KERNEL32.DLL
      0x00007ffe346a0000 - 0x00007ffe34943000 C:\WINDOWS\System32\KERNELBASE.dll
      0x00007ffe36340000 - 0x00007ffe363e3000 C:\WINDOWS\System32\ADVAPI32.dll
      0x00007ffe358c0000 - 0x00007ffe3595e000 C:\WINDOWS\System32\msvcrt.dll
      0x00007ffe354e0000 - 0x00007ffe35577000 C:\WINDOWS\System32\sechost.dll
      0x00007ffe36b00000 - 0x00007ffe36c20000 C:\WINDOWS\System32\RPCRT4.dll
      0x00007ffe35960000 - 0x00007ffe35af3000 C:\WINDOWS\System32\USER32.dll
      0x00007ffe34b70000 - 0x00007ffe34b91000 C:\WINDOWS\System32\win32u.dll
      0x00007ffe36aa0000 - 0x00007ffe36ac6000 C:\WINDOWS\System32\GDI32.dll
      0x00007ffe33d80000 - 0x00007ffe33f14000 C:\WINDOWS\System32\gdi32full.dll
      0x00007ffe349b0000 - 0x00007ffe34a4e000 C:\WINDOWS\System32\msvcp_win.dll
      0x00007ffe34a50000 - 0x00007ffe34b4a000 C:\WINDOWS\System32\ucrtbase.dll
      0x00007ffe27960000 - 0x00007ffe27be5000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.18362.295_none_e6c3acbd13101292\COMCTL32.dll
      0x00007ffe35580000 - 0x00007ffe358b6000 C:\WINDOWS\System32\combase.dll
      0x00007ffe34cf0000 - 0x00007ffe34d70000 C:\WINDOWS\System32\bcryptPrimitives.dll
      0x00007ffe36ad0000 - 0x00007ffe36afe000 C:\WINDOWS\System32\IMM32.DLL
      0x000000005d3a0000 - 0x000000005d472000 C:\Program Files\Java\jdk1.8.0_221\jre\bin\msvcr100.dll
      0x000000005caf0000 - 0x000000005d395000 C:\Program Files\Java\jdk1.8.0_221\jre\bin\server\jvm.dll
      0x00007ffe36a30000 - 0x00007ffe36a38000 C:\WINDOWS\System32\PSAPI.DLL
      0x00007ffe21310000 - 0x00007ffe21319000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
      0x00007ffe31600000 - 0x00007ffe31624000 C:\WINDOWS\SYSTEM32\WINMM.dll
      0x00007ffe35b20000 - 0x00007ffe35b8f000 C:\WINDOWS\System32\WS2_32.dll
      0x00007ffe2d1e0000 - 0x00007ffe2d1ea000 C:\WINDOWS\SYSTEM32\VERSION.dll
      0x00007ffe315d0000 - 0x00007ffe315fd000 C:\WINDOWS\SYSTEM32\WINMMBASE.dll
      0x00007ffe33d00000 - 0x00007ffe33d4a000 C:\WINDOWS\System32\cfgmgr32.dll
      0x00007ffe25ce0000 - 0x00007ffe25cef000 C:\Program Files\Java\jdk1.8.0_221\jre\bin\verify.dll
      0x00007ffdffb70000 - 0x00007ffdffb99000 C:\Program Files\Java\jdk1.8.0_221\jre\bin\java.dll
      0x00007ffe06b20000 - 0x00007ffe06b36000 C:\Program Files\Java\jdk1.8.0_221\jre\bin\zip.dll
      0x00007ffe35c50000 - 0x00007ffe36332000 C:\WINDOWS\System32\SHELL32.dll
      0x00007ffe351c0000 - 0x00007ffe35269000 C:\WINDOWS\System32\shcore.dll
      0x00007ffe33f20000 - 0x00007ffe3469c000 C:\WINDOWS\System32\windows.storage.dll
      0x00007ffe33bc0000 - 0x00007ffe33bdf000 C:\WINDOWS\System32\profapi.dll
      0x00007ffe33c00000 - 0x00007ffe33c4a000 C:\WINDOWS\System32\powrprof.dll
      0x00007ffe33b90000 - 0x00007ffe33ba0000 C:\WINDOWS\System32\UMPDC.dll
      0x00007ffe36c20000 - 0x00007ffe36c72000 C:\WINDOWS\System32\shlwapi.dll
      0x00007ffe33ba0000 - 0x00007ffe33bb1000 C:\WINDOWS\System32\kernel.appcore.dll
      0x00007ffe34b50000 - 0x00007ffe34b67000 C:\WINDOWS\System32\cryptsp.dll
      0x00007ffe05760000 - 0x00007ffe0577a000 C:\Program Files\Java\jdk1.8.0_221\jre\bin\net.dll
      0x00007ffe27bf0000 - 0x00007ffe27dc6000 C:\WINDOWS\SYSTEM32\urlmon.dll
      0x00007ffe28780000 - 0x00007ffe28a26000 C:\WINDOWS\SYSTEM32\iertutil.dll
      0x00007ffe335d0000 - 0x00007ffe335dc000 C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL
      0x00007ffe33400000 - 0x00007ffe33467000 C:\WINDOWS\system32\mswsock.dll
      0x00007ffe33150000 - 0x00007ffe3321a000 C:\WINDOWS\SYSTEM32\DNSAPI.dll
      0x00007ffe34de0000 - 0x00007ffe34de8000 C:\WINDOWS\System32\NSI.dll
      0x00007ffe33110000 - 0x00007ffe3314a000 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
      0x00007ffe2bdb0000 - 0x00007ffe2bdba000 C:\Windows\System32\rasadhlp.dll
      0x00007ffe2c750000 - 0x00007ffe2c7c7000 C:\WINDOWS\System32\fwpuclnt.dll
      0x00007ffe33d50000 - 0x00007ffe33d76000 C:\WINDOWS\System32\bcrypt.dll
      0x00007ffdfc680000 - 0x00007ffdfc6a4000 C:\Program Files\Java\jdk1.8.0_221\jre\bin\sunec.dll
      0x00007ffe2cb10000 - 0x00007ffe2cb26000 C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
      0x00007ffe2d130000 - 0x00007ffe2d14c000 C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
      0x00007ffdffe30000 - 0x00007ffdffe42000 C:\Program Files\Java\jdk1.8.0_221\jre\bin\nio.dll
      0x00007ffe32f70000 - 0x00007ffe32fa3000 C:\WINDOWS\system32\rsaenh.dll
      0x00007ffe33a80000 - 0x00007ffe33aa5000 C:\WINDOWS\SYSTEM32\USERENV.dll
      0x00007ffe25b40000 - 0x00007ffe25b4b000 C:\Program Files\Java\jdk1.8.0_221\jre\bin\sunmscapi.dll
      0x00007ffe34ba0000 - 0x00007ffe34ce9000 C:\WINDOWS\System32\CRYPT32.dll
      0x00007ffe33be0000 - 0x00007ffe33bf2000 C:\WINDOWS\System32\MSASN1.dll
      0x00007ffdfc220000 - 0x00007ffdfc242000 C:\Program Files\sqljdbc_4.2\enu\auth\x64\sqljdbc_auth.dll
      0x00007ffe23c10000 - 0x00007ffe23c1c000 C:\WINDOWS\system32\secur32.dll
      0x00007ffe33ab0000 - 0x00007ffe33adf000 C:\WINDOWS\SYSTEM32\SSPICLI.DLL
      0x00007ffe334c0000 - 0x00007ffe335c3000 C:\WINDOWS\system32\kerberos.DLL
      0x00007ffe33380000 - 0x00007ffe333f7000 C:\WINDOWS\system32\msv1_0.DLL
      0x00007ffe33370000 - 0x00007ffe3337d000 C:\WINDOWS\SYSTEM32\NtlmShared.dll
      0x00007ffe33470000 - 0x00007ffe33484000 C:\WINDOWS\SYSTEM32\cryptdll.dll
      0x00007ffe0af70000 - 0x00007ffe0af98000 C:\WINDOWS\system32\ntdsapi.dll
      0x00007ffe20d60000 - 0x00007ffe20d76000 C:\WINDOWS\system32\napinsp.dll
      0x00007ffe20d00000 - 0x00007ffe20d1a000 C:\WINDOWS\system32\pnrpnsp.dll
      0x00007ffe21300000 - 0x00007ffe2130e000 C:\WINDOWS\System32\winrnr.dll
      0x00007ffe30200000 - 0x00007ffe3021c000 C:\WINDOWS\system32\NLAapi.dll
      0x00007ffe15c40000 - 0x00007ffe15c55000 C:\WINDOWS\system32\wshbth.dll
      0x00007ffe20ea0000 - 0x00007ffe21094000 C:\WINDOWS\SYSTEM32\dbghelp.dll

      VM Arguments:
      java_command: Example
      java_class_path (initial): .;C:\Program Files\sqljdbc_4.2\enu\sqljdbc4-2.0.jar
      Launcher Type: SUN_STANDARD

      Environment Variables:
      JAVA_HOME=C:\Program Files\Java\jdk1.8.0_221
      CLASSPATH=.;C:\Program Files\sqljdbc_4.2\enu\sqljdbc4-2.0.jar
      PATH=C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Bitvise SSH Client;C:\Program Files (x86)\Calibre2\;C:\Program Files (x86)\Common Files\Intuit\QBPOSSDKRuntime;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\sqljdbc_4.2\enu\auth\x64;C:\Program Files\elasticsearch-7.3.1\bin;C:\Program Files\sqljdbc_4.2\enu\jre8\sqljdbc42.jar;C:\Users\pc\AppData\Local\Microsoft\WindowsApps;C:\Users\pc\AppData\Local\Programs\EmEditor
      USERNAME=pc
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 63 Stepping 2, GenuineIntel



      --------------- S Y S T E M ---------------

      OS: Windows 10.0 , 64 bit Build 18362 (10.0.18362.86)

      CPU:total 12 (initial active 2) (6 cores per cpu, 2 threads per core) family 6 model 63 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2

      Memory: 4k page, physical 33452224k(26569288k free), swap 41578688k(32836788k free)

      vm_info: Java HotSpot(TM) 64-Bit Server VM (25.221-b11) for windows-amd64 JRE (1.8.0_221-b11), built on Jul 4 2019 04:39:29 by "java_re" with MS VC++ 10.0 (VS2010)

      time: Sat Aug 31 11:57:50 2019
      timezone: Eastern Daylight Time
      elapsed time: 1 seconds (0d 0h 0m 1s)


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      I run java Example from the command line

      ACTUAL -
      C:\JavaApps>java Example
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005cc2f803, pid=9928, tid=0x000000000000357c
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_221-b11) (build 1.8.0_221-b11)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.221-b11 mixed mode windows-amd64 compressed oops)
      # Problematic frame:
      # V [jvm.dll+0x13f803]
      #
      # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
      #
      # An error report file with more information is saved as:
      # C:\JavaApps\hs_err_pid9928.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #


      ---------- BEGIN SOURCE ----------
      // Import the SQL Server JDBC Driver classes
      import java.sql.*;

      class Example
      {
             public static void main(String args[])
             {
             try
             {
                  // Load the SQLServerDriver class, build the
                  // connection string, and get a connection
                  Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
                String connectionUrl = "jdbc:sqlserver://localhost;databaseName=NBWA;integratedSecurity=true";

                  Connection con = DriverManager.getConnection(connectionUrl);
                  System.out.println("Connected.");

                  // Create and execute an SQL statement that returns some data.

                  //commented out
                 String SQL = "SELECT REPORTING_MANUFACTURER_NAME FROM ManWeeklyTotals";
                  Statement stmt = con.createStatement();
                  ResultSet rs = stmt.executeQuery(SQL);

                  // Iterate through the data in the result set and display it.
                  while (rs.next())
                  {
                     System.out.println(rs.getString(1) + " " + rs.getString(2));
                  }

             }
             catch(Exception e)
             {
                  System.out.println(e.getMessage());
                  System.exit(0);
             }
          }
      }
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      I have none

      FREQUENCY : always


        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fmatte Fairoz Matte
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: