The value of ESP was not saved properly

淺唱寂寞╮ 提交于 2019-12-02 11:48:49

问题


From the above image you can see that an error occurs when the function setAttribute returns from its call.

Does anyone know how to resolve this error shown in the picture? I know that it is an error between calling conventions, but how do I find out what the calling convention for setAttribute is?


回答1:


This error indicates that your stack is corrupted. There are many ways to get there. As mentioned in the error message a different calling convention is possible but this is not often the case.

It is much more likely that your stack has been overwritten by writing to memory pointed to by an invalid pointer.




回答2:


This can also be down to a corrupted build. Clean the project, rebuild, and the problem might go away. It did for me.



来源:https://stackoverflow.com/questions/4104774/the-value-of-esp-was-not-saved-properly

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