Newsgroups: comp.os.msdos.djgpp From: Jan Buzrla Subject: General protection fault Content-Type: TEXT/PLAIN; charset=US-ASCII Message-ID: Sender: news AT nimloth DOT ics DOT muni DOT cz (News Admin) Organization: unknown Mime-Version: 1.0 Date: Tue, 29 Sep 1998 08:26:11 GMT Lines: 14 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I've used my older function, which worked perfectly in other programs, in new C++ code. It reads data from file and process them, but now I'm getting GPF's. I did traceback using symify and found out that sometimes it crashes on malloc function and sometimes on strcmp function. And one other strange thing. Strcmp crashes the program if the datafile has older modification date than main program. If I open datafile in editor and save it without a change, program reads it right. John