Skip to Content
0
Former Member
Sep 01, 2014 at 10:19 AM

jco client problem: EXCEPTION_ACCESS_VIOLATION

134 Views

hello,


I’m having a problem with JCo client connection. JCo crashes (bringing down the JVM as well) and this error message is dumped.


#

# A fatal error has been detected by the Java Runtime Environment:

#

# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6e6f3dd9, pid=5860, tid=6104

#

# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)

# Java VM: Java HotSpot(TM) Client VM (24.51-b03 mixed mode windows-x86 )

# Problematic frame:

# V [jvm.dll+0xc3dd9]

#

# Core dump written. Default location: ........hs_err_pid5860.mdmp

#

# If you would like to submit a bug report, please visit:

# http://bugreport.sun.com/bugreport/crash.jsp

#

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

Current thread (0x007e2000): JavaThread "main" [_thread_in_vm, id=6104, stack(0x02be0000,0x02ce0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000009

Registers:

EAX=0x100d5de0, EBX=0x02cdf0e0, ECX=0x00000008, EDX=0x00000001

ESP=0x02cdeefc, EBP=0x02cdef04, ESI=0x007e2000, EDI=0x02cdf320

EIP=0x6e6f3dd9, EFLAGS=0x00010246

Top of Stack: (sp=0x02cdeefc)

0x02cdeefc: 02cdf320 007e2130 02cdef24 0659361d

0x02cdef0c: 007e2130 05408c6c 00000000 00000000

0x02cdef1c: 007e2130 00002710 02cdf3a8 0659c1c5

0x02cdef2c: 007e2130 02cdf0e0 02cdf340 02cdf320

0x02cdef3c: 007e2000 20115a50 20115a50 00000000

0x02cdef4c: 00000000 00000000 00000000 00000000

0x02cdef5c: 00000000 00000000 00000000 00000000

0x02cdef6c: 00000000 00000000 00000000 00000000

Instructions: (pc=0x6e6f3dd9)

0x6e6f3db9: 8b 0d 1c 1a 96 6e 8b 45 0c 8b 00 83 c4 08 85 c9

0x6e6f3dc9: 7e 05 8b 3c 01 eb 0c 8b 0d 14 1a 96 6e 8b 14 01

0x6e6f3dd9: 8b 7a 08 c7 86 6c 01 00 00 07 00 00 00 83 3d 98

0x6e6f3de9: f3 96 6e 01 7e 19 80 3d 29 ed 96 6e 00 74 07 f0

Register to memory mapping:

EAX=

[error occurred during error reporting (printing register info), id 0xc0000005]

Stack: [0x02be0000,0x02ce0000], sp=0x02cdeefc, free space=1019k

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

V [jvm.dll+0xc3dd9]

C [sapjcorfc.dll+0x361d]

C [sapjcorfc.dll+0xc1c5]

j com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Lcom/sap/mw/jco/JCO$Client;Ljava/lang/String;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Ljava/lang/String;Ljava/lang/String;I)V+0

j com.sap.mw.jco.rfc.MiddlewareRFC$Client.execute(Lcom/sap/mw/jco/JCO$Client;Ljava/lang/String;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Ljava/lang/String;Ljava/lang/String;I)V+16

j com.sap.mw.jco.JCO$Client.execute(Ljava/lang/String;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Ljava/lang/String;Ljava/lang/String;I)V+478

j com.sap.mw.jco.JCO$Client.execute(Lcom/sap/mw/jco/JCO$Function;)V+21

j com.sap.mw.jco.JCO$Repository.execute(Lcom/sap/mw/jco/JCO$Client;Lcom/sap/mw/jco/JCO$Function;)V+14

j com.sap.mw.jco.JCO$Repository.queryFunctionInterface(Lcom/sap/mw/jco/JCO$Client;Ljava/lang/String;)Lcom/sap/mw/jco/IMetaData;+308

j com.sap.mw.jco.JCO$Repository.queryFunctionInterface(Ljava/lang/String;Ljava/lang/String;)Lcom/sap/mw/jco/IMetaData;+111

j com.sap.mw.jco.JCO$Repository.getFunctionInterface(Ljava/lang/String;)Lcom/sap/mw/jco/IMetaData;+85

j com.sap.mw.jco.JCO$BasicRepository.getFunctionTemplate(Ljava/lang/String;)Lcom/sap/mw/jco/IFunctionTemplate;+25

j com.....Database.JCO.JCOConnection2.createBapi(Ljava/lang/String;Ljava/lang/StringBuffer;)Lcom/sap/mw/jco/JCO$Function;+21

j com.....Database.JCO.JCOCatalog2.fetchCubes(Ljava/lang/String;)V+34

v ~StubRoutines::call_stub

V [jvm.dll+0x13f35a]

V [jvm.dll+0x202c6e]

V [jvm.dll+0x13f3dd]

V [jvm.dll+0xc9bc2]

V [jvm.dll+0xcd813]

C [×JCOWrp.dll+0xe9e7]

C [×JCOWrp.dll+0x57f8]

.............................

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

Java Threads: ( => current thread )

0x05448400 JavaThread "Service Thread" daemon [_thread_blocked, id=4372, stack(0x06490000,0x06590000)]

0x0543ec00 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=4568, stack(0x061c0000,0x062c0000)]

