PRB: Program May Hang with Exec and INT 21H Function 67H

ID Number: Q30528

5.10 6.00 6.00a 6.00ax 7.00 | 5.10 6.00 6.00a

MS-DOS | OS/2

buglist5.10 buglist6.00 buglist6.00a buglist6.00ax buglist7.00

Summary:

SYMPTOMS

In Microsoft C versions 5.1, 6.0, 6.0a, 6.0ax, and C/C++ version 7.0,

a program that does an INT 21H function 67H to increase the per-

process file handle count and then uses one of the exec family of

functions (including spawn with P_OVERLAY), may hang later in the

program because of memory corruption.

STATUS

Microsoft has confirmed this to be a problem in versions 5.1, 6.0,

6.0a, 6.0ax, and C/C++ version 7.0 of the C compiler. We are

researching this problem and will post new information here as it

becomes available.

More Information:

This has also been reported when calling COBOL 3.0 or 3.0a from C. If

the COBOL function uses ISAM files, the IXSIO function (COBOL's

support module for ISAM's) will cause C to think that interrupt 21H

function 67H was invoked and the program will hang.

Additional reference words: 5.10 6.00 6.00a 6.00ax 3.00 3.0a 7.00