5.589 bytes

Service Hints & Tips

Document ID: DJON-3G8U7X

Aptiva - Resolving General Protection Fault Errors (GPFs)

Applicable to: United States

A General Protection Fault (GPF) in Windows 3.1 can occur when one program in memory attempts to access another area of memory not assigned to it. In other words, something running within the Windows environment has made a call to a location in memory that it did not have access to, potentially overwriting and corrupting other program code in that area of memory. When Windows detects this, it closes down the offending program and announces that a GPF has occurred.

Another situation where a GPF may occur involves the passing of parameters between applications and the Windows environment. Invalid parameters affect the performance of Windows and its applications by forcing an invalid instruction. This is usually the result of an application's internal program code incorrectly passing specific data that could not be correctly interpreted for Windows or another Windows application. The result is often a GPF.

If you continually receive this error, try shutting down all other applications before running the application(s) giving you trouble. You may also want to unload any TSR (Terminate and Stay Resident) programs that you are using. These are usually loaded from the C:\CONFIG.SYS and/or C:\AUTOEXEC.BAT and typically run in the background until they are needed (like a screen saver, for example). If you have to perform a cold boot (power-off, power-on), the severity of the general protection fault is usually greater than if you can continue by pressing Ctrl/Alt/Delete.

To attempt correcting General Protection Fault errors, perform the steps below (given in order of the most likely solutions, down to those that may help solve the problem):

1. Check for incompatible TSR programs or unsupported device drivers in your AUTOEXEC.BAT and CONFIG.SYS files. Put a "REM" comment in front of each statement, one at a time, and try running the application. This trial and error process will help to find the problem item.

2. Increase or add the following statements in your CONFIG.SYS file:

FILES=50
BUFFERS=25
STACKS=9,256

3. Make certain that WINDOWS is the first directory mentioned in your PATH statement.

4. Edit your HIMEM.SYS statement by putting a parameter at the end of the line as follows:

DEVICE=C:\DOS\HIMEM.SYS /M:1

5. Try starting Windows from the C:\> prompt with the command: WIN /3 /D:X
This command will exclude certain memory mapping addresses if you are using EMM386.

6. Perform CHKDSK on your hard drive to check for corrupt files. To do this, exit windows. Go to an MS DOS prompt. Type: CHKDSK /F . If DOS reports corrupted (cross links, etc. ) files, select N .

7. Reinstall the software that caused the error message. Even if the program is compatible with Windows, you may want to try installing the software through the C:\> prompt. Be sure to create an icon and PIF file.

If all of these steps do not prevent the error message, the program may not be capable of running in Windows. Contact the software manufacturer if this is the case; there may be an updated version or patch available.

Search Keywords

Hint Category

DOS/Windows 3.x, Windows 95, Error Messages

Date Created

18-04-97

Last Updated

25-01-99

Revision Date

01-06-99

Brand

IBM Aptiva

Product Family

Aptiva, PS/1

Machine Type

2011, 2144, 2168, 2121, 2123, 2133, 2155

Model

2R5; 2R7; 2R8; M30; M35; M50; 2R6; 4R7; 4R8; M40; M54; M58; 3R0; 3R8; M60; M70; 1R2; 66P; 67P; 86P; OR8; 1R1; 1R3; 1R5; 22P; 24P; 25P; 27P; 29P; 63P; 67P; 82P; 83P; OR6; OR7; OR9; 1R0; 1R1; 26P; 62P; 2R0; P30; C01; C34; M01; NEA; T35; U35; A62; A82; A94; B82; C42; C92; G42; M82; S92; 081; 087; 131; 137; K37; N31; N81; 11E; 13T; 14C; 16E; 17A; 18A; 18T; 19C; 21C; 23C; 28A; 46M; 51D; D50; G11; G13; G43; G46; G46; G49; G49; G50; G53; M40; M40; M46; M46; P11; P13; P43; P50; P53; R04; R05; R06; R09; R38; R42; R43; R44; R84; R86; R87; RO3; S11; S13; S43; S45; S45; S47; S47; S48; S48; S50; S53; W11; W13; W42; W42; W43; W45; W45; W50; W53; 20E; 22T; 24C; 24M; 28V; 39E; 41T; 43C; 45V; 48E; 50T; 52C; 55V; 72E; 74T; 76C; 78C; 79C; 81A; 82E; 84T; 86C; 87C; CC1; D53; G14; G44; G52; G54; G72; G76; G78; G82; NM1; P14; P44; P57; P71; P74; P76; P78; P84; R14; R15; R16; R17; R18; R51; R52; R57; R58; R62; R63; R67; R71; R89; R93; R96; R97; S14; S44; S50; S54; S70; S75; S76; S78; S80; W14; W44; W48; W54; W67; W76; W77; W78; Z33; 28V; 31E; 33T; 37C; 38C; 51E; 54T; 56C; 57C; 88V; BB1; G57; G87; OR1; OR3; OR4; OR5; P89; R28; R29; R31; R74; R78; R82; R98; S55; S85; SR1; US1; W52; W82; 2R3; S15

TypeModel

2144s15

Retain Tip (if applicable)

Reverse Doclinks
and Admin Purposes