Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2001 10:13:35 -0500 (EST)
From:      Matthew Emmerton <matt@gsicomp.on.ca>
To:        Pavel Chizhov <chizhic@mail.ru>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Segmentation faults
Message-ID:  <Pine.BSF.4.21.0111201010160.33602-100000@xena.gsicomp.on.ca>
In-Reply-To: <E166Btv-000Nxo-00@f9.mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

If you have the source code for these programs, compile them with '-g'.  
This will add debugging information to the binary, which can be used by a
debugger to pinpoint the location of the instruction causing the
segmentation fault.

-- 
Matthew Emmerton      || matt@gsicomp.on.ca
GSI Computer Services || http://www.gsicomp.on.ca

On Tue, 20 Nov 2001, Pavel Chizhov wrote:

> Hello! I've obtained a problem trying to execute some large programs
> (e.g. GAMESS, quantum chemistry calculation program) after compiling.
> Every process have been kicked out after beginnig of execution because
> of segmentation fault. I've obtained it as for C modules (borh cc and
> gcc compilers were used) as for Fortran modules (both g77 and f2c/gcc
> compilations were tryed). My RAM is 1152Mb and swap is 1000Mb. Should
> I increase the kernel address space (now NKPDE is 254 - I have an SMP
> kernel) to solve this problem, or, maybe, linked sources while
> compiling with some libraries?
>                      With best wishes
>                                        P.Chizhov
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0111201010160.33602-100000>