From: SerDevian Newsgroups: comp.os.msdos.djgpp Subject: fopen(), I think (possible bug?) Date: Thu, 30 Jan 1997 14:47:20 -0700 Organization: XYZZ Software Co. Lines: 23 Message-ID: <32F116E8.2781@CS.ColoState.edu> NNTP-Posting-Host: miro.vis.colostate.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp This is perplexing me: Sometimes, programs I compile with DJGPP crash every time they open a file. In almost every case, the problem somehow disappears if I touch the source and recompile with the same options. The crash (when I've been able to trace it) leads into and slightly beyond fopen(). However, it more often just goes into an infinite loop I can't escape from (that particular program replaces the keyboard handler). In these cases, the crash seems to occur sometimes at fopen() an sometimes with findfirst() or findnext(). I haven't been able to purposely recreate the problem, though; and I have only been able to catch the callback frame a few times. If anyone knows why this might possibly happen, I'd like to know -- but otherwise I'll try to find a way to recreate the problem so it occurs in a predictable manner. -- Yamaha / XYZZ "May farce the with be you." mailto:scriven AT CS DOT ColoState DOT edu mailto:scriven AT VIS DOT ColoState DOT edu http://www.vis.colostate.edu/~scriven/