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

Errors in write statement pointing to NTDLL.dll

avinashs
새로운 기여자 I
1,677 조회수

I am experiencing repeated errors in running a Fortran program that I am unable to diagnose. The debugger always stops at write statements with strings. The write statement throwing the error varies from run to run but the debugger always points to the error

ntdll.dll!00007ff87c96f2d2() Unknown

and when the debug window is closed, the MSVSC window output states:

Critical error detected c0000374
A breakpoint instruction (__debugbreak() statement or a similar call) was executed in opocm.exe.

The program was built with IFORT Classic [Intel® Fortran Compiler Classic for applications running on Intel(R) 64, version 2021.11.0 Package ID: w_oneAPI_2024.0.2.49896] and MSVSC 17.8.4.

This error occurs only with a particular program - it is not a general error for all programs.

Any guidance would be appreciated.

0 포인트
1 솔루션
Steve_Lionel
명예로운 기여자 III
1,663 조회수

This is simply a debug breakpoint, probably when an I/O error was raised. Look for the console window behind Visual Studio and see what it says.

원본 게시물의 솔루션 보기

0 포인트
2 응답
Steve_Lionel
명예로운 기여자 III
1,664 조회수

This is simply a debug breakpoint, probably when an I/O error was raised. Look for the console window behind Visual Studio and see what it says.

0 포인트
avinashs
새로운 기여자 I
1,553 조회수

Thanks @Steve_Lionel. Having verified from your response that it is simply a debug breakpoint, I narrowed the origin of the error down to the following. The project contained a library and one of the modules in the library needed changes. When including the module source code in the same project to make the changes and test when the library was also present, the above errors arise randomly i.e. the above error at the write statement is unrelated to the write statement itself. Once the library is rebuilt and included in the project, the errors disappear.

0 포인트
응답