0x0543d800 JavaThread "Attach Listener" daemon [_thread_blocked, id=3408, stack(0x06050000,0x06150000)]

0x05412800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4204, stack(0x05ea0000,0x05fa0000)]

0x0540e400 JavaThread "Finalizer" daemon [_thread_blocked, id=4176, stack(0x05bb0000,0x05cb0000)]

0x05409400 JavaThread "Reference Handler" daemon [_thread_blocked, id=4016, stack(0x05960000,0x05a60000)]

=>0x007e2000 JavaThread "main" [_thread_in_vm, id=6104, stack(0x02be0000,0x02ce0000)]

Other Threads:

0x05408000 VMThread [stack: 0x05670000,0x05770000] [id=5892]

0x0545a800 WatcherThread [stack: 0x06390000,0x06490000] [id=5236]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap

def new generation total 4928K, used 2957K [0x0fe00000, 0x10350000, 0x15350000)

eden space 4416K, 66% used [0x0fe00000, 0x100e3580, 0x10250000)

from space 512K, 0% used [0x10250000, 0x10250000, 0x102d0000)

to space 512K, 0% used [0x102d0000, 0x102d0000, 0x10350000)

tenured generation total 10944K, used 0K [0x15350000, 0x15e00000, 0x1fe00000)

the space 10944K, 0% used [0x15350000, 0x15350000, 0x15350200, 0x15e00000)

compacting perm gen total 12288K, used 3219K [0x1fe00000, 0x20a00000, 0x23e00000)

the space 12288K, 26% used [0x1fe00000, 0x20124de0, 0x20124e00, 0x20a00000)

No shared spaces configured.

Dynamic libraries:

0x775f0000 - 0x77770000 C:\Windows\SysWOW64\ntdll.dll

0x74e60000 - 0x74f70000 C:\Windows\syswow64\kernel32.dll

0x74e10000 - 0x74e57000 C:\Windows\syswow64\KERNELBASE.dll

0x76ac0000 - 0x76af5000 C:\Windows\syswow64\WS2_32.dll

0x75bd0000 - 0x75c7c000 C:\Windows\syswow64\msvcrt.dll

0x75ee0000 - 0x75fd0000 C:\Windows\syswow64\RPCRT4.dll

0x74cd0000 - 0x74d30000 C:\Windows\syswow64\SspiCli.dll

0x74cc0000 - 0x74ccc000 C:\Windows\syswow64\CRYPTBASE.dll

0x76c80000 - 0x76c99000 C:\Windows\SysWOW64\sechost.dll

0x76920000 - 0x76926000 C:\Windows\syswow64\NSI.dll

0x75bc0000 - 0x75bc5000 C:\Windows\syswow64\PSAPI.DLL

0x74d70000 - 0x74e10000 C:\Windows\syswow64\ADVAPI32.dll

0x6e2f0000 - 0x6e3a7000 C:\Windows\system32\MSVCP100D.dll

0x6cfb0000 - 0x6d123000 C:\Windows\system32\MSVCR100D.dll

0x76260000 - 0x762ef000 C:\Windows\syswow64\OLEAUT32.dll

0x75d80000 - 0x75edc000 C:\Windows\syswow64\ole32.dll

0x76020000 - 0x760b0000 C:\Windows\syswow64\GDI32.dll

0x75c80000 - 0x75d80000 C:\Windows\syswow64\USER32.dll

0x76ab0000 - 0x76aba000 C:\Windows\syswow64\LPK.dll

0x76930000 - 0x769cd000 C:\Windows\syswow64\USP10.dll

0x6a0f0000 - 0x6a12c000 C:\Windows\system32\pdh.dll

0x76b00000 - 0x76b60000 C:\Windows\system32\IMM32.DLL

0x76160000 - 0x7622c000 C:\Windows\syswow64\MSCTF.dll

0x6a030000 - 0x6a0ed000 Z:\BIN\M8SvrDA.dll

0x74ad0000 - 0x74b8f000 C:\Windows\system32\MSVCR100.dll

0x716e0000 - 0x716e8000 C:\Windows\system32\Secur32.dll

0x6e630000 - 0x6e9b0000 E:\Views\...\JRE\170_51\32-bit\bin\client\jvm.dll

0x70180000 - 0x70187000 C:\Windows\system32\WSOCK32.dll

0x716a0000 - 0x716d2000 C:\Windows\system32\WINMM.dll

0x6dcd0000 - 0x6dcdc000 E:\Views\...\JRE\170_51\32-bit\bin\verify.dll

0x6d210000 - 0x6d230000 E:\Views\...\JRE\170_51\32-bit\bin\java.dll

0x02d00000 - 0x02d13000 E:\Views\...\JRE\170_51\32-bit\bin\zip.dll

0x06590000 - 0x0691d000 Z:\BIN\sapjcorfc.dll

