Android Fatal Signal 7 (SIGBUS)

吃可爱长大的小学妹 提交于 2019-12-04 02:21:15

Your misalignment is at address 0x0000001e. That's a very peculiar address- it's almost certain to be wrong. Most likely you're passing in a null pointer somewhere and the C library is trying to either do an array access into it at 30 bytes in, or it thinks its a class and is trying to access some member variable 30 bytes in. Either way I'd put null checks around anything that could even remotely call into the image libraries, and put isRecycled checks around any bitmap objects to find where you're passing in bad values.

vITs

Its Data alignment issue.Your code is not able to put used data structures in computer's right memory successfully,that caused this issue

This link explains this fact correctly.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!