首页 > 代码库 > C++ - "No source available for "__chkstk_ms() at 0x401f0b"" 异常

C++ - "No source available for "__chkstk_ms() at 0x401f0b"" 异常

"No source available for "__chkstk_ms() at 0x401f0b"" 异常


本文地址: http://blog.csdn.net/caroline_wendy


"No source available for "__chkstk_ms() at 0x401f0b"" 异常, 在Eclipse CDT, GCC 4.8.1调试(Debug)出现.

原因: 创建数组过大, 无法分配栈上空间. 修改数组大小即可.


例如:

	static const int MAX_N = 10000;
	int dp[MAX_N+1][MAX_N+1];

异常:

__chkstk_ms() at 0x401f0b