For Programmers: Free Programming Magazines  


Home > Archive > Cobol > August 2006 > 114 Attempt to access item beyond bounds of memory - (Signal 11)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author 114 Attempt to access item beyond bounds of memory - (Signal 11)
am.vinod@gmail.com

2006-08-09, 3:55 am

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

Michael Mattias

2006-08-09, 7:55 am

<am.vinod@gmail.com> wrote in message
news:1155102884.979020.131520@m79g2000cwm.googlegroups.com...
> 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.


Language and operating system agnostic answer:
That sure sounds like one of your parameters is incorrectly set at the point
of call; or is being called with the wrong calling convention (e.g you are
using BY REFERENCE when BY VALUE/CONTENT is required).

Alternate suggestion, also language and operating system agnostic:
Try compiling to an executable and run it that way. If it runs now, the
problem is something unique to your stepping debugger tool.

MCM








Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com