error code: 114 Attempt to access item beyond bounds of memory (Signal 11)

cobol

    Sponsored Links

    Next

  • 1. Static, Dynamic, etc
    Robert wrote: > On Sun, 01 Jun 2008 18:37:02 GMT, "William M. Klein" < XXXX@XXXXX.COM > wrote: >> I am not saying that you are wrong about what Micro Focus "is doing" but can >> you point me to where the document that they are "dropping support for static >> linking" (and in which product and environments or O/S)? > > Server Express 5.0 Migration Guide > > You can no longer create statically linked executables. The -B option has, therefore, been > removed. That does not mean that static linking is no longer supported. Server Express still supports the static linking of multiple object files. What's not supported is the creation of pure-static executables with no shared-object dependencies, which is what the -B flag could be used for in the past. You can still compile a bunch of COBOL sources to object code, and then statically link those objects together. If you create a standalone executable, though, it will have dynamic dependencies on shared objects, including the shared objects for the COBOL runtime, the C runtime, and so on. -- Michael Wojcik Micro Focus
  • 2. File Status Code/52
    Need help on file status code on MF file status code. Im "writing a record to a file" and got the below file status code. Got an "extended" file status code below; 02 = status key1 52 = status key2 While on standard file status code, it is 24. MF has no relevant documentation of the extended status code, though status key1 suggest that the key is duplicated to the declared non- duplicate field.... so it means INVALID KEY is executed. So if it "duplicated" as it shows it has, the duplicate record is not written, BUT the first/original record is supposed to be there right? But wrong, the duplicated record is NOT written as well. So what is file status code "52" then? Platform: Windows 2000 Server File category is NTFS Using MF Fileshare noRAID SATA drive File index structure: IDXFORMAT"4" File DAT is 1,048,576KB File IDX is 1,387,178KB Primary key: 50bytes (no duplicate) Second key1: 23bytes (dups) Second key2: 19bytes (dups) The file is working then, but it won't "normally" add a record now (it is adding a few records though at random). What's wrong with it?
  • 3. Cobol Netexpress 3.1. XP and W98 Conflicts
    Good day friends: I am with a problem, a system was functioning with the server windows 2003 and stations well Windows 98. From the moment where customers with windows had been installed xp, they had started to appear travamentos, errors of index (9/041), exactly in open archives input. I thank any aid. Emilio Avila Microfocus NetExpress 3,1 + Dialog System
  • 4. COBOL Time of Day in micro-seconds or nano-seconds
    All Does anyone know of a "standard" or widely accepted way to get COBOL time of day in micro-seconds or nano-seconds for use in generating more accurate transaction time-stamp and for use in measuring transaction turn-around time. The current-date function only returns hundredth of a second. Using mainframe assembler the micro-second clock counter can be accessed but that's not standard COBOL and not portable across platforms. In J2SE Java, there is the method System.nanotime() to get the more accurate time of day in nano-secounds available from the host system but that's not standard COBOL either. Don Higgins XXXX@XXXXX.COM

Re: error code: 114 Attempt to access item beyond bounds of memory (Signal 11)

Postby Wiggy » Wed, 06 Aug 2003 08:37:54 GMT





Server Express docs can be found online at the Micro Focus SupportLine site
@
 http://www.**--****.com/ 
22indx.htm

Check the User's Guide, Chapter 7.

Simon.



Similar Threads:

1.114 Attempt to access item beyond bounds of memory - (Signal 11)

Hi,

I'm trying to run a cobol program and calling "DBOPEN" with parameters
such as IMAGE-BASE, IMAGE-PASSWORD, IMAGE-MODE, IMAGE-STATUS.

I'm trying to open the database with read mode.

When I animate the program, at this specific point of calling "DBOPEN"
, Attempt to access item beyond bounds of memory - (Signal 11) occurs.
I'm not able to proceed further.

Help needed in this case.

With Kind Regards,
Vinod

2.Microfocus Cobol - Execution error code: 114

Has anyone else had this problem?

We have recently upgraded our Unix box to HP-UX 11 & Microfocus Cobol
OCDS 4.1.40. All our cobol sources were recompiled under the new
version of OS and OCDS.

Also worth mention is that the same source program also runs on
various other flavours of Unix OS & Cobol, e.g. AIX 4.33/4.1.20, HP-UX
10.20/4.1.20, HP-UX 10.20/4.1.40 without any problems.

Having recompiled I am getting the following error when I run the
program:

