Skip to content

zCore连续运行程序报错 #380

Open
@shzhxh

Description

  • 代码位置:https://github.com/shzhxh/zCore (dev分支)
  • riscv64架构:当内存设为512M,会报NoMemory的错误。当内存加到756M,测试通过。
    # 复现操作
    cargo update-all
    make libc-test ARCH=riscv64 CI=1
    cargo image --arch riscv64
    cargo bin --features "linux baremetal-test loopback" --arch riscv64 --output kernel-qemu
    make qemu ARCH=riscv64 CI=1
  • x86_64架构:报错为memory allocation of xxx bytes failed。当内存加到4G也无效。出错的那条测例单独运行不报错。
    # 复现操作
    cargo update-all
    make libc-test ARCH=x86_64 CI=1
    cargo image --arch x86_64
    cd zCore && make run ARCH=x86_64 LINUX=1 RELEASE=1 TEST=1
    # 在zCore里运行sh test.sh x86_64
  • aarch64架构:报错为NoMemory。当内存加到4G也无效。出错的那条测例单独运行不报错。
    # 复现操作
    cargo update-all
    make libc-test ARCH=aarch64 CI=1
    cargo image --arch aarch64
    cd zCore && make run ARCH=aarch64 LINUX=1 RELEASE=1 TEST=1
    # 在zCore里运行sh test.sh aarch64

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions