Absent Member.
Absent Member.

Visual Cobol R4 - Cobol JVM - RM/Cobol file handler

Jump to solution

[Migrated content. Thread originally posted on 07 July 2011]


i'm trying to read data from RM/Cobol data files in Visual Cobol R4 for Eclipse (Cobol JVM).

I have followed the configuration from
RM/Cobol File Handler

but I get the following error when executing :

# An unexpected error has been detected by Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x5d80f890, pid=8196, tid=10580
# Java VM: Java HotSpot(TM) Client VM (10.0-b23 mixed mode windows-x86)
# Problematic frame:
# C [cblrtsm.dll+0x7f890]
# 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 (0x001f8800): JavaThread "main" [_thread_in_native, id=10580, stack(0x00190000,0x001e0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x0000000c

EAX=0x0c3a94a0, EBX=0x0c3a94a0, ECX=0x0000000c, EDX=0x5d8f0524
ESP=0x001def74, EBP=0x001def84, ESI=0x0000000c, EDI=0x00000000
EIP=0x5d80f890, EFLAGS=0x00010206

Top of Stack: (sp=0x001def74)
0x001def74: 0c29d980 0c3a5a10 00000000 0c3a94a0
0x001def84: 001df2d4 5d810777 00000000 0c29d980
0x001def94: 00000001 0c3a9ee0 0c3a5a10 0c29d980
0x001defa4: 5d8108b1 00000001 0c3a9ee0 45522443
0x001defb4: 01005252 03ab2178 07edc468 00000000
0x001defc4: 00000000 001defc0 001deffc 00000000
0x001defd4: 0c1bfb20 001deffc 728b06c2 00000000
0x001defe4: 00000000 001df008 728b06cf 001df008

Instructions: (pc=0x5d80f890)
0x5d80f880: 0f 8e 9e 00 00 00 8b 75 08 83 c6 0c 8d 64 24 00
0x5d80f890: 8b 16 f7 c2 00 3f 00 00 74 17 0f b7 46 02 8b ca

Stack: [0x00190000,0x001e0000], sp=0x001def74, free space=315k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [cblrtsm.dll+0x7f890]
C [cblrtsm.dll+0x80777]
C [cblrtsm.dll+0x80a50]
C [cblrtsm.dll+0x80ada]
C [cbljvm_sun.dll+0x5f76]
C [cbljvm_sun.dll+0x6669]
v ~BufferBlob::Interpreter
v ~BufferBlob::StubRoutines (1)

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
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::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 )
0x01a0e800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=860, stack(0x0bca0000,0x0bcf0000)]
0x01a08400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=11244, stack(0x0bc50000,0x0bca0000)]
0x01a04000 JavaThread "Attach Listener" daemon [_thread_blocked, id=10932, stack(0x0bc00000,0x0bc50000)]
0x019fb400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7312, stack(0x0bbb0000,0x0bc00000)]
0x019e7c00 JavaThread "Finalizer" daemon [_thread_blocked, id=9044, stack(0x0bb60000,0x0bbb0000)]
0x019e6c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=6820, stack(0x0bb10000,0x0bb60000)]
=>0x001f8800 JavaThread "main" [_thread_in_native, id=10580, stack(0x00190000,0x001e0000)]

Other Threads:
0x019e3c00 VMThread [stack: 0x0bac0000,0x0bb10000] [id=11296]
0x01a17c00 WatcherThread [stack: 0x0bcf0000,0x0bd40000] [id=10868]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

