Software Archive
Read-only legacy content
17061 Discussions

Severe (157): Program Exception - acess violation.

Intel_C_Intel
Employee
618 Views
I punched in a very large legacy finite elements application into VF 5.0. It compiles and builds with 0 error(s) and 0 warning(s).

When running debug, there is a message that the KERNEL32.DLL was loaded but no matching symbolic information was found and the thread(s) exited. Also, I get forrtl: severe (157): Program Exception - access violation.

When trying to execute the EXE, the same forrtl: severe (157): Program Exception - access violation appears.

The advise for 157 is to recompile with check:bounds. My question: How do I turn on the bounds checking? Another question: If this proves what is suspected, What do you do about out-of-bounds memory references? Also, What about the no matching symbolic info at debug time?

Whe using sample data, my output is similar to the sample output, but not the same...

I am running a Gateway Pentium 133 MHZ with Windows 98. I will be moving to a Dell Pentium III with Windows 2000. How would this affect the outcome?

Charles van de Putte
0 Kudos
2 Replies
sabalan
New Contributor I
618 Views
I think this has nothing to do with the memory amount, but with array and string bounds. Go to Project / Settings... / Fortran / Run Time and check for Array and String Bounds ander "Runtime Error Checking". This is going to show you which array or string in your program is declared to be too short.
Regards,
Sabalan.
0 Kudos
durisinm
Novice
618 Views
Once you turn on the option to check array bounds, run your application and see what code is overrunning what arrays. Determine why the code is doing it, and change the execution logic to stop it. Then rerun your application and see if any of your other problems go away.

Mike Durisin
0 Kudos
Reply