C 5.10 Multithreaded open() Function May Fail After Many Calls

ID Number: Q66306

5.10

OS/2

buglist5.10 fixlist6.00

Summary:

The version of open() supplied with the multithreaded run-time

library, LLIBCMT.LIB, in C version 5.10 can occasionally fail with a

GP fault (a protection violation). The symptoms will usually occur

after 300-500 calls to the function.

Microsoft has confirmed this to be a problem with C version 5.10. This

problem is corrected in the libraries that shipped with C version

6.00.

Workaround

----------

If you are using C version 5.10, the only workaround is to use the

DosOpen() API call.