Mail Archives: djgpp/1994/10/13/07:18:47
dj AT stealth DOT ctron DOT com writes:
> Page files (well, any file) can get corrupted if the application exits
> in such a way that go32 doesn't get a chance to clean up properly. As
> of 1.12, go32 paging files always have the string "go32 paging file" in
> the first block of the file, so that you can tell that that's what they
> are.
I've noticed that (the string, I mean). Nice touch!
>
> I've seen this happen myself, but I can't figure out a reliable and
> short way of reproducing it.
I believe you can make it happen reliably like this:
1. Start up GDB to debug a program.
2. Start excuting the program under GDB.
3. Hit a breakpoint before the program has terminated.
4. Quit out of GDB without continuing the program (so that it never
terminates).
John Polstra jdp AT polstra DOT com
John D. Polstra & Co., Inc. Phone (206) 932-6482
Seattle, Washington USA Fax (206) 935-1262
"Self-knowledge is always bad news." -- John Barth
- Raw text -