PDA

View Full Version : config.sys and stacks overflow



soilis
10-06-2001, 08:44 AM
Hi all.
I run Win98SE on a celeron 550MHz.The problem is during booting,it stops and shows the message :"Windows protection error.You need to restart your computer".
Then it doesn't do anything,until i press twice any button,and as soon as i press a button i get another message :"An internal stack overflow has caused this session to be halted .Change the STACKS settings in your Config.sys and try again"
I don't need to say that it does not start,it just repeats the same as above,except if i press CTRL during boot and from the menu i choose "command prompt only".Then i use SCANREG/RESTORE and afte that the PC starts normally.Until i restart it again,or i close down and try to restart.What should i do?HELP ME PLEASE!!!!I have exams in 8 days and without PC no revision is possible!

billydee
10-06-2001, 11:17 PM
<a target="_blank" href=http://support.microsoft.com/support/kb/articles/q145/7/99.asp>How to Troubleshoot Windows Internal Stack Overflow Error Messages</a>

This advice is free.
You might only get what you paid for.

reghakr
10-07-2001, 04:29 PM
Anotyher option:

MINSPS

At some point in your computing life, while working in Windows 9x/ME, you may receive the following message:

"There are no spare stack pages. It may be necessary to increase the setting
of 'MinSPs' in System.ini to prevent possible stack faults. There are x currently SPs allocated."

NOTE: This has nothing to do with the DOS mode CONFIG.SYS "STACKS=" setting!
Stack overflow indicates errors in [poorly written :(] drivers, and Win9x/ME sets aside 4 KB of RAM for each stack page used by drivers. But if a driver
tries to use more than 1 page at a time, stack overflow occurs, in which case your computer may crash. If Windows can successfully "bypass" a stack overflow situation, it reclaims this memory and returns it back to the system.

To prevent such errors, add the following line under the [386enh] section of your SYSTEM.INI file, located in your Windows folder (example):
MinSPs=8
If after doing this you still get those error messages, try increasing the
MinSPs number using multiples of 4. Each stack page requires 4 KB of memory.

To do this edit SYSTEM.INI with Notepad or Sysedit.
Restart Windows when done for this change to take effect.
More info @ MSKB:
<a target="_blank" href=http://support.microsoft.com/support/kb/articles/q149/0/83.asp>http://support.microsoft.com/support/kb/articles/q149/0/83.asp</a>

reghakr