[wdmaudiodev] XP sysaudio BSOD

  • From: Robert Bielik <robert.bielik@xxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 28 Oct 2011 15:37:34 +0200

Hi all,

I've just made an update to my VAD, and now I get a 100% reproducible BSOD on 
XP (SP3), analyze -v gives:

*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

PAGE_FAULT_IN_NONPAGED_AREA (50)
Invalid system memory was referenced.  This cannot be protected by try-except,
it must be protected by a Probe.  Typically the address is just plain bad or it
is pointing at freed memory.
Arguments:
Arg1: e2773000, memory referenced.
Arg2: 00000000, value 0 = read operation, 1 = write operation.
Arg3: edd91a98, If non-zero, the instruction address which referenced the bad 
memory
    address.
Arg4: 00000001, (reserved)

Debugging Details:
------------------

READ_ADDRESS:  e2773000 Paged pool

FAULTING_IP:
sysaudio!CompareDataRangeExact+1d
edd91a98 f3a6            repe cmps byte ptr [esi],byte ptr es:[edi]

MM_INTERNAL_CODE:  1

IMAGE_NAME:  sysaudio.sys

DEBUG_FLR_IMAGE_TIMESTAMP:  48025beb

MODULE_NAME: sysaudio

FAULTING_MODULE: edd8f000 sysaudio

DEFAULT_BUCKET_ID:  INTEL_CPU_MICROCODE_ZERO

BUGCHECK_STR:  0x50

PROCESS_NAME:  explorer.exe

TRAP_FRAME:  edab3860 -- (.trap 0xffffffffedab3860)
ErrCode = 00000000
eax=00000000 ebx=e26dab80 ecx=0bfa7e1d edx=e1273ef0 esi=e2773000 edi=e2773000
eip=edd91a98 esp=edab38d4 ebp=edab38dc iopl=0         nv up ei pl zr na pe nc
cs=0008  ss=0010  ds=0023  es=0023  fs=0030  gs=0000             efl=00010246
sysaudio!CompareDataRangeExact+0x1d:
edd91a98 f3a6            repe cmps byte ptr [esi],byte ptr es:[edi]
Resetting default scope

LAST_CONTROL_TRANSFER:  from 80536593 to 804e2a52

