Crash In umpo.dll

Hi,

Platform Windows 8.1 32 bit.
I am developing a Battery miniclass driver. Getting a crash during a boot
time.

AULTING_IP:
ntdll!RtlpWaitOnCriticalSection+ac
001b:77c2c466 ff4014 inc dword ptr [eax+14h]

EXCEPTION_RECORD: 0030ef40 – (.exr 0x30ef40)
ExceptionAddress: 77c2c466 (ntdll!RtlpWaitOnCriticalSection+0x000000ac)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 00000001
Parameter[1]: 00000014
Attempt to write to address 00000014

CONTEXT: 0030ef5c – (.cxr 0x30ef5c;r)
eax=00000000 ebx=00000124 ecx=fffffffc edx=00000000 esi=74b2b0a0
edi=00000000
eip=77c2c466 esp=0030f240 ebp=0030f2a0 iopl=0 nv up ei pl nz ac po
cy
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00010213
ntdll!RtlpWaitOnCriticalSection+0xac:
001b:77c2c466 ff4014 inc dword ptr [eax+14h]
ds:0023:00000014=???
Last set context:
eax=00000000 ebx=00000124 ecx=fffffffc edx=00000000 esi=74b2b0a0
edi=00000000
eip=77c2c466 esp=0030f240 ebp=0030f2a0 iopl=0 nv up ei pl nz ac po
cy
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00010213
ntdll!RtlpWaitOnCriticalSection+0xac:
001b:77c2c466 ff4014 inc dword ptr [eax+14h]
ds:0023:00000014=???
Resetting default scope

ERROR_CODE: (NTSTATUS) 0x80000003 - {EXCEPTION} Breakpoint A breakpoint
has been reached.

EXCEPTION_CODE: (HRESULT) 0x80000003 (2147483651) - One or more arguments
are invalid

EXCEPTION_PARAMETER1: 00000000

EXCEPTION_PARAMETER2: 00000000

EXCEPTION_PARAMETER3: 00000000

NTGLOBALFLAG: 0

APPLICATION_VERIFIER_FLAGS: 0

APP: svchost.exe

ANALYSIS_VERSION: 6.3.9600.17237 (debuggers(dbg).140716-0327) x86fre

WRITE_ADDRESS: 00000014

FOLLOWUP_IP:
umpo!UmpoPowerRequestOverridePolicyUpdate+19
001b:74b264f9 85f6 test esi,esi

DEFAULT_BUCKET_ID: STATUS_BREAKPOINT

FAULTING_THREAD: 00000002

PRIMARY_PROBLEM_CLASS: STATUS_BREAKPOINT

BUGCHECK_STR: APPLICATION_FAULT_STATUS_BREAKPOINT

LAST_CONTROL_TRANSFER: from 77c19680 to 77c2c466

STACK_TEXT:
0030f2a0 77c19680 00000002 00000001 74b2b0a0
ntdll!RtlpWaitOnCriticalSection+0xac
0030f2c8 77c195d2 0030f2f0 74b264f9 74b2b0a0
ntdll!RtlpEnterCriticalSectionContended+0xa0
0030f2d0 74b264f9 74b2b0a0 00407f78 0030f310
ntdll!RtlEnterCriticalSection+0x42
0030f2e4 74b264d6 0030f310 0030f2fc 74b153fe
umpo!UmpoPowerRequestOverridePolicyUpdate+0x19
0030f2f0 74b153fe 0030f310 0030f77c 755e3536
umpo!UmpoNotificationHandler+0x79
0030f2fc 755e3536 00000000 00008013 0030f310
umpoext!UmpoInternalPowerNotificationCallback+0xe
0030f77c 77c0941b a3bc4045 41c64e6d 00000001
powrprof!PowerpSettingCallback+0x208
0030f82c 77c091d9 00000000 00000000 00407f48
ntdll!RtlpWnfWalkUserSubscriptionList+0x18d
0030f850 77c090c6 003e2b38 0030f924 00000000
ntdll!RtlpWnfProcessCurrentDescriptor+0xaf
0030f878 77c0cd03 0030f924 000000cc 003e2b38
ntdll!RtlpWnfNotificationThread+0x82
0030f8a4 77c0cc77 00000000 00000000 003e2c10
ntdll!TppExecuteWaitCallback+0x5f
0030f8c0 77c0eba8 0030f924 003e2c10 003e2b38 ntdll!TppWaitCompletion+0x76
0030fabc 770817ad 003d2a90 0030fb0c 77c2db0e ntdll!TppWorkerThread+0x368
0030fac8 77c2db0e 003d2a90 33a4b6c0 00000000
KERNEL32!BaseThreadInitThunk+0xe
0030fb0c 77c2dae7 ffffffff 77c74ad5 00000000 ntdll!__RtlUserThreadStart+0x20
0030fb1c 00000000 77c0e840 003d2a90 00000000 ntdll!_RtlUserThreadStart+0x1b

SYMBOL_STACK_INDEX: 3

SYMBOL_NAME: umpo!UmpoPowerRequestOverridePolicyUpdate+19

FOLLOWUP_NAME: MachineOwner

MODULE_NAME: umpo

IMAGE_NAME: umpo.dll

DEBUG_FLR_IMAGE_TIMESTAMP: 52157d1b

STACK_COMMAND: .cxr 0x30ef5c ; kb

BUCKET_ID_FUNC_OFFSET: 19

FAILURE_BUCKET_ID:
STATUS_BREAKPOINT_80000003_umpo.dll!UmpoPowerRequestOverridePolicyUpdate

BUCKET_ID:
APPLICATION_FAULT_STATUS_BREAKPOINT_umpo!UmpoPowerRequestOverridePolicyUpdate

ANALYSIS_SOURCE: KM

FAILURE_ID_HASH_STRING:
km:status_breakpoint_80000003_umpo.dll!umpopowerrequestoverridepolicyupdate

FAILURE_ID_HASH: {b4a6a975-90ee-6741-ec6b-70a09d80e29d}

Followup: MachineOwner

Regards,
Rabish Kumar

On Oct 11, 2014, at 11:41 PM, Ravish Yadav > wrote:

Platform Windows 8.1 32 bit.
I am developing a Battery miniclass driver. Getting a crash during a boot time.

It says you tried to acquire a critical section that had not been initialized. Could you not see that?

Tim Roberts, xxxxx@probo.commailto:xxxxx
Providenza & Boekelheide, Inc.</mailto:xxxxx>

Hi Tim,

This DLL is loaded by svchost.exe and is a part of windows 8.1 the crash
won’t occur if my driver is not loaded so is it bug in umpo.DLL ? Or this
driver can be a culprit?

Regards,
Rabish

On Monday, October 13, 2014, Tim Roberts wrote:

> On Oct 11, 2014, at 11:41 PM, Ravish Yadav > <javascript:_e>> wrote:
>
>
> Platform Windows 8.1 32 bit.
> I am developing a Battery miniclass driver. Getting a crash during a boot
> time.
>
>
> It says you tried to acquire a critical section that had not been
> initialized. Could you not see that?
> –
> Tim Roberts, xxxxx@probo.com
> <javascript:_e>
> Providenza & Boekelheide, Inc.
>
>
> —
> NTDEV is sponsored by OSR
>
> Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
>
> OSR is HIRING!! See http://www.osr.com/careers
>
> 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
></javascript:_e></javascript:_e>