Well it is dying in smclib. If you have a consisten report, start stepping through the function to see where fffff9801694cdf0 comes from.
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@todos.se
Sent: Sunday, November 08, 2009 11:22 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] WdfRequestForwardToIoQueue fault injection
1: kd> !analyze -v
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
DRIVER_PAGE_FAULT_IN_FREED_SPECIAL_POOL (d5) Memory was referenced after it was freed.
This cannot be protected by try-except.
When possible, the guilty driver's name (Unicode string) is printed on the bugcheck screen and saved in KiBugCheckDriver.
Arguments:
Arg1: fffff9801694cdf0, memory referenced
Arg2: 0000000000000001, value 0 = read operation, 1 = write operation
Arg3: fffff98005a952d2, if non-zero, the address which referenced memory.
Arg4: 0000000000000000, (reserved)
Debugging Details:
*** ERROR: Symbol file could not be found. Defaulted to export symbols for SMCLIB.SYS - Page 1fef5 not present in the dump file. Type ".hh dbgerr004" for details PEB is paged out (Peb.Ldr = 000007fffffde018). Type ".hh dbgerr001" for details PEB is paged out (Peb.Ldr = 000007fffffde018). Type ".hh dbgerr001" for details
WRITE_ADDRESS: fffff9801694cdf0 Special pool
FAULTING_IP:
SMCLIB!SmartcardDeviceControl+aa
fffff980`05a952d2 897530 mov dword ptr [rbp+30h],esi
MM_INTERNAL_CODE: 0
IMAGE_NAME: SMCLIB.SYS
DEBUG_FLR_IMAGE_TIMESTAMP: 4549bc75
MODULE_NAME: SMCLIB
FAULTING_MODULE: fffff98005a94000 SMCLIB
DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT
BUGCHECK_STR: 0xD5
PROCESS_NAME: svchost.exe
CURRENT_IRQL: 0
TRAP_FRAME: fffff9800fe67530 -- (.trap 0xfffff9800fe67530)
NOTE: The trap frame does not contain all registers.
Some register values may be zeroed or incorrect.
rax=00000000c0000184 rbx=0000000000000000 rcx=fffff9801694cdc0
rdx=0000000000000000 rsi=0000000000000000 rdi=0000000000000000
rip=fffff98005a952d2 rsp=fffff9800fe676c0 rbp=fffff9801694cdc0
r8=00000000000004b1 r9=fffff98000334320 r10=fffff9800fe67410
r11=fffff9800fe67620 r12=0000000000000000 r13=0000000000000000
r14=0000000000000000 r15=0000000000000000
iopl=0 nv up ei pl zr na po nc
SMCLIB!SmartcardDeviceControl+0xaa:
fffff98005a952d2 897530 mov dword ptr [rbp+30h],esi ss:0018:fffff9801694cdf0=????????
Resetting default scope
LAST_CONTROL_TRANSFER: from fffff80001854718 to fffff8000184db90
STACK_TEXT:
fffff9800fe67428 fffff80001854718 : 0000000000000050 fffff9801694cdf0 0000000000000001 fffff9800fe67530 : nt!KeBugCheckEx
fffff9800fe67430 fffff8000184c719 : 0000000000000001 00000000c0000184 fffffa800161b400 00000000c0000001 : nt!MmAccessFault+0x137c
fffff9800fe67530 fffff98005a952d2 : fffffa800163a3c8 fffffa8000000006 fffffa800161b300 fffff98014f34100 : nt!KiPageFault+0x119
fffff9800fe676c0 fffff98014f3612d : fffffa800127c5d0 0000057ffea2b8a8 fffffa800161b380 fffffa80015d4750 : SMCLIB!SmartcardDeviceControl+0xaa
fffff9800fe67710 fffff98014f362e5 : 0000057ffea2b8a8 0000057ffed83a28 0000000000000065 0000000000000003 : todosu!anonymous namespace'::PcscIoctl+0xcd [c:\driver\queue.cpp @ 104] fffff9800fe67770 fffff980002f1f90 : 0000057ffea2b8a8 0000057ffed83a28 0000000000000000 0000000000000000 : todosu!EvtIoDeviceControl+0x75 [c:\driver\queue.cpp @ 156] fffff9800fe677b0 fffff980002f199f : fffffa800127c500 fffffa800127c5d0 fffffa80015d4750 fffffa80015d4750 : Wdf01000!FxIoQueue::DispatchRequestToDriver+0x4b8 fffff9800fe67830 fffff980002f0f98 : 0000000000000000 0000000000000000 0000000000000000 fffffa800127c722 : Wdf01000!FxIoQueue::DispatchEvents+0x4df fffff9800fe678a0 fffff980002f6558 : fffff9801694cf00 fffffa800127c5d0 fffff9801694cdc0 fffffa800127c5d0 : Wdf01000!FxIoQueue::QueueRequest+0x2bc fffff9800fe67910 fffff980002e0245 : fffffa800127c5d0 fffff9801694cdc0 0000000000000002 fffffa8001d69e40 : Wdf01000!FxPkgIo::Dispatch+0x37c fffff9800fe67990 fffff80001c244e6 : fffff9801694cdc0 fffffa8001d69e40 fffffa800158c1a0 0000000000000001 : Wdf01000!FxDevice::Dispatch+0xa9 fffff9800fe679c0 fffff80001a8dfb7 : fffff9801694cf00 fffff9800fe67ca0 fffff9801694cdc0 fffffa8003e0a220 : nt!IovCallDriver+0x346 fffff9800fe67a00 fffff80001a94206 : 0000000000000000 00000000000006dc 0000000000000000 00000000034afe30 : nt!IopXxxControlFile+0x626 fffff9800fe67b40 fffff8000184d633 : 0000000000000000 0000000000000001 0000000000000000 0000000000000000 : nt!NtDeviceIoControlFile+0x56 fffff9800fe67bb0 00000000779402ea : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : nt!KiSystemServiceCopyEnd+0x13 00000000034afca8 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : 0x779402ea
STACK_COMMAND: kb
FOLLOWUP_IP:
SMCLIB!SmartcardDeviceControl+aa
fffff980`05a952d2 897530 mov dword ptr [rbp+30h],esi
SYMBOL_STACK_INDEX: 3
SYMBOL_NAME: SMCLIB!SmartcardDeviceControl+aa
FOLLOWUP_NAME: MachineOwner
FAILURE_BUCKET_ID: X64_0xD5_VRF_SMCLIB!SmartcardDeviceControl+aa
BUCKET_ID: X64_0xD5_VRF_SMCLIB!SmartcardDeviceControl+aa
Followup: MachineOwner
Note:
Line 104...SmartcardDeviceControl
Line 156...PcscIoctl
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
To unsubscribe, visit the List Server section of OSR Online at ListServer/Forum