-------------------------------------------------------
HPD/Micro Focus Cobol Errors                                        
                                                                    
                                                                    
Execution error : file '/opt/users/programs/ifa/IFA54RN/PFS2150.gnt'
error code: 114, pc=0, call=107, seg=0                              
114     Attempt to access item beyond bounds of memory (Signal 10)  
                                                                    
HP/MF COBOL Version: v4.1.40                                        
HP-UX hp9000 B.11.00 A 9000/806                                     
pid: 4483 gid: 20 uid: 116                                          
-------------------------------------------------------

I have managed to isolate where the program is falling over, here is a
section of the code:

-------------------------------------------------------
MOVE WC-KEY(WC-IND) TO WPFS9260-KEY.              
CALL "PFS9260" USING WS-COMMON,                   
                     WPFS9260-PARAMETERS.         
IF WPFS9260-APPLIED-TO = "Y"                      
   GO TO CD999-EXIT.                              
MOVE WC-KEY(WC-IND) TO WPFS9290-KEY.              
DISPLAY "NOW MOVED WC-KEY..."
MOVE WC-NEW-DOCAPPNO(WC-IND) TO WPFS9290-APPLY-TO. <-----------
offending line
CALL "PFS9290" USING WS-COMMON,                   
                     WPFS9290-PARAMETERS,         
                     FFS031-SAVE-RECORD.          
IF WPFS9290-ERROR = "Y"                           
   GO TO CD999-EXIT.                              
-------------------------------------------------------

In the code above, the program falls over with the error mentioned
above on the line indicated.

Interestingly though, if I put in a DISPLAY statement just prior to
the offending line, as shown in the code above, the program runs
through without any problem.

The other thing is that if I run just the .int, (renamed the .gnt)
then the program works fine. So it appears that the problem lies in
the gnt and something is getting corrupted. We've done the usual of
updating the machine to the latest OS patches.

Does anyone have any ideas of how to get around this. I don't think
the problem lies with the code (although not a 100& sure), since this
same program is compiled on various different platforms running our
other versions of Unix and Cobol. So if there were a problem in the
code, I'd expect to get the same problem on our other unix boxes.

Anyway - if anyone can give me some ideas to try out, I'd really
appreciate it.

thanks
phil

3.Signal 11 error (core)

This statement gives core dump

  if( pError->pFileName[0] != '\0' )

can someone suggest why ?

This statement was failing in all our unix environments so we changed
it to:

if( !(pError->pFunctionName == NULL))

It worked for some environments then now again it failed in 1
environment.
 
Any idea ?

All memory allocation have been done.

4.pthread_create returns error code 11

i have a code that uses pthread, but when i use pthread_create()
method it returns error code 11. I have found out that this is often
because of exceeding the THREAD_MAX limit for the process. But i want
to use only about 24 threads at a given time, and i destroy the
threads (or atleast i thought so) can someone tell me what i am doing
wrong here it would be of great help! thanks!

 for (i=0; i<no_pairs; ){
        for (j=0; j<MAX_THREADS && i<no_pairs; j++,i++){
            data[j].a = seeds[i/no_seeds];
            data[j].b = seeds[i%no_seeds];
            data[j].N = N;
            data[j].L = nones+nzeros;
            data[j].p1 = get_string (seeds[i/no_seeds], nzeros
+nones-1);
            data[j].p2 = get_string (seeds[i%no_seeds], nzeros
+nones-1);
            data[j].results = pairs[i];
            rc = pthread_create (&threads[j], &attr, run_actree, (void
*)
&data[j]);
            if (rc) {
                printf ("ERROR; return code from pthread_create() is
%d
\n", rc);
                exit (-1);
            }
        }
        for (k=0; k<j; k++){
            rc = pthread_join (threads[k], &status);
            if (rc) {
                printf("ERROR; return code from pthread_join() is %d
\n", rc);
                exit(-1);
            }
        }
    }

    pthread_attr_destroy (&attr);

Above is the main loop i create threads in, MAX_THREADS = 24

Any help as to where i am going wrong is greatly appreciated.

5.comp.lang.ada Digest, Vol 19, Issue 114

6. oracle10g SQLBEX giving 114 with Oracle Dynamic SQL Method 4 (ora9 works well)

7. errore 114

8. Server Express 64bit and Oracle 9i problem (114) on AIX 5.2



Return to cobol

 

Who is online

Users browsing this forum: No registered users and 25 guest