Software Archive
Read-only legacy content
17061 Discussions

My File Won't Open

Intel_C_Intel
Employee
651 Views
I'm developing a program written in Fortran 90.
At one point i call a text file to read setup data for the program.
After editing it (i had to change a parameter) it won't open, and instead flags the error message specified in OPEN.

Any ideas?

Ronan
0 Kudos
6 Replies
Steven_L_Intel1
Employee
651 Views
What is the error message?

Steve
0 Kudos
Intel_C_Intel
Employee
651 Views
THe error message was just a text box with the filename which was called by 'err=' in the open statement. I discovered that it was also called by another part of the program, but the ofiginal filename was kept. stupid huh.

but onwards:

the problem now is that after the program loads the file, it crashes with the error message:

MOVIE caused an exception 05H in module MOVIE.EXE at 015f:0040592f.
Registers:
EAX=ffffffff CS=015f EIP=0040592f EFLGS=00010296
EBX=00000000 SS=0167 ESP=0081f780 EBP=0081f810
ECX=00000020 DS=0167 ESI=0048b93c FS=5197
EDX=0000003f ES=0167 EDI=005cb1e0 GS=5476
Bytes at CS:EIP:
62 45 8c 69 15 74 e7 49 00 10 01 00 00 8b 92 ac
Stack dump:
005cb1e0 0048b93c 00000000 0048b93c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

unfotrunately, i can't find the call that's causing the crash because, if i select debug, i get another error message, this time for DFdev:

DFDEV caused an invalid page fault in
module DEVD
0 Kudos
Intel_C_Intel
Employee
651 Views
sorry, the end of my message was cut off. here's hoping:

THe error message was just a text box with the filename which was called by 'err=' in the open statement. I discovered that it was also called
by another part of the program, but the ofiginal filename was kept. stupid huh.

but onwards:

the problem now is that after the program loads the file, it crashes with the error message:

MOVIE caused an exception 05H in module MOVIE.EXE at 015f:0040592f.
Registers: EAX=ffffffff CS=015f EIP=0040592f EFLGS=00010296
EBX=00000000 SS=0167 ESP=0081f780 EBP=0081f810
ECX=00000020 DS=0167 ESI=0048b93c FS=5197 EDX=0000003f ES=0167
EDI=005cb1e0 GS=5476 Bytes at CS:EIP: 62 45 8c 69 15 74 e7 49 00 10 01 00 00 8b 92 ac Stack dump: 005cb1e0 0048b93c 00000000
0048b93c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

unfotrunately, i can't find the call that's causi
0 Kudos
Intel_C_Intel
Employee
651 Views
right, third time lucky.
the first error message is in the other replies, so i won't bother repeating it.

when i select debug, i get another error message for, Dfdev this time. the contents of the message are:

DFDEV caused an invalid page fault in
module DEVDBG.PKG at 015f:50c21af0.
Registers:
EAX=00692450 CS=015f EIP=50c21af0 EFLGS=00010246
EBX=50c21abd SS=0167 ESP=0067db78 EBP=0067dc04
ECX=00692400 DS=0167 ESI=0082eb80 FS=1c67
EDX=0000010a ES=0167 EDI=00000000 GS=5ca7
Bytes at CS:EIP:
ff 92 50 01 00 00 8b 44 24 0c 83 f8 ff 89 86 a4
Stack dump:
00000000 00692450 0082eb80 00000000 5f401ed5
00000000 00000000 0082eb80 0082eb80 00550160
000c0000 169f21e6 38670000 38868bd8 38670000
00000000
0 Kudos
Steven_L_Intel1
Employee
651 Views
What version of Visual Fortran are you using? You entered 90, which isn't right.

Try taking the ERR= off to see what the real error message is.

The DFDEV error can probably be fixed by deleting the .OPT file from your project folder.

Steve
0 Kudos
Intel_C_Intel
Employee
651 Views
Thanks heaps. removing the .opt file lets the debugger run, so hopefully i can get to the root of the problem.
The problem with the 'err=' is ok now, but cheers anyway.

ronan
0 Kudos
Reply