Page Fault (not present) by fork()

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
PHPnerd
Member
Member
Posts: 34
Joined: Mon Nov 05, 2007 11:15 am
Location: The Netherlands
Contact:

Page Fault (not present) by fork()

Post by PHPnerd »

hello again,

this time, i have a Page Fault. the page is not present. It occurs when fork()ing. Exactly, at cloneTable, if(src->pages.frame).
the pagefault is at 0x123890ab (the same as HEAP_MAGIC) and the eip is 0x103073.
I am using the code of JamesMs tutorials.

Source is attached.

Thanks

// Jos
Last edited by PHPnerd on Sun Sep 14, 2008 1:49 pm, edited 1 time in total.
Jinix
PHPnerd
Member
Member
Posts: 34
Joined: Mon Nov 05, 2007 11:15 am
Location: The Netherlands
Contact:

Re: Page Fault (not present) by fork()

Post by PHPnerd »

Nobody?

I figured out that it occurs at cloneTable(), if(!src->pages.frame).

// PHPnerd
Jinix
itisiuk
Member
Member
Posts: 98
Joined: Mon Mar 24, 2008 1:46 pm

Re: Page Fault (not present) by fork()

Post by itisiuk »

it would help if the make files were present and an img file of what u compiled.
Post Reply