0x06920000 - 0x06e9a000 Z:\BIN\LIBRFC32.dll

0x68050000 - 0x68059000 C:\Windows\system32\VERSION.dll

0x7c360000 - 0x7c3b6000 C:\Windows\system32\MSVCR71.dll

0x769d0000 - 0x76a27000 C:\Windows\syswow64\SHLWAPI.dll

0x7c3c0000 - 0x7c43c000 C:\Windows\system32\MSVCP71.dll

0x74f70000 - 0x75bba000 C:\Windows\syswow64\SHELL32.dll

0x05cb0000 - 0x05d9c000 Z:\BIN\dbghelp.dll

0x74a90000 - 0x74aa1000 C:\Windows\system32\NETAPI32.dll

0x74a80000 - 0x74a89000 C:\Windows\system32\netutils.dll

0x74a60000 - 0x74a79000 C:\Windows\system32\srvcli.dll

0x74a50000 - 0x74a5f000 C:\Windows\system32\wkscli.dll

0x74a10000 - 0x74a1f000 C:\Windows\system32\SAMCLI.DLL

0x6d590000 - 0x6d5a4000 E:\Views\...\JRE\170_51\32-bit\bin\net.dll

0x71790000 - 0x717cc000 C:\Windows\system32\mswsock.dll

0x71780000 - 0x71786000 C:\Windows\System32\wship6.dll

0x6d630000 - 0x6d63f000 E:\Views\...\JRE\170_51\32-bit\bin\nio.dll

0x70230000 - 0x70240000 C:\Windows\system32\NLAapi.dll

0x70220000 - 0x70230000 C:\Windows\system32\napinsp.dll

0x701d0000 - 0x70214000 C:\Windows\system32\DNSAPI.dll

0x701c0000 - 0x701c8000 C:\Windows\System32\winrnr.dll

0x6ea10000 - 0x6ea2c000 C:\Windows\system32\IPHLPAPI.DLL

0x6ea00000 - 0x6ea07000 C:\Windows\system32\WINNSI.DLL

0x6e9c0000 - 0x6e9f8000 C:\Windows\System32\fwpuclnt.dll

0x70150000 - 0x70156000 C:\Windows\system32\rasadhlp.dll

0x6cb70000 - 0x6ccb3000 E:\Views\...\JRE\170_51\32-bit\bin\awt.dll

0x70c90000 - 0x70c95000 C:\Windows\System32\wshtcpip.dll

0x70240000 - 0x7032b000 C:\Windows\system32\DBGHELP.DLL

VM Arguments:

jvm_args: -Djco.trace_level=0 -Djco.trace_path=e:\\jco_log

java_command: <unknown>

Launcher Type: generic

F

Environment Variables:

JAVA_HOME=C:\jdk1.6.0_02

CLASSPATH=C:\Program Files (x86)\Common Files\Compuware\DLM40JNI.jar

..

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

OS: Windows NT 6.1 , 64 bit Build 7601 Service Pack 1

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 37 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, aes, tsc, tscinvbit

Memory: 4k page, physical 3145272k(128040k free), swap 6288688k(2927480k free)

vm_info: Java HotSpot(TM) Client VM (24.51-b03) for windows-x86 JRE (1.7.0_51-b13), built on Dec 18 2013 19:09:58 by "java_re" with unknown MS VC++:1600

time: Tue Aug 26 02:03:01 2014

elapsed time: 34 seconds

the jco trace log doesn't provide any details in native call of sapjcorfc.dll, Here is the trace log:

--------------------------------------------------------------------------------------

| SAP Java Connector (JCo) |

| Copyright (c) 2000-2005 SAP AG. All rights reserved. |

| Version Information |

--------------------------------------------------------------------------------------

Java Runtime:

Operating System: Windows Server 2008 R2 6.1 for x86

Java VM: 1.7.0_51 Oracle Corporation

Java Codepage: Cp1252

Versions:

JCo API: 2.1.5 (2005-02-15)

JCo middleware: 2.1.5 (2005-02-15)

JCo library: 2.1.5 (2005-02-15)

RFC library: 640.0.59

Paths:

JCo classes: ...\path\sapjco.jar

JCo library: ...\path\sapjcorfc.dll

RFC library: System-defined path

--------------------------------------------------------------------------------------

| Manifest |

--------------------------------------------------------------------------------------

Manifest-Version: 1.0

Implementation-Version: 20050220 2119 [2.1.5 (2005-02-15)]

Specification-Title: SAP Java Connector

Specification-Version: 2.1.5

Implementation-Title: com.sap.mw.jco

Main-Class: com.sap.mw.jco.About

Created-By: Ant 1.4.1

Implementation-Vendor-Id: com.sap

Implementation-Vendor: SAP AG, Walldorf

Specification-Vendor: SAP AG, Walldorf

--------------------------------------------------------------------------------------

main [23:52:34:230]: ******************** Sun Aug 31 23:52:34 EDT 2014 ***************************

could someone help look at this issue? Any advice is appreciated!