public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: bjorn rohde jensen <bjensen@fastmail.fm>
To: Daniel Bolgheroni <dab__@uol.com.br>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Segmentation fault Causes
Date: Tue, 22 Apr 2003 07:47:00 -0000	[thread overview]
Message-ID: <3EA4F3A2.10109@fastmail.fm> (raw)
In-Reply-To: <20030224045442.GA25932@uol.com.br>

Hi there,

  Segmentation faults are signals delivered from the operating
system to a process to inform it, that the process has attempted
to access memory outside its address space. Common causes are
forgetting to initialise a pointer before use or using something,
which is not a pointer, as a pointer.
  You might want to compile with debug info and run the program
under a debug'er. It should provide you with the exact line,
where the segfault is generated. If you are fairly lucky, the
reason will be also be quite apparent.

Yours sincerely,

Bjorn

  parent reply	other threads:[~2003-04-22  7:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-24  5:07 Daniel Bolgheroni
2003-02-24  5:22 ` J.C.Wren
2003-04-22  1:02 ` Daniel Bolgheroni
2003-04-22  7:47 ` bjorn rohde jensen [this message]
2003-04-22 18:24 ` Dikandé Alain Moïse
2003-05-24 11:07 ` RedHat 8.0 `istream_iterator' undeclared (first use this function) MR
2003-05-24 12:21   ` Oscar Fuentes
2003-05-24 12:50   ` LLeweLLyn Reese
2003-02-24  5:39 Segmentation fault Causes Ajay Bansal
2003-02-24  8:00 ` Sergei

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=3EA4F3A2.10109@fastmail.fm \
    --to=bjensen@fastmail.fm \
    --cc=dab__@uol.com.br \
    --cc=gcc-help@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).