Have you explored writing an entry in the event log? Tracing, discussed here
MANY times?
Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@nana.co.il
Sent: Thursday, March 25, 2010 5:01 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Generating BSOD on demand
Hi,
I’ve a laptop with windows 7 which I can’t debug (no com, firewire or pcmcia
port and syser crashes the system).
I’ve a crash there I allocate some memory allocate an MDL with 0 offset pass
it on and someone (don’t know who, couldn’t catch it with the verifier)
writes some data before the beginning of the buffer and when I get it back
and try to free it, it crashes.
I had an idea of allocating 2 pages, writing my buffer at the beginning of
the second page and somehow lock (or mark invalid) the first page, then when
someone tries to write before my buffer (on the first page) it will generate
a crash and I’ll be able to see who it is from the dump.
My question is, how can I mark a page as un-writable? or do you have any
other creative idea on how to debug the issue?
thanks in advance,
Shachar Weinstein
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
__________ Information from ESET Smart Security, version of virus signature
database 4973 (20100325) __________
The message was checked by ESET Smart Security.
http://www.eset.com
__________ Information from ESET Smart Security, version of virus signature
database 4973 (20100325) __________
The message was checked by ESET Smart Security.
http://www.eset.com