Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!ux1.cso.uiuc.edu!osiris.cso.uiuc.edu!gordon From: gordon@osiris.cso.uiuc.edu (John Gordon) Newsgroups: comp.lang.c Subject: Re: Memor fault, Core dump Keywords: memory fault, coredump Message-ID: <1991May21.210155.8552@ux1.cso.uiuc.edu> Date: 21 May 91 21:01:55 GMT References: <1991May21.160406.20825@ux1.cso.uiuc.edu> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 16 If you expect people to spend time debugging someone else's code, you could at least provide the code, not just an explanation of what it does. But anyway: Whenever you get a memory fault error, it means that your program was trying to access memory that it did not own. This almost always means that you are accessing an element of an array that is out-of-bounds, or a pointer is pointing to the wrong place. Make sure that the array you are strcat()'ing into is big enough. Make sure that the arguments to fprintf() are in the right order. --- John Gordon Internet: gordon@osiris.cso.uiuc.edu #include gordon@cerl.cecer.army.mil #include