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

[Bug] lab2 内存空间不足 #163

Open
my-vegetable-has-exploded opened this issue Dec 3, 2022 · 0 comments
Open

[Bug] lab2 内存空间不足 #163

my-vegetable-has-exploded opened this issue Dec 3, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@my-vegetable-has-exploded

Describe the bug
lab2 中rcore/os4/src/config.rs,

疑似内存大小不足,导致TaskControlBlock初始化内存分配失败。

此处 panic

将默认默认参数调大可以解决该问题。

To Reproduce
make test4

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Environment (please complete the following information):

  • OS: Ubuntu 20.04
  • Rust Version: rustc 1.65.0-nightly (cf9ed0dd5 2022-09-15)
  • QEMU Version: qemu-img version 7.0.0

Additional context
if needed, i can open a pr to solve it.

@my-vegetable-has-exploded my-vegetable-has-exploded added the bug Something isn't working label Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant