Segmentation fault

Andrew Haley aph@redhat.com
Thu Mar 25 13:58:00 GMT 2010


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.



More information about the Gcc-help mailing list