def new generation total 960K, used 213K [0x03a90000, 0x03b90000, 0x03f70000)
eden space 896K, 16% used [0x03a90000, 0x03ab5560, 0x03b70000)
from space 64K, 100% used [0x03b80000, 0x03b90000, 0x03b90000)
to space 64K, 0% used [0x03b70000, 0x03b70000, 0x03b80000)
tenured generation total 4096K, used 1183K [0x03f70000, 0x04370000, 0x07a90000)
the space 4096K, 28% used [0x03f70000, 0x04097ef0, 0x04098000, 0x04370000)
compacting perm gen total 12288K, used 4401K [0x07a90000, 0x08690000, 0x0ba90000)
the space 12288K, 35% used [0x07a90000, 0x07edc4d8, 0x07edc600, 0x08690000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x00423000 C:\dvl.java\env\jdk\bin\javaw.exe
0x77370000 - 0x77498000 C:\windows\system32\ntdll.dll
0x76110000 - 0x761ec000 C:\windows\system32\kernel32.dll
0x764b0000 - 0x76576000 C:\windows\system32\ADVAPI32.dll
0x76600000 - 0x766c3000 C:\windows\system32\RPCRT4.dll
0x766d0000 - 0x7676d000 C:\windows\system32\USER32.dll
0x763e0000 - 0x7642b000 C:\windows\system32\GDI32.dll
0x775b0000 - 0x775ce000 C:\windows\system32\IMM32.DLL
0x75be0000 - 0x75ca8000 C:\windows\system32\MSCTF.dll
0x77500000 - 0x775aa000 C:\windows\system32\msvcrt.dll
0x774f0000 - 0x774f9000 C:\windows\system32\LPK.DLL
0x76430000 - 0x764ad000 C:\windows\system32\USP10.dll
0x7c340000 - 0x7c396000 C:\dvl.java\env\jdk\jre\bin\msvcr71.dll
0x6d870000 - 0x6dac0000 C:\dvl.java\env\jdk\jre\bin\client\jvm.dll
0x73fe0000 - 0x74012000 C:\windows\system32\WINMM.dll
0x75fc0000 - 0x76105000 C:\windows\system32\ole32.dll
0x75b50000 - 0x75bdd000 C:\windows\system32\OLEAUT32.dll
0x73fa0000 - 0x73fdd000 C:\windows\system32\OLEACC.dll
0x75810000 - 0x7583c000 C:\windows\system32\apphelp.dll
0x6d320000 - 0x6d328000 C:\dvl.java\env\jdk\jre\bin\hpi.dll
0x75970000 - 0x75977000 C:\windows\system32\PSAPI.DLL
0x6d820000 - 0x6d82c000 C:\dvl.java\env\jdk\jre\bin\verify.dll
0x6d3c0000 - 0x6d3df000 C:\dvl.java\env\jdk\jre\bin\java.dll
0x6d860000 - 0x6d86f000 C:\dvl.java\env\jdk\jre\bin\zip.dll
0x5d790000 - 0x5d91d000 C:\Program Files\Micro Focus\Visual COBOL 2010\bin\cblrtsm.dll
0x756d0000 - 0x75746000 C:\windows\system32\NETAPI32.dll
0x76580000 - 0x765ad000 C:\windows\system32\WS2_32.dll
0x774a0000 - 0x774a6000 C:\windows\system32\NSI.dll
0x76850000 - 0x77361000 C:\windows\system32\SHELL32.dll
0x767f0000 - 0x76849000 C:\windows\system32\SHLWAPI.dll
0x728a0000 - 0x7295e000 C:\windows\system32\MSVCR100.dll
0x74730000 - 0x748ce000 C:\windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18305_none_5cb72f2a088b0ed3\comctl32.dll
0x72b40000 - 0x72b57000 C:\Program Files\Micro Focus\Visual COBOL 2010\bin\cblctf.dll
0x758c0000 - 0x758de000 C:\windows\system32\USERENV.dll
0x758a0000 - 0x758b4000 C:\windows\system32\Secur32.dll
0x72280000 - 0x72287000 C:\windows\system32\wsock32.dll
0x735c0000 - 0x735c8000 C:\windows\System32\winrnr.dll
0x765b0000 - 0x765f9000 C:\windows\system32\WLDAP32.dll
0x754c0000 - 0x754ec000 C:\windows\system32\DNSAPI.dll
0x75030000 - 0x7506b000 C:\windows\System32\mswsock.dll
0x73f90000 - 0x73f9f000 C:\windows\system32\NLAapi.dll
0x75280000 - 0x75299000 C:\windows\system32\IPHLPAPI.DLL
0x75240000 - 0x75275000 C:\windows\system32\dhcpcsvc.DLL
0x75230000 - 0x75237000 C:\windows\system32\WINNSI.DLL
0x75200000 - 0x75222000 C:\windows\system32\dhcpcsvc6.DLL
0x73140000 - 0x7314f000 C:\windows\system32\napinsp.dll
0x73100000 - 0x73112000 C:\windows\system32\pnrpnsp.dll
0x16080000 - 0x160a5000 C:\Program Files\Bonjour\mdnsNSP.dll
0x735d0000 - 0x735d6000 C:\windows\system32\rasadhlp.dll
0x74d10000 - 0x74d15000 C:\windows\System32\wshtcpip.dll
0x6d570000 - 0x6d579000 C:\dvl.java\env\jdk\jre\bin\management.dll
0x6d620000 - 0x6d633000 C:\dvl.java\env\jdk\jre\bin\net.dll
0x750a0000 - 0x750a5000 C:\windows\System32\wship6.dll
0x72a60000 - 0x72a74000 C:\Program Files\Micro Focus\Visual COBOL 2010\bin\mfjvmfh.dll
0x6ef00000 - 0x6ef39000 C:\Program Files\Micro Focus\Visual COBOL 2010\bin\acme.dll
0x74d30000 - 0x74d38000 C:\windows\system32\VERSION.dll
0x72b30000 - 0x72b37000 C:\Program Files\Micro Focus\Visual COBOL 2010\bin\cblacme.dll
0x10000000 - 0x10013000 C:\Program Files\Micro Focus\Visual COBOL 2010\bin\zlib.dll
0x60000000 - 0x60014000 C:\Program Files\Micro Focus\Visual COBOL 2010\bin\acufh.dll
0x6ec00000 - 0x6ec35000 C:\Program Files\Micro Focus\Visual COBOL 2010\bin\avision5.dll
0x0c6a0000 - 0x0c6b4000 C:\Program Files\Micro Focus\Visual COBOL 2010\bin\wcvt32.dll
0x6ea00000 - 0x6ea2e000 C:\Program Files\Micro Focus\Visual COBOL 2010\bin\axfd32.dll
0x0c6f0000 - 0x0c716000 C:\Program Files\Micro Focus\Visual COBOL 2010\bin\LIBEXPAT.dll
0x62000000 - 0x6204e000 C:\Program Files\Micro Focus\Visual COBOL 2010\bin\armfm32.dll
0x75420000 - 0x75434000 C:\windows\system32\MPR.dll
0x73080000 - 0x730c2000 C:\windows\system32\WINSPOOL.DRV
0x60500000 - 0x60507000 C:\Program Files\Micro Focus\Visual COBOL 2010\bin\aculibs.dll
0x5bd50000 - 0x5be8a000 C:\Program Files\Micro Focus\Visual COBOL 2010\bin\mFFH.dll
0x72bd0000 - 0x72bd6000 C:\Program Files\Micro Focus\Visual COBOL 2010\bin\COB32API.dll
0x76770000 - 0x767e3000 C:\windows\system32\comdlg32.dll
0x73530000 - 0x735b5000 C:\windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.6002.18305_none_88f3a38569c2c436\COMCTL32.dll
0x72a90000 - 0x72a9e000 C:\Program Files\Micro Focus\Visual COBOL 2010\bin\cbljvm_sun.dll

VM Arguments:
jvm_args: -Dfile.encoding=Cp1252
java_command: com.easypaygroup.TestVC.TestIsam
Launcher Type: SUN_STANDARD

Environment Variables:
CLASSPATH=C:\Program Files\Micro Focus\Visual COBOL 2010\bin\mfcobol.jar;C:\Program Files\Micro Focus\Visual COBOL 2010\bin\mfcobolrts.jar;.;C:\PVSW\BIN\JPSCS.JAR;C:\PVSW\BIN\PVJDBC2X.JAR;C:\PVSW\BIN\PVJDBC2.JAR;C:\Program Files\Java\jre6\lib\ext\QTJava.zip;C:\Program Files\Belgium Identity Card
PATH=C:\Program Files\Micro Focus\Visual COBOL 2010\bin\;C:\Program Files\Micro Focus\Visual COBOL 2010\binn\;c:/dvl.java/env/jdk/bin/../jre/bin/client;c:/dvl.java/env/jdk/bin/../jre/bin;c:/dvl.java/env/jdk/bin/../jre/lib/i386;C:\oracle\Rcallant\product\11.2.0\client_1\bin;C:\Program Files\Pervasive Software\PSQL\bin\;c:\dvl.java\env\jdk\bin;C:\PVSW\BIN;C:\Program Files\Common Files\Pervasive Software Shared\pvswcore;C:\Program Files\Business Objects\BusinessObjects Enterprise 6\bin\orb\asp\6.0\bin;C:\Program Files\Business Objects\BusinessObjects Enterprise 6\bin\orb\bin;C:\Program Files\Business Objects\BusinessObjects Enterprise 6\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\Program Files\Intel\DMIX;c:\Program Files\Microsoft SQL Server\90\Tools\binn;c:\easypay-asp\algemeen\bat;C:\Program Files\cvsnt;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ZipGenius 6\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Belgium Identity Card;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Apache Software Foundation\apache-maven-2.0.9\bin
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 11, GenuineIntel

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

OS: Windows Vista Build 6002 Service Pack 2

CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 2049588k(608848k free), swap 4194303k(913136k 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 Jul 07 15:50:42 2011
elapsed time: 0 seconds


1 Solution

Accepted Solutions
Micro Focus Expert
Micro Focus Expert

RE: Visual Cobol R4 - Cobol JVM - RM/Cobol file handler

Jump to solution
The ACU and RM file handlers are not supported in the managed code environments at the present time.

If you wish to access Vision or RM files using these handlers then you can only do so from within a native program not JVM.

View solution in original post

4 Replies
Micro Focus Expert
Micro Focus Expert

RE: Visual Cobol R4 - Cobol JVM - RM/Cobol file handler

Jump to solution
I would raise this as an issue via support line because it should never crash.
Micro Focus Expert
Micro Focus Expert

RE: Visual Cobol R4 - Cobol JVM - RM/Cobol file handler

Jump to solution
The ACU and RM file handlers are not supported in the managed code environments at the present time.

If you wish to access Vision or RM files using these handlers then you can only do so from within a native program not JVM.

View solution in original post

Absent Member.
Absent Member.

RE: Visual Cobol R4 - Cobol JVM - RM/Cobol file handler

Jump to solution
Hi Chris,

Is this going to be in R5 ?


Micro Focus Expert
Micro Focus Expert

RE: Visual Cobol R4 - Cobol JVM - RM/Cobol file handler

Jump to solution
The only response that I can give to you at the current time is "possibly" as we are still making determinations as to exactly what features will be in R5...
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.