Question: Recently I've been getting "Error -- Close
Program" messages in Windows 95. They say that the
program I am running has caused an "internal page fault" or a
"general protection fault." Oh, no! What have I done?
--G.H.
Answer: Remember when you were small enough to agree
that Sesame Street was the best show on TV? And
remember when they had those cute segments on the merits
of sharing? Well if Windows was your neighborhood, a GPF
or IPF would be the actions of a selfish kid who ignored
those lessons and was outside chasing squirrels, stomping on
flower beds and snatching dolls from little girls.
General protection faults and internal page faults are signs
that software on your system aren't sharing memory or
software or hardware resources very nicely.
Remember, Windows is a resource-sharing operating
system. Tasks share processor time, memory and system
files. When a program runs, it is allocated a corner of
memory to do its business. If it reads or writes data to a part
of the system that it has not been given access to or it
overwrites memory space it doesn't own, the whole system
can come to a nasty standstill. Then, like muddy footprints in
a flower bed, a cryptic message pops up to inform you that
things have gone awry.
More specifically, "General Protection Faults happen when a
program tries to access a resource, or attempts a process
that the system will not allow," explained Jeremy Schumland,
one of my trusted advisers over at CompuSmart's West
Edmonton store. "Most commonly, it happens when a
process attempts to read or write to a protected memory
address."
That's why GPFs only occur in Windows 95, NT and 3.x in
standard mode. They don't occur in DOS or in Windows
3.x's real mode, because memory space is not protected.
"IPFs occur when a process attempts to access memory that
has been allocated to another program or process," said
Schumland. "This has the potential of overwriting and/or
corrupting another process's program code. It can also
happen when a poorly programmed application incorrectly
passes specific data that, in turn, cannot be interpreted by
Windows or another piece of programming code."
The most difficult chore involving GPFs and IPFs, besides
having to re-type your great Canadian novel which was lost
during the crash, is determining the cause of the fault.
In Windows 95, the error might generate a dialogue box
with the "close" and "ignore" buttons. Unlike Windows 3.1,
the "ignore" button might get you around the error. Choosing
close will bring up a new Windows 95 message box that
says: "This program has performed an illegal operation and
will be shut down." Selecting the "close" button will exit the
error message. The "details" button is the key to
troubleshooting.
If you intend to pursue the error with a technician, make a
note of error. The first clue to the problem lies in the first
line.
It usually looks something like this: "MYPROG caused a
general protection fault in module MYPROG.EXE at
008d:00001290."
Often "MYPROG.EXE" will be familiar to you. If you
recognize it as a program you refer to in your question, try
removing it completely from the system and reinstalling.
Recently Netscape was playing havoc with my system and I
was confronted with a festival of GPFs. I removed it and did
a full reinstall of Windows 95 and the machine runs much
more smoothly now. I was lucky. It only cost me a day.
Under Windows 95, a handy resource to start with is the
desktop troubleshooting wizard. Many problems can be
solved by following its instructions. To access it click the
start button / help / Contents tab / Troubleshooting book.
Then select the topic you need to troubleshoot and follow
the instructions.
The sections "If you run out of memory" and "If you have a
hardware conflict" are often good places to start.
If you can duplicate the error at will, the error may be
documented by the company that makes the software and a
patch or fix might be available for downloading or by calling
their help line. A good place to start looking is in the
knowledge base at www.micosoft.com. Pick the
software from the pulldown list and type in GPF or IPF in
the search area. If the suspect software is not made by
Microsoft, pick your operating system from the pulldown
menu and enter the name of the third-party software that
might be causing the problem.
If the error occurs frequently in different applications, then
Windows 95 is probably at fault. Look at your device driver
setup by clicking start/settings/control panel/system and then
the "device manager" tab. Little yellow circles with
exclamation marks on specific driver listings indicate
problems. Click on the marked listings and then click
properties to see what's wrong.
Also check to see if your system resources are low. To
determine this, click through to systems as above but pick
the performance tab. System resources will be listed as a
percentage remaining.
If you can get that number into the 70- to 80-per-cent range
and the errors still occur, then it's unlikely that resources are
the cause of the errors. Look to a specific software for the
source of your error. If resources are low, exiting and
restarting Windows should improve your situation.
A great resource on the net with a more in depth look at
GPF and IPF problems is available on the Web at
help.mindspring.com.
For Windows 3.1 users, look at
w3.one.net and:
www.umax.com.
If this column still doesn't fully
help you with your tech problems or answer questions that
you may have, you should see our Emergency
Help page for personalized help.