ErwinJ
12-03-2003, 01:21 PM
Hello everyone,
I'm currently working on a program that fails to run, due to a very mysterious EXCEPTION_ACCESS_VIOLATION error.
The error occurs at the end of a subroutine (exactly at the 'end subroutine statement). At runtime the error message is:
jwe0019i-u The program was terminated abnormally with Exception Code EXCEPTION_ACCESS_VIOLATION.
Error occurs at or near line 1572 of _windig@_reco_haplo_miss_
Called from or near line 370 of _windig@_sortmarkers_
Called from or near line 112 of _windig@_windighap_
Called from or near line 35 of _MAIN__
error summary (Fortran)
error number error level error count
jwe0019i u 1
total error count = 1
When running through the Fijitsu debugger, at that point (line 1572) get several messages:
EXCEPTION_ACCES_VIOLATION_ERROR (0xc0000005): jwe_xdal()
:::0x951bf0:1572 contains invalid path
(this is a translation from the orignal dutch message, though)
and
Cannot open file :::0x951bf0:1572
That last one puzzled me, because there are no file or data edit statements in that subroutine.
Because the error occurs at the point where control is handed back from the subroutine to the routine calling it, I though maybe there's something wrong with the interface. But that all checks out (same attributes, dimensions).
Now, I'm compiling and running the program on a Win2000 machine (Lahey-Fujitsu Fortran95 v5.5j). I've read somewhere, this error could have something to do with trying to access a protected memory adress or some such. Does anyone know a workaround or a options switch or any other solution? I'm really stumped...
I'm currently working on a program that fails to run, due to a very mysterious EXCEPTION_ACCESS_VIOLATION error.
The error occurs at the end of a subroutine (exactly at the 'end subroutine statement). At runtime the error message is:
jwe0019i-u The program was terminated abnormally with Exception Code EXCEPTION_ACCESS_VIOLATION.
Error occurs at or near line 1572 of _windig@_reco_haplo_miss_
Called from or near line 370 of _windig@_sortmarkers_
Called from or near line 112 of _windig@_windighap_
Called from or near line 35 of _MAIN__
error summary (Fortran)
error number error level error count
jwe0019i u 1
total error count = 1
When running through the Fijitsu debugger, at that point (line 1572) get several messages:
EXCEPTION_ACCES_VIOLATION_ERROR (0xc0000005): jwe_xdal()
:::0x951bf0:1572 contains invalid path
(this is a translation from the orignal dutch message, though)
and
Cannot open file :::0x951bf0:1572
That last one puzzled me, because there are no file or data edit statements in that subroutine.
Because the error occurs at the point where control is handed back from the subroutine to the routine calling it, I though maybe there's something wrong with the interface. But that all checks out (same attributes, dimensions).
Now, I'm compiling and running the program on a Win2000 machine (Lahey-Fujitsu Fortran95 v5.5j). I've read somewhere, this error could have something to do with trying to access a protected memory adress or some such. Does anyone know a workaround or a options switch or any other solution? I'm really stumped...