Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29279 Discussions

Error 0xc000005 when run the program

Deleted_U_Intel
Employee
848 Views
First at all, excuse me for my bad english. I'm professor at university and i work in quantum chemistry. I use vf for some years, and now i have a problem that i don't know how to solve.
I'm trying to read and write a ini file, and when I try to write the ini file, the program sometimes work bad and give me the error message "Unhandled exception in FINI.exe:0xc000005:Access Violation". When the program crash, i can see this line in the dissasembly window:
0040A61E mov byte ptr [edi],al
I have read a lot of information about this error message but the problem continue. What's the problem?.
I have a pentium IV, 3000 MHz, windows xp sp1.
Thanks.
0 Kudos
2 Replies
Steven_L_Intel1
Employee
848 Views
See if this article helps you. If you run the program under the debugger, it should stop at the point of error. This may help you find the problem.
0 Kudos
Steven_L_Intel1
Employee
848 Views

midum is a "dummy argument", that is associated with the argument passed in. If you passed in a constant, you will get an error here. DVF5 did not protect constants and would allow you to overwrite them. That changed in 6.0.

0 Kudos
Reply