简体   繁体   English

致命信号8不断出现在Android中

[英]Fatal Signal 8 kept coming in android

When i was testing my game it works fine for some time but after sometime Fatal signal 8 error occurs and game stops.I tried to dig in that and found that it is floating point exception, but i am not doing any wrong mathematical calculation. 当我测试我的游戏时,它可以正常工作一段时间,但一段时间后会出现致命信号8错误并停止游戏。我试图对此进行挖掘,发现它是浮点异常,但我没有做任何错误的数学计算。 I am making lot of objects is that could be cause ? 我制造了很多物体,这可能是原因吗?

It would be better if u also mention the SIGNAL Error shown just after the 8 digit. 如果您还提到8位数之后显示的SIGNAL Error,那会更好。 If u are sure that it is not arithmetic error then it may also be stack memory overflow. 如果您确定这不是算术错误,则也可能是堆栈内存溢出。 Check if too many big arrays may be you have assigned, try to reduce them 检查您分配的大型数组是否过多,请尝试减少它们

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM