From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21194 invoked by alias); 13 May 2006 09:50:34 -0000 Received: (qmail 21186 invoked by uid 22791); 13 May 2006 09:50:33 -0000 X-Spam-Check-By: sourceware.org Received: from wx-out-0102.google.com (HELO wx-out-0102.google.com) (66.249.82.198) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 13 May 2006 09:50:31 +0000 Received: by wx-out-0102.google.com with SMTP id s8so439943wxc for ; Sat, 13 May 2006 02:50:30 -0700 (PDT) Received: by 10.70.24.20 with SMTP id 20mr732516wxx; Sat, 13 May 2006 02:50:30 -0700 (PDT) Received: by 10.70.108.1 with HTTP; Sat, 13 May 2006 02:50:30 -0700 (PDT) Message-ID: Date: Sat, 13 May 2006 09:50:00 -0000 From: "Vivek Katakam" To: "John Love-Jensen" Subject: Re: Reg SEGV Cc: gcc-help@gcc.gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-05/txt/msg00127.txt.bz2 Hi John, I am actually working on a proc file and when i am running it I am getting the error. The code is in a file called vaprintf.c These are the Lines of code from where the error came. /* Write out the message to the file. */ va_start(args, input_msg); #ifdef LINUX va_copy(allargs,args); #else allargs=3Dargs; #endif vfprintf(output_file, input_msg, args); va_end(args); fputc('\n', output_file); fflush(output_file); return_value =3D ML_LOGGING_MESSAGE_LOGGED; va_end(args); Regards, Vivek Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs Configured with: ../configure --prefix=3D/usr --mandir=3D/usr/share/man --infodir=3D/usr/share/info --enable-shared --enable-threads=3Dposix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=3Dx86_64-redhat-linux Thread model: posix gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-53) On 5/12/06, John Love-Jensen wrote: > Hi Vivek, > > > I want to know what is wrong with the code. > > Probably one of the parameters does not jibe with the % specifier in the > format string. > > Just a guess, though, since you did not post the code. > > --Eljay > >