memory management - Does a page fault occur whenever we have a segmentation fault? -


whenever segmentation fault occurs, have page fault?

anyone linux kernel code experience can pleas point code here too?

i have seen: segmentation fault vs page fault

segmentation fault can occur under following circumstances:

a) buggy program / command, can fixed applying patch.

b) can appear when try access array beyond end of array under c programming.

c) inside chrooted jail can occur when critical shared libs, config file or /dev/ entry missing.

d) sometime hardware or faulty memory or driver can create problem.

e) maintain suggested environment computer equipment (overheating can generate problem).

why page fault occur:

a)trying access virtual memory-address

b)instruction-operand / instruction-address

c)read-data/write-data, or fetch-instruction

d)maybe page ‘not present’

e)maybe page ‘not readable’

f)maybe page ‘not writable’

g)maybe page ‘not visible’


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -