Skip to content
New issue

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

xmake lua version #5810

Open
CppCXY opened this issue Nov 11, 2024 · 4 comments
Open

xmake lua version #5810

CppCXY opened this issue Nov 11, 2024 · 4 comments
Labels

Comments

@CppCXY
Copy link

CppCXY commented Nov 11, 2024

Xmake 版本

2.9.6

操作系统版本和架构

linux

描述问题

我收到bug报告: 使用emmylua调试时xmake在断点时崩溃, 通过排查分析, 我发现是xmake内建的lua版本是lua5.4.3, 而emmylua调试器自带的lua版本是5.4.6. 我通过降级emmylua调试器带的lua源码到5.4.3后, 崩溃现象不再出现, 我建议考虑在xrepo仓库的emmylua调试器降级lua源码版本, 或者升级xmake的lua源码版本

期待的结果

不再崩溃

工程配置

附加信息和错误日志

@CppCXY CppCXY added the bug label Nov 11, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: xmake lua version

Xmake version

2.9.6

Operating system version and architecture

linux

Describe the problem

I received a bug report: xmake crashed at the breakpoint when debugging with emmylua. Through troubleshooting and analysis, I found that the built-in lua version of xmake is lua5.4.3, and the lua version of the emmylua debugger is 5.4.6. I After downgrading the Lua source code included in the emmylua debugger to 5.4.3, the crash no longer occurs. I suggest you consider downgrading the Lua source code version of the emmylua debugger in the xrepo repository. Or upgrade the lua source code version of xmake

Expected results

No more crashes

Project configuration

none

Additional information and error logs

None

@waruqi
Copy link
Member

waruqi commented Nov 11, 2024

xrepo. 仓库里有各种 lua 版本,自己选择指定版本安装就行了。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


There are various lua versions in the xrepo. warehouse. Just choose the specified version and install it.

@for2years
Copy link

#5799

xmake and emmylua both embed Lua 5.4, but with different versions, which causes unexpected errors during debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants