Article ID: 190087 - Last Review: November 18, 2003 - Revision: 2.0 BUG: Stop a Running Project From Immediate Window Crashes IDEThis article was previously published under Q190087 On This PageSYMPTOMS
In a Visual Basic project, attempting to create and show a large number of
modal forms and then stopping the application from running in the IDE will
either shut down Visual Basic 5.0 automatically or crash it and generate
the following message:
VB5 caused a stack fault in module KERNEL32.DLL at 0137:bff725c5.
The crash occurs when you go into break mode, use the Immediate window, and then stop the application in IDE. This error does not occur if the application is run as a compiled EXE. CAUSE
Too many modal forms in a Visual Basic project will cause Visual Basic to
check numerous system message loops and go into an infinite loop, thus
creating a stack overflow. This may occur due to a low stack space as
numerous copies of a form are currently loaded modally.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article. We are researching this
bug and will post new information here in the Microsoft Knowledge
Base as it becomes available.
MORE INFORMATIONSteps to Reproduce Behavior
APPLIES TO
| Article Translations
|

Back to the top
