KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q41024: FATAL: Internal Stack Failure, System Halted

Article: Q41024
Product(s): See article
Version(s): 5.00 5.10
Operating System(s): MS-DOS
Keyword(s): ENDUSER | S_QUICKC S_PASCAL H_FORTRAN H_MASM | mspl13_c
Last Modified: 16-MAY-1989

For DOS Version 3.20 or later, the following message is issued by DOS
when too many interrupts occur too quickly and the pool of internal
stack frames is exhausted:

   FATAL: Internal Stack Failure, System Halted

Increasing the number of stacks allocated for use by interrupt
handlers in the STACKS command in CONFIG.SYS usually corrects the
problem.

The syntax is as follows:

STACKS=n,s

n = number of stacks, ranging from 8 to 64, with 9 as the as the default
s = size of each stack, ranging from 32 to 512 bytes, default of 128

For more information about the STACKS command, see Page 805 of the
"MS-DOS Encyclopedia."

This error can occur if network cards, laboratory measurement
instruments, and other devices are in use. They may generate many
hardware interrupts thus exhausting the DOS stack resources.

Note: For MS-DOS Version 3.30 on an IBM-PC, IBM-XT, or
IBM-PC-Portable, the default for n is 0 and s is 0 .

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.