public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Raphael Melo de Oliveira Bastos Sales <raphael.melo21@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] gcc seg faults very often
Date: Mon, 22 Aug 2005 16:29:12 -0300	[thread overview]
Message-ID: <8f7a9d5805082212296dbb93ad@mail.gmail.com> (raw)
In-Reply-To: <430A1C93.2030204@asmallpond.org>

Hi Richard,

    First of all, thanks for replying. I'll test the swap partition
with the command you sent. But how do I test the memory? Is there any
way to do it? I think I configured CMOS to do a memory check during
start up.

    Also, I'm using -march=i686 -O2 -fomit-frame-pointer, since I
don't know if a higher value is compatible with my AMD Sempron.

2005/8/22, Richard Fish <bigfish@asmallpond.org>:
> Raphael Melo de Oliveira Bastos Sales wrote:
> 
> >Hi there,
> >
> >   I'm using gcc-3.3.5.20050130-r1 and I keep getting segmentation
> >fault every now and then. Since it doesn't work, I can't compile an
> >earlier, more stable version. I hope it isn't a hardware failure,
> >because the warranty on my new computer just ended. It is probably not
> >an memory error, because I'm not using -pipe. I checked the filesystem
> >and no corruption was found.
> >
> >
> 
> Don't be so sure.  -pipe doesn't add that much additional memory
> overhead, in fact, only a few pages used as an IO buffer between the
> processes.  The process of compiling itself is very tough on memory,
> reading and writing to various locations in rapid succession.
> 
> I would say memory is the most likely problem, but it could be
> overheating or power supply problems also.
> 
> >   Anybody had this type of error too? If so, how did you handle it?
> >Are there any tools to check the hard drive's surface for flaws?
> >
> >
> 
> Bad disk blocks are almost certainly not the issue, as you would end up
> with IO errors during the compilation, not segfaults.  Well, I guess if
> your swap had bad blocks, you might get a segfault...
> 
> Anyway, "dd if=/dev/hda of=/dev/null bs=4k" will test readability of
> your entire disk.  It doesn't test the validity of your data though...
> 
> -Richard
> 
> --
> gentoo-user@gentoo.org mailing list
> 
>

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2005-08-22 19:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-22 17:27 [gentoo-user] gcc seg faults very often Raphael Melo de Oliveira Bastos Sales
2005-08-22 18:42 ` Richard Fish
2005-08-22 19:29   ` Raphael Melo de Oliveira Bastos Sales [this message]
2005-08-22 14:57     ` R'twick Niceorgaw
2005-08-22 20:28       ` Raphael Melo de Oliveira Bastos Sales
2005-08-22 15:46         ` R'twick Niceorgaw
2005-08-22 20:53           ` Raphael Melo de Oliveira Bastos Sales
2005-08-22 20:37         ` Volker Armin Hemmann
2005-08-22 21:48       ` Mariusz Pękala
2005-08-23  2:01         ` Raphael Melo de Oliveira Bastos Sales
2005-08-22 19:51     ` Volker Armin Hemmann
2005-08-22 20:33       ` Raphael Melo de Oliveira Bastos Sales
2005-08-23 13:03       ` Raphael Melo de Oliveira Bastos Sales
2005-08-23 15:03         ` Eugene Rosenzweig
2005-08-23 16:49           ` Volker Armin Hemmann
  -- strict thread matches above, loose matches on Subject: below --
2005-08-23 21:24 Michael Kintzios
2005-08-24  0:16 ` Raphael Melo de Oliveira Bastos Sales
2005-08-24  2:53   ` Volker Armin Hemmann
2005-08-24 13:04     ` Raphael Melo de Oliveira Bastos Sales
2005-08-24 16:18       ` Raphael Melo de Oliveira Bastos Sales

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=8f7a9d5805082212296dbb93ad@mail.gmail.com \
    --to=raphael.melo21@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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