Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
从上图中您可以看到函数setAttribute从其调用返回时发生错误。
有谁知道如何解决图片中显示的这个错误?我知道这是调用约定之间的错误,但是如何找出 setAttribute 的调用约定是什么?
此错误表明您的堆栈已损坏。有很多方法可以到达那里。如错误消息中所述,可以使用不同的调用约定,但这种情况并不常见。
通过写入无效指针指向的内存,您的堆栈很可能已被覆盖。
这也可能归结为损坏的构建。清理项目,重建,问题可能会消失。它对我有用。