Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] Segmentation fault

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] Segmentation fault


Chronological Thread 
  • From: "Anglade Pierre-Matthieu" <anglade@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] Segmentation fault
  • Date: Tue, 15 Apr 2008 08:50:44 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jlwerfZsf6SdLAKtjJHupI4jjVQTLuvd+M9+NBnmk/hMtRjfuUUqD5YFIxCRafogpiiCvogxDCgCjtQBGfDqqo5EvyG+MJP7xZt4miG/19fB+FLVRu7/Vf/9Pk6WfMcxcon5VSzpJ87Ibdppg2SuDde6dgxDAVVs8Z8opGfr8xE=

Hi Xuan Luao,

I feel that you may have not understood correctly the comment by Ian
Haiping : You do not give us engouh information so we can't help you.
Most readers of this forum knows exactly what a seg fault is ; yet
that's not the point since Abinit is not so badly written that arrays
have predefined sizes (except for rare exceptions). So in order to
help you most readers of your mail have thought :
- It would be much more informative if this guy has followed the
netiquette ( http://www.abinit.org/community/?text=netiquette ) and
posted all important informations from stderr, stdlog, stdout, and
stdin ...
- Also, since he knows what a seg fault is he would have helped
himself a lot by doing this with a debug enabled version of Abinit,
has Ondrej Certik suggested.

Best regards

PMA

On Mon, Apr 14, 2008 at 11:58 PM, Ondrej Certik <ondrej@certik.cz> wrote:
>
> On Mon, Apr 14, 2008 at 11:37 PM, Xuan Luo <xuan.us@gmail.com> wrote:
> > Usually, segmentation fault means,
> > 1) memory overflow,
> > 2) compilation problem.
> > 3) array allocation BUG.
> >
> > The first two were eliminated by checking on
> > 1) memory usage, and 2) validation.
> > The last one, the array BUG, is my biggest concern.
> > I need help to identify the location for a fix.
>
> Compile with debugging symbols and use gdb, it will give you the exact
> line, or at least the place.
>
> Ondrej
>



--
Pierre-Matthieu Anglade



Archive powered by MHonArc 2.6.16.

Top of Page