ceanvalds / ceanos

ceanos kernel source tree
GNU General Public License v3.0
16 stars 4 forks source link

Page fault when doing `ls` more than 3 times #18

Open ceanvalds opened 1 week ago

ceanvalds commented 1 week ago

Doing ls more than 3 times page faults.

Edit: now you can do it 5 times

Issue

kfree() fails and does not free the memory allocated by kmalloc() , resulting in a possible memory leak or another error.

Screenshots

Page fault

image

Memseg normally

image

Memseg after doing ls 3 times

image

tayoky commented 6 days ago

It crash after 3 times ? Weird because it still have a lot of memory avalibe after 3 times. I think it is something else