From: Louis LeBlanc <leblanc@keyslapper.net>
To: Giovanni Bajo <rasky@develer.com>
Cc: Louis LeBlanc <leblanc@keyslapper.net>, gcc@gcc.gnu.org
Subject: Re: gcc 3.3.6 - stack corruption questions
Date: Mon, 25 Jul 2005 15:23:00 -0000 [thread overview]
Message-ID: <20050725152308.GD71939@keyslapper.net> (raw)
In-Reply-To: <036401c5912b$b8d51240$bf03030a@trilan>
On 07/25/05 05:15 PM, Giovanni Bajo sat at the `puter and typed:
> Louis LeBlanc <leblanc@keyslapper.net> wrote:
>
> > The problem is I'm getting core dumps (SEGV) that appears to come from
> > this code when I know it shouldn't be in the execution path. The code
> > in question is switched on by a command line argument only, and the
> > process is managed by a parent process that monitors and manages it's
> > execution - reporting crashes and restarting it if necessary.
>
> Looks like a bug hidden in your code. Several things you could try:
>
> - valgrind
> - GCC 4.0 with -fmudflap
> - GCC 4.1 CVS with -fstack-protect
> --
Thanks for the tips. Since I'm on Solaris, I don't think Valgrind is
an option (Linux and FreeBSD on x86/PowerPC/AMD64 only).
I will check out the gcc versions and features you mention.
Lou
--
Louis LeBlanc leblanc@keyslapper.net
Fully Funded Hobbyist, KeySlapper Extrordinaire :þ
http://www.keyslapper.net Ô¿Ô¬
Key fingerprint = C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2
Turnaucka's Law:
The attention span of a computer is only as long as its electrical cord.
next prev parent reply other threads:[~2005-07-25 15:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-25 14:55 Louis LeBlanc
2005-07-25 15:15 ` Giovanni Bajo
2005-07-25 15:23 ` Louis LeBlanc [this message]
2005-07-25 22:00 ` Louis LeBlanc
2005-07-25 22:28 ` Giovanni Bajo
2005-07-26 21:06 ` Louis LeBlanc
2005-07-26 21:52 ` Robert Dewar
2005-07-26 22:27 ` Louis LeBlanc
2005-07-25 22:50 ` Robert Dewar
2005-07-25 23:00 ` Dale Johannesen
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=20050725152308.GD71939@keyslapper.net \
--to=leblanc@keyslapper.net \
--cc=gcc@gcc.gnu.org \
--cc=rasky@develer.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).