oscourse-tsinghua / rcore_plus

Rust version of THU uCore OS. Linux compatible.
MIT License
172 stars 26 forks source link

With larger BitAlloc, rcore will crash when initializing frame allocator. #28

Closed jiegec closed 5 years ago

jiegec commented 5 years ago

Because BitAlloc is initialized first on the stack, so the stack overflows.

jiegec commented 5 years ago

Solution: use release mode.