nayan kumar wrote:
Hi All,
First of all thnaks to all people for their valuable
suggesion. I started implementing your suggesion. In between i googled
about this and found some stuff with the help of that i tried to
implement callback function for sending data from kernel to user mode
application.I am facing some problem with it and want to discuss it
with you people just for my knowledge. For the first time callback
function gets called properly no issue at all.but when i get interrupt
for the second time that time i am getting BSOD .due to lack of
resources i am not able to use windbg but i am writting down the text
which appears on my computer screen.it is as followsSTOP : 0x0000001E (0xC0000005,0x023210BE,0x00000000,0x023210BE)
KMODE_EXCEPTION_NOT_HANDLED
This is a general protection fault, meaning that you accessed an invalid
address. In this case, the address is 0x023210BE, which is a user-mode
address. When you say you “implement callback function”, you don’t
literally mean that you called from kernel mode into user mode, do you?
When you get an interrupt, the original process is almost certainly no
longer in memory, so none of the user-mode addresses will have any meaning.
You cannot possibly hope to debug this without WinDBG. “Lack of
resources” is not a good enough reason. I have a laptop I bought in
1999 with a 233MHz Pentium-II running Windows 2000 that works perfectly
well as a WinDBG host. Surely you can borrow a 5-year-old laptop that
is no longer being used.
Why don’t you show us what your interrupt code looks like. Maybe
something will stand out.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.