PAGE FAULT problem

Hi,everyone
I am writing a NDIS driver for a ADSL device with a
USB interface.When I trace my code with SOFTICE,I
found that the USB initialize is done without
problems,but after return from the
MiniportInitialize() and before W2K calls any of my
other functions,a page fault appear.It seems that W2K
want to call a function,but the function does not
exist(when page fault,W2K want to execute the instuct
CALL [EAX+2C]).
I carefully checked my code and the DDK examples but
got no idea.
If anyone has met the problem or has any idea about
this,please tell me,thank you


Do You Yahoo!? µÇ¼Ãâ·ÑÑÅ»¢µçÓÊ! http://mail.yahoo.com.cn

ÎÞÁÄ£¿ÓôÃÆ£¿¸ßÐË£¿Ã»ÀíÓÉ£¿¶¼À´ÁÄÌì°É£¡¡ª¡ª
ÑÅ»¢È«ÐÂÁÄÌìÊÒ! http://cn.chat.yahoo.com/c/roomlist.html


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi, Wu Qiang,

If you look at the register window in SoftIce, you will find that the value
of eax does not contain a valid base address. If you look at the
instructions immediately prior to it, you will find where eax is loaded, and
you may be able to trace it back. Your eax will typically be loaded from a
parameter, maybe you want to turn on BoundsChecker to verify if the
parameters you’re passing to your function are valid.

Hope this helps!

Alberto.

-----Original Message-----
From: wu qiang [mailto:xxxxx@yahoo.com.cn]
Sent: Friday, August 03, 2001 3:27 AM
To: NT Developers Interest List
Subject: [ntdev] PAGE FAULT problem

Hi,everyone
I am writing a NDIS driver for a ADSL device with a
USB interface.When I trace my code with SOFTICE,I
found that the USB initialize is done without
problems,but after return from the
MiniportInitialize() and before W2K calls any of my
other functions,a page fault appear.It seems that W2K
want to call a function,but the function does not
exist(when page fault,W2K want to execute the instuct
CALL [EAX+2C]).
I carefully checked my code and the DDK examples but
got no idea.
If anyone has met the problem or has any idea about
this,please tell me,thank you


Do You Yahoo!? ??¼???Ż!!! http://mail.yahoo.com.cn

???ģ???ƣ???ˣ?û???ɣ???ɣ????
?Ż?ȫ!!! http://cn.chat.yahoo.com/c/roomlist.html


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com