On Thu, 2 Apr 1998, Brian Kirkland/CADC Designer wrote:

> here? I suspect it is the glibc but I am not knowledgable enough
> on C to track down the problem. So I am looking for suggestions

I suspect it is a bug in your code.  :)  Linux is much fussier about doing
things like freeing free memory and overwriting buffers that you haven't
allocated.  These things tend to cause more segmentation faults under
Linux than under other OS's.  This is not a flaw in Linux or glibc,
because you are not supposed to do these things anyway, but some OS's will
let you "get away with it" (sometimes, under some conditions).

GDB is a good way to trace your program, also, inspecting the value of the
variables used in the line that causes the fault, will clue you in as to
exactly what the problem is.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to