This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Segmentation fault


On 03/25/2010 11:28 AM, beamendsltd wrote:

> I'm having a problem with a program in C that I wrote and have been
> using for some time. All of a sudden it has started crashing with a
> segmentation fault which I cannot track down.  Is the a way compiling in
> some sort extra run-time options that would give a better indication of
> what is causing the segmentation fault?

If you're running on a GNU/Linux system, use Valgrind's memory checker.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]