Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!cornell!uw-beaver!tektronix!reed!tessi!joey From: joey@tessi.UUCP (Joe Pruett) Newsgroups: comp.os.vms Subject: Re: VMS C printf format causing ACCVIO Message-ID: <397@q7.tessi.UUCP> Date: Mon, 29-Jun-87 11:47:54 EDT Article-I.D.: q7.397 Posted: Mon Jun 29 11:47:54 1987 Date-Received: Wed, 1-Jul-87 07:29:37 EDT References: <8706280841.AA16993@ucbvax.Berkeley.EDU> Reply-To: joey@q7.UUCP (Joe Pruett) Distribution: world Organization: TSSI, Beaverton, Oregon Lines: 11 We have seen printf causing access violations if the resultant string is > 512, no matter what. It's not the format string that's causing the problem, but the size of all the data that will be generated. Sounds like an array of 512 on the stack that trashes your return values. We were printing out long lines of 1's and were seeing access violations for address 31313131 (hex 31 is ascii '1'). We run C 2.3 and VMS 4.4. Joe Pruett Test Systems Strategies ...!tektronix!tessi!joey