Win64 HCT crashes on testing Camera driver

G

Guest

Hi all,
first of all, I have a win32 camera driver passed winxp winlogo. now, I
convert it into win64. the new driver is running well in WinXP x64. But
when I try to use HCT testing program to test it. It crashes. The crash
point is NOT when the HCT testing is running. It just crashes when I
select my device driver and push OK button after the HCT enumurate my
PC's devices. I use the crash dump trying to debug on Windbg. The
windbg shows:

------------------Start---------------------------------------
ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY (fc)
An attempt was made to execute non-executable memory. The guilty
driver
is on the stack trace (and is typically the current instruction
pointer).
When possible, the guilty driver's name (Unicode string) is printed on
the bugcheck screen and saved in KiBugCheckDriver.
Arguments:
Arg1: fffffa8000b6c450, Virtual address for the attempted execute.
Arg2: d910000004acf163, PTE contents.
Arg3: fffffadff884b890, (reserved)
Arg4: 0000000000000001, (reserved)

Debugging Details:
------------------
MODULE_NAME: nt

FAULTING_MODULE: fffff80001000000 nt

DEBUG_FLR_IMAGE_TIMESTAMP: 42436096

DEFAULT_BUCKET_ID: DRIVER_FAULT

BUGCHECK_STR: 0xFC

LAST_CONTROL_TRANSFER: from fffff800010b7bbd to fffff80001041910

STACK_TEXT:
fffffadf`f884b7b8 fffff800`010b7bbd : 00000000`000000fc
fffffa80`00b6c450 d9100000`04acf163 fffffadf`f884b890 : nt!KeBugCheckEx
fffffadf`f884b7c0 fffff800`01040559 : 00000001`ff06a501
fffffadf`f884b898 fffffadf`f884b800 fffffadf`f818e502 :
nt!PoRegisterSystemState+0x36fbd
fffffadf`f884b890 fffffa80`00b6c450 : fffff800`01369d2f
fffffa80`006cb570 fffffa80`006cb570 00000000`00000000 :
nt!ZwUnloadKey+0x11c9
fffffadf`f884ba28 fffff800`01369d2f : fffffa80`006cb570
fffffa80`006cb570 00000000`00000000 fffffadf`ffc64920 :
0xfffffa80`00b6c450
fffffadf`f884ba30 fffff800`0130f237 : 00000000`00000000
fffffadf`f884bbd8 00000000`00000000 fffffa80`01c32800 :
nt!IoPnPDeliverServicePowerNotification+0x848f
fffffadf`f884bb40 fffff800`0128d449 : fffffadf`f9f6f040
00000000`00000000 00000000`00000001 00000000`00000001 :
nt!IoWMIOpenBlock+0x26e67
fffffadf`f884bbd0 fffff800`01041422 : fffffadf`f9f6f040
00000000`00cff2d0 00000000`00000000 fffffadf`f9f6f040 :
nt!NtQuerySecurityObject+0x979
fffffadf`f884bc70 00000000`78ef1eca : 00000000`00000000
00000000`00000000 00000000`00000000 00000000`00000000 :
nt!ZwUnloadKey+0x2092
00000000`00cff278 00000000`00000000 : 00000000`00000000
00000000`00000000 00000000`00000000 00000000`00000000 : 0x78ef1eca


STACK_COMMAND: .bugcheck ; kb
---------------------------------End----------------------------------------

The crash point seems is NOT on my driver. and I have try to search
which command in my driver before selecting and crash down. I find
there is no command processed by driver. I got no idea about how to
solve this problem. It crashes within the NT kernel, and none of my
code running before it. Does anyone can help me? or is there anything I
need to notice before I try to run HCT for camera device driver
testing?

Besr Regards.
 
S

Saxen Ko

I have found that the BUGCHECK_STR: 0xFC is DEP error. Maybe I need to
take a look at how DEP works.
But I am strange that why it only crash at HCT testing choosing devive?
my driver and device works very well at all and even I use DDK tool
"Driver Verifier" to test together.

Best Regards,
Saxen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top