[Migrated content. Thread originally posted on 29 November 2011]
HiMy application is an Cobol EXE calling many entry procedure
of an external Cobol DLL, when running in the IDE (animate)
works well. Outside the IDE fails when repeatedly calls the same
entry procedure, approximately 30 or more times.
Cobol reports:
Execution error: file 'gadget'
error code 114, pc=0, call=1, seg=0
114 Attempt to access item beyond bouns of memory (Signal 11)
And mfdebug.log
NetExpress Exception Handler - 29/11/2011 17:00:06
C:\\PfCont\\PF901M.exe caused an exception at address : 0x58C44784
Exception type - EXCEPTION_ACCESS_VIOLATION on Read. Address 0x0409B000
Registers:
EAX 0409AFFF EBX 001625D8
ECX 000002A3 EDX 024E8D01
DS 0023 ESI 0409AFF8
ES 0023 EDI 00000008
FS 003B GS 0000
CS 001B EIP 58C44784
SS 0023 ESP 0012DD70 EBP 0012DDD0
Flags 00010246
Error occurred in : C:\\WINDOWS\\system32\\comctl32.dll, loaded at 0x58C30000
CompanyName Microsoft Corporation
FileDescription Common Controls Library
FileVersion 5.82 (xpsp.080413-2105)
LegalCopyright © Microsoft Corporation. All rights reserved.
OriginalFileName COMCTL32.DLL
ProductName Microsoft® Windows® Operating System
ProductVersion 6.00.2900.5512
COBOL call stack:
gadget (obj program)
awindow (obj program)
win32api (obj program)
toolbar (obj program)
tbbutton (obj program)
toolbar (obj program)
guibase (obj program)
awindow (obj program)
awindow (obj program)
PFLIB (obj program)
PfBusLib (obj program)
PfBusLib (obj program)
PF252C (obj program)
PF901M (obj program)
Run-time : C:\\PfCont\\cblrtss.dll, loaded at 0x60080000
CompanyName MERANT International Limited
FileDescription Micro Focus 32-bit RTS
FileVersion 3.724, 3.504
LegalCopyright Copyright (C) 1984-2000 MERANT International Ltd.
OriginalFileName cblrtss.dll
ProductName Micro Focus Net Express
ProductVersion 3.0.14
SpecialBuild RTS Websync 1.0.007
OS Information:
Windows NT 5.1 (Build 2600: Service Pack 3)
CPU: Intel Pentium Model 28 step 10, 4 processors
Available memory - 2087020 KB
I would appreciate indicate Which is why this error.
Thanks in advance
Pedro Frongillo.