From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19782 invoked by alias); 24 Jun 2003 01:09:10 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 19721 invoked from network); 24 Jun 2003 01:09:09 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 24 Jun 2003 01:09:09 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h5O199H07338 for ; Mon, 23 Jun 2003 21:09:09 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h5O199I28360; Mon, 23 Jun 2003 21:09:09 -0400 Received: from [150.1.200.14] (vpn50-52.rdu.redhat.com [172.16.50.52]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h5O198d12432; Mon, 23 Jun 2003 21:09:08 -0400 Subject: RE: Building Insight snapshot on CygWin? From: Keith Seitz To: Kevin Powell Cc: "insight@sources.redhat.com" In-Reply-To: References: Content-Type: text/plain Organization: Message-Id: <1056417481.1574.86.camel@lindt.uglyboxes.com> Mime-Version: 1.0 Date: Tue, 24 Jun 2003 01:09:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2003-q2/txt/msg00184.txt.bz2 On Mon, 2003-06-23 at 17:14, Kevin Powell wrote: > Starting program: /home/Administrator/testing/HelloWorld.exe > 58 [main] gdb 2348 handle_exceptions: Error while dumping state (probably corrupted stack) > Segmentation fault (core dumped) Yeah, that doesn't look promising, eh? ;-) One quick question: did you really do this with "gdb HelloWorld.exe"? In other words, gdb itself crashes trying to debug this? > Note that it is gdb segfaulting there, not HelloWorld. So, any clues there? Am I totally braindead? I don't think your out of your mind. Well, at least you're not alone! > Does insight get compiled with optimization on by default? In any case, I'm reconfiguring with CFLAGS=-g -O0 right now. I'll post results in a bit. Yes, that's right: the toolchain, by default, uses -O2. You can configure with CFLAGS="-g" or something to supress it (this is how I do it): $ CFLAGS="-g" /path/to/src/configure --prefix=... Keith