-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
Description
Hello!
I was messing around with cavOS for fun, and found that a lot of programs will randomly seg-fault when trying to run them.
I haven't tested this outside of Qemu.
Running ls a bunch results in this:

In the serial console, it shows GP-faults every time it seg-faults in the terminal.
======================================= REGDUMP =======================================
+ RAX=0000002108421084 RBX=00001000000a4920 RCX=0000700000049bd0 RDX=0000000000000016 +
+ RSI=0000700000000000 RDI=000070000004a698 RBP=00001000000a58a0 RSP=ffff80000cc3cfd8 +
+ R8 =00001000000a58a0 R9 =0000000000041066 R10=0000000000000000 R11=0000000000000000 +
+ R12=000070000041e4e0 R13=0000600000000010 R14=0000000000000000 R15=0000000000000200 +
+ RIP=ffffffff8008d4b4 RFL=0000000000010086 _CS=0000000000000028 _SS=0000000000000030 +
+ ERR=0000000000000048 INT=000000000000000d _DS=0000000000000030 RES=0000000000000000 +
=======================================================================================
[regdump] regs{ffff80000cc3cf18} timerTicks{278542} task{ffff800006002600} taskId{162}
[isr::task] [u] Killing task{162} because of General Protection Fault!
And sometimes, it just quits the program before showing a seg-fault.
Or sometimes it runs the program, and then seg-faults in the middle of it. I got this to happen with ls and fastfetch.
Reactions are currently unavailable