Re: core dump in Pro*C

From: Alvin W. Law <alaw_at_oracle.com>
Date: 2 Nov 93 17:08:26 GMT
Message-ID: <ALAW.93Nov2090826_at_ap221sun.oracle.com>


In article <1993Nov1.150709.591_at_tybrin.com> carey_at_tybrin.com (Joseph Carey) writes:

> We are getting core dumps when we run a Pro*C program with a global
> int variable 'stat' declared.
>
> The variable name 'stat' is not documented as reserved. Has anyone else
> come across this problem?
>
> We are running Oracle V6.0.36.5.1 and Pro*C 1.4.8.2.2.

'stat' is not a Pro*C reserved word; 'stat' is a UNIX system call. The fouling party is your C compiler, no Pro*C. The core dump occurs when you try to run stat() with NULL pointers as arguments.

--
 Alvin W. Law .............................................. Oracle Corporation
 Senior Applications Engineer .................. 300 Oracle Parkway, Box 659306
 Manufacturing Applications .......................... Redwood Shores, CA 94065
 Email: alaw_at_oracle.com ........... Voice: 1.415.506.3390 . Fax: 1.415.506.7299
Received on Tue Nov 02 1993 - 18:08:26 CET

Original text of this message