what does page fault 0eh, fault = 0002 mean?

I merge the registry filter code from regmon to my file filter driver but
ofter got such error£¬
call stack is :

strncpy
getfullname
hookregopenkey

I don’t know what does this mean, please help!
Why the same code runs well in regmon, I check the code again and again,
nothing different found.

Well, page fault (oeh trap )occurs when you try to read/write from a invalid virtual memory. In your case this may be because the routine “strncpy” which you might be trying to copy the memory addrss that doesn’t exist or invalid. Check for the valid pointers and do the copy stuff… Hope this helps…

Cheers
K.Raju

-----Original Message-----
From: Holk Leng [mailto:xxxxx@baidu.com]
Sent: Monday, May 17, 2004 8:48 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] what does page fault 0eh, fault = 0002 mean?

I merge the registry filter code from regmon to my file filter driver but
ofter got such error??
call stack is :

strncpy
getfullname
hookregopenkey

I don’t know what does this mean, please help!
Why the same code runs well in regmon, I check the code again and again,
nothing different found.


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@inquesttechnologies.com
To unsubscribe send a blank email to xxxxx@lists.osr.com