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


    Sponsored Links


  • 1. fujitsu cobol 4.2
    where can i get a copy if fujitsu cobol 4.2 thank you. gys
  • 2. Numeric validation revisited
    >Can you please post some specific examples of your input and > the results you are receving? There must be something else we are > missing. Ok, I tried to avoid a long problem-definition, but I can now see my problem is not that easily defined. So, here we go again: I have a user input fields: 01 VFYS PIC S9(9)V99 COMP-3. 01 VMIN PIC S9(5) COMP-3. 01 VMAX PIC S9(5) COMP-3. 01 LTAN PIC S9(7) COMP-3. I have to add up a lot of LTAN'es and subtract VFYS from LTAN. Finally all 4 values are to be printed out. 01 Temp-add-field PIC S9(9)V99 COMP-3. But first, I move them into a table, contaning an exact copy of the above fields. This way I can sort them, according to some other irellevant field. Then, I move them into a print-line with the fields: 01 PRINTLINE. ... 03 PFYS PIC ZZZ.ZZZ.ZZ9-. 03 PMIN PIC ZZZZ9-. 03 PMAX PIC ZZZZ9-. 03 PTAN PIC ZZZ.ZZZ.ZZ9-. ... It seems my input-data is garbage (stupid users), because On the printer it says: ... some-string some-thing-else 437 20202 20202 21 Actually only PMIN and PMAX is the problem. Darn it that deadline is getting close! I've been trying and trying. Could one of you maybe tell me where to look. Thanks for all your replyes (Binyamin,Docdwarf,Pete,Ron and Walter) Mark, Denmark.
  • 3. Disappearing data on screen
    How do you keep input data from disappearing from the screen from one display to the next? I'm using Fujitsu COBOL 5.0. Thanks.
  • 4. Linking Problem
    I work in an environment where we compile a program on one machine and then simply take the .int files and move them to another machine that has a different directory structure. This used to work fine until we upgraded to MicroFocus Server Express Version4. According to MicroFocus in order for an executable to be portable it would have to run on a machine that has the same directory structure as the original machine. We were told that if we do not want to port source code that we could port .int programs and then use the cob command to relink them on the destination machine. We tried this but the destination machine is still looking for the original location. Please advise. Thanks.

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

Check the User's Guide, Chapter 7.


Similar Threads:

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


I'm trying to run a cobol program and calling "DBOPEN" with parameters

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,

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

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,                   
IF WPFS9260-APPLIED-TO = "Y"                      
   GO TO CD999-EXIT.                              
MOVE WC-KEY(WC-IND) TO WPFS9290-KEY.              
offending line
CALL "PFS9290" USING WS-COMMON,                   
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.


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
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
            data[j].p2 = get_string (seeds[i%no_seeds], nzeros
            data[j].results = pairs[i];
            rc = pthread_create (&threads[j], &attr, run_actree, (void
            if (rc) {
                printf ("ERROR; return code from pthread_create() is
\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);

    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 76 guest