Skip to main content

[archive] Memory access violation

  • December 21, 2007
  • 6 replies
  • 0 views

[Migrated content. Thread originally posted on 21 December 2007]

We have a problem that we have not been able to solve.

We have a text version of our software that we run under AcuCobol 2.3 and Acucobol 6.1 and the programs work, no problem. When we try and run these programs using 7.0 or 7.1 runtime we get a memory access violation error when we are accepting fields from the screen. This error is caused by an index out of bounds. What I need to know is why does the code work in 6.1 but not 7.1 and is there a way to get around this error without changing code.

Thanks,

6 replies

[Migrated content. Thread originally posted on 21 December 2007]

We have a problem that we have not been able to solve.

We have a text version of our software that we run under AcuCobol 2.3 and Acucobol 6.1 and the programs work, no problem. When we try and run these programs using 7.0 or 7.1 runtime we get a memory access violation error when we are accepting fields from the screen. This error is caused by an index out of bounds. What I need to know is why does the code work in 6.1 but not 7.1 and is there a way to get around this error without changing code.

Thanks,
Not quite sure on the overall answer.

However I know that we experienced a load of MAV's when we moved to 7.2

Acucorp created 4 patches for us, and based on what I now know I'd personally suggest moving to V8.0 - I can tell you we are.

Shaun

[Migrated content. Thread originally posted on 21 December 2007]

We have a problem that we have not been able to solve.

We have a text version of our software that we run under AcuCobol 2.3 and Acucobol 6.1 and the programs work, no problem. When we try and run these programs using 7.0 or 7.1 runtime we get a memory access violation error when we are accepting fields from the screen. This error is caused by an index out of bounds. What I need to know is why does the code work in 6.1 but not 7.1 and is there a way to get around this error without changing code.

Thanks,
Shaun,

Do you have the patches that acucorp gave you?
Did they solve the problems?

Thanks for your help.

[Migrated content. Thread originally posted on 21 December 2007]

We have a problem that we have not been able to solve.

We have a text version of our software that we run under AcuCobol 2.3 and Acucobol 6.1 and the programs work, no problem. When we try and run these programs using 7.0 or 7.1 runtime we get a memory access violation error when we are accepting fields from the screen. This error is caused by an index out of bounds. What I need to know is why does the code work in 6.1 but not 7.1 and is there a way to get around this error without changing code.

Thanks,
Shaun,

Do you have the patches that acucorp gave you?
Did they solve the problems?

Thanks for your help.

[Migrated content. Thread originally posted on 21 December 2007]

We have a problem that we have not been able to solve.

We have a text version of our software that we run under AcuCobol 2.3 and Acucobol 6.1 and the programs work, no problem. When we try and run these programs using 7.0 or 7.1 runtime we get a memory access violation error when we are accepting fields from the screen. This error is caused by an index out of bounds. What I need to know is why does the code work in 6.1 but not 7.1 and is there a way to get around this error without changing code.

Thanks,
They didn't solve all the problems i'm afraid, but definately the vast majority.

I'd really suggest you get you're hands on a copy of V8.0.
I know that even with the patched 7.2 we have there are substancial memory leaks under thin client on Unix.
I've an example on here if you search which has a leak of 1000 bytes every call

If you really want to stick with 7.2 I'm sure I could get you the relevant ECN's
But I still think you'd be better off with 8.0

Shaun

[Migrated content. Thread originally posted on 21 December 2007]

We have a problem that we have not been able to solve.

We have a text version of our software that we run under AcuCobol 2.3 and Acucobol 6.1 and the programs work, no problem. When we try and run these programs using 7.0 or 7.1 runtime we get a memory access violation error when we are accepting fields from the screen. This error is caused by an index out of bounds. What I need to know is why does the code work in 6.1 but not 7.1 and is there a way to get around this error without changing code.

Thanks,
They didn't solve all the problems i'm afraid, but definately the vast majority.

I'd really suggest you get you're hands on a copy of V8.0.
I know that even with the patched 7.2 we have there are substancial memory leaks under thin client on Unix.
I've an example on here if you search which has a leak of 1000 bytes every call

If you really want to stick with 7.2 I'm sure I could get you the relevant ECN's
But I still think you'd be better off with 8.0

Shaun

[Migrated content. Thread originally posted on 21 December 2007]

We have a problem that we have not been able to solve.

We have a text version of our software that we run under AcuCobol 2.3 and Acucobol 6.1 and the programs work, no problem. When we try and run these programs using 7.0 or 7.1 runtime we get a memory access violation error when we are accepting fields from the screen. This error is caused by an index out of bounds. What I need to know is why does the code work in 6.1 but not 7.1 and is there a way to get around this error without changing code.

Thanks,
Thanks, I think we will upgrade to v8.