From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19646 invoked by alias); 12 May 2006 14:47:21 -0000 Received: (qmail 19637 invoked by uid 22791); 12 May 2006 14:47:20 -0000 X-Spam-Check-By: sourceware.org Received: from mta09-winn.ispmail.ntl.com (HELO mtaout03-winn.ispmail.ntl.com) (81.103.221.49) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 12 May 2006 14:47:17 +0000 Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com with ESMTP id <20060512144715.PTSQ27969.mtaout03-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Fri, 12 May 2006 15:47:15 +0100 Received: from dell.littlepinkcloud.COM ([82.6.101.32]) by aamtaout01-winn.ispmail.ntl.com with ESMTP id <20060512144714.FUGT19763.aamtaout01-winn.ispmail.ntl.com@dell.littlepinkcloud.COM> for ; Fri, 12 May 2006 15:47:14 +0100 Received: from dell.littlepinkcloud.COM (localhost.localdomain [127.0.0.1]) by dell.littlepinkcloud.COM (8.13.5/8.13.5) with ESMTP id k4CIkikM023172; Fri, 12 May 2006 14:46:44 -0400 Received: (from aph@localhost) by dell.littlepinkcloud.COM (8.13.5/8.13.5/Submit) id k4CIkgnh023167; Fri, 12 May 2006 14:46:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17508.55314.422427.817105@dell.pink> Date: Fri, 12 May 2006 14:47:00 -0000 From: Andrew Haley To: "Vivek Katakam" Cc: gcc-help@gcc.gnu.org Subject: Re: Reg SEGV In-Reply-To: References: X-Mailer: VM 7.19 under Emacs 21.4.1 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/msg00121.txt.bz2 Vivek Katakam writes: > > I am recieving segmentation fault at the following line : > vfprintf(output_file, input_msg, allargs); > > when run in gdb I am getting this: > 847 vfprintf(output_file, input_msg, allargs); > (gdb) p output_file > $1 = (FILE *) 0x504750 > (gdb) p input_msg > $2 = 0x2a9588fdc8 "schema to %s: %d %*s\n" > (gdb) p allargs > $3 = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fbffb2428, > reg_save_area = 0x7fbffb2350}} > (gdb) > > I want to know what is wrong with the code. We don't know because you didn't post the code. Post the code and we'll tell you. Andrew.