STACK_TEXT:
edab33ac 80536593 00000003 e2773000 00000000 nt!RtlpBreakWithStatusInstruction
edab33f8 80537066 00000003 80701a4c c0389dcc nt!KiBugCheckDebugBreak+0x19
edab37d8 8053767a 00000050 e2773000 00000000 nt!KeBugCheck2+0x574
edab37f8 80529170 00000050 e2773000 00000000 nt!KeBugCheckEx+0x1b
edab3848 804e0944 00000000 e2773000 00000000 nt!MmAccessFault+0x77e
edab3848 edd91a98 00000000 e2773000 00000000 nt!KiTrap0E+0xd0
edab38dc edd9210b e26dab80 e26dab80 000000f0 sysaudio!CompareDataRangeExact+0x1d
edab38fc edd938b3 edab3934 edd9303a edd91a7b 
sysaudio!CListData::CreateUniqueList+0x2d
edab3940 edd937b7 e25dbb90 00000000 edd984d2 
sysaudio!CGraphNodeInstance::CreatePinDescriptors+0x2cc
edab394c edd984d2 e1e424a0 00000000 e1e424ac 
sysaudio!CGraphNodeInstance::Create+0x18
edab395c edd98403 e217bb70 e217bb70 00000000 sysaudio!CGraphNode::Create+0x96
edab396c edd9135a e217bb70 e217bb84 866dfdd0 
sysaudio!CDeviceNode::CreateGraphNodes+0x34
edab397c edd91427 00000004 e217bb70 edab399c 
sysaudio!CFilterInstance::CreateGraph+0x15
edab398c edd91976 e1e424a0 861eec48 edab3a00 
sysaudio!CFilterInstance::SetDeviceNode+0x41
edab399c f6a4bf5c e1e424a0 861eec48 861eec40 sysaudio!SetInstanceDevice+0x3c
edab3a00 f6a4bed9 866dfdd0 00000004 edd905e0 ks!KspPropertyHandler+0x616
edab3a24 edd90fb2 866dfdd0 00000004 edd905b8 ks!KsPropertyHandler+0x19
edab3a74 f6a4bf95 8634ab88 866dfdd0 edab3ac0 
sysaudio!CFilterInstance::FilterDispatchIoControl+0x18e
edab3a84 804e13d9 8634ab88 866dfdd0 866dfdd0 ks!DispatchDeviceIoControl+0x28
edab3a94 f6a4cba8 edcbc850 edab3b00 00000000 nt!IopfCallDriver+0x31
edab3ac0 edcad52e 866e1c10 00000000 002f0003 
ks!KsSynchronousIoControlDevice+0xbd
edab3b08 edcb05b3 866e1c10 00000003 00000004 wdmaud!SetSysAudioProperty+0x4e
edab3bcc edcb1342 852d1000 00000001 e26ed668 wdmaud!InitializeGetNumDevs+0x182
edab3bf0 edcb1282 852d1000 e1181420 00000001 wdmaud!ProcessDevNodeListItem+0x38
edab3c18 edcaeb8b 852d1000 853c6588 00000001 wdmaud!AddDevNode+0x10c
edab3c40 804e13d9 00000000 852d1000 80701410 wdmaud!SoundDispatch+0x142
edab3c50 8057087c 852a809c 853cc6d8 852a8008 nt!IopfCallDriver+0x31
edab3c64 805803d0 8541b3e0 852a8008 853cc6d8 nt!IopSynchronousServiceTail+0x70
edab3d00 805889d2 00000560 00000870 00000000 nt!IopXxxControlFile+0x5ef
edab3d34 804dd99f 00000560 00000870 00000000 nt!NtDeviceIoControlFile+0x2a
edab3d34 7c90e514 00000560 00000870 00000000 nt!KiFastCallEntry+0xfc
0185fb00 7c90d28a 7c8016c2 00000560 00000870 ntdll!KiFastSystemCallRet
0185fb04 7c8016c2 00000560 00000870 00000000 ntdll!ZwDeviceIoControlFile+0xc
0185fb64 72cf4523 00000560 001d8004 01c06640 kernel32!DeviceIoControl+0x78
0185fbac 72cf14f5 01c06640 00000000 00000000 
wdmaud_72cf0000!wdmaudIoControl+0x96
0185fbcc 72cf1d22 00000001 01ba5dcc 00000001 
wdmaud_72cf0000!wdmaudAddRemoveDevNode+0x3a
0185fbec 76b387e8 00000000 00000064 00000000 wdmaud_72cf0000!wodMessage+0x307
0185fc2c 76b38416 0000000f 01bf1290 01ba5dcc WINMM!wdmDrvInstall+0x242
0185fc64 76b380e4 01bf1290 01ba5dcc 00000002 WINMM!wdmDriverLoadClass+0x14a
0185fc94 76b382b6 00000000 00000000 01c2f020 WINMM!wdmDriverLoadAllClasses+0x46
0185fca8 76b3643f 00008000 01c2f02c 00000000 WINMM!wdmPnpUpdateDriver+0x3e
0185fcd8 76b36487 01046758 00000000 00000000 WINMM!ClientPnpChange+0x9f
0185fcf8 76b35fbb 0102be5c 7e369491 00000000 WINMM!ClientUpdatePnpInfo+0xf3
0185fcfc 0102be5c 7e369491 00000000 000e99b8 WINMM!waveOutGetNumDevs+0x5
0185fd10 0102c0cc 0185fd20 010460f8 00000000 
Explorer!Mixer_GetDefaultMixerID+0xd
0185fd28 0102c241 01046758 0000c0ae 01003779 Explorer!Mixer_Open+0x13
0185fd34 01003779 0000c0ae 010460f8 0002005e Explorer!Mixer_Refresh+0x14
0185fde8 01001b5c 0002005e 0000c0ae 00000000 Explorer!CTray::v_WndProc+0x10d5
0185fe0c 7e368734 0002005e 0000c0ae 00000000 
Explorer!CImpWndProc::s_WndProc+0x65
0185fe38 7e368816 01001b1d 0002005e 0000c0ae USER32!InternalCallWinProc+0x28
0185fea0 7e3689cd 0009f238 01001b1d 0002005e 
USER32!UserCallWinProcCheckWow+0x150
0185ff00 7e368a10 0185ff28 00000000 0185ff44 USER32!DispatchMessageWorker+0x306
0185ff10 01001a35 0185ff28 00000000 010460f8 USER32!DispatchMessageW+0xf
0185ff44 0100ffd1 00000000 0185ffb4 77f76f42 Explorer!CTray::_MessageLoop+0xd9
0185ff50 77f76f42 010460f8 0000005c 00000000 Explorer!CTray::MainThreadProc+0x29
0185ffb4 7c80b729 00000000 0000005c 00000000 SHLWAPI!WrapperThreadProc+0x94
0185ffec 00000000 77f76ed3 0007fdbc 00000000 kernel32!BaseThreadStart+0x37


STACK_COMMAND:  kb

FOLLOWUP_IP:
sysaudio!CompareDataRangeExact+1d
edd91a98 f3a6            repe cmps byte ptr [esi],byte ptr es:[edi]

SYMBOL_STACK_INDEX:  6

SYMBOL_NAME:  sysaudio!CompareDataRangeExact+1d

FOLLOWUP_NAME:  MachineOwner

FAILURE_BUCKET_ID:  0x50_sysaudio!CompareDataRangeExact+1d

BUCKET_ID:  0x50_sysaudio!CompareDataRangeExact+1d

Followup: MachineOwner
---------

Any ideas on what goes on in CompareDataRangeExact ?

TIA
/Rob
Ps. Posted also on ntdev, sorry for duplicates !
******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: