From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,a1ece9ffdee9cde5 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,a1ece9ffdee9cde5 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1990-05-01 05:49:22 PST Path: gmdzi!unido!mcsun!uunet!cs.utexas.edu!usc!apple!vsi1!teda!bob From: bob@teda.UUCP (Bob Armstrong) Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: Desperately seeking help with VAXCRTL fopen Summary: Solution Found Keywords: VAXC fopen Message-ID: <2926@teda.UUCP> Date: 30 Apr 90 23:35:29 GMT References: <2816@teda.UUCP> Organization: Teradyne EDA Inc., Santa Clara, Calif. Xref: gmdzi comp.os.vms:23140 comp.sys.dec:2351 Posted: Tue May 1 00:35:29 1990 In article <2816@teda.UUCP>, bob@teda.UUCP (Bob Armstrong) writes: > > I have a C program in which calls to fopen are failing. The errno ends up > set to EVMSERR, and the vaxc$errno is RMS$_CHN, which says that the $ASSIGN > service failed. > [... etc ...] Thanks to those who responded to this problem. As it turns out, there is a bug in the VAXCRTL access, fopen and open functions. If you try to access a file which via a search list logical, CRTL leaves one open channel for each element in the search list which fails to contain the file. Obviously it has a problem in cleaning up after itself. If you only do a few of these then there is no problem, but if you do enough then you will eventually run out of open channels. After that you can't open anything. We have a relatively old C compiler, version 2.4, so this may be a problem that has been fixed. ---------------------------------------------------------------------------- | Bob Armstrong | I'm sitting here on the LCG SIG bench, 'cause | | Teradyne/EDA West | you want to know if I'm braindamaged enough to | | {decwrl,sun}!teda!bob | trade my PDP-10 for partial credit on a system | | Phone: (408) 980-5263 | that doesn't even handle filename completion ? | ----------------------------------------------------------------------------