We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
![image](https://github.com/Tencent/LuaPanda/assets/16960038/542e775c-5686-4bb2-a702-25629b0229af)
我看了下代码最后崩溃在luaD_hook中,这个函数的作用是在 lua_Debug 中填充调试信息,并调用调试器设置的hook函数。 看起来是因为 plibdebug 库中设置的 lua_hook 函数指针有问题,导致调用时崩溃了。
建议参照这个文档,把useCHook选项设置为false ,观察下效果看是否还会崩溃。 https://github.com/Tencent/LuaPanda/blob/e3ac3d3314f24cf939c36cac5b7dc1f2ed6ee129/Docs/Manual/launch-json-introduction.md
Originally posted by @stuartwang in #182 (comment)
您好,我把 useCHook 设为 false,还是崩溃,这是崩溃堆栈
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
不好意思项目有点忙,我刚看到补充issue.
我看了下 luaH_getshortstr 是 Lua 的内部函数,看起来实在查询短字符串时出现了异常。我的分析是:
综合以上信息我分析是lua虚拟机代码被修改过或者遇到了什么边界情况导致lua虚拟机内部崩溃了,从调试器层我们目前没有办法绕过。如果有更详细的信息也可以提供给我,我再做分析
No branches or pull requests
我看了下代码最后崩溃在luaD_hook中,这个函数的作用是在 lua_Debug 中填充调试信息,并调用调试器设置的hook函数。
看起来是因为 plibdebug 库中设置的 lua_hook 函数指针有问题,导致调用时崩溃了。
建议参照这个文档,把useCHook选项设置为false ,观察下效果看是否还会崩溃。
https://github.com/Tencent/LuaPanda/blob/e3ac3d3314f24cf939c36cac5b7dc1f2ed6ee129/Docs/Manual/launch-json-introduction.md
Originally posted by @stuartwang in #182 (comment)
您好,我把 useCHook 设为 false,还是崩溃,这是崩溃堆栈
![20774a86a88f605556b030a6d8e3e997](https://user-images.githubusercontent.com/10419896/325842948-6b30db3b-7633-48bb-89c5-eb126691d10a.png)
The text was updated successfully, but these errors were encountered: