stack overflow的问题
来源:互联网 发布:产品效果图制作软件 编辑:程序博客网 时间:2024/06/11 02:01
在网上看到这样一个例子
關於 stack over flow 的問題。
void Example6_2();
void Example6_1()
{
Example6_2();
}
void Example6_2()
{
Example6_1();
}
void main()
{
Example6_1();
}
void Example6_1()
{
Example6_2();
}
void Example6_2()
{
Example6_1();
}
void main()
{
Example6_1();
}
首先就直接讓執行檔跑起來吧,打入g。
0:000> g
(10c4.934): Stack overflow - code c00000fd (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=cccccccc ebx=7ffdf000 ecx=00000000 edx=00000001 esi=00000000 edi=0013316c
eip=00f113b9 esp=00132fd8 ebp=00133098 iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010206
*** WARNING: Unable to verify checksum for WinDebugTest.exe
WinDebugTest!Example6_1+0x9:
00f113b9 53 push ebx
(10c4.934): Stack overflow - code c00000fd (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=cccccccc ebx=7ffdf000 ecx=00000000 edx=00000001 esi=00000000 edi=0013316c
eip=00f113b9 esp=00132fd8 ebp=00133098 iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010206
*** WARNING: Unable to verify checksum for WinDebugTest.exe
WinDebugTest!Example6_1+0x9:
00f113b9 53 push ebx
windbg 上面就顯示了"Stack overflow"。
为什么esp还没有耗尽,但是就已经stack overflow呢?好奇怪?
- stack overflow的问题
- stack overflow的 问题
- VS2005 stack overflow的问题
- VS2005 stack overflow的问题
- VC2008 的 stack overflow 问题
- VS2005 stack overflow的问题
- Debug Stack Overflow的问题
- cvGEMM会出现stack overflow的问题
- vs 2008 stack overflow的问题
- 栈溢出的问题汇总 stack overflow
- VS中出现Stack overflow的问题
- stack overflow问题
- stack overflow问题集锦
- stack overflow 的解决
- 使用visual studio 2012碰到的“Stack OverFlow ”的问题
- 关于堆溢出(Stack overflow)问题的解决
- 使用PerlRegex出现“Stack overflow”堆栈溢出的问题
- Stack Overflow 上人气最旺的 10 个 Java 问题
- js table鼠标移动高亮显示
- uva 10340 All in All
- 非静态的字段,方法或属性。。。。。。要求对象引用
- Android修炼之路
- 使用JDK自带jvisualvm监控tomcat
- stack overflow的问题
- Shop++
- Android Application 基础
- EM算法
- NGUI使用javascript的方法
- C++的I/O(vc版)(七)
- 高速助手,高速公路场景下的LBS应用
- 数据结构--hostent
- 程序员的提醒