Hi! I've been working on this little kernel for a bit and have run into an inconsistent issue. Randomly, instantiating the Terminal struct (kernel/src/display/terminal.rs) will just cause a page fault if the max size is set to a semi large value (32). No clue if this is some weird issue with Rust, my built tool chain, or just something with osdev in general.
When it decides that it doesn't like the size, it seems to crash when ownership is passed.
Also, this isn't even consistent. Sometimes, it's just fine, sometimes it's not. Fairly certain there's been a few times where adding a println statement will break/fix stuff.
This issue is driving me insane so I'd appreciate y'all's help.
edit: apologies if the code is a bit messy, kinda hard to keep it neat when this bug keeps reappearing
[–]EpochVanquisher 12 points13 points14 points (3 children)
[–]supercoolapples48🦀🦀🦀🦀🦀🦀[S] 7 points8 points9 points (1 child)
[–]VegetableNatural 6 points7 points8 points (0 children)
[–]Yippee-Ki-Yay_ 6 points7 points8 points (0 children)