| delorie.com/archives/browse.cgi | search |
| Newsgroups: | comp.os.msdos.djgpp |
| From: | Jan Buzrla <buzrla AT merkur DOT econ DOT muni DOT cz> |
| Subject: | General protection fault |
| Message-ID: | <Pine.LNX.3.96.980929101701.1203A-100000@merkur.econ.muni.cz> |
| 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 |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |