General Protection Fault in KERNEL32.DLL

This error is generally caused when NaturallySpeaking runs out of resources when performing 'difficult' task such as starting up and shutting down. If a user shuts down NaturallySpeaking and then immediately attempts to launch another application this GPF message may well result. Give NaturallySpeaking 10-15 seconds to complete these tasks before continuing to eliminate this error.

If error persist, then the error may be due to a memory leak issue that Microsoft has identified. The following Microsoft KnowledgeBase article describes a possible fix.

-----------------------------------------------------------------------------------

Memory Leak in Windows 95 Kernel Using Windows Sockets
Last reviewed: July 29, 1997
Article ID: Q148336
The information in this article applies to: Microsoft Windows 95

SYMPTOMS

When you run a program that uses Windows Sockets in Windows 95, a gradual increase in the memory used by the operating system may occur over time, especially if the program opens and closes a large number of sockets.

CAUSE

There is an error in the Windows 95 Kernel (Kernel32.dll) that prevents the proper freeing of certain small data structures associated with Windows Socket processes and allocated sockets. Over time, these small memory leaks can result in a significant loss of available memory.

Note that you can free the resources associated with a program by closing the program. If you quit and restart Windows 95, the memory is freed.

RESOLUTION

Microsoft has released an updated version of the Kernel32.dll file that corrects the problem described in this article. The updated file is:

Kernel32.dll version 4.00.951 (7/29/97, 337,016 bytes) and later

To install the updated Kernel, follow these steps:

  1. Download the Krnlupd.exe file to an empty folder.
  2. In My Computer or Windows Explorer, double-click the KRNLUPD.EXE file you downloaded in step 1.
  3. Follow the instructions on the screen.

The following file(s) are available for download from the Microsoft Software Library: Krnlupd.exe (size: 337016 bytes)

MORE INFORMATION

When you run the Krnlupd.exe file, the following file is installed:

File name Folder Size Date Version
Kernel32.dll Windows\System 411,136 KB 02/02/96 4.00.951
Krnl32un.inf Windows 533 KB 07/25/97  

If you wish to uninstall the updated Kernel32.dll file, use the right Mouse button to click the Krnl32un.inf file in the Windows folder, and then click Install from the menu that appears. This step replaces the updated Kernel32.dll with the version that ships with Windows 95 and removes Krnl32un.inf.