关于1024:堆栈下溢的错误(1024. Stack Underflow Occurred)

http://blog.163.com/sylar_lin/blog/static/192332093201111242412487/

 

今天碰到个很奇怪的问题,注释掉下面的trace,realse版本才不报错。

private function onSuccess(rspObj:Object):void
		{
//			unLoading();
			isbusying = false;
			
			if(rspObj.code == 1){//如果code是1结果正常
//				trace("<==req success");
//				trace("<==请求"+rspObj.controller+"成功");
				if(dict[rspObj.controller]!=null){
					var param:Object = dict[rspObj.controller].param;
					dict[rspObj.controller].callback(rspObj.msg,param);
				}
				delete dict[rspObj.controller];
			}else if(rspObj.code == -1){//code为-1是重新登陆
				GameManager.getInstance().uiManager.openUpdatePagePanel()
			}else{
				//0代表有问题  msg就是问题的描述
				GameTips.instance.textFlow(rspObj.msg);
//				throw new Error("请求"+rspObj.controller+"失败");
			}
			
		}

  VerifyError: Error #1023: 发生堆栈上溢。

    at game.net::HttpClient/onSuccess()

flash发行版依旧报错:

 

http://www.cppblog.com/baihua/archive/2011/07/30/152073.aspx

posted on 2015-01-13 20:47  防空洞123  阅读(1611)  评论(0编辑  收藏  举报

导航