Stack overflow error



Document ID: 94000342

 

Posted Date: 1996-08-19

 

Last Updated: 1996-08-19

 

Distribution: View Public Website

 

Applicable Models
Portege 300CT
Portege 660CDT
Tecra 510CDT
Tecra 520CDT
Tecra 530CDT
Tecra 740CDT
Satellite Pro 430CDS
Satellite Pro 430CDT
Satellite Pro 440CDT
Satellite Pro 440CDX
Satellite Pro 465CDX

 

Information
The information in this article applies to:

- Microsoft Windows 95
---------------------------------------------------------------------

SUMMARY
=======

This article lists steps to help you troubleshoot problems with stack overflow errors in Windows 95.

MORE INFORMATION
================

Stacks are reserved memory that programs use for processing hardware events. A stack overflow occurs when there is not enough space in memory to run the hardware interrupt routines. Changing the "STACKS=" line in the Config.sys file, eliminating terminate-and-stay-resident program (TSRs), and eliminating hardware conflicts are all possible corrections for this problem.

When Windows 95 delivers an error message related to an internal stack overflow, it is because there is not enough space in memory either set aside or available to handle the calls being made to the system hardware. There are several things to consider when troubleshooting this problem:

1. The startup file Config.sys may not be properly configured for the Windows 95 installation. Try the following values:

STACKS=9,512 (this is the minimum allowed) to 64,512 ;(this is the maximum allowed)
FILES=60
BUFFERS=40

If you are using the dual-boot capabilities of Windows 95, the Config.sys and Autoexec.bat files may not contain the correct
configuration to run Windows 95. When you are dual-booting between Windows 3.x and Windows 95, these files may not have been renamed back to Config.dos and Autoexec.dos.

1. Examine the Config.sys file to determine if files such as Himem.sys or Emm386.exe are being loaded from a folder other than the Windows 95 folder. If so, boot Windows 95 using the Safe Mode Command Prompt Only option. Rename the Config.sys file to Config.dos and the Autoexec.bat file to Autoexec.dos and the restart the computer.

2. Some TSRs may be interfering with Windows 95. Disable any non-boot device drivers in the Config.sys and Autoexec.bat files. If you are installing from Windows 3.x and getting a stack overflow error, check the Win.ini and System.ini files for non-Windows-based programs or drivers loading.

3. There may be an incompatible hardware configuration. Check the port and IRQ settings of the network card, sound card, and modem. Make sure that there are no COM2/COM4 or COM1/COM3 conflicts and that no devices are sharing IRQs. Disable or remove conflicting devices.

4. The computer may need a BIOS upgrade. Check the BIOS version and contact the manufacturer of your computer for information about a BIOS upgrade.

For additional information, please see the following article in the
Microsoft Knowledge Base:

ARTICLE-ID: Q82318
TITLE : Stack Overflow Can Cause Windows to Hang

KBCategory: kberrmsg kbtshoot
KBSubcategory: Windows 95 winmem
Additional reference words: 95
=============================================================================
Copyright Microsoft Corporation 1996.


Export Control and EULA
Use of any software made available for download from this system constitutes your acceptance of the Export Control Terms and the terms in the Dynabook end-user license agreement both of which you can view before downloading any such software.