Microsoft KB Archive/85164

= BUG: CVW 3.x and FORTRAN DLLs: Stack Trace Hangs Machine =

Article ID: 85164

Article Last Modified on 10/23/2003

-

APPLIES TO


 * Microsoft FORTRAN Compiler 5.1
 * Microsoft FORTRAN Compiler 5.1

-



This article was previously published under Q85164



SYMPTOMS
Using Microsoft Codeview for Windows versions 3.x under Windows 3.1 to debug Microsoft FORTRAN 5.1 Windows DLLs that have been called by C applications can hang the machine if the CALL menu is selected or the stack trace command, K, is entered in the command window.



CAUSE
There is a problem in the CodeView for Windows FORTRAN expression evaluator that is incorrectly accessing the stack.



RESOLUTION
If a stack trace is desired, enter the command

use c

in the command window. This will cause CVW to use the C expression evaluator. To return using the FORTRAN expression evaluator type

use fortran

in the command window.



STATUS
Microsoft has confirmed this to be a problem in FORTRAN version 5.1.

This is not an issue in FORTRAN PowerStation.



MORE INFORMATION
To duplicate this problem, build the MULMIX_D project that is provided in the FORTRAN 5.1 samples subdirectory. There is a makefile that is provided called MULMIX_D.MAK. The makefile assumes that C 6.0 will be used. Using C/C++ 7.0 to build the application and DLL avoids the problem because there is no FORTRAN expression evaluator for the 4.0 versions of CV or CVW which are provided with C/C++ 7.0.

Additional query words: 5.10

Keywords: KB85164

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.