Re: Problem Debugging C Program
- From: Willem <willem@xxxxxxxx>
- Date: Tue, 28 Aug 2007 19:33:46 +0000 (UTC)
John wrote:
) I replaced my printf with a simple printf("hello world"). And it still
) trips the SIGSEGV at that point.
)
) Any other suggestions?
You may have trashed the stack, or you made a mistake in some file I/O.
(Such as writing to a closed file handle)
Hard to tell without looking at the source.
Check all your memory allocations and deallocations, and also make sure to
add error checking at all your file operations, especially the open().
SaSW, Willem
--
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT
.
- Follow-Ups:
- Re: Problem Debugging C Program
- From: John Hanley
- Re: Problem Debugging C Program
- References:
- Problem Debugging C Program
- From: John Hanley
- Re: Problem Debugging C Program
- From: Willem
- Re: Problem Debugging C Program
- From: John Hanley
- Problem Debugging C Program
- Prev by Date: Re: Problem Debugging C Program
- Next by Date: Re: Problem Debugging C Program
- Previous by thread: Re: Problem Debugging C Program
- Next by thread: Re: Problem Debugging C Program
- Index(es):
Relevant Pages
|