Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

CVF 6.6 error severe <166>

Status
Not open for further replies.

MrBurton

Chemical
Joined
Apr 26, 2010
Messages
1
Location
IT
Hi! I'm new and i don't speak english very well, sorry for grammar errors.
I start using Compaq visual fortran 6.6 to programming and i have a problem whit subroutine that use vectors,the error appear when i call the subroutine on the main; the error is the following on WinXP (BinMixMain is program name):

forrtl: severe <166>: Program Exception - privileged instruction
Image PC Routine Line Source
BinMixMain.exe 00475874 Unknown Unknown Unknown
BinMixMain.exe 00401569 Unknown Unknown Unknown
BinMixMain.exe 00445AA9 Unknown Unknown Unknown
BinMixMain.exe 0042AFE9 Unknown Unknown Unknown
kernel132.dll 7X816FD7 Unknown Unknown Unknown

incrementally linked image--Pc correlation disabled.

when I use VISTA the error is:

forrtl: severe <166>: Program Exception - privileged instruction
Image PC Routine Line Source
BinMixMain.exe 00475874 Unknown Unknown Unknown

I don't know really how to fix this.

thanks for the answer

 
1) Try building the program in debug mode. It may tell you where it is crashing.
2) Check your variable types. I-N are integers by default, everything else is real. Are you passing a variable that is real but starting with letters I-N? If so, you need to declare it as real.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top