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

在armv7下运行协程会coredump #350

Open
scmikezhang opened this issue Dec 21, 2023 · 3 comments
Open

在armv7下运行协程会coredump #350

scmikezhang opened this issue Dec 21, 2023 · 3 comments

Comments

@scmikezhang
Copy link

1.运行报错 F1220 07:33:16.675] SIGBUS: bus error, 是否arm32的汇编代码存在问题?

@scmikezhang
Copy link
Author

同环境下运行libgo 或 libgo-with-boost.context 均无coredump问题

@idealvin
Copy link
Owner

@scmikezhang
可以提供测试环境吗?联系我邮箱,我有空看看

@AKanTam
Copy link

AKanTam commented Apr 29, 2024

@scmikezhang 可以提供测试环境吗?联系我邮箱,我有空看看

我也遇到了同样的问题,在arm32环境下,用coost建立httpserver后,在回调里面使用nlohmann::json库解析(主要是这个库有序列化的宏,所以用这个库)会直接SIGBUS,同样的代码在arm64里面没有问题,解析在std::thread里面运行也没有问题,在协程里面运行会SIGBUS
如果需要arm32(armv7)的环境我可以提供,但需要使用远程

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

No branches or pull requests

3 participants