Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocking call in bus child D0 Exit triggers BSOD #9

Closed
nefarius opened this issue Mar 27, 2021 · 2 comments
Closed

Blocking call in bus child D0 Exit triggers BSOD #9

nefarius opened this issue Mar 27, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@nefarius
Copy link
Owner

Original issue.

Replace synchronous call to radio disconnect with async variant or apply timeout for request cancellation here.

@nefarius nefarius added the bug Something isn't working label Mar 27, 2021
@nefarius nefarius self-assigned this Mar 27, 2021
@nefarius
Copy link
Owner Author

Not sure if the assumption is valid though, according to trace log and crash dump there is no pending IRP for the disconnect command:

715522202: BthPS3_PDO_EvtWdfDeviceD0Exit [BthPS3_PDO_EvtWdfDeviceD0Exit] --> Entry
715522202: BthPS3_PDO_EvtWdfDeviceD0Exit [BthPS3_PDO_EvtWdfDeviceD0Exit]Requesting device disconnect
715522202: BthPS3_PDO_EvtWdfDeviceD0Exit [BthPS3_PDO_EvtWdfDeviceD0Exit] <-- Exit <status=STATUS_SUCCESS>
>[IRP_MJ_POWER(16), IRP_MN_SET_POWER(2)]
            0 e1 ffffe38c0ffc6de0 00000000 00000000-00000000    pending
	       \Driver\BthPS3
			Args: 00041100 00000001 00000001 00000002
 [IRP_MJ_POWER(16), IRP_MN_SET_POWER(2)]
            0  1 ffffe38c0f6da9c0 00000000 00000000-00000000    pending
	       \Driver\WudfRd
			Args: 00041100 00000001 00000001 00000002
 [IRP_MJ_POWER(16), IRP_MN_SET_POWER(2)]
            0 e0 ffffe38c105dc060 00000000 fffff802bf024f90-ffffe38c105dc1b0 Success Error Cancel 
	       \Driver\mshidumdf	HIDCLASS!HidpFdoPowerCompletion
			Args: 00041100 00000001 00000001 00000002
 [IRP_MJ_POWER(16), IRP_MN_SET_POWER(2)]
            0 e1 ffffe38c105dc060 00000000 fffff8027a177bc0-ffffe38c104271e8 Success Error Cancel pending
	       \Driver\mshidumdf	nt!PopRequestCompletion
			Args: 00041100 00000001 00000001 00000002
11: kd> !poaction
PopAction: fffff8027aa23480
  State..........: 0 - Idle
  Updates........: 0 
  Action.........: None
  Lightest State.: Unspecified
  Flags..........: 10000003 QueryApps|UIAllowed
  Irp minor......: ??
  System State...: Unspecified
  Hiber Context..: 0000000000000000

Allocated power irps (PopIrpList - fffff8027aa23c00)
  IRP: ffffe38c016bd010 (wait-wake/S3), PDO: ffffe38bfe974a70
  IRP: ffffe38c10749010 (set/D0,), PDO: ffffe38c0ffc6de0, CURRENT: ffffe38c0ffc6de0
  IRP: ffffe38c06613050 (wait-wake/S4), PDO: ffffe38c06805120
  IRP: ffffe38c105158a0 (wait-wake/S4), PDO: ffffe38c0179f0a0
  IRP: ffffe38c0de1f940 (wait-wake/S0), PDO: ffffe38c01e962c0

Irp worker threads (PopIrpThreadList - fffff8027aa20c40)
  THREAD: ffffe38bfc149080 (static)
  THREAD: ffffe38bfc0ee080 (static)

Broadcast in progress: FALSE
Is Directed DRIPS Transition: FALSE

No Device State present

Need some more digging...

@nefarius
Copy link
Owner Author

Nope, totally false alarm, was the function drivers' fault 😬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant