How to create a KERNEL_DATA_INPAGE_ERROR bluescreen?

I’ve gotten a few KERNEL_DATA_INPAGE_ERROR (0x0000007A) bluescreens with a
status code of STATUS_INSUFFICIENT_RESOURCES (0xC000009A), which apparently
“is caused by a lack of nonpaged pool resources”.

To understand what is really going on, I like to try to recreate the same
bluescreen with intentionally bad code, however, I’ve been unable to in this
case.

I’ve written a program that just sits around trying to allocate nonpaged
pool memory, and thus, sucks it all up. I get the system to the point where
I can’t spawn anything new and I get various services and whatnot crash on
me. However, the bluescreen has not reoccurred.

How can I recreate that bluescreen?

Does anyone have any other insight as to how I should try to debug this?

Thanks!


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

You have to also cause paging activity such that pageable thread data
such as a user mode stack cannot be fetched from disk. If you just have
an idle system and a kernel driver sucking up non-paged pool, that is
unlikely to provoke the error.

You should use pool tags on all of your allocations in your driver, a
different tag for each code segment that allocates memory, so that when
you hit your problem again you can find out where you are springing a
leak.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Taed Nelson
Sent: Tuesday, May 15, 2001 11:23 PM
To: NT Developers Interest List
Subject: [ntdev] How to create a KERNEL_DATA_INPAGE_ERROR bluescreen?

I’ve gotten a few KERNEL_DATA_INPAGE_ERROR (0x0000007A)
bluescreens with a status code of
STATUS_INSUFFICIENT_RESOURCES (0xC000009A), which apparently
“is caused by a lack of nonpaged pool resources”.

To understand what is really going on, I like to try to
recreate the same bluescreen with intentionally bad code,
however, I’ve been unable to in this case.

I’ve written a program that just sits around trying to
allocate nonpaged pool memory, and thus, sucks it all up. I
get the system to the point where I can’t spawn anything new
and I get various services and whatnot crash on me. However,
the bluescreen has not reoccurred.

How can I recreate that bluescreen?

Does anyone have any other insight as to how I should try to
debug this?

Thanks!


You are currently subscribed to ntdev as: xxxxx@tellink.net
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