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

linux_libc_test and linux-syscall test failed in x86_64 Qemu #327

Open
elliott10 opened this issue Jun 17, 2022 · 1 comment
Open

linux_libc_test and linux-syscall test failed in x86_64 Qemu #327

elliott10 opened this issue Jun 17, 2022 · 1 comment

Comments

@elliott10
Copy link
Collaborator

elliott10 commented Jun 17, 2022

根据wyf童鞋在zCore上实验,发现一些zCore bug, 记录如下:

  • 在zCore/tests目录下python3 linux_libc_test.py -a x86_64,结果发现每个测试都会跑7~8秒之后段错误然后failed。这些测例在zCore里面手动跑好像没有问题。

通过更新Qemu,问题不再出现;


* 在zCore里面手动跑linux-syscall/test里面的测例,比如testpipe1,zCore会在处理page fault时报错,打印UserContext然后有可能卡死;运行环境在ubuntu20.04 qemu4.2 for x86_64
@YdrMaster
Copy link
Collaborator

最好别用太老的 qemu😢x86 不清楚,但是 riscv 各种问题一大堆

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

2 participants