public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Kevin Powell <KPowell@sirf.com>
Cc: "insight@sources.redhat.com" <insight@sources.redhat.com>
Subject: RE: Building Insight snapshot on CygWin?
Date: Tue, 24 Jun 2003 01:09:00 -0000	[thread overview]
Message-ID: <1056417481.1574.86.camel@lindt.uglyboxes.com> (raw)
In-Reply-To: <C2190B0C813D9E49BBAA0293F900204301C8B22D@sjexchange.sirf.com>

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


  reply	other threads:[~2003-06-24  1:09 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-24  0:14 Kevin Powell
2003-06-24  1:09 ` Keith Seitz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-07-07 19:44 John Lowen
2003-07-07 19:57 ` Keith Seitz
2003-06-24  1:46 Kevin Powell
2003-06-24  2:00 ` Keith Seitz
2003-06-23 23:18 Kevin Powell
2003-06-23 23:31 ` Keith Seitz
2003-06-09 15:53 Schumacher, Gordon
2003-06-09 17:53 ` Keith Seitz
2003-06-09  9:28 vadraj kulkarni
2003-06-11 20:11 ` Keith Seitz
2003-06-03 20:02 Schumacher, Gordon
2003-06-06 20:45 ` Keith Seitz
2003-05-21 20:47 Schumacher, Gordon
2003-05-27 18:30 ` Keith Seitz
2003-05-21 17:18 Schumacher, Gordon
2003-05-21 17:19 ` Keith Seitz
2003-05-21 18:55   ` Keith Seitz
2003-05-21 19:02     ` Martin M. Hunt
2003-05-21 21:37       ` Keith Seitz
2003-05-21 23:08         ` Keith Seitz
2003-05-21 23:49           ` Andrew Cagney
2003-05-21 16:54 Schumacher, Gordon
2003-05-21 17:02 ` Keith Seitz
2003-05-21 19:58 ` Martin M. Hunt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1056417481.1574.86.camel@lindt.uglyboxes.com \
    --to=keiths@redhat.com \
    --cc=KPowell@sirf.com \
    --cc=